[INFO] cloning repository https://github.com/Rickygole/PQC-Algo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rickygole/PQC-Algo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRickygole%2FPQC-Algo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRickygole%2FPQC-Algo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2a396f6581ef08bfb60d06d9cb821aec129f35c [INFO] checking Rickygole/PQC-Algo against master#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-149518 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRickygole%2FPQC-Algo" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Rickygole/PQC-Algo [INFO] finished tweaking git repo https://github.com/Rickygole/PQC-Algo [INFO] tweaked toml for git repo https://github.com/Rickygole/PQC-Algo written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Rickygole/PQC-Algo on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Rickygole/PQC-Algo 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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded oqs v0.10.1 [INFO] [stderr] Downloaded build-deps v0.1.4 [INFO] [stderr] Downloaded oqs-sys v0.10.1+liboqs-0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be4e5dcacd1d549bbf5555df85e5aa9d6a644bb6d419738c3d1f1f1c81ea61c8 [INFO] running `Command { std: "docker" "start" "-a" "be4e5dcacd1d549bbf5555df85e5aa9d6a644bb6d419738c3d1f1f1c81ea61c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be4e5dcacd1d549bbf5555df85e5aa9d6a644bb6d419738c3d1f1f1c81ea61c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be4e5dcacd1d549bbf5555df85e5aa9d6a644bb6d419738c3d1f1f1c81ea61c8", kill_on_drop: false }` [INFO] [stdout] be4e5dcacd1d549bbf5555df85e5aa9d6a644bb6d419738c3d1f1f1c81ea61c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff1adabc4be097696bcb0bd9a6efd0a2d2d677543210a78d00c20638a62c4a96 [INFO] running `Command { std: "docker" "start" "-a" "ff1adabc4be097696bcb0bd9a6efd0a2d2d677543210a78d00c20638a62c4a96", kill_on_drop: false }` [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling oqs v0.10.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Checking cstr_core v0.2.6 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling oqs-sys v0.10.1+liboqs-0.12.0 [INFO] [stderr] Checking pqc-algo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PqcError` [INFO] [stdout] --> src/qrng.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::{PqcError, Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_to_bytes` [INFO] [stdout] --> src/qrng.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::binary_loader::{load_kyber_binary, hex_to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PqcError` [INFO] [stdout] --> src/qrng.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::{PqcError, Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_to_bytes` [INFO] [stdout] --> src/qrng.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::binary_loader::{load_kyber_binary, hex_to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/qrng.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `sha2::digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/api.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let nonce = Nonce::from_slice(&nonce_bytes); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `sha2::digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/api.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | cipher.decrypt(Nonce::from_slice(nonce_bytes), ciphertext) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `sha2::digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/api.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let nonce = Nonce::from_slice(&nonce_bytes); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `sha2::digest::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/api.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | cipher.decrypt(Nonce::from_slice(nonce_bytes), ciphertext) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api` [INFO] [stdout] --> src/test_keys.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use pqc_algo::{kem, sign, api}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load_kyber_binary` [INFO] [stdout] --> src/binary_analyzer.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use pqc_algo::binary_loader::{load_kyber_binary, hex_to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api` [INFO] [stdout] --> src/test_keys.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use pqc_algo::{kem, sign, api}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load_kyber_binary` [INFO] [stdout] --> src/binary_analyzer.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use pqc_algo::binary_loader::{load_kyber_binary, hex_to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ciphertext` [INFO] [stdout] --> src/test_keys.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | let (ciphertext, shared_secret) = kem::encapsulate(&our_kem_keys.public_key)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ciphertext` [INFO] [stdout] --> src/test_keys.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | let (ciphertext, shared_secret) = kem::encapsulate(&our_kem_keys.public_key)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 09s [INFO] running `Command { std: "docker" "inspect" "ff1adabc4be097696bcb0bd9a6efd0a2d2d677543210a78d00c20638a62c4a96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1adabc4be097696bcb0bd9a6efd0a2d2d677543210a78d00c20638a62c4a96", kill_on_drop: false }` [INFO] [stdout] ff1adabc4be097696bcb0bd9a6efd0a2d2d677543210a78d00c20638a62c4a96