[INFO] fetching crate kychacha_crypto 6.0.0... [INFO] testing kychacha_crypto-6.0.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate kychacha_crypto 6.0.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate kychacha_crypto 6.0.0 [INFO] finished tweaking crates.io crate kychacha_crypto 6.0.0 [INFO] tweaked toml for crates.io crate kychacha_crypto 6.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kychacha_crypto 6.0.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kychacha_crypto 6.0.0 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0fb8740510db01247e3f16efcda364c54411dc1e51fa681b60e591db4a558dc [INFO] running `Command { std: "docker" "start" "-a" "a0fb8740510db01247e3f16efcda364c54411dc1e51fa681b60e591db4a558dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0fb8740510db01247e3f16efcda364c54411dc1e51fa681b60e591db4a558dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0fb8740510db01247e3f16efcda364c54411dc1e51fa681b60e591db4a558dc", kill_on_drop: false }` [INFO] [stdout] a0fb8740510db01247e3f16efcda364c54411dc1e51fa681b60e591db4a558dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fe610de8a26c799ec1981f7468afafd399dd94c8d8c6f419bb11eed0d0cfe3f [INFO] running `Command { std: "docker" "start" "-a" "8fe610de8a26c799ec1981f7468afafd399dd94c8d8c6f419bb11eed0d0cfe3f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling prettyplease v0.2.34 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling oqs v0.11.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling kychacha_crypto v6.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `bincode_features` [INFO] [stdout] --> build.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mut bincode_features: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bincode_features` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> build.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let mut bincode_features: u32 = 0; [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] [stderr] Compiling cstr_core v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling cipher v0.4.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 chacha20 v0.9.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling oqs-sys v0.11.0+liboqs-0.13.0 [INFO] [stdout] warning: struct `TestData` is never constructed [INFO] [stdout] --> src/lib.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | pub(crate) struct TestData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.15s [INFO] running `Command { std: "docker" "inspect" "8fe610de8a26c799ec1981f7468afafd399dd94c8d8c6f419bb11eed0d0cfe3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe610de8a26c799ec1981f7468afafd399dd94c8d8c6f419bb11eed0d0cfe3f", kill_on_drop: false }` [INFO] [stdout] 8fe610de8a26c799ec1981f7468afafd399dd94c8d8c6f419bb11eed0d0cfe3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e05f6befd1d9171a359a8dc8be249ef72b04c4dc03a544de3a767ee1c09354f1 [INFO] running `Command { std: "docker" "start" "-a" "e05f6befd1d9171a359a8dc8be249ef72b04c4dc03a544de3a767ee1c09354f1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling cstr_core v0.2.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling codspeed-criterion-compat v3.0.3 [INFO] [stdout] warning: unused variable: `bincode_features` [INFO] [stdout] --> build.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mut bincode_features: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bincode_features` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> build.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let mut bincode_features: u32 = 0; [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] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling statrs v0.18.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling digest v0.10.7 [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 chacha20 v0.9.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling codspeed v3.0.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling codspeed-criterion-compat-walltime v3.0.3 [INFO] [stderr] Compiling oqs-sys v0.11.0+liboqs-0.13.0 [INFO] [stderr] Compiling oqs v0.11.0 [INFO] [stderr] Compiling kychacha_crypto v6.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `decrypt`: This function is deprecated because it's susceptible to OOM attacks. Use `decrypt_from_stream` instead. [INFO] [stdout] --> src/tests.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{decrypt, decrypt_stream, encrypt, encrypt_stream, generate_keypair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `encrypt`: This function is deprecated because it's susceptible to OOM attacks. Use `decrypt_from_stream` instead. [INFO] [stdout] --> src/tests.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{decrypt, decrypt_stream, encrypt, encrypt_stream, generate_keypair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `encrypt`: This function is deprecated because it's susceptible to OOM attacks. Use `decrypt_from_stream` instead. [INFO] [stdout] --> src/tests.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | let ciphertext = encrypt(keypair.public_key, b"secret message")?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `decrypt`: This function is deprecated because it's susceptible to OOM attacks. Use `decrypt_from_stream` instead. [INFO] [stdout] --> src/tests.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let plaintext = decrypt(&ciphertext, &keypair.private_key)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestData` is never constructed [INFO] [stdout] --> src/lib.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | pub(crate) struct TestData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestData` is never constructed [INFO] [stdout] --> src/lib.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | pub(crate) struct TestData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "e05f6befd1d9171a359a8dc8be249ef72b04c4dc03a544de3a767ee1c09354f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e05f6befd1d9171a359a8dc8be249ef72b04c4dc03a544de3a767ee1c09354f1", kill_on_drop: false }` [INFO] [stdout] e05f6befd1d9171a359a8dc8be249ef72b04c4dc03a544de3a767ee1c09354f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 79b0f232a5ea94c1f7f8895b11a8e673c99f9b88e1f34600f57ab74af2a94c26 [INFO] running `Command { std: "docker" "start" "-a" "79b0f232a5ea94c1f7f8895b11a8e673c99f9b88e1f34600f57ab74af2a94c26", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `bincode_features` [INFO] [stderr] --> build.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | let mut bincode_features: u32 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bincode_features` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> build.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | let mut bincode_features: u32 = 0; [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: `kychacha_crypto` (build script) generated 2 warnings [INFO] [stderr] warning: struct `TestData` is never constructed [INFO] [stderr] --> src/lib.rs:125:19 [INFO] [stderr] | [INFO] [stderr] 125 | pub(crate) struct TestData { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `decrypt`: This function is deprecated because it's susceptible to OOM attacks. Use `decrypt_from_stream` instead. [INFO] [stderr] --> src/tests.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::{decrypt, decrypt_stream, encrypt, encrypt_stream, generate_keypair}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `encrypt`: This function is deprecated because it's susceptible to OOM attacks. Use `decrypt_from_stream` instead. [INFO] [stderr] --> src/tests.rs:2:38 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::{decrypt, decrypt_stream, encrypt, encrypt_stream, generate_keypair}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `encrypt`: This function is deprecated because it's susceptible to OOM attacks. Use `decrypt_from_stream` instead. [INFO] [stderr] --> src/tests.rs:104:22 [INFO] [stderr] | [INFO] [stderr] 104 | let ciphertext = encrypt(keypair.public_key, b"secret message")?; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `decrypt`: This function is deprecated because it's susceptible to OOM attacks. Use `decrypt_from_stream` instead. [INFO] [stderr] --> src/tests.rs:105:21 [INFO] [stderr] | [INFO] [stderr] 105 | let plaintext = decrypt(&ciphertext, &keypair.private_key)?; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kychacha_crypto` (lib) generated 1 warning [INFO] [stderr] warning: `kychacha_crypto` (lib test) generated 5 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kychacha_crypto-7e5665150211d77b) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::file_round_trip ... FAILED [INFO] [stdout] test tests::test_empty_message ... ok [INFO] [stdout] test tests::legacy_functions ... ok [INFO] [stdout] test tests::test_round_trip ... ok [INFO] [stdout] test tests::test_known_vector ... ok [INFO] [stdout] test tests::test_tampered_ciphertext ... ok [INFO] [stdout] test tests::test_wrong_key_decryption ... ok [INFO] [stdout] test tests::test_multi_recipient_round_trip ... ok [INFO] [stdout] test tests::test_multi_recipient_wrong_key ... ok [INFO] [stdout] test tests::test_tampered_nonce ... ok [INFO] [stdout] test tests::test_large_message ... ok [INFO] [stdout] test tests::test_big_round_trip ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::file_round_trip stdout ---- [INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::file_round_trip [INFO] [stdout] [INFO] [stdout] test result: FAILED. 11 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.68s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "79b0f232a5ea94c1f7f8895b11a8e673c99f9b88e1f34600f57ab74af2a94c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b0f232a5ea94c1f7f8895b11a8e673c99f9b88e1f34600f57ab74af2a94c26", kill_on_drop: false }` [INFO] [stdout] 79b0f232a5ea94c1f7f8895b11a8e673c99f9b88e1f34600f57ab74af2a94c26