[INFO] cloning repository https://github.com/guruvamsi-policharla/KEMs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guruvamsi-policharla/KEMs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguruvamsi-policharla%2FKEMs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguruvamsi-policharla%2FKEMs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76498493de2e272206e8249cf7fc85794c3b71f9 [INFO] testing guruvamsi-policharla/KEMs against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguruvamsi-policharla%2FKEMs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/guruvamsi-policharla/KEMs [INFO] finished tweaking git repo https://github.com/guruvamsi-policharla/KEMs [INFO] tweaked toml for git repo https://github.com/guruvamsi-policharla/KEMs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/guruvamsi-policharla/KEMs 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 git repo https://github.com/guruvamsi-policharla/KEMs 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] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> x-wing/Cargo.toml:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | homepage = "https://github.com/RustCrypto/KEMs/tree/master/x-wing" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | repository = "https://github.com/RustCrypto/KEMs/tree/master/x-wing" [INFO] [stderr] | ------------------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `x-wing` (manifest) generated 1 warning [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a8af366f1345540b495259846a0999032e7cf15c96a87a4868d9f3d89748079d [INFO] running `Command { std: "docker" "start" "a8af366f1345540b495259846a0999032e7cf15c96a87a4868d9f3d89748079d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8af366f1345540b495259846a0999032e7cf15c96a87a4868d9f3d89748079d", 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" "a8af366f1345540b495259846a0999032e7cf15c96a87a4868d9f3d89748079d" "/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" "a8af366f1345540b495259846a0999032e7cf15c96a87a4868d9f3d89748079d", 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" "a8af366f1345540b495259846a0999032e7cf15c96a87a4868d9f3d89748079d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> x-wing/Cargo.toml:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | homepage = "https://github.com/RustCrypto/KEMs/tree/master/x-wing" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | repository = "https://github.com/RustCrypto/KEMs/tree/master/x-wing" [INFO] [stderr] | ------------------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `x-wing` (manifest) generated 1 warning [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling keccak v0.2.0-pre.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling kem v0.3.0-pre.0 (https://github.com/baloo/traits.git?branch=baloo%2Frelax-sized-rng#abd9d63e) [INFO] [stderr] Compiling dhkem v0.0.1-alpha (/opt/rustwide/workdir/dhkem) [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 (https://github.com/pinkforest/curve25519-dalek.git?branch=bump-rand-0.9#92ec8d3e) [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hybrid-array v0.3.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling block-buffer v0.11.0-rc.4 [INFO] [stderr] Compiling crypto-common v0.2.0-rc.2 (https://github.com/baloo/traits.git?branch=baloo%2Frelax-sized-rng#abd9d63e) [INFO] [stderr] Compiling digest v0.11.0-pre.10 (https://github.com/baloo/traits.git?branch=baloo%2Frelax-sized-rng#abd9d63e) [INFO] [stderr] Compiling sha3 v0.11.0-pre.5 [INFO] [stderr] Compiling ml-kem v0.3.0-pre (/opt/rustwide/workdir/ml-kem) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> ml-kem/src/pke.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [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: `std::io::Write` [INFO] [stdout] --> ml-kem/src/pke.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 (https://github.com/pinkforest/curve25519-dalek.git?branch=bump-rand-0.9#92ec8d3e) [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/algebra.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | let quotient = (product >> Self::BARRETT_SHIFT).truncate(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/algebra.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | Self::small_reduce(remainder.truncate()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/algebra.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | let N = start_n + i.truncate(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/algebra.rs:424:38 [INFO] [stdout] | [INFO] [stdout] 424 | let mut xof = XOF(rho, j.truncate(), i.truncate()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/algebra.rs:424:52 [INFO] [stdout] | [INFO] [stdout] 424 | let mut xof = XOF(rho, j.truncate(), i.truncate()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/compress.rs:40:77 [INFO] [stdout] | [INFO] [stdout] 40 | let y = ((((x << D::USIZE) + Q_HALF) * D::DIV_MUL) >> D::DIV_SHIFT).truncate(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/compress.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | self.0 = y.truncate() & D::MASK; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/compress.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | self.0 = y.truncate(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/encode.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 56 | let val: Integer = (x >> (D::USIZE * j)).truncate(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `randomness_expansion` and `encrypt_deterministic` are never used [INFO] [stdout] --> ml-kem/src/pke.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 105 | / impl

EncryptionKey

[INFO] [stdout] 106 | | where [INFO] [stdout] 107 | | P: PkeParams, [INFO] [stdout] | |_________________- methods in this implementation [INFO] [stdout] 108 | { [INFO] [stdout] 109 | pub fn randomness_expansion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn encrypt_deterministic( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling x25519-dalek v2.0.1 (https://github.com/pinkforest/curve25519-dalek.git?branch=bump-rand-0.9#92ec8d3e) [INFO] [stderr] Compiling x-wing v0.0.1-pre.1 (/opt/rustwide/workdir/x-wing) [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serdect v0.3.0 [INFO] [stderr] Compiling frodo-kem v0.0.1 (/opt/rustwide/workdir/frodo-kem) [INFO] [stdout] warning: associated constant `TWO_N` is never used [INFO] [stdout] --> frodo-kem/src/hazmat/traits.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Params: Sized + Default { [INFO] [stdout] | ------ associated constant in this trait [INFO] [stdout] ... [INFO] [stdout] 69 | const TWO_N: usize = 2 * Self::N; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> frodo-kem/src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 27.97s [INFO] running `Command { std: "docker" "inspect" "a8af366f1345540b495259846a0999032e7cf15c96a87a4868d9f3d89748079d", 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" "a8af366f1345540b495259846a0999032e7cf15c96a87a4868d9f3d89748079d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> x-wing/Cargo.toml:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | homepage = "https://github.com/RustCrypto/KEMs/tree/master/x-wing" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | repository = "https://github.com/RustCrypto/KEMs/tree/master/x-wing" [INFO] [stderr] | ------------------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `x-wing` (manifest) generated 1 warning [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling const-oid v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling digest v0.11.0-pre.10 (https://github.com/baloo/traits.git?branch=baloo%2Frelax-sized-rng#abd9d63e) [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling kem v0.3.0-pre.0 (https://github.com/baloo/traits.git?branch=baloo%2Frelax-sized-rng#abd9d63e) [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling sha3 v0.11.0-pre.5 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling rstest_macros v0.24.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling safe-oqs v0.10.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cstr_core v0.2.6 [INFO] [stderr] Compiling ml-kem v0.3.0-pre (/opt/rustwide/workdir/ml-kem) [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> ml-kem/src/pke.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [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: `std::io::Write` [INFO] [stdout] --> ml-kem/src/pke.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling hmac v0.13.0-pre.5 [INFO] [stderr] Compiling hybrid-array v0.2.3 [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/algebra.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | let quotient = (product >> Self::BARRETT_SHIFT).truncate(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/algebra.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | Self::small_reduce(remainder.truncate()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/algebra.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | let N = start_n + i.truncate(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/algebra.rs:424:38 [INFO] [stdout] | [INFO] [stdout] 424 | let mut xof = XOF(rho, j.truncate(), i.truncate()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/algebra.rs:424:52 [INFO] [stdout] | [INFO] [stdout] 424 | let mut xof = XOF(rho, j.truncate(), i.truncate()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/compress.rs:40:77 [INFO] [stdout] | [INFO] [stdout] 40 | let y = ((((x << D::USIZE) + Q_HALF) * D::DIV_MUL) >> D::DIV_SHIFT).truncate(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/compress.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | self.0 = y.truncate() & D::MASK; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/compress.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | self.0 = y.truncate(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> ml-kem/src/encode.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 56 | let val: Integer = (x >> (D::USIZE * j)).truncate(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `Truncate::truncate(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hkdf v0.13.0-pre.5 [INFO] [stderr] Compiling sha2 v0.11.0-pre.5 (https://github.com/RustCrypto/hashes.git#e6bc891b) [INFO] [stdout] warning: methods `randomness_expansion` and `encrypt_deterministic` are never used [INFO] [stdout] --> ml-kem/src/pke.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 105 | / impl

EncryptionKey

[INFO] [stdout] 106 | | where [INFO] [stdout] 107 | | P: PkeParams, [INFO] [stdout] | |_________________- methods in this implementation [INFO] [stdout] 108 | { [INFO] [stdout] 109 | pub fn randomness_expansion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn encrypt_deterministic( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clang-sys` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.100.0-beta.1-x86_64-unknown-linux-gnu/bin/rustc --crate-name clang_sys --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clang-sys-1.8.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat,unused-externs-silent --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clang_3_5"' --cfg 'feature="clang_3_6"' --cfg 'feature="clang_3_7"' --cfg 'feature="clang_3_8"' --cfg 'feature="clang_3_9"' --cfg 'feature="clang_4_0"' --cfg 'feature="clang_5_0"' --cfg 'feature="clang_6_0"' --cfg 'feature="libloading"' --cfg 'feature="runtime"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clang_10_0", "clang_11_0", "clang_12_0", "clang_13_0", "clang_14_0", "clang_15_0", "clang_16_0", "clang_17_0", "clang_18_0", "clang_3_5", "clang_3_6", "clang_3_7", "clang_3_8", "clang_3_9", "clang_4_0", "clang_5_0", "clang_6_0", "clang_7_0", "clang_8_0", "clang_9_0", "libcpp", "libloading", "runtime", "static"))' -C metadata=18c5054f728d3bee -C extra-filename=-e7e5a5ee07aa0af4 --out-dir /opt/rustwide/target/release/build/clang-sys/e7e5a5ee07aa0af4/out -C strip=debuginfo -L dependency=/opt/rustwide/target/release/build/cfg-if/6407e8cf9bf7546f/out --extern glob=/opt/rustwide/target/release/build/glob/f2d38a0474c49240/out/libglob-f2d38a0474c49240.rmeta --extern libc=/opt/rustwide/target/release/build/libc/460d9eecd76028e1/out/liblibc-460d9eecd76028e1.rmeta --extern libloading=/opt/rustwide/target/release/build/libloading/375f46cd46dc66a1/out/liblibloading-375f46cd46dc66a1.rmeta --cap-lints allow --cap-lints=warn --force-warn=unused_crate_dependencies` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.100.0-beta.1-x86_64-unknown-linux-gnu/bin/rustc --crate-name syn --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.96/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat,unused-externs-silent --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="visit"' --cfg 'feature="visit-mut"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=e45bc942039d7c0d -C extra-filename=-c1db52e5e4fb2927 --out-dir /opt/rustwide/target/release/build/syn/c1db52e5e4fb2927/out -C strip=debuginfo -L dependency=/opt/rustwide/target/release/build/proc-macro2/ce1cbded5c9a1ec7/out -L dependency=/opt/rustwide/target/release/build/unicode-ident/57d7b15b04f4272d/out --extern proc_macro2=/opt/rustwide/target/release/build/proc-macro2/ce1cbded5c9a1ec7/out/libproc_macro2-ce1cbded5c9a1ec7.rmeta --extern quote=/opt/rustwide/target/release/build/quote/5988c3f6b6bd2fb2/out/libquote-5988c3f6b6bd2fb2.rmeta --extern unicode_ident=/opt/rustwide/target/release/build/unicode-ident/57d7b15b04f4272d/out/libunicode_ident-57d7b15b04f4272d.rmeta --cap-lints allow --cap-lints=warn --force-warn=unused_crate_dependencies` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "a8af366f1345540b495259846a0999032e7cf15c96a87a4868d9f3d89748079d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8af366f1345540b495259846a0999032e7cf15c96a87a4868d9f3d89748079d", kill_on_drop: false }` [INFO] [stdout] a8af366f1345540b495259846a0999032e7cf15c96a87a4868d9f3d89748079d