[INFO] fetching crate rsa_heapless 0.1.4... [INFO] testing rsa_heapless-0.1.4 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rsa_heapless 0.1.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate rsa_heapless 0.1.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rsa_heapless 0.1.4 [INFO] tweaked toml for crates.io crate rsa_heapless 0.1.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsa_heapless 0.1.4 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rsa_heapless 0.1.4 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wit-bindgen-rt v0.33.0 [INFO] [stderr] Downloaded spki v0.8.0-rc.1 [INFO] [stderr] Downloaded block-buffer v0.11.0-rc.3 [INFO] [stderr] Downloaded hybrid-array v0.2.3 [INFO] [stderr] Downloaded der v0.8.0-rc.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.93 [INFO] [stderr] Downloaded fixed-bigint v0.1.15 [INFO] [stderr] Downloaded getrandom v0.3.1 [INFO] [stderr] Downloaded smallvec v1.14.0 [INFO] [stderr] Downloaded ryu v1.0.19 [INFO] [stderr] Downloaded quote v1.0.38 [INFO] [stderr] Downloaded unicode-ident v1.0.16 [INFO] [stderr] Downloaded proptest v1.6.0 [INFO] [stderr] Downloaded wasi v0.13.3+wasi-0.2.2 [INFO] [stderr] Downloaded syn v2.0.98 [INFO] [stderr] Downloaded serde_json v1.0.138 [INFO] [stderr] Downloaded sha2 v0.11.0-pre.4 [INFO] [stderr] Downloaded pkcs1 v0.8.0-rc.1 [INFO] [stderr] Downloaded once_cell v1.20.3 [INFO] [stderr] Downloaded libc v0.2.169 [INFO] [stderr] Downloaded errno v0.3.10 [INFO] [stderr] Downloaded serde_test v1.0.177 [INFO] [stderr] Downloaded sha3 v0.11.0-pre.4 [INFO] [stderr] Downloaded serde_derive v1.0.217 [INFO] [stderr] Downloaded bitflags v2.8.0 [INFO] [stderr] Downloaded tempfile v3.16.0 [INFO] [stderr] Downloaded modmath v0.1.0 [INFO] [stderr] Downloaded sha1 v0.11.0-pre.4 [INFO] [stderr] Downloaded rusty-fork v0.3.0 [INFO] [stderr] Downloaded pkcs8 v0.11.0-rc.2 [INFO] [stderr] Downloaded rand_xorshift v0.3.0 [INFO] [stderr] Downloaded keccak v0.2.0-pre.0 [INFO] [stderr] Downloaded crypto-common v0.2.0-rc.1 [INFO] [stderr] Downloaded digest v0.11.0-pre.9 [INFO] [stderr] Downloaded signature v2.3.0-pre.4 [INFO] [stderr] Downloaded const-oid v0.10.0-rc.3 [INFO] [stderr] Downloaded serde v1.0.217 [INFO] [stderr] Downloaded itoa v1.0.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4ba37309d9a00414cb2b3990f7b802744e27ca7965adec99b44bfd1e11cd04d [INFO] running `Command { std: "docker" "start" "-a" "b4ba37309d9a00414cb2b3990f7b802744e27ca7965adec99b44bfd1e11cd04d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4ba37309d9a00414cb2b3990f7b802744e27ca7965adec99b44bfd1e11cd04d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ba37309d9a00414cb2b3990f7b802744e27ca7965adec99b44bfd1e11cd04d", kill_on_drop: false }` [INFO] [stdout] b4ba37309d9a00414cb2b3990f7b802744e27ca7965adec99b44bfd1e11cd04d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37867f8de5300dcdd9e7e28d61f2f45aa25a620b3f0403e5af3fbac9e24b64cc [INFO] running `Command { std: "docker" "start" "-a" "37867f8de5300dcdd9e7e28d61f2f45aa25a620b3f0403e5af3fbac9e24b64cc", kill_on_drop: false }` [INFO] [stderr] Compiling const-oid v0.10.0-rc.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling der v0.8.0-rc.1 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hybrid-array v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling modmath v0.1.0 [INFO] [stderr] Compiling spki v0.8.0-rc.1 [INFO] [stderr] Compiling pkcs8 v0.11.0-rc.2 [INFO] [stderr] Compiling pkcs1 v0.8.0-rc.1 [INFO] [stderr] Compiling crypto-common v0.2.0-rc.1 [INFO] [stderr] Compiling digest v0.11.0-pre.9 [INFO] [stderr] Compiling signature v2.3.0-pre.4 [INFO] [stderr] Compiling rsa_heapless v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.83s [INFO] running `Command { std: "docker" "inspect" "37867f8de5300dcdd9e7e28d61f2f45aa25a620b3f0403e5af3fbac9e24b64cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37867f8de5300dcdd9e7e28d61f2f45aa25a620b3f0403e5af3fbac9e24b64cc", kill_on_drop: false }` [INFO] [stdout] 37867f8de5300dcdd9e7e28d61f2f45aa25a620b3f0403e5af3fbac9e24b64cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1848e4a93b7b13bf764e7c8ffea8fd5bb04d0e6c638e23788bfdfced12f78ea [INFO] running `Command { std: "docker" "start" "-a" "a1848e4a93b7b13bf764e7c8ffea8fd5bb04d0e6c638e23788bfdfced12f78ea", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling block-buffer v0.11.0-rc.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling keccak v0.2.0-pre.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling digest v0.11.0-pre.9 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling sha2 v0.11.0-pre.4 [INFO] [stderr] Compiling sha1 v0.11.0-pre.4 [INFO] [stderr] Compiling sha3 v0.11.0-pre.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling modmath v0.1.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling signature v2.3.0-pre.4 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling fixed-bigint v0.1.15 [INFO] [stderr] Compiling rsa_heapless v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proptest v1.6.0 [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> src/pkcs1v15.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | use crypto_bigint::Odd; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `crypto_bigint` in this scope [INFO] [stdout] --> tests/pkcs_encrypt.rs:58:50 [INFO] [stdout] | [INFO] [stdout] 58 | test_encrypt::(&|bytes| crypto_bigint::U256::from_be_slice(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use digest::consts::U256; [INFO] [stdout] | [INFO] [stdout] help: if you import `U256`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 58 - test_encrypt::(&|bytes| crypto_bigint::U256::from_be_slice(bytes)) [INFO] [stdout] 58 + test_encrypt::(&|bytes| U256::from_be_slice(bytes)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `crypto_bigint` in this scope [INFO] [stdout] --> tests/pkcs_encrypt.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | test_encrypt::(&|bytes| crypto_bigint::U256::from_be_slice(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `bnum` in this scope [INFO] [stdout] --> tests/pkcs_verify.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | test_verify_512_bit::( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bnum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bnum`, use `cargo add bnum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsa_heapless` (test "pkcs_encrypt") due to 2 previous errors [INFO] [stdout] error[E0433]: cannot find module or crate `crypto_bigint` in this scope [INFO] [stdout] --> tests/pkcs_verify.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | crypto_bigint::U512::from_be_slice(bytes)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use digest::consts::U512; [INFO] [stdout] | [INFO] [stdout] help: if you import `U512`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - crypto_bigint::U512::from_be_slice(bytes)).unwrap(); [INFO] [stdout] 49 + U512::from_be_slice(bytes)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find module or crate `bnum` in this scope [INFO] [stdout] --> tests/pkcs_verify.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | &|bytes| bnum::types::U512::from_be_slice(bytes).expect("failed to convert") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bnum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bnum`, use `cargo add bnum` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use digest::consts::U512; [INFO] [stdout] | [INFO] [stdout] help: if you import `U512`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - &|bytes| bnum::types::U512::from_be_slice(bytes).expect("failed to convert") [INFO] [stdout] 72 + &|bytes| U512::from_be_slice(bytes).expect("failed to convert") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `crypto_bigint` in this scope [INFO] [stdout] --> tests/pkcs_verify.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | test_verify_512_bit::( [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsa_heapless` (test "pkcs_verify") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsa_heapless` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a1848e4a93b7b13bf764e7c8ffea8fd5bb04d0e6c638e23788bfdfced12f78ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1848e4a93b7b13bf764e7c8ffea8fd5bb04d0e6c638e23788bfdfced12f78ea", kill_on_drop: false }` [INFO] [stdout] a1848e4a93b7b13bf764e7c8ffea8fd5bb04d0e6c638e23788bfdfced12f78ea