Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 0.17.9 static build fails (on documentation) #611

Closed
marcalexiei opened this issue Feb 27, 2025 · 0 comments · Fixed by #614
Closed

[Bug]: 0.17.9 static build fails (on documentation) #611

marcalexiei opened this issue Feb 27, 2025 · 0 comments · Fixed by #614
Assignees
Labels
bug Something isn't working

Comments

@marcalexiei
Copy link
Member

Description

tuono build --static doesn't complete successfully:

tuono::build: msg="Failed to create the parent directory \"out/static/documentation/routing\""

Expected behaviour

tuono build --static completes successfully

How to reproduce

Screenshots

tuono build --static output with trace

✅Build completed
⠋ Static site generationTRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park without timeout    
TRACE reqwest::blocking::client: (ThreadId(4)) start runtime::block_on    
TRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999999125s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠹ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999996583s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠼ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999998542s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠦ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999997625s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠇ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999998166s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠋ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999998042s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠹ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999997458s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠼ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999997958s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠦ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.99999925s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠇ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.99999875s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠋ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999998709s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠹ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999996959s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠼ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999999125s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠦ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999998583s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠧ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999998s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
TRACE hyper_util::client::legacy::connect::http: connect error for [::1]:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:3000
TRACE hyper_util::client::legacy::connect::http: connect error for 127.0.0.1:3000: ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
TRACE BUILD: tuono::build: Server not ready yet. Sleeping for 1 second
⠏ Static site generationTRACE BUILD: tuono::build: Checking server availability
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999998791s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
DEBUG hyper_util::client::legacy::connect::http: connected to [::1]:3000
TRACE hyper_util::client::legacy::client: http1 handshake complete, spawning background dispatcher task
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
⠸ Static site generationTRACE BUILD: tuono::build: Server is ready, starting static site generation
TRACE BUILD: tuono::route: Requesting the page: http://localhost:3000/documentation/getting-started/setup-project
TRACE BUILD: reqwest::blocking::wait: wait at most 30s    
TRACE BUILD: reqwest::blocking::wait: (ThreadId(1)) park timeout 29.999997666s    
TRACE hyper_util::client::legacy::pool: checkout waiting for idle connection: ("http", localhost:3000)
DEBUG reqwest::connect: starting new connection: http://localhost:3000/    
TRACE hyper_util::client::legacy::connect::http: Http::connect; scheme=Some("http"), host=Some("localhost"), port=Some(Port(3000))
DEBUG hyper_util::client::legacy::connect::http: connecting to [::1]:3000
DEBUG hyper_util::client::legacy::connect::http: connected to [::1]:3000
TRACE hyper_util::client::legacy::client: http1 handshake complete, spawning background dispatcher task
TRACE hyper_util::client::legacy::pool: checkout dropped for ("http", localhost:3000)
❌ Build failed

ERROR BUILD: tuono::build: msg="Failed to create the parent directory \"out/static/documentation/getting-started/setup-project\""

System Info

System:
    OS: macOS 15.3.1
    CPU: (8) arm64 Apple M3
    Memory: 99.91 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
    npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
    pnpm: 10.2.1 - ~/.nvm/versions/node/v22.14.0/bin/pnpm
  Browsers:
    Chrome: 133.0.6943.55
    Safari: 18.3
  npmPackages:
    tuono: 0.17.9 => 0.17.9

System info (Rust)

rustc 1.83.0 (90b35a623 2024-11-26)
cargo 1.83.0 (5ffbef321 2024-10-29)
tuono 0.17.9

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants