[INFO] fetching crate kychacha_crypto 6.0.0... [INFO] testing kychacha_crypto-6.0.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate kychacha_crypto 6.0.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kychacha_crypto 6.0.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.17 [INFO] [stderr] Downloaded build-deps v0.1.4 [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded is-terminal v0.4.15 [INFO] [stderr] Downloaded aead v0.5.2 [INFO] [stderr] Downloaded codspeed v3.0.3 [INFO] [stderr] Downloaded chacha20 v0.9.1 [INFO] [stderr] Downloaded codspeed-criterion-compat v3.0.3 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded universal-hash v0.5.1 [INFO] [stderr] Downloaded poly1305 v0.8.0 [INFO] [stderr] Downloaded prettyplease v0.2.34 [INFO] [stderr] Downloaded codspeed-criterion-compat-walltime v3.0.3 [INFO] [stderr] Downloaded statrs v0.18.0 [INFO] [stderr] Downloaded oqs v0.11.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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a63a90151c922e5a4153bd3b06de75277d8114b6a9723e7fcf4969b2d8326e68 [INFO] running `Command { std: "docker" "start" "-a" "a63a90151c922e5a4153bd3b06de75277d8114b6a9723e7fcf4969b2d8326e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a63a90151c922e5a4153bd3b06de75277d8114b6a9723e7fcf4969b2d8326e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a63a90151c922e5a4153bd3b06de75277d8114b6a9723e7fcf4969b2d8326e68", kill_on_drop: false }` [INFO] [stdout] a63a90151c922e5a4153bd3b06de75277d8114b6a9723e7fcf4969b2d8326e68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fee1e5add7502a8fc0f4a40c7671fdf86c822b9df6ae1209b55da9fed2fe887 [INFO] running `Command { std: "docker" "start" "-a" "7fee1e5add7502a8fc0f4a40c7671fdf86c822b9df6ae1209b55da9fed2fe887", 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 either v1.13.0 [INFO] [stderr] Compiling subtle v2.6.1 [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 opaque-debug v0.3.1 [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 oqs v0.11.0 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling kychacha_crypto v6.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling unty v0.0.4 [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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 clang-sys v1.8.1 [INFO] [stderr] Compiling cstr_core v0.2.6 [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 digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling cipher v0.4.4 [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 chacha20 v0.9.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling oqs-sys v0.11.0+liboqs-0.13.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bincode v2.0.1 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.34s [INFO] running `Command { std: "docker" "inspect" "7fee1e5add7502a8fc0f4a40c7671fdf86c822b9df6ae1209b55da9fed2fe887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fee1e5add7502a8fc0f4a40c7671fdf86c822b9df6ae1209b55da9fed2fe887", kill_on_drop: false }` [INFO] [stdout] 7fee1e5add7502a8fc0f4a40c7671fdf86c822b9df6ae1209b55da9fed2fe887 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c01348f47d831fc278e775e2dff42e2356a6f899a8986d8453fc070ade474cc [INFO] running `Command { std: "docker" "start" "-a" "8c01348f47d831fc278e775e2dff42e2356a6f899a8986d8453fc070ade474cc", 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 bitflags v2.8.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling half v2.4.1 [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 regex-syntax v0.8.5 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling cstr_core v0.2.6 [INFO] [stderr] Compiling ciborium v0.2.2 [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling codspeed-criterion-compat v3.0.3 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling statrs v0.18.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [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 hmac v0.12.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling codspeed v3.0.3 [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 59.23s [INFO] running `Command { std: "docker" "inspect" "8c01348f47d831fc278e775e2dff42e2356a6f899a8986d8453fc070ade474cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c01348f47d831fc278e775e2dff42e2356a6f899a8986d8453fc070ade474cc", kill_on_drop: false }` [INFO] [stdout] 8c01348f47d831fc278e775e2dff42e2356a6f899a8986d8453fc070ade474cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e33834a004fe00325fa50da3122874d7f1a1378764c7a792ee443f4ea2b830f1 [INFO] running `Command { std: "docker" "start" "-a" "e33834a004fe00325fa50da3122874d7f1a1378764c7a792ee443f4ea2b830f1", 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)]` 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)]` 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)]` 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.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kychacha_crypto-e63a6bd768944663) [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_known_vector ... ok [INFO] [stdout] test tests::test_tampered_ciphertext ... ok [INFO] [stdout] test tests::test_tampered_nonce ... 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_round_trip ... ok [INFO] [stdout] test tests::test_multi_recipient_wrong_key ... 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.76s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "e33834a004fe00325fa50da3122874d7f1a1378764c7a792ee443f4ea2b830f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e33834a004fe00325fa50da3122874d7f1a1378764c7a792ee443f4ea2b830f1", kill_on_drop: false }` [INFO] [stdout] e33834a004fe00325fa50da3122874d7f1a1378764c7a792ee443f4ea2b830f1