[INFO] fetching crate garak 0.1.3... [INFO] testing garak-0.1.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate garak 0.1.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate garak 0.1.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate garak 0.1.3 [INFO] tweaked toml for crates.io crate garak 0.1.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate garak 0.1.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate garak 0.1.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indexmap v2.11.1 [INFO] [stderr] Downloaded wasi v0.14.5+wasi-0.2.4 [INFO] [stderr] Downloaded cc v1.2.37 [INFO] [stderr] Downloaded wasip2 v1.0.0+wasi-0.2.4 [INFO] [stderr] Downloaded tempfile v3.22.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.5 [INFO] [stderr] Downloaded windows-sys v0.61.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3908d88ee0c7a7a8db9e027b3dd30f6677764c3bd0937e5aa07bbb8f655ce18 [INFO] running `Command { std: "docker" "start" "-a" "a3908d88ee0c7a7a8db9e027b3dd30f6677764c3bd0937e5aa07bbb8f655ce18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3908d88ee0c7a7a8db9e027b3dd30f6677764c3bd0937e5aa07bbb8f655ce18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3908d88ee0c7a7a8db9e027b3dd30f6677764c3bd0937e5aa07bbb8f655ce18", kill_on_drop: false }` [INFO] [stdout] a3908d88ee0c7a7a8db9e027b3dd30f6677764c3bd0937e5aa07bbb8f655ce18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 982a7bb83bc0b9d3b3bfa3bfafc9af6f3136091e0bd27fbc71415b3bd4f2302a [INFO] running `Command { std: "docker" "start" "-a" "982a7bb83bc0b9d3b3bfa3bfafc9af6f3136091e0bd27fbc71415b3bd4f2302a", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rustls-webpki v0.103.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling garak v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.59s [INFO] running `Command { std: "docker" "inspect" "982a7bb83bc0b9d3b3bfa3bfafc9af6f3136091e0bd27fbc71415b3bd4f2302a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "982a7bb83bc0b9d3b3bfa3bfafc9af6f3136091e0bd27fbc71415b3bd4f2302a", kill_on_drop: false }` [INFO] [stdout] 982a7bb83bc0b9d3b3bfa3bfafc9af6f3136091e0bd27fbc71415b3bd4f2302a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 130820f5babfb10df1bcc98673b99d4eb57039ba6746ba7d2481fad00060dbb5 [INFO] running `Command { std: "docker" "start" "-a" "130820f5babfb10df1bcc98673b99d4eb57039ba6746ba7d2481fad00060dbb5", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling garak v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> tests/happy_path.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | fn setup() -> (DB, Store, String) { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`, or if you will only have owned values [INFO] [stdout] | [INFO] [stdout] 3 | fn setup() -> (DB, Store<'static, serde_json::Value>, String) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/happy_path.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | let store: Store = Store::new(db.clone(), "users"); [INFO] [stdout] | ---------- ^^^^^^^^^^ expected `&DB`, found `DB` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new>(db: &'a DB, name: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 9 | let store: Store = Store::new(&db.clone(), "users"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/smoke.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | let store: Store = Store::new(db.clone(), "users"); [INFO] [stdout] | ---------- ^^^^^^^^^^ expected `&DB`, found `DB` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new>(db: &'a DB, name: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 13 | let store: Store = Store::new(&db.clone(), "users"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> examples/smoke.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | })).await?; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 19 - })).await?; [INFO] [stdout] 19 + }))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<_, DatabaseClientError>` is not a future [INFO] [stdout] --> examples/smoke.rs:22:63 [INFO] [stdout] | [INFO] [stdout] 22 | let user: serde_json::Value = tx.get(&store, ins.node_id).await?; [INFO] [stdout] | ^^^^^ `Result<_, DatabaseClientError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result<_, DatabaseClientError>` [INFO] [stdout] = note: Result<_, DatabaseClientError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result<_, DatabaseClientError>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 22 - let user: serde_json::Value = tx.get(&store, ins.node_id).await?; [INFO] [stdout] 22 + let user: serde_json::Value = tx.get(&store, ins.node_id)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> tests/happy_path.rs:19:93 [INFO] [stdout] | [INFO] [stdout] 19 | let ins = tx.insert(&store, &serde_json::json!({ "name": "alice", "numbers": [1,2,3]})).await?; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 19 - let ins = tx.insert(&store, &serde_json::json!({ "name": "alice", "numbers": [1,2,3]})).await?; [INFO] [stdout] 19 + let ins = tx.insert(&store, &serde_json::json!({ "name": "alice", "numbers": [1,2,3]}))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<_, garak::DatabaseClientError>` is not a future [INFO] [stdout] --> tests/happy_path.rs:20:62 [INFO] [stdout] | [INFO] [stdout] 20 | let got: serde_json::Value = tx.get(&store, ins.node_id).await?; [INFO] [stdout] | ^^^^^ `Result<_, garak::DatabaseClientError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result<_, garak::DatabaseClientError>` [INFO] [stdout] = note: Result<_, garak::DatabaseClientError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result<_, garak::DatabaseClientError>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 20 - let got: serde_json::Value = tx.get(&store, ins.node_id).await?; [INFO] [stdout] 20 + let got: serde_json::Value = tx.get(&store, ins.node_id)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<(), garak::DatabaseClientError>` is not a future [INFO] [stdout] --> tests/happy_path.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | let updated: serde_json::Value = tx.set(&store, ins.node_id, "name", &"bob").await?; [INFO] [stdout] | ^^^^^ `Result<(), garak::DatabaseClientError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result<(), garak::DatabaseClientError>` [INFO] [stdout] = note: Result<(), garak::DatabaseClientError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result<(), garak::DatabaseClientError>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 23 - let updated: serde_json::Value = tx.set(&store, ins.node_id, "name", &"bob").await?; [INFO] [stdout] 23 + let updated: serde_json::Value = tx.set(&store, ins.node_id, "name", &"bob")?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<(), DatabaseClientError>` is not a future [INFO] [stdout] --> examples/smoke.rs:25:82 [INFO] [stdout] | [INFO] [stdout] 25 | let updated: serde_json::Value = tx.set(&store, ins.node_id, "name", &"bob").await?; [INFO] [stdout] | ^^^^^ `Result<(), DatabaseClientError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result<(), DatabaseClientError>` [INFO] [stdout] = note: Result<(), DatabaseClientError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result<(), DatabaseClientError>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 25 - let updated: serde_json::Value = tx.set(&store, ins.node_id, "name", &"bob").await?; [INFO] [stdout] 25 + let updated: serde_json::Value = tx.set(&store, ins.node_id, "name", &"bob")?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `garak` (test "happy_path") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `garak` (example "smoke") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "130820f5babfb10df1bcc98673b99d4eb57039ba6746ba7d2481fad00060dbb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "130820f5babfb10df1bcc98673b99d4eb57039ba6746ba7d2481fad00060dbb5", kill_on_drop: false }` [INFO] [stdout] 130820f5babfb10df1bcc98673b99d4eb57039ba6746ba7d2481fad00060dbb5