[INFO] cloning repository https://github.com/MikeTeddyOmondi/rust-spin-libsql-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MikeTeddyOmondi/rust-spin-libsql-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikeTeddyOmondi%2Frust-spin-libsql-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikeTeddyOmondi%2Frust-spin-libsql-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1752ea0d1a0a7008f20ca4e7f6141d6930d826e [INFO] checking MikeTeddyOmondi/rust-spin-libsql-api/a1752ea0d1a0a7008f20ca4e7f6141d6930d826e against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikeTeddyOmondi%2Frust-spin-libsql-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MikeTeddyOmondi/rust-spin-libsql-api on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MikeTeddyOmondi/rust-spin-libsql-api [INFO] finished tweaking git repo https://github.com/MikeTeddyOmondi/rust-spin-libsql-api [INFO] tweaked toml for git repo https://github.com/MikeTeddyOmondi/rust-spin-libsql-api written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MikeTeddyOmondi/rust-spin-libsql-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: invalid character `{` in package name: `{{project-name | kebab_case}}`, the first character must be a Unicode XID start character (most letters or `_`) [INFO] [stderr] --> ../../../cargo-home/git/checkouts/spin-91500438ac5656d2/1d72f1c/templates/http-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] error: invalid character `{` in package name: `{{project-name | kebab_case}}`, the first character must be a Unicode XID start character (most letters or `_`) [INFO] [stderr] --> ../../../cargo-home/git/checkouts/spin-91500438ac5656d2/1d72f1c/templates/redis-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 537dd24e128bd96bd25333acdc632dfd412e29531e91446e1f4b20e6ff850ddf [INFO] running `Command { std: "docker" "start" "-a" "537dd24e128bd96bd25333acdc632dfd412e29531e91446e1f4b20e6ff850ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "537dd24e128bd96bd25333acdc632dfd412e29531e91446e1f4b20e6ff850ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "537dd24e128bd96bd25333acdc632dfd412e29531e91446e1f4b20e6ff850ddf", kill_on_drop: false }` [INFO] [stdout] 537dd24e128bd96bd25333acdc632dfd412e29531e91446e1f4b20e6ff850ddf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ce5babb543b0c9a62d5c862b1f23a5dce993454a136cada0113124a7c0bb971 [INFO] running `Command { std: "docker" "start" "-a" "0ce5babb543b0c9a62d5c862b1f23a5dce993454a136cada0113124a7c0bb971", kill_on_drop: false }` [INFO] [stderr] error: invalid character `{` in package name: `{{project-name | kebab_case}}`, the first character must be a Unicode XID start character (most letters or `_`) [INFO] [stderr] --> ../cargo-home/git/checkouts/spin-91500438ac5656d2/1d72f1c/templates/http-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] error: invalid character `{` in package name: `{{project-name | kebab_case}}`, the first character must be a Unicode XID start character (most letters or `_`) [INFO] [stderr] --> ../cargo-home/git/checkouts/spin-91500438ac5656d2/1d72f1c/templates/redis-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling wasm-encoder v0.38.1 [INFO] [stderr] Compiling spdx v0.10.2 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling wasm-encoder v0.36.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling wit-bindgen-rust v0.13.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking smartcow v0.2.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Checking routefinder v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling spin-sdk v2.1.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling spin-sdk v2.0.1 (https://github.com/fermyon/spin?tag=v2.0.1#1d72f1c4) [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling sqlite3-parser v0.12.0 [INFO] [stderr] Compiling wasmparser v0.118.1 [INFO] [stderr] Compiling wasmparser v0.116.1 [INFO] [stderr] Compiling spin-macro v2.1.0 [INFO] [stderr] Compiling spin-macro v0.1.0 (https://github.com/fermyon/spin?tag=v2.0.1#1d72f1c4) [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking futures-util v0.3.29 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Compiling wit-parser v0.12.2 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Compiling wasm-metadata v0.10.14 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Compiling wit-component v0.17.0 [INFO] [stderr] Checking hrana-client-proto v0.2.1 [INFO] [stderr] Compiling wit-bindgen-core v0.13.1 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.13.1 [INFO] [stderr] Checking wit-bindgen v0.13.1 [INFO] [stderr] Checking libsql-client v0.33.4 [INFO] [stderr] Checking spin-rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `libsql_client` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let libsql_client = SyncClient::from_config(libsql_config)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_libsql_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `libsql_client` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let libsql_client = SyncClient::from_config(libsql_config)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_libsql_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn handle_spin_rust_api(req: Request) -> anyhow::Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let libsql_client = SyncClient::from_config(libsql_config)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | Ok(http::Response::builder() [INFO] [stdout] | ________^ [INFO] [stdout] 25 | | .status(200) [INFO] [stdout] 26 | | .header("content-type", "text/plain") [INFO] [stdout] 27 | | .body("Hello, Fermyon")?) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spin-rust-api` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn handle_spin_rust_api(req: Request) -> anyhow::Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let libsql_client = SyncClient::from_config(libsql_config)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | Ok(http::Response::builder() [INFO] [stdout] | ________^ [INFO] [stdout] 25 | | .status(200) [INFO] [stdout] 26 | | .header("content-type", "text/plain") [INFO] [stdout] 27 | | .body("Hello, Fermyon")?) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spin-rust-api` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0ce5babb543b0c9a62d5c862b1f23a5dce993454a136cada0113124a7c0bb971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ce5babb543b0c9a62d5c862b1f23a5dce993454a136cada0113124a7c0bb971", kill_on_drop: false }` [INFO] [stdout] 0ce5babb543b0c9a62d5c862b1f23a5dce993454a136cada0113124a7c0bb971