[INFO] fetching crate cryptoy 0.4.0... [INFO] testing cryptoy-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cryptoy 0.4.0 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cryptoy 0.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbf25ad175e026d1fcfb9d00d9b8717275152adacfc970289bcdc65814cc10f6 [INFO] running `Command { std: "docker" "start" "-a" "dbf25ad175e026d1fcfb9d00d9b8717275152adacfc970289bcdc65814cc10f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbf25ad175e026d1fcfb9d00d9b8717275152adacfc970289bcdc65814cc10f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbf25ad175e026d1fcfb9d00d9b8717275152adacfc970289bcdc65814cc10f6", kill_on_drop: false }` [INFO] [stdout] dbf25ad175e026d1fcfb9d00d9b8717275152adacfc970289bcdc65814cc10f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 026aa6a1865cc9821c4d8791a6e211bd00667bdfdaf6a606384fdd8bf33ee991 [INFO] running `Command { std: "docker" "start" "-a" "026aa6a1865cc9821c4d8791a6e211bd00667bdfdaf6a606384fdd8bf33ee991", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling smallvec v1.12.0 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rayon v1.8.1 [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 clap_derive v4.4.7 [INFO] [stderr] Compiling thiserror-impl 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.87s [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 3` [INFO] running `Command { std: "docker" "inspect" "026aa6a1865cc9821c4d8791a6e211bd00667bdfdaf6a606384fdd8bf33ee991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "026aa6a1865cc9821c4d8791a6e211bd00667bdfdaf6a606384fdd8bf33ee991", kill_on_drop: false }` [INFO] [stdout] 026aa6a1865cc9821c4d8791a6e211bd00667bdfdaf6a606384fdd8bf33ee991 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edc6d9084c0361c4e75c45f2f758a8d5b5998f7561cba1addaea72ecb825e463 [INFO] running `Command { std: "docker" "start" "-a" "edc6d9084c0361c4e75c45f2f758a8d5b5998f7561cba1addaea72ecb825e463", 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 quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling bit-set v0.5.3 [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 num-bigint-dig v0.8.4 [INFO] [stderr] Compiling tempfile v3.8.1 [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.20s [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 3` [INFO] running `Command { std: "docker" "inspect" "edc6d9084c0361c4e75c45f2f758a8d5b5998f7561cba1addaea72ecb825e463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc6d9084c0361c4e75c45f2f758a8d5b5998f7561cba1addaea72ecb825e463", kill_on_drop: false }` [INFO] [stdout] edc6d9084c0361c4e75c45f2f758a8d5b5998f7561cba1addaea72ecb825e463 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 62cd810083b5bb421fbb88510b27629bc2567b263440402d1c434ddb59b811cf [INFO] running `Command { std: "docker" "start" "-a" "62cd810083b5bb421fbb88510b27629bc2567b263440402d1c434ddb59b811cf", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [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 3` [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::tests::fails_to_generate_primes_too_small ... ok [INFO] [stdout] test rsa::codec::tests::test_type02_encode_decode ... ok [INFO] [stdout] test rsa::codec::tests::round_trip_codec_type01 ... ok [INFO] [stdout] test rsa::tests::can_be_decrypted_by_known_good_implementation ... ok [INFO] [stdout] test rsa::tests::keys_match_known_good_implementation ... 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_encrypt_for_known_good_implementation ... ok [INFO] [stdout] test rsa::tests::round_trips_encryption_pkcs_type02 ... ok [INFO] [stdout] test rsa::tests::round_trips_encryption_plain ... ok [INFO] [stdout] test rsa::tests::round_trips_encryption_pkcs_type01 ... ok [INFO] [stderr] Running unittests src/bin/attack_demo.rs (/opt/rustwide/target/debug/deps/attack_demo-215a2226882a193a) [INFO] [stderr] Running unittests src/bin/rsa_demo.rs (/opt/rustwide/target/debug/deps/rsa_demo-7cc5e80c89581776) [INFO] [stdout] test rsa::tests::generates_keys_with_valid_params ... ok [INFO] [stderr] Doc-tests cryptoy [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.10s [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] [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] [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" "62cd810083b5bb421fbb88510b27629bc2567b263440402d1c434ddb59b811cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62cd810083b5bb421fbb88510b27629bc2567b263440402d1c434ddb59b811cf", kill_on_drop: false }` [INFO] [stdout] 62cd810083b5bb421fbb88510b27629bc2567b263440402d1c434ddb59b811cf