[INFO] fetching crate spin-sqlite-connection 0.2.3... [INFO] testing spin-sqlite-connection-0.2.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate spin-sqlite-connection 0.2.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate spin-sqlite-connection 0.2.3 [INFO] finished tweaking crates.io crate spin-sqlite-connection 0.2.3 [INFO] tweaked toml for crates.io crate spin-sqlite-connection 0.2.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spin-sqlite-connection 0.2.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spin-sqlite-connection 0.2.3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b655bc778f5c293a319ad5ed19a1171d60106e8038804d2428a4feacd6aa467 [INFO] running `Command { std: "docker" "start" "-a" "5b655bc778f5c293a319ad5ed19a1171d60106e8038804d2428a4feacd6aa467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b655bc778f5c293a319ad5ed19a1171d60106e8038804d2428a4feacd6aa467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b655bc778f5c293a319ad5ed19a1171d60106e8038804d2428a4feacd6aa467", kill_on_drop: false }` [INFO] [stdout] 5b655bc778f5c293a319ad5ed19a1171d60106e8038804d2428a4feacd6aa467 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89edfd33663fe3f359131be773932df1c2a839be9cd7ae2fecb6403ab48a6b09 [INFO] running `Command { std: "docker" "start" "-a" "89edfd33663fe3f359131be773932df1c2a839be9cd7ae2fecb6403ab48a6b09", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling wit-bindgen-rust v0.16.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling libsqlite3-sys v0.32.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling spin-sdk v3.1.0 [INFO] [stderr] Compiling wasm-encoder v0.41.2 [INFO] [stderr] Compiling wasm-encoder v0.38.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling spin-sqlite-connection v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling spdx v0.10.8 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling smartcow v0.2.1 [INFO] [stderr] Compiling routefinder v0.5.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rusqlite v0.34.0 [INFO] [stderr] Compiling wasmparser v0.121.2 [INFO] [stderr] Compiling wasmparser v0.118.2 [INFO] [stderr] Compiling spin-macro v3.1.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling wit-parser v0.13.2 [INFO] [stderr] Compiling wasm-metadata v0.10.20 [INFO] [stderr] Compiling wit-component v0.18.2 [INFO] [stderr] Compiling wit-bindgen-core v0.16.0 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.16.0 [INFO] [stderr] Compiling wit-bindgen v0.16.0 [INFO] [stderr] Compiling spin-executor v3.1.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.36s [INFO] running `Command { std: "docker" "inspect" "89edfd33663fe3f359131be773932df1c2a839be9cd7ae2fecb6403ab48a6b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89edfd33663fe3f359131be773932df1c2a839be9cd7ae2fecb6403ab48a6b09", kill_on_drop: false }` [INFO] [stdout] 89edfd33663fe3f359131be773932df1c2a839be9cd7ae2fecb6403ab48a6b09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca31e26e06011bbda63c8100d37a66e1b50be8840b4b34e86530b80255445ad6 [INFO] running `Command { std: "docker" "start" "-a" "ca31e26e06011bbda63c8100d37a66e1b50be8840b4b34e86530b80255445ad6", kill_on_drop: false }` [INFO] [stderr] Compiling spin-sqlite-connection v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "ca31e26e06011bbda63c8100d37a66e1b50be8840b4b34e86530b80255445ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca31e26e06011bbda63c8100d37a66e1b50be8840b4b34e86530b80255445ad6", kill_on_drop: false }` [INFO] [stdout] ca31e26e06011bbda63c8100d37a66e1b50be8840b4b34e86530b80255445ad6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b3c09e201534a90a5bf22a240b94818f846ef6b005830a5bad99d8bba88e58d [INFO] running `Command { std: "docker" "start" "-a" "8b3c09e201534a90a5bf22a240b94818f846ef6b005830a5bad99d8bba88e58d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spin_sqlite_connection-85e175934161e1f6) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test connection::test::open_database ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests spin_sqlite_connection [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `const` [INFO] [stdout] --> src/lib.rs:13:126 [INFO] [stdout] | [INFO] [stdout] 3 | const MIGRATIONS: &str = "CREATE TABLE IF NOT EXISTS user (id TEXT PRIMARY KEY, name TEXT NOT NULL, password TEXT NOT NULL);" [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | const INSERT: &str = "INSERT INTO user (id, name, password) VALUES ('LKtQNwbBsQd9aXgMbmptKP', 'paul', 'password');"; [INFO] [stdout] | ----- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DbConnection` [INFO] [stdout] --> src/lib.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 6 | let connection = DbConnection::>::try_open_default(Some(MIGRATIONS)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DbConnection` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8b3c09e201534a90a5bf22a240b94818f846ef6b005830a5bad99d8bba88e58d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b3c09e201534a90a5bf22a240b94818f846ef6b005830a5bad99d8bba88e58d", kill_on_drop: false }` [INFO] [stdout] 8b3c09e201534a90a5bf22a240b94818f846ef6b005830a5bad99d8bba88e58d