[INFO] fetching crate libcold 0.0.9... [INFO] testing libcold-0.0.9 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] extracting crate libcold 0.0.9 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate libcold 0.0.9 [INFO] finished tweaking crates.io crate libcold 0.0.9 [INFO] tweaked toml for crates.io crate libcold 0.0.9 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libcold 0.0.9 on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libcold 0.0.9 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40 [INFO] running `Command { std: "docker" "start" "c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling oqs v0.10.1 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling keccak v0.1.6 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling cstr_core v0.2.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling generic-array v1.3.5 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling oqs-sys v0.10.1+liboqs-0.12.0 [INFO] [stderr] Compiling libcold v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `write_opt_string` is never used [INFO] [stdout] --> src/contact/export_import.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn write_opt_string(buf: &mut Vec, opt: &Option) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ML_DSA_87_SK_SIZE` is never used [INFO] [stdout] --> src/consts.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const ML_DSA_87_SK_SIZE: usize = 4896; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OTP_MAX_MESSAGE_LEN` is never used [INFO] [stdout] --> src/consts.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const OTP_MAX_MESSAGE_LEN: usize = OTP_PAD_SIZE - OTP_SIZE_LENGTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `generic-array` [INFO] [stderr] --> Cargo.toml:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | [dependencies.generic-array] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `generic-array` [INFO] [stderr] warning: `libcold` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 3m 48s [INFO] running `Command { std: "docker" "inspect" "c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stdout] warning: function `write_opt_string` is never used [INFO] [stdout] --> src/contact/export_import.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn write_opt_string(buf: &mut Vec, opt: &Option) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ML_DSA_87_SK_SIZE` is never used [INFO] [stdout] --> src/consts.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const ML_DSA_87_SK_SIZE: usize = 4896; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libcold v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `OTP_MAX_MESSAGE_LEN` is never used [INFO] [stdout] --> src/consts.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const OTP_MAX_MESSAGE_LEN: usize = OTP_PAD_SIZE - OTP_SIZE_LENGTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contact.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let mut alice = Contact::new().expect("Failed to create new contact instance"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contact.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | let mut bob = Contact::new().expect("Failed to create new contact instance"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/contact.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let result = match result.unwrap() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk2` [INFO] [stdout] --> src/crypto.rs:492:19 [INFO] [stdout] | [INFO] [stdout] 492 | let (pk2, sk2) = generate_ml_dsa_87_keypair().expect("Failed to generate ML-DSA-87 keypair"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sk2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_opt_string` is never used [INFO] [stdout] --> src/contact/export_import.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn write_opt_string(buf: &mut Vec, opt: &Option) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ML_DSA_87_SK_SIZE` is never used [INFO] [stdout] --> src/consts.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const ML_DSA_87_SK_SIZE: usize = 4896; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OTP_MAX_MESSAGE_LEN` is never used [INFO] [stdout] --> src/consts.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const OTP_MAX_MESSAGE_LEN: usize = OTP_PAD_SIZE - OTP_SIZE_LENGTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `generic-array` [INFO] [stderr] --> Cargo.toml:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | [dependencies.generic-array] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `generic-array` [INFO] [stderr] warning: `libcold` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 3.32s [INFO] running `Command { std: "docker" "inspect" "c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: function `write_opt_string` is never used [INFO] [stdout] [INFO] [stderr] --> src/contact/export_import.rs:231:4 [INFO] [stdout] running 14 tests [INFO] [stderr] | [INFO] [stdout] test crypto::tests::test_encrypt_invalid_nonce ... ok [INFO] [stderr] 231 | fn write_opt_string(buf: &mut Vec, opt: &Option) -> Result<(), Error> { [INFO] [stdout] test crypto::tests::test_encrypt_nonce_behaviour_with_padding ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] test crypto::tests::test_encrypt_nonce_behaviour_no_padding ... ok [INFO] [stderr] | [INFO] [stdout] test crypto::tests::test_otp_without_padding ... ok [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] test crypto::tests::test_encrypt_decrypt_roundtrip_with_padding ... ok [INFO] [stderr] [INFO] [stdout] test crypto::tests::test_encrypt_decrypt_roundtrip_no_padding ... ok [INFO] [stderr] warning: constant `ML_DSA_87_SK_SIZE` is never used [INFO] [stdout] test crypto::tests::test_otp_with_padding_small ... ok [INFO] [stderr] --> src/consts.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | pub const ML_DSA_87_SK_SIZE: usize = 4896; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `OTP_MAX_MESSAGE_LEN` is never used [INFO] [stderr] --> src/consts.rs:51:11 [INFO] [stderr] | [INFO] [stderr] 51 | pub const OTP_MAX_MESSAGE_LEN: usize = OTP_PAD_SIZE - OTP_SIZE_LENGTH; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contact.rs:253:13 [INFO] [stderr] | [INFO] [stderr] 253 | let mut alice = Contact::new().expect("Failed to create new contact instance"); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contact.rs:254:13 [INFO] [stderr] | [INFO] [stderr] 254 | let mut bob = Contact::new().expect("Failed to create new contact instance"); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/contact.rs:410:13 [INFO] [stderr] | [INFO] [stderr] 410 | let result = match result.unwrap() { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sk2` [INFO] [stderr] --> src/crypto.rs:492:19 [INFO] [stderr] | [INFO] [stderr] 492 | let (pk2, sk2) = generate_ml_dsa_87_keypair().expect("Failed to generate ML-DSA-87 keypair"); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sk2` [INFO] [stderr] [INFO] [stderr] warning: `libcold` (lib) generated 3 warnings [INFO] [stderr] warning: `libcold` (lib test) generated 7 warnings (3 duplicates) (run `cargo fix --lib -p libcold --tests` to apply 4 suggestions) [INFO] [stderr] warning: unused dependency `generic-array` [INFO] [stderr] --> Cargo.toml:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | [dependencies.generic-array] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `generic-array` [INFO] [stderr] warning: `libcold` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/build/libcold/6e878c5f59e4dff1/out/libcold-6e878c5f59e4dff1) [INFO] [stdout] test contact::tests::test_export_import ... ok [INFO] [stdout] test crypto::tests::test_ml_dsa_87_signatures_verification ... ok [INFO] [stdout] test crypto::tests::test_secure_random_bytes_duplicates ... ok [INFO] [stdout] test crypto::tests::test_ml_dsa_87_duplicates ... ok [INFO] [stdout] test crypto::tests::test_secure_random_bytes_mixed ... ok [INFO] [stdout] test crypto::tests::test_secure_random_bytes_whitened ... ok [INFO] [stdout] test contact::tests::test_full_two_sessions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.18s [INFO] [stdout] [INFO] [stderr] Doc-tests libcold [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" "c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40", kill_on_drop: false }` [INFO] [stdout] c1ec5d99d25da6b5252caf0b08341d6089046bad31174eb20d40312782169d40