[INFO] fetching crate totpm 0.1.2... [INFO] testing totpm-0.1.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate totpm 0.1.2 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate totpm 0.1.2 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 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fastrand v2.2.0 [INFO] [stderr] Downloaded tempfile v3.14.0 [INFO] [stderr] Downloaded enumflags2 v0.7.10 [INFO] [stderr] Downloaded serial_test v3.2.0 [INFO] [stderr] Downloaded mbox v0.7.1 [INFO] [stderr] Downloaded bitfield v0.14.0 [INFO] [stderr] Downloaded enumflags2_derive v0.7.10 [INFO] [stderr] Downloaded serial_test_derive v3.2.0 [INFO] [stderr] Downloaded clap v4.5.20 [INFO] [stderr] Downloaded sdd v3.0.4 [INFO] [stderr] Downloaded tss-esapi-sys v0.5.0 [INFO] [stderr] Downloaded clap_builder v4.5.20 [INFO] [stderr] Downloaded rustix v0.38.40 [INFO] [stderr] Downloaded scc v2.2.4 [INFO] [stderr] Downloaded libdbus-sys v0.2.5 [INFO] [stderr] Downloaded cc v1.1.37 [INFO] [stderr] Downloaded dbus v0.9.7 [INFO] [stderr] Downloaded tss-esapi v7.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 76d9215315e88dd8f95e093d7c5a956a8ed5f34ad7f2240439e15ef112efb0f1 [INFO] running `Command { std: "docker" "start" "-a" "76d9215315e88dd8f95e093d7c5a956a8ed5f34ad7f2240439e15ef112efb0f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76d9215315e88dd8f95e093d7c5a956a8ed5f34ad7f2240439e15ef112efb0f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76d9215315e88dd8f95e093d7c5a956a8ed5f34ad7f2240439e15ef112efb0f1", kill_on_drop: false }` [INFO] [stdout] 76d9215315e88dd8f95e093d7c5a956a8ed5f34ad7f2240439e15ef112efb0f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 832c7ac4824ebac4789123fb7cd4411e56d3e88417d021acba79057951f56b13 [INFO] running `Command { std: "docker" "start" "-a" "832c7ac4824ebac4789123fb7cd4411e56d3e88417d021acba79057951f56b13", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling tss-esapi v7.5.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tss-esapi-sys v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling mbox v0.7.1 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling hostname-validator v1.1.1 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling bitfield v0.14.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling stderrlog v0.6.0 [INFO] [stderr] Compiling rpassword v7.3.1 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling regex v1.11.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 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 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 oid v0.2.1 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling picky-asn1 v0.8.0 [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 1m 16s [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" "832c7ac4824ebac4789123fb7cd4411e56d3e88417d021acba79057951f56b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "832c7ac4824ebac4789123fb7cd4411e56d3e88417d021acba79057951f56b13", kill_on_drop: false }` [INFO] [stdout] 832c7ac4824ebac4789123fb7cd4411e56d3e88417d021acba79057951f56b13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] acd8ce437da9495ec66a1c8fc0ad82e9ae8167fc2941e442096c0543d18f3fb1 [INFO] running `Command { std: "docker" "start" "-a" "acd8ce437da9495ec66a1c8fc0ad82e9ae8167fc2941e442096c0543d18f3fb1", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling lock_api v0.4.12 [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 tss-esapi v7.5.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rusqlite v0.31.0 [INFO] [stderr] Compiling scc v2.2.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.3 [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 tempfile v3.14.0 [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] Compiling futures-executor v0.3.31 [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:24 [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:24 [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:24 [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:28 [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" "acd8ce437da9495ec66a1c8fc0ad82e9ae8167fc2941e442096c0543d18f3fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd8ce437da9495ec66a1c8fc0ad82e9ae8167fc2941e442096c0543d18f3fb1", kill_on_drop: false }` [INFO] [stdout] acd8ce437da9495ec66a1c8fc0ad82e9ae8167fc2941e442096c0543d18f3fb1