[INFO] fetching crate kychacha_crypto 6.0.0... [INFO] testing kychacha_crypto-6.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate kychacha_crypto 6.0.0 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kychacha_crypto 6.0.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oqs v0.11.0 [INFO] [stderr] Downloaded codspeed v3.0.3 [INFO] [stderr] Downloaded codspeed-criterion-compat v3.0.3 [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded build-deps v0.1.4 [INFO] [stderr] Downloaded codspeed-criterion-compat-walltime v3.0.3 [INFO] [stderr] Downloaded statrs v0.18.0 [INFO] [stderr] Downloaded oqs-sys v0.11.0+liboqs-0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 814c9c4eaccb6d55e5809e41a727d2da5e0fdc04cad06863258b1e27d01f56c1 [INFO] running `Command { std: "docker" "start" "-a" "814c9c4eaccb6d55e5809e41a727d2da5e0fdc04cad06863258b1e27d01f56c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "814c9c4eaccb6d55e5809e41a727d2da5e0fdc04cad06863258b1e27d01f56c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "814c9c4eaccb6d55e5809e41a727d2da5e0fdc04cad06863258b1e27d01f56c1", kill_on_drop: false }` [INFO] [stdout] 814c9c4eaccb6d55e5809e41a727d2da5e0fdc04cad06863258b1e27d01f56c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d50adffd2715d086cac574111095bb5e31d7cafb25222d650f4c8246a9a9fb00 [INFO] running `Command { std: "docker" "start" "-a" "d50adffd2715d086cac574111095bb5e31d7cafb25222d650f4c8246a9a9fb00", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.34 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Compiling zeroize v1.8.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 digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling oqs v0.11.0 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling cexpr v0.6.0 [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 chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling cstr_core v0.2.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bincode v2.0.1 [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 1m 42s [INFO] running `Command { std: "docker" "inspect" "d50adffd2715d086cac574111095bb5e31d7cafb25222d650f4c8246a9a9fb00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d50adffd2715d086cac574111095bb5e31d7cafb25222d650f4c8246a9a9fb00", kill_on_drop: false }` [INFO] [stdout] d50adffd2715d086cac574111095bb5e31d7cafb25222d650f4c8246a9a9fb00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22d421b72319491a5a08403ed605ac1d523ea54a2ecc6579e7cc5cdb1f1ccff8 [INFO] running `Command { std: "docker" "start" "-a" "22d421b72319491a5a08403ed605ac1d523ea54a2ecc6579e7cc5cdb1f1ccff8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling statrs v0.18.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling getrandom v0.3.3 [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 digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling codspeed v3.0.3 [INFO] [stderr] Compiling cstr_core v0.2.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling codspeed-criterion-compat v3.0.3 [INFO] [stderr] Compiling anes v0.1.6 [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 rustix v1.0.8 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling codspeed-criterion-compat-walltime v3.0.3 [INFO] [stderr] Compiling tempfile v3.20.0 [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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 49s [INFO] running `Command { std: "docker" "inspect" "22d421b72319491a5a08403ed605ac1d523ea54a2ecc6579e7cc5cdb1f1ccff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22d421b72319491a5a08403ed605ac1d523ea54a2ecc6579e7cc5cdb1f1ccff8", kill_on_drop: false }` [INFO] [stdout] 22d421b72319491a5a08403ed605ac1d523ea54a2ecc6579e7cc5cdb1f1ccff8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b64b0db1a64966f976a7f7071260fc725e0a018b3d04873962e39ca5af68371 [INFO] running `Command { std: "docker" "start" "-a" "7b64b0db1a64966f976a7f7071260fc725e0a018b3d04873962e39ca5af68371", 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: `kychacha_crypto` (lib) generated 1 warning [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 test) generated 5 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kychacha_crypto-fb38e58e7fe71d56) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::test_known_vector ... ok [INFO] [stdout] test tests::file_round_trip ... FAILED [INFO] [stdout] test tests::test_tampered_ciphertext ... ok [INFO] [stdout] test tests::test_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_empty_message ... ok [INFO] [stdout] test tests::legacy_functions ... 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_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.92s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "7b64b0db1a64966f976a7f7071260fc725e0a018b3d04873962e39ca5af68371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b64b0db1a64966f976a7f7071260fc725e0a018b3d04873962e39ca5af68371", kill_on_drop: false }` [INFO] [stdout] 7b64b0db1a64966f976a7f7071260fc725e0a018b3d04873962e39ca5af68371