[INFO] fetching crate garak 0.1.5... [INFO] testing garak-0.1.5 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate garak 0.1.5 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate garak 0.1.5 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate garak 0.1.5 [INFO] tweaked toml for crates.io crate garak 0.1.5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate garak 0.1.5 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate garak 0.1.5 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-webpki v0.103.5 [INFO] [stderr] Downloaded wit-bindgen v0.45.1 [INFO] [stderr] Downloaded wasi v0.14.5+wasi-0.2.4 [INFO] [stderr] Downloaded wasip2 v1.0.0+wasi-0.2.4 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca7a8284751f0bddbe3d0543a8dd8a2d2fa00cc62958b5672b2026fd1db9c2fb [INFO] running `Command { std: "docker" "start" "-a" "ca7a8284751f0bddbe3d0543a8dd8a2d2fa00cc62958b5672b2026fd1db9c2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca7a8284751f0bddbe3d0543a8dd8a2d2fa00cc62958b5672b2026fd1db9c2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca7a8284751f0bddbe3d0543a8dd8a2d2fa00cc62958b5672b2026fd1db9c2fb", kill_on_drop: false }` [INFO] [stdout] ca7a8284751f0bddbe3d0543a8dd8a2d2fa00cc62958b5672b2026fd1db9c2fb [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3a13c6c091dbdba0c19e548d906171f80d3c2d01ef49d648941162f1bab757c [INFO] running `Command { std: "docker" "start" "-a" "f3a13c6c091dbdba0c19e548d906171f80d3c2d01ef49d648941162f1bab757c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tokio v1.47.1 [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 rustls-webpki v0.103.5 [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 h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [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 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 hyper v1.7.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [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-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.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.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "f3a13c6c091dbdba0c19e548d906171f80d3c2d01ef49d648941162f1bab757c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3a13c6c091dbdba0c19e548d906171f80d3c2d01ef49d648941162f1bab757c", kill_on_drop: false }` [INFO] [stdout] f3a13c6c091dbdba0c19e548d906171f80d3c2d01ef49d648941162f1bab757c [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90c3ade81b31dd0b5324a6f2448c6611b784e88f7f29b1e56c05c399163ff241 [INFO] running `Command { std: "docker" "start" "-a" "90c3ade81b31dd0b5324a6f2448c6611b784e88f7f29b1e56c05c399163ff241", 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-rustls v0.26.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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.5 (/opt/rustwide/workdir) [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<(), 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] 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] [stderr] error: could not compile `garak` (example "smoke") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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[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] 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] [stderr] error: could not compile `garak` (test "happy_path") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "90c3ade81b31dd0b5324a6f2448c6611b784e88f7f29b1e56c05c399163ff241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90c3ade81b31dd0b5324a6f2448c6611b784e88f7f29b1e56c05c399163ff241", kill_on_drop: false }` [INFO] [stdout] 90c3ade81b31dd0b5324a6f2448c6611b784e88f7f29b1e56c05c399163ff241