[INFO] fetching crate libcrux-ml-tkem 0.0.3... [INFO] testing libcrux-ml-tkem-0.0.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate libcrux-ml-tkem 0.0.3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate libcrux-ml-tkem 0.0.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate libcrux-ml-tkem 0.0.3 [INFO] tweaked toml for crates.io crate libcrux-ml-tkem 0.0.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libcrux-ml-tkem 0.0.3 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libcrux-ml-tkem 0.0.3 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e9c0a5725aa2644f414d0d6cb352b62ca16c594c512f288d9c759ddc15063e1 [INFO] running `Command { std: "docker" "start" "-a" "2e9c0a5725aa2644f414d0d6cb352b62ca16c594c512f288d9c759ddc15063e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e9c0a5725aa2644f414d0d6cb352b62ca16c594c512f288d9c759ddc15063e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e9c0a5725aa2644f414d0d6cb352b62ca16c594c512f288d9c759ddc15063e1", kill_on_drop: false }` [INFO] [stdout] 2e9c0a5725aa2644f414d0d6cb352b62ca16c594c512f288d9c759ddc15063e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d03c9a24ad96d648c1700c5d4a7f0ce659fbcf6c42e5934236f5f1b3b604fb5 [INFO] running `Command { std: "docker" "start" "-a" "4d03c9a24ad96d648c1700c5d4a7f0ce659fbcf6c42e5934236f5f1b3b604fb5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling hax-lib v0.3.5 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling libcrux-intrinsics v0.0.4 [INFO] [stderr] Compiling libcrux-sha3 v0.0.4 [INFO] [stderr] Compiling libcrux-ml-tkem v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling libcrux-platform v0.0.2 [INFO] [stderr] Compiling hax-lib-macros v0.3.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tls_codec_derive v0.4.2 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling libcrux-secrets v0.0.4 [INFO] [stderr] Compiling tls_codec v0.4.2 [INFO] [stderr] Compiling libcrux-traits v0.0.4 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.69s [INFO] running `Command { std: "docker" "inspect" "4d03c9a24ad96d648c1700c5d4a7f0ce659fbcf6c42e5934236f5f1b3b604fb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d03c9a24ad96d648c1700c5d4a7f0ce659fbcf6c42e5934236f5f1b3b604fb5", kill_on_drop: false }` [INFO] [stdout] 4d03c9a24ad96d648c1700c5d4a7f0ce659fbcf6c42e5934236f5f1b3b604fb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eb725234d9c0aa1e44e5213613404b77e1c3987595461ae74bcf39c6d3d242f [INFO] running `Command { std: "docker" "start" "-a" "9eb725234d9c0aa1e44e5213613404b77e1c3987595461ae74bcf39c6d3d242f", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling libcrux-traits v0.0.4 [INFO] [stderr] Compiling libcrux-sha3 v0.0.4 [INFO] [stderr] Compiling libcrux-ml-tkem v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ENCAPS_SEED_SIZE`, `KEY_GENERATION_SEED_SIZE`, `kyber1024_with_tag`, `kyber768_with_tag`, `tkem1024`, and `tkem768` [INFO] [stdout] --> examples/test.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use libcrux_ml_tkem::{ tkem768, tkem1024, kyber1024_with_tag,kyber768_with_tag, ENCAPS_SEED_SIZE, KEY_GENERATION_SEED_SIZE}; [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 imports: `TryRngCore` and `rngs::OsRng` [INFO] [stdout] --> examples/test.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{rngs::OsRng, TryRngCore}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 49.55s [INFO] running `Command { std: "docker" "inspect" "9eb725234d9c0aa1e44e5213613404b77e1c3987595461ae74bcf39c6d3d242f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eb725234d9c0aa1e44e5213613404b77e1c3987595461ae74bcf39c6d3d242f", kill_on_drop: false }` [INFO] [stdout] 9eb725234d9c0aa1e44e5213613404b77e1c3987595461ae74bcf39c6d3d242f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cdfc5f90dfc22f8ed1da5219701390362b5814fb6625f43a247097066e8fe848 [INFO] running `Command { std: "docker" "start" "-a" "cdfc5f90dfc22f8ed1da5219701390362b5814fb6625f43a247097066e8fe848", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ENCAPS_SEED_SIZE`, `KEY_GENERATION_SEED_SIZE`, `kyber1024_with_tag`, `kyber768_with_tag`, `tkem1024`, and `tkem768` [INFO] [stderr] --> examples/test.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use libcrux_ml_tkem::{ tkem768, tkem1024, kyber1024_with_tag,kyber768_with_tag, ENCAPS_SEED_SIZE, KEY_GENERATION_SEED_SIZE}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TryRngCore` and `rngs::OsRng` [INFO] [stderr] --> examples/test.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use rand::{rngs::OsRng, TryRngCore}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `libcrux-ml-tkem` (example "test") generated 2 warnings (run `cargo fix --example "test" -p libcrux-ml-tkem` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libcrux_ml_tkem-d6576817576fc786) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test polynomial::tests::encoding_portable ... ok [INFO] [stdout] test tkem768::tests::pk_validation ... ok [INFO] [stdout] test mlkem768::tests::pk_validation ... ok [INFO] [stdout] test mlkem512::kyber::simple_kem_test ... ok [INFO] [stdout] test mlkem1024::simple_kem_test ... ok [INFO] [stdout] test mlkem512::simple_kem_test ... ok [INFO] [stdout] test mlkem1024::kyber::simple_kem_test ... ok [INFO] [stdout] test mlkem768::kyber::simple_kem_test ... ok [INFO] [stdout] test mlkem768::simple_kem_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Doc-tests libcrux_ml_tkem [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `libcrux_ml_kem` [INFO] [stdout] --> src/lib.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | use libcrux_ml_kem::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `libcrux_ml_kem` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 29 | use libcrux_ml_tkem::*; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cdfc5f90dfc22f8ed1da5219701390362b5814fb6625f43a247097066e8fe848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdfc5f90dfc22f8ed1da5219701390362b5814fb6625f43a247097066e8fe848", kill_on_drop: false }` [INFO] [stdout] cdfc5f90dfc22f8ed1da5219701390362b5814fb6625f43a247097066e8fe848