[INFO] cloning repository https://github.com/aklie8/starter_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aklie8/starter_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faklie8%2Fstarter_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faklie8%2Fstarter_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a83d40b29ffebd57ad8bb9e192a4e44322baadd4 [INFO] checking aklie8/starter_cli against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faklie8%2Fstarter_cli" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aklie8/starter_cli [INFO] finished tweaking git repo https://github.com/aklie8/starter_cli [INFO] tweaked toml for git repo https://github.com/aklie8/starter_cli written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aklie8/starter_cli on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aklie8/starter_cli 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" "+8a0378607d6b34c242e3bfa75554871be641864b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bcrypt v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab2a2b7c16a6d140d6b851985c80cba89c16b0ac027cb4b0359e67467a319c87 [INFO] running `Command { std: "docker" "start" "-a" "ab2a2b7c16a6d140d6b851985c80cba89c16b0ac027cb4b0359e67467a319c87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab2a2b7c16a6d140d6b851985c80cba89c16b0ac027cb4b0359e67467a319c87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2a2b7c16a6d140d6b851985c80cba89c16b0ac027cb4b0359e67467a319c87", kill_on_drop: false }` [INFO] [stdout] ab2a2b7c16a6d140d6b851985c80cba89c16b0ac027cb4b0359e67467a319c87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e38145f2fbf1902c050106db6159ac6f55981872c68b5026031033b960d30aa [INFO] running `Command { std: "docker" "start" "-a" "5e38145f2fbf1902c050106db6159ac6f55981872c68b5026031033b960d30aa", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking blake2s_simd v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking bcrypt v0.11.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking crypto_file_hash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> tests/security_tests.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-25; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ring` [INFO] [stdout] --> tests/security_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ring::{digest, rand}; // For cryptographic operations [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ring` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ring`, use `cargo add ring` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rsa` [INFO] [stdout] --> tests/security_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rsa::{PaddingScheme, PublicKey, RSAPrivateKey, RSAPublicKey}; // For RSA cryptography [INFO] [stdout] | ^^^ help: a similar path exists: `openssl::rsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test` [INFO] [stdout] --> tests/security_tests.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use test::Bencher; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test`, use `cargo add test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blake3::Hasher` [INFO] [stdout] --> tests/security_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use blake3::Hasher; // For BLAKE3 hashing algorithm [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/security_tests.rs:63:79 [INFO] [stdout] | [INFO] [stdout] 63 | let signature = firmware_sign(firmware_image, private_key.as_pkcs8()).unwrap(); // Sign the firmware image [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `swap` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8a0378607d6b34c242e3bfa75554871be641864b/library/core/src/slice/mod.rs:899:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/security_tests.rs:72:80 [INFO] [stdout] | [INFO] [stdout] 72 | let attestation = self_attest(device_identity, private_key.as_pkcs8()).unwrap(); // Generate self-attestation [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `swap` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8a0378607d6b34c242e3bfa75554871be641864b/library/core/src/slice/mod.rs:899:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/security_tests.rs:82:85 [INFO] [stdout] | [INFO] [stdout] 82 | let _signature = firmware_sign(&firmware_image, private_key.as_pkcs8()).unwrap(); // Sign the firmware image [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `swap` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8a0378607d6b34c242e3bfa75554871be641864b/library/core/src/slice/mod.rs:899:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto_file_hash` (test "security_tests") due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5e38145f2fbf1902c050106db6159ac6f55981872c68b5026031033b960d30aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e38145f2fbf1902c050106db6159ac6f55981872c68b5026031033b960d30aa", kill_on_drop: false }` [INFO] [stdout] 5e38145f2fbf1902c050106db6159ac6f55981872c68b5026031033b960d30aa