[INFO] fetching crate cryptoy 0.4.0... [INFO] testing cryptoy-0.4.0 against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-3 [INFO] extracting crate cryptoy 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate cryptoy 0.4.0 on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c328a071da60a5b1596fee9e6b4ae9591c526a6805485889e376683289fa0ff [INFO] running `Command { std: "docker" "start" "-a" "0c328a071da60a5b1596fee9e6b4ae9591c526a6805485889e376683289fa0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c328a071da60a5b1596fee9e6b4ae9591c526a6805485889e376683289fa0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c328a071da60a5b1596fee9e6b4ae9591c526a6805485889e376683289fa0ff", kill_on_drop: false }` [INFO] [stdout] 0c328a071da60a5b1596fee9e6b4ae9591c526a6805485889e376683289fa0ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ccec2d3407d6415ffef62763a42a70b44bb0b578d1afe60de512de229d2cfad [INFO] running `Command { std: "docker" "start" "-a" "5ccec2d3407d6415ffef62763a42a70b44bb0b578d1afe60de512de229d2cfad", 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 libm v0.2.8 [INFO] [stderr] Compiling version_check v0.9.4 [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 base64ct v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling smallvec v1.12.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rayon v1.8.1 [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 16.32s [INFO] running `Command { std: "docker" "inspect" "5ccec2d3407d6415ffef62763a42a70b44bb0b578d1afe60de512de229d2cfad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ccec2d3407d6415ffef62763a42a70b44bb0b578d1afe60de512de229d2cfad", kill_on_drop: false }` [INFO] [stdout] 5ccec2d3407d6415ffef62763a42a70b44bb0b578d1afe60de512de229d2cfad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 432082fb70e04378b33b3ef419304ddcc611c38fb3f1ddf74674496d3f5f82c7 [INFO] running `Command { std: "docker" "start" "-a" "432082fb70e04378b33b3ef419304ddcc611c38fb3f1ddf74674496d3f5f82c7", 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 regex-syntax v0.8.2 [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 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.44s [INFO] running `Command { std: "docker" "inspect" "432082fb70e04378b33b3ef419304ddcc611c38fb3f1ddf74674496d3f5f82c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "432082fb70e04378b33b3ef419304ddcc611c38fb3f1ddf74674496d3f5f82c7", kill_on_drop: false }` [INFO] [stdout] 432082fb70e04378b33b3ef419304ddcc611c38fb3f1ddf74674496d3f5f82c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bc7beb048430ce8734ec85a7abc80ec3895476f9279d3c88f856e4cc23a41227 [INFO] running `Command { std: "docker" "start" "-a" "bc7beb048430ce8734ec85a7abc80ec3895476f9279d3c88f856e4cc23a41227", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryptoy-78aec338f3648339) [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::codec::tests::round_trip_codec_type02 ... ok [INFO] [stdout] test rsa::tests::can_encrypt_for_known_good_implementation ... ok [INFO] [stdout] test rsa::tests::can_be_decrypted_by_known_good_implementation ... ok [INFO] [stdout] test rsa::tests::round_trips_encryption_plain_2 ... 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.56s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/attack_demo.rs (/opt/rustwide/target/debug/deps/attack_demo-7c53d2b08a856174) [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-11f79570df196af7) [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] Doc-tests cryptoy [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" "bc7beb048430ce8734ec85a7abc80ec3895476f9279d3c88f856e4cc23a41227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc7beb048430ce8734ec85a7abc80ec3895476f9279d3c88f856e4cc23a41227", kill_on_drop: false }` [INFO] [stdout] bc7beb048430ce8734ec85a7abc80ec3895476f9279d3c88f856e4cc23a41227