[INFO] fetching crate totpm 0.1.2... [INFO] building totpm-0.1.2 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate totpm 0.1.2 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate totpm 0.1.2 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0655e90a183c27d7e838ac58637baa87b8c93c8f7e9c39f89c5dcd6e04dd32d1 [INFO] running `Command { std: "docker" "start" "-a" "0655e90a183c27d7e838ac58637baa87b8c93c8f7e9c39f89c5dcd6e04dd32d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0655e90a183c27d7e838ac58637baa87b8c93c8f7e9c39f89c5dcd6e04dd32d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0655e90a183c27d7e838ac58637baa87b8c93c8f7e9c39f89c5dcd6e04dd32d1", kill_on_drop: false }` [INFO] [stdout] 0655e90a183c27d7e838ac58637baa87b8c93c8f7e9c39f89c5dcd6e04dd32d1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6687fd55914bdd3e9add2f499e166a6b61ba4154764b0f8e8bda4aba69f8eb24 [INFO] running `Command { std: "docker" "start" "-a" "6687fd55914bdd3e9add2f499e166a6b61ba4154764b0f8e8bda4aba69f8eb24", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling tss-esapi v7.5.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling tss-esapi-sys v0.5.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mbox v0.7.1 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling stderrlog v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rpassword v7.3.1 [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 clap_derive v4.5.18 [INFO] [stderr] Compiling num-derive v0.4.2 [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 clap v4.5.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [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 toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned 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 14.48s [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" "6687fd55914bdd3e9add2f499e166a6b61ba4154764b0f8e8bda4aba69f8eb24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6687fd55914bdd3e9add2f499e166a6b61ba4154764b0f8e8bda4aba69f8eb24", kill_on_drop: false }` [INFO] [stdout] 6687fd55914bdd3e9add2f499e166a6b61ba4154764b0f8e8bda4aba69f8eb24 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 699fa9f28ae53401d7a35b32397391c2ccdc8c1a3fd15ba74514cf1471091f50 [INFO] running `Command { std: "docker" "start" "-a" "699fa9f28ae53401d7a35b32397391c2ccdc8c1a3fd15ba74514cf1471091f50", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [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 linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling rusqlite v0.31.0 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling fastrand v2.2.0 [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 regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling tss-esapi v7.5.1 [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] [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: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: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: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] 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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "699fa9f28ae53401d7a35b32397391c2ccdc8c1a3fd15ba74514cf1471091f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699fa9f28ae53401d7a35b32397391c2ccdc8c1a3fd15ba74514cf1471091f50", kill_on_drop: false }` [INFO] [stdout] 699fa9f28ae53401d7a35b32397391c2ccdc8c1a3fd15ba74514cf1471091f50