[INFO] fetching crate rsa_heapless 0.1.4... [INFO] building rsa_heapless-0.1.4 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rsa_heapless 0.1.4 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsa_heapless 0.1.4 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_test v1.0.177 [INFO] [stderr] Downloaded keccak v0.2.0-pre.0 [INFO] [stderr] Downloaded spki v0.8.0-rc.1 [INFO] [stderr] Downloaded pkcs1 v0.8.0-rc.1 [INFO] [stderr] Downloaded fixed-bigint v0.1.15 [INFO] [stderr] Downloaded modmath v0.1.0 [INFO] [stderr] Downloaded sha1 v0.11.0-pre.4 [INFO] [stderr] Downloaded der v0.8.0-rc.1 [INFO] [stderr] Downloaded pkcs8 v0.11.0-rc.2 [INFO] [stderr] Downloaded sha2 v0.11.0-pre.4 [INFO] [stderr] Downloaded signature v2.3.0-pre.4 [INFO] [stderr] Downloaded const-oid v0.10.0-rc.3 [INFO] [stderr] Downloaded proptest v1.6.0 [INFO] [stderr] Downloaded sha3 v0.11.0-pre.4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 811d529052262189fe08ba71f2be40b65942c3cef30a544057f3a5c4bcb78c93 [INFO] running `Command { std: "docker" "start" "-a" "811d529052262189fe08ba71f2be40b65942c3cef30a544057f3a5c4bcb78c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "811d529052262189fe08ba71f2be40b65942c3cef30a544057f3a5c4bcb78c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "811d529052262189fe08ba71f2be40b65942c3cef30a544057f3a5c4bcb78c93", kill_on_drop: false }` [INFO] [stdout] 811d529052262189fe08ba71f2be40b65942c3cef30a544057f3a5c4bcb78c93 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ccb550cfa1038331117d231f8332bc2814095a4b32727c7830b449b732a136f [INFO] running `Command { std: "docker" "start" "-a" "9ccb550cfa1038331117d231f8332bc2814095a4b32727c7830b449b732a136f", 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 num-traits v0.2.19 [INFO] [stderr] Compiling der v0.8.0-rc.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling modmath v0.1.0 [INFO] [stderr] Compiling hybrid-array v0.2.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spki v0.8.0-rc.1 [INFO] [stderr] Compiling crypto-common v0.2.0-rc.1 [INFO] [stderr] Compiling pkcs8 v0.11.0-rc.2 [INFO] [stderr] Compiling pkcs1 v0.8.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 10.32s [INFO] running `Command { std: "docker" "inspect" "9ccb550cfa1038331117d231f8332bc2814095a4b32727c7830b449b732a136f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ccb550cfa1038331117d231f8332bc2814095a4b32727c7830b449b732a136f", kill_on_drop: false }` [INFO] [stdout] 9ccb550cfa1038331117d231f8332bc2814095a4b32727c7830b449b732a136f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e7c04d08a95cb9d36822c26ece44f3b7668efe522fab48e704ae2ffc5607c3c [INFO] running `Command { std: "docker" "start" "-a" "6e7c04d08a95cb9d36822c26ece44f3b7668efe522fab48e704ae2ffc5607c3c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling block-buffer v0.11.0-rc.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling digest v0.11.0-pre.9 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [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 modmath v0.1.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling keccak v0.2.0-pre.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling sha1 v0.11.0-pre.4 [INFO] [stderr] Compiling sha2 v0.11.0-pre.4 [INFO] [stderr] Compiling fixed-bigint v0.1.15 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling sha3 v0.11.0-pre.4 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling hex-literal v0.4.1 [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] [stderr] Compiling serde_json v1.0.138 [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 `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[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 `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: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] [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 E0433`. [INFO] [stdout] [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" "6e7c04d08a95cb9d36822c26ece44f3b7668efe522fab48e704ae2ffc5607c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7c04d08a95cb9d36822c26ece44f3b7668efe522fab48e704ae2ffc5607c3c", kill_on_drop: false }` [INFO] [stdout] 6e7c04d08a95cb9d36822c26ece44f3b7668efe522fab48e704ae2ffc5607c3c