[INFO] fetching crate totpm 0.1.2... [INFO] building totpm-0.1.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate totpm 0.1.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate totpm 0.1.2 [INFO] finished tweaking crates.io crate totpm 0.1.2 [INFO] tweaked toml for crates.io crate totpm 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate totpm 0.1.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate totpm 0.1.2 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdd v3.0.4 [INFO] [stderr] Downloaded enumflags2 v0.7.10 [INFO] [stderr] Downloaded enumflags2_derive v0.7.10 [INFO] [stderr] Downloaded tss-esapi v7.5.1 [INFO] [stderr] Downloaded scc v2.2.4 [INFO] [stderr] Downloaded rustix v0.38.40 [INFO] [stderr] Downloaded cc v1.1.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b949620a3fc890a09b1e522de063260c3814f21efbdeba7e0e4dee4747b3410b [INFO] running `Command { std: "docker" "start" "-a" "b949620a3fc890a09b1e522de063260c3814f21efbdeba7e0e4dee4747b3410b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b949620a3fc890a09b1e522de063260c3814f21efbdeba7e0e4dee4747b3410b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b949620a3fc890a09b1e522de063260c3814f21efbdeba7e0e4dee4747b3410b", kill_on_drop: false }` [INFO] [stdout] b949620a3fc890a09b1e522de063260c3814f21efbdeba7e0e4dee4747b3410b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d97cfbb9aed17d8916c39bd17752942f82b7015733c1c6db45549bc5fbd9396 [INFO] running `Command { std: "docker" "start" "-a" "4d97cfbb9aed17d8916c39bd17752942f82b7015733c1c6db45549bc5fbd9396", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling tss-esapi-sys v0.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling tss-esapi v7.5.1 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling mbox v0.7.1 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling stderrlog v0.6.0 [INFO] [stderr] Compiling rpassword v7.3.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling rusqlite v0.31.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling oid v0.2.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling picky-asn1 v0.8.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling picky-asn1-der v0.4.1 [INFO] [stderr] Compiling picky-asn1-x509 v0.12.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling totpm v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/args.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{command, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: picky-asn1-x509 v0.12.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4d97cfbb9aed17d8916c39bd17752942f82b7015733c1c6db45549bc5fbd9396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d97cfbb9aed17d8916c39bd17752942f82b7015733c1c6db45549bc5fbd9396", kill_on_drop: false }` [INFO] [stdout] 4d97cfbb9aed17d8916c39bd17752942f82b7015733c1c6db45549bc5fbd9396 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9ef95e44470ea3baddfc8b47e3d231ceb01e5e9f469d5662535499f1288b1f9 [INFO] running `Command { std: "docker" "start" "-a" "b9ef95e44470ea3baddfc8b47e3d231ceb01e5e9f469d5662535499f1288b1f9", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling sdd v3.0.4 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling rusqlite v0.31.0 [INFO] [stderr] Compiling tss-esapi v7.5.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling scc v2.2.4 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling totpm v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/args.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{command, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testutil` [INFO] [stdout] --> src/tpm.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | use testutil::tpm::SwTpm; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `testutil` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testutil`, use `cargo add testutil` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testutil` [INFO] [stdout] --> src/totp_store.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | use testutil::tpm::SwTpm; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `testutil` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testutil`, use `cargo add testutil` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testutil` [INFO] [stdout] --> src/commands/init.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | use testutil::tpm::SwTpm; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `testutil` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testutil`, use `cargo add testutil` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testutil` [INFO] [stdout] --> src/commands/gen.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use testutil::tpm::SwTpm; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `testutil` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testutil`, use `cargo add testutil` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testutil` [INFO] [stdout] --> src/commands/import.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use testutil::tpm::SwTpm; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `testutil` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testutil`, use `cargo add testutil` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `testutil` [INFO] [stdout] --> src/term.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use testutil::term::{MockStdout, MockTerminal}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `testutil` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `testutil`, use `cargo add testutil` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/args.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{command, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/commands/import.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | let accounts = totp_store.list(Some("foo"), Some("bar")).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/commands/import.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | let accounts = totp_store.list(Some("foo"), Some("bar")).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/commands/import.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | let accounts = totp_store.list(None, None).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/commands/import.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | let mut accounts = totp_store.list(None, None).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `totpm` (lib test) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b9ef95e44470ea3baddfc8b47e3d231ceb01e5e9f469d5662535499f1288b1f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ef95e44470ea3baddfc8b47e3d231ceb01e5e9f469d5662535499f1288b1f9", kill_on_drop: false }` [INFO] [stdout] b9ef95e44470ea3baddfc8b47e3d231ceb01e5e9f469d5662535499f1288b1f9