[INFO] cloning repository https://github.com/ibrahimjnuhhpsq9hjihji8hi8h/Quantum-Encryption [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ibrahimjnuhhpsq9hjihji8hi8h/Quantum-Encryption" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrahimjnuhhpsq9hjihji8hi8h%2FQuantum-Encryption", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrahimjnuhhpsq9hjihji8hi8h%2FQuantum-Encryption'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e10fbe0c8a266810de5a63f29ee88d7dc55abd0b [INFO] testing ibrahimjnuhhpsq9hjihji8hi8h/Quantum-Encryption against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrahimjnuhhpsq9hjihji8hi8h%2FQuantum-Encryption" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ibrahimjnuhhpsq9hjihji8hi8h/Quantum-Encryption [INFO] finished tweaking git repo https://github.com/ibrahimjnuhhpsq9hjihji8hi8h/Quantum-Encryption [INFO] tweaked toml for git repo https://github.com/ibrahimjnuhhpsq9hjihji8hi8h/Quantum-Encryption written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ibrahimjnuhhpsq9hjihji8hi8h/Quantum-Encryption on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ibrahimjnuhhpsq9hjihji8hi8h/Quantum-Encryption 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2be4f67917cf6873a0cf695c2067ed152b26aab5015961612c016e57259b5583 [INFO] running `Command { std: "docker" "start" "-a" "2be4f67917cf6873a0cf695c2067ed152b26aab5015961612c016e57259b5583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2be4f67917cf6873a0cf695c2067ed152b26aab5015961612c016e57259b5583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2be4f67917cf6873a0cf695c2067ed152b26aab5015961612c016e57259b5583", kill_on_drop: false }` [INFO] [stdout] 2be4f67917cf6873a0cf695c2067ed152b26aab5015961612c016e57259b5583 [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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 4c6d19d952a1e6d04c1e07545cfd0e96725d97f628c2b2cbde4265631a345298 [INFO] running `Command { std: "docker" "start" "-a" "4c6d19d952a1e6d04c1e07545cfd0e96725d97f628c2b2cbde4265631a345298", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling quantum-encryption v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `dimension`, `amplitudes`, and `is_normalized` are never used [INFO] [stdout] --> src/quantum/state.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl QuantumState { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn dimension(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn amplitudes(&self) -> &[(f64, f64)] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn is_normalized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state_index` and `probability` are never read [INFO] [stdout] --> src/quantum/measurement.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MeasurementResult { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 7 | /// The measured basis state index [INFO] [stdout] 8 | pub state_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | /// The probability of this measurement outcome [INFO] [stdout] 10 | pub probability: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeasurementResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidNonce` is never constructed [INFO] [stdout] --> src/crypto/aead.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CryptoError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | InvalidNonce, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_with_nonce` is never used [INFO] [stdout] --> src/crypto/aead.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn encrypt_with_nonce( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.05s [INFO] running `Command { std: "docker" "inspect" "4c6d19d952a1e6d04c1e07545cfd0e96725d97f628c2b2cbde4265631a345298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c6d19d952a1e6d04c1e07545cfd0e96725d97f628c2b2cbde4265631a345298", kill_on_drop: false }` [INFO] [stdout] 4c6d19d952a1e6d04c1e07545cfd0e96725d97f628c2b2cbde4265631a345298 [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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 85422c97f4dfe665ef22fcc5e9e21ef84ef25a31b39181e899a3f014b0efe3ef [INFO] running `Command { std: "docker" "start" "-a" "85422c97f4dfe665ef22fcc5e9e21ef84ef25a31b39181e899a3f014b0efe3ef", kill_on_drop: false }` [INFO] [stderr] Compiling quantum-encryption v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `dimension` and `amplitudes` are never used [INFO] [stdout] --> src/quantum/state.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl QuantumState { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn dimension(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn amplitudes(&self) -> &[(f64, f64)] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state_index` and `probability` are never read [INFO] [stdout] --> src/quantum/measurement.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MeasurementResult { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 7 | /// The measured basis state index [INFO] [stdout] 8 | pub state_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | /// The probability of this measurement outcome [INFO] [stdout] 10 | pub probability: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeasurementResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidNonce` is never constructed [INFO] [stdout] --> src/crypto/aead.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum CryptoError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | InvalidNonce, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_with_nonce` is never used [INFO] [stdout] --> src/crypto/aead.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn encrypt_with_nonce( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "85422c97f4dfe665ef22fcc5e9e21ef84ef25a31b39181e899a3f014b0efe3ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85422c97f4dfe665ef22fcc5e9e21ef84ef25a31b39181e899a3f014b0efe3ef", kill_on_drop: false }` [INFO] [stdout] 85422c97f4dfe665ef22fcc5e9e21ef84ef25a31b39181e899a3f014b0efe3ef [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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 00598e28bc74273fdc4c0b4a59f98dc57fe3daead8931ed709e55cd9a23ac28c [INFO] running `Command { std: "docker" "start" "-a" "00598e28bc74273fdc4c0b4a59f98dc57fe3daead8931ed709e55cd9a23ac28c", kill_on_drop: false }` [INFO] [stderr] warning: methods `dimension` and `amplitudes` are never used [INFO] [stderr] --> src/quantum/state.rs:102:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl QuantumState { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 102 | pub fn dimension(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | pub fn amplitudes(&self) -> &[(f64, f64)] { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `state_index` and `probability` are never read [INFO] [stderr] --> src/quantum/measurement.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct MeasurementResult { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 7 | /// The measured basis state index [INFO] [stderr] 8 | pub state_index: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 9 | /// The probability of this measurement outcome [INFO] [stderr] 10 | pub probability: f64, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MeasurementResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `InvalidNonce` is never constructed [INFO] [stderr] --> src/crypto/aead.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum CryptoError { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 12 | InvalidNonce, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `encrypt_with_nonce` is never used [INFO] [stderr] --> src/crypto/aead.rs:103:8 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn encrypt_with_nonce( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `quantum-encryption` (bin "quantum-encryption" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/quantum-encryption/ccd7995314bac9ee/deps/quantum_encryption-ccd7995314bac9ee) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test crypto::aead::tests::test_encrypt_decrypt_roundtrip ... ok [INFO] [stdout] test crypto::aead::tests::test_tampered_ciphertext_fails ... ok [INFO] [stdout] test crypto::key_derivation::tests::test_standard_key_derivation ... ok [INFO] [stdout] test crypto::aead::tests::test_wrong_key_fails ... ok [INFO] [stdout] test crypto::key_derivation::tests::test_deterministic_from_same_input ... ok [INFO] [stdout] test quantum::measurement::tests::test_encoding ... ok [INFO] [stdout] test quantum::measurement::tests::test_measurement_in_range ... ok [INFO] [stdout] test quantum::state::tests::test_normalization ... ok [INFO] [stdout] test quantum::state::tests::test_probabilities_sum_to_one ... ok [INFO] [stdout] test quantum::measurement::tests::test_measurement_sequence ... ok [INFO] [stdout] test quantum::state::tests::test_collapse ... ok [INFO] [stdout] test crypto::key_derivation::tests::test_quantum_key_derivation ... ok [INFO] [stdout] test crypto::key_derivation::tests::test_key_uniqueness ... ok [INFO] [stdout] test crypto::key_derivation::tests::test_key_analysis ... ok [INFO] [stdout] test crypto::aead::tests::test_large_data ... ok [INFO] [stdout] test quantum::measurement::tests::test_entropy_estimation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.76s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "00598e28bc74273fdc4c0b4a59f98dc57fe3daead8931ed709e55cd9a23ac28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00598e28bc74273fdc4c0b4a59f98dc57fe3daead8931ed709e55cd9a23ac28c", kill_on_drop: false }` [INFO] [stdout] 00598e28bc74273fdc4c0b4a59f98dc57fe3daead8931ed709e55cd9a23ac28c