[INFO] fetching crate rsa_heapless 0.1.4... [INFO] testing rsa_heapless-0.1.4 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rsa_heapless 0.1.4 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsa_heapless 0.1.4 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spki v0.8.0-rc.1 [INFO] [stderr] Downloaded digest v0.11.0-pre.9 [INFO] [stderr] Downloaded block-buffer v0.11.0-rc.3 [INFO] [stderr] Downloaded hybrid-array v0.2.3 [INFO] [stderr] Downloaded const-oid v0.10.0-rc.3 [INFO] [stderr] Downloaded hash32 v0.3.1 [INFO] [stderr] Downloaded rand_xorshift v0.3.0 [INFO] [stderr] Downloaded tempfile v3.16.0 [INFO] [stderr] Downloaded serde_test v1.0.177 [INFO] [stderr] Downloaded sha1 v0.11.0-pre.4 [INFO] [stderr] Downloaded sha2 v0.11.0-pre.4 [INFO] [stderr] Downloaded keccak v0.2.0-pre.0 [INFO] [stderr] Downloaded der v0.8.0-rc.1 [INFO] [stderr] Downloaded heapless v0.8.0 [INFO] [stderr] Downloaded hex-literal v0.4.1 [INFO] [stderr] Downloaded proptest v1.6.0 [INFO] [stderr] Downloaded pkcs1 v0.8.0-rc.1 [INFO] [stderr] Downloaded sha3 v0.11.0-pre.4 [INFO] [stderr] Downloaded unarray v0.1.4 [INFO] [stderr] Downloaded crypto-common v0.2.0-rc.1 [INFO] [stderr] Downloaded signature v2.3.0-pre.4 [INFO] [stderr] Downloaded modmath v0.1.0 [INFO] [stderr] Downloaded fixed-bigint v0.1.15 [INFO] [stderr] Downloaded pkcs8 v0.11.0-rc.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3db21d53b9bbb7c819adc294fa60d57dbf16f8b7d6dc0d90970b95e839de54cb [INFO] running `Command { std: "docker" "start" "-a" "3db21d53b9bbb7c819adc294fa60d57dbf16f8b7d6dc0d90970b95e839de54cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3db21d53b9bbb7c819adc294fa60d57dbf16f8b7d6dc0d90970b95e839de54cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db21d53b9bbb7c819adc294fa60d57dbf16f8b7d6dc0d90970b95e839de54cb", kill_on_drop: false }` [INFO] [stdout] 3db21d53b9bbb7c819adc294fa60d57dbf16f8b7d6dc0d90970b95e839de54cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21fa5c70bf56fa0cbfbe9f5e537a883e6269d1020b6f5f05cd86a658a63e7191 [INFO] running `Command { std: "docker" "start" "-a" "21fa5c70bf56fa0cbfbe9f5e537a883e6269d1020b6f5f05cd86a658a63e7191", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling const-oid v0.10.0-rc.3 [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 subtle v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling der v0.8.0-rc.1 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling modmath v0.1.0 [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 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 6.01s [INFO] running `Command { std: "docker" "inspect" "21fa5c70bf56fa0cbfbe9f5e537a883e6269d1020b6f5f05cd86a658a63e7191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fa5c70bf56fa0cbfbe9f5e537a883e6269d1020b6f5f05cd86a658a63e7191", kill_on_drop: false }` [INFO] [stdout] 21fa5c70bf56fa0cbfbe9f5e537a883e6269d1020b6f5f05cd86a658a63e7191 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2ead5125bbe31b361aa63d4dbd25d91e5738ed89d89062a7c88f50ccb5f0687 [INFO] running `Command { std: "docker" "start" "-a" "e2ead5125bbe31b361aa63d4dbd25d91e5738ed89d89062a7c88f50ccb5f0687", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling block-buffer v0.11.0-rc.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling keccak v0.2.0-pre.0 [INFO] [stderr] Compiling digest v0.11.0-pre.9 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling bit-set v0.8.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 num-integer v0.1.46 [INFO] [stderr] Compiling modmath v0.1.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling fixed-bigint v0.1.15 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling signature v2.3.0-pre.4 [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 hex v0.4.3 [INFO] [stderr] Compiling serde_test v1.0.177 [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]: failed to resolve: use of unresolved module or unlinked crate `bnum` [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crypto_bigint` [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bnum` [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]: failed to resolve: use of unresolved module or unlinked crate `crypto_bigint` [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crypto_bigint` [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]: failed to resolve: use of unresolved module or unlinked crate `crypto_bigint` [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] [stderr] error: could not compile `rsa_heapless` (test "pkcs_encrypt") due to 2 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" "e2ead5125bbe31b361aa63d4dbd25d91e5738ed89d89062a7c88f50ccb5f0687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2ead5125bbe31b361aa63d4dbd25d91e5738ed89d89062a7c88f50ccb5f0687", kill_on_drop: false }` [INFO] [stdout] e2ead5125bbe31b361aa63d4dbd25d91e5738ed89d89062a7c88f50ccb5f0687