[INFO] fetching crate cryptoy 0.4.0... [INFO] testing cryptoy-0.4.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cryptoy 0.4.0 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate cryptoy 0.4.0 [INFO] finished tweaking crates.io crate cryptoy 0.4.0 [INFO] tweaked toml for crates.io crate cryptoy 0.4.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cryptoy 0.4.0 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 cryptoy 0.4.0 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] Downloading crates ... [INFO] [stderr] Downloaded rand_xorshift v0.3.0 [INFO] [stderr] Downloaded smallvec v1.12.0 [INFO] [stderr] Downloaded proptest v1.4.0 [INFO] [stderr] Downloaded rsa v0.9.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0039304004aa834f7d60b444609675b8c721951986e528962486e39ef34d94fe [INFO] running `Command { std: "docker" "start" "-a" "0039304004aa834f7d60b444609675b8c721951986e528962486e39ef34d94fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0039304004aa834f7d60b444609675b8c721951986e528962486e39ef34d94fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0039304004aa834f7d60b444609675b8c721951986e528962486e39ef34d94fe", kill_on_drop: false }` [INFO] [stdout] 0039304004aa834f7d60b444609675b8c721951986e528962486e39ef34d94fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 59afc24a5397b7e6091f45ddbf4c03053d303c04cf65fa6161b0370f9b685004 [INFO] running `Command { std: "docker" "start" "-a" "59afc24a5397b7e6091f45ddbf4c03053d303c04cf65fa6161b0370f9b685004", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.12.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling cryptoy v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `prime_bits` is never read [INFO] [stdout] --> src/error.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | InvalidKeyParams { prime_bits: usize }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "59afc24a5397b7e6091f45ddbf4c03053d303c04cf65fa6161b0370f9b685004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59afc24a5397b7e6091f45ddbf4c03053d303c04cf65fa6161b0370f9b685004", kill_on_drop: false }` [INFO] [stdout] 59afc24a5397b7e6091f45ddbf4c03053d303c04cf65fa6161b0370f9b685004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a47f7d2fd897e45baa82352ca7bebd3cd0b483ff4d8bf249b4e384d372e1390e [INFO] running `Command { std: "docker" "start" "-a" "a47f7d2fd897e45baa82352ca7bebd3cd0b483ff4d8bf249b4e384d372e1390e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.4.0 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling cryptoy v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `prime_bits` is never read [INFO] [stdout] --> src/error.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | InvalidKeyParams { prime_bits: usize }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prime_bits` is never read [INFO] [stdout] --> src/error.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | InvalidKeyParams { prime_bits: usize }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "a47f7d2fd897e45baa82352ca7bebd3cd0b483ff4d8bf249b4e384d372e1390e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a47f7d2fd897e45baa82352ca7bebd3cd0b483ff4d8bf249b4e384d372e1390e", kill_on_drop: false }` [INFO] [stdout] a47f7d2fd897e45baa82352ca7bebd3cd0b483ff4d8bf249b4e384d372e1390e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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", kill_on_drop: false }` [INFO] [stdout] f8c7a27d5dc43b487b6d7298cfe90a1e8b141ca24c2807679e55b85bea6f6eae [INFO] running `Command { std: "docker" "start" "-a" "f8c7a27d5dc43b487b6d7298cfe90a1e8b141ca24c2807679e55b85bea6f6eae", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `prime_bits` is never read [INFO] [stderr] --> src/error.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | InvalidKeyParams { prime_bits: usize }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `cryptoy` (lib) generated 1 warning [INFO] [stderr] warning: `cryptoy` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryptoy-47e716307276fcae) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test rsa::codec::tests::test_type01_encode_decode ... ok [INFO] [stdout] test rsa::codec::tests::test_type02_encode_decode ... ok [INFO] [stdout] test rsa::tests::fails_to_generate_primes_too_small ... ok [INFO] [stdout] test rsa::codec::tests::round_trip_codec_type01 ... ok [INFO] [stdout] test rsa::codec::tests::round_trip_codec_type02 ... ok [INFO] [stdout] test rsa::tests::round_trips_encryption_plain_2 ... ok [INFO] [stdout] test rsa::tests::can_be_decrypted_by_known_good_implementation ... ok [INFO] [stdout] test rsa::tests::can_encrypt_for_known_good_implementation ... ok [INFO] [stdout] test rsa::tests::keys_match_known_good_implementation ... ok [INFO] [stdout] test rsa::tests::round_trips_encryption_pkcs_type02 ... ok [INFO] [stdout] test rsa::tests::round_trips_encryption_pkcs_type01 ... ok [INFO] [stdout] test rsa::tests::round_trips_encryption_plain ... ok [INFO] [stdout] test rsa::tests::generates_keys_with_valid_params ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.76s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/attack_demo.rs (/opt/rustwide/target/debug/deps/attack_demo-215a2226882a193a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/rsa_demo.rs (/opt/rustwide/target/debug/deps/rsa_demo-7cc5e80c89581776) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests cryptoy [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f8c7a27d5dc43b487b6d7298cfe90a1e8b141ca24c2807679e55b85bea6f6eae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8c7a27d5dc43b487b6d7298cfe90a1e8b141ca24c2807679e55b85bea6f6eae", kill_on_drop: false }` [INFO] [stdout] f8c7a27d5dc43b487b6d7298cfe90a1e8b141ca24c2807679e55b85bea6f6eae