[INFO] fetching crate sendcipher-core 0.1.3... [INFO] testing sendcipher-core-0.1.3 against beta-2026-04-21 for beta-1.96-2 [INFO] extracting crate sendcipher-core 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate sendcipher-core 0.1.3 [INFO] finished tweaking crates.io crate sendcipher-core 0.1.3 [INFO] tweaked toml for crates.io crate sendcipher-core 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sendcipher-core 0.1.3 on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sendcipher-core 0.1.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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4de5686a7dfdcfe1acbc24a59f174471e7f0c9a44b491935e2d9a448117cdb5a [INFO] running `Command { std: "docker" "start" "-a" "4de5686a7dfdcfe1acbc24a59f174471e7f0c9a44b491935e2d9a448117cdb5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4de5686a7dfdcfe1acbc24a59f174471e7f0c9a44b491935e2d9a448117cdb5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4de5686a7dfdcfe1acbc24a59f174471e7f0c9a44b491935e2d9a448117cdb5a", kill_on_drop: false }` [INFO] [stdout] 4de5686a7dfdcfe1acbc24a59f174471e7f0c9a44b491935e2d9a448117cdb5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8477ad97d83cf55d0e895b85fb98474363750776357cc30db2dc466ab404171 [INFO] running `Command { std: "docker" "start" "-a" "e8477ad97d83cf55d0e895b85fb98474363750776357cc30db2dc466ab404171", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling password-hash v0.5.0 [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 polyval v0.6.2 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling sendcipher-core v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `digest::typenum::Length` [INFO] [stdout] --> src/crypto/manifest.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use digest::typenum::Length; [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 variable: `data_len` [INFO] [stdout] --> src/crypto/crypto.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | fn get_padding_size(data_len: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/crypto/key_wrapper.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | .map_err(|e| crate::error::Error::DecryptionError("".to_string()))?, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/crypto/key_wrapper.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/crypto/key_wrapper.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `crypto::crypto::CypherContext` is more private than the item `crypto::crypto::prepare_file_encryption` [INFO] [stdout] --> src/crypto/crypto.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | / pub fn prepare_file_encryption( [INFO] [stdout] 169 | | file_name: &str, [INFO] [stdout] 170 | | mfp: &Vec, [INFO] [stdout] 171 | | make_key_wrapper: impl FnOnce(&Vec) -> Result, [INFO] [stdout] 172 | | ) -> Result { [INFO] [stdout] | |_______________________________________________^ function `crypto::crypto::prepare_file_encryption` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `crypto::crypto::CypherContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/crypto.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct CypherContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `crypto::crypto::CypherContext` is more private than the item `crypto::crypto::setup_file_decryption` [INFO] [stdout] --> src/crypto/crypto.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | / pub fn setup_file_decryption( [INFO] [stdout] 218 | | manifest_blob: &mut Blob, [INFO] [stdout] 219 | | password: &str, [INFO] [stdout] 220 | | ) -> Result { [INFO] [stdout] | |_______________________________________________^ function `crypto::crypto::setup_file_decryption` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `crypto::crypto::CypherContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/crypto.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct CypherContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `crypto::crypto::CypherContext` is more private than the item `decrypt_blob` [INFO] [stdout] --> src/crypto/crypto.rs:364:1 [INFO] [stdout] | [INFO] [stdout] 364 | / pub fn decrypt_blob( [INFO] [stdout] 365 | | blob: &mut Blob, [INFO] [stdout] 366 | | decryption_context: &CypherContext, [INFO] [stdout] 367 | | ) -> Result { [INFO] [stdout] | |_______________________________________________^ function `decrypt_blob` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `crypto::crypto::CypherContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/crypto.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct CypherContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PgpKeyWrapper` is more private than the item `crypto::key_wrapper::AnyKeyWrapper::Pgp::0` [INFO] [stdout] --> src/crypto/key_wrapper.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Pgp(PgpKeyWrapper), [INFO] [stdout] | ^^^^^^^^^^^^^ field `crypto::key_wrapper::AnyKeyWrapper::Pgp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PgpKeyWrapper` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/key_wrapper.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) struct PgpKeyWrapper {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AgeKeyWrapper` is more private than the item `crypto::key_wrapper::AnyKeyWrapper::Age::0` [INFO] [stdout] --> src/crypto/key_wrapper.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Age(AgeKeyWrapper), [INFO] [stdout] | ^^^^^^^^^^^^^ field `crypto::key_wrapper::AnyKeyWrapper::Age::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AgeKeyWrapper` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/key_wrapper.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) struct AgeKeyWrapper {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_decryption_context` is never used [INFO] [stdout] --> src/stream_decryptor.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 32 | impl StreamDecryptor { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn get_decryption_context(&self) -> &CypherContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_encrypted_chunk_descriptor` is never used [INFO] [stdout] --> src/stream_encryptor.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 94 | impl StreamEncryptor { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | pub(crate) fn register_encrypted_chunk_descriptor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `file_name`, `get_chunk_index`, and `get_key` are never used [INFO] [stdout] --> src/crypto/crypto.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl CypherContext { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn file_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_chunk_index(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get_key(&mut self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `derive_key`, `from_bytes`, and `to_bytes` are never used [INFO] [stdout] --> src/crypto/cypher_key.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl CypherKey { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn derive_key(&self, context: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn from_bytes(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn to_bytes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checksum_length` is never used [INFO] [stdout] --> src/crypto/checksum.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl ChecksumAlgorithm { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) fn checksum_length(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seed` and `activate_after_size` are never read [INFO] [stdout] --> src/span_generator.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct SpanGenerator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 13 | seed: u128, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | activate_after_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_spans`, `current_size`, `seed`, and `last_span` are never used [INFO] [stdout] --> src/span_generator.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl SpanGenerator { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn generate_spans(&mut self, target_size: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn current_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn seed(&self) -> u128 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn last_span(&self) -> Span { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/parallel_mapper.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | wq.insert(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | let _ = wq.insert(input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/parallel_mapper.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | wq.insert(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = wq.insert(input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parallel_mapper.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | w.join(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = w.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.31s [INFO] running `Command { std: "docker" "inspect" "e8477ad97d83cf55d0e895b85fb98474363750776357cc30db2dc466ab404171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8477ad97d83cf55d0e895b85fb98474363750776357cc30db2dc466ab404171", kill_on_drop: false }` [INFO] [stdout] e8477ad97d83cf55d0e895b85fb98474363750776357cc30db2dc466ab404171 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36459ca870f7c5bd2f1972aa7435465cab8c707b44d34c364c3eddfa62ff8810 [INFO] running `Command { std: "docker" "start" "-a" "36459ca870f7c5bd2f1972aa7435465cab8c707b44d34c364c3eddfa62ff8810", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling proptest v1.8.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling sendcipher-core v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `digest::typenum::Length` [INFO] [stdout] --> src/crypto/manifest.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use digest::typenum::Length; [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: `digest::typenum::Length` [INFO] [stdout] --> src/crypto/manifest.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use digest::typenum::Length; [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 variable: `data_len` [INFO] [stdout] --> src/crypto/crypto.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | fn get_padding_size(data_len: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/crypto/key_wrapper.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | .map_err(|e| crate::error::Error::DecryptionError("".to_string()))?, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/crypto/key_wrapper.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/crypto/key_wrapper.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_len` [INFO] [stdout] --> src/crypto/crypto.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | fn get_padding_size(data_len: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/crypto/key_wrapper.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | .map_err(|e| crate::error::Error::DecryptionError("".to_string()))?, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/crypto/key_wrapper.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/crypto/key_wrapper.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `crypto::crypto::CypherContext` is more private than the item `crypto::crypto::prepare_file_encryption` [INFO] [stdout] --> src/crypto/crypto.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | / pub fn prepare_file_encryption( [INFO] [stdout] 169 | | file_name: &str, [INFO] [stdout] 170 | | mfp: &Vec, [INFO] [stdout] 171 | | make_key_wrapper: impl FnOnce(&Vec) -> Result, [INFO] [stdout] 172 | | ) -> Result { [INFO] [stdout] | |_______________________________________________^ function `crypto::crypto::prepare_file_encryption` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `crypto::crypto::CypherContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/crypto.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct CypherContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `crypto::crypto::CypherContext` is more private than the item `crypto::crypto::setup_file_decryption` [INFO] [stdout] --> src/crypto/crypto.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | / pub fn setup_file_decryption( [INFO] [stdout] 218 | | manifest_blob: &mut Blob, [INFO] [stdout] 219 | | password: &str, [INFO] [stdout] 220 | | ) -> Result { [INFO] [stdout] | |_______________________________________________^ function `crypto::crypto::setup_file_decryption` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `crypto::crypto::CypherContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/crypto.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct CypherContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `crypto::crypto::CypherContext` is more private than the item `decrypt_blob` [INFO] [stdout] --> src/crypto/crypto.rs:364:1 [INFO] [stdout] | [INFO] [stdout] 364 | / pub fn decrypt_blob( [INFO] [stdout] 365 | | blob: &mut Blob, [INFO] [stdout] 366 | | decryption_context: &CypherContext, [INFO] [stdout] 367 | | ) -> Result { [INFO] [stdout] | |_______________________________________________^ function `decrypt_blob` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `crypto::crypto::CypherContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/crypto.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct CypherContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PgpKeyWrapper` is more private than the item `crypto::key_wrapper::AnyKeyWrapper::Pgp::0` [INFO] [stdout] --> src/crypto/key_wrapper.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Pgp(PgpKeyWrapper), [INFO] [stdout] | ^^^^^^^^^^^^^ field `crypto::key_wrapper::AnyKeyWrapper::Pgp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PgpKeyWrapper` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/key_wrapper.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) struct PgpKeyWrapper {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AgeKeyWrapper` is more private than the item `crypto::key_wrapper::AnyKeyWrapper::Age::0` [INFO] [stdout] --> src/crypto/key_wrapper.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Age(AgeKeyWrapper), [INFO] [stdout] | ^^^^^^^^^^^^^ field `crypto::key_wrapper::AnyKeyWrapper::Age::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AgeKeyWrapper` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/key_wrapper.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) struct AgeKeyWrapper {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_decryption_context` is never used [INFO] [stdout] --> src/stream_decryptor.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 32 | impl StreamDecryptor { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn get_decryption_context(&self) -> &CypherContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_encrypted_chunk_descriptor` is never used [INFO] [stdout] --> src/stream_encryptor.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 94 | impl StreamEncryptor { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | pub(crate) fn register_encrypted_chunk_descriptor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `file_name`, `get_chunk_index`, and `get_key` are never used [INFO] [stdout] --> src/crypto/crypto.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl CypherContext { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn file_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_chunk_index(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get_key(&mut self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `derive_key`, `from_bytes`, and `to_bytes` are never used [INFO] [stdout] --> src/crypto/cypher_key.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl CypherKey { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn derive_key(&self, context: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn from_bytes(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn to_bytes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checksum_length` is never used [INFO] [stdout] --> src/crypto/checksum.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl ChecksumAlgorithm { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) fn checksum_length(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seed` and `activate_after_size` are never read [INFO] [stdout] --> src/span_generator.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct SpanGenerator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 13 | seed: u128, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | activate_after_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_spans`, `current_size`, `seed`, and `last_span` are never used [INFO] [stdout] --> src/span_generator.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl SpanGenerator { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn generate_spans(&mut self, target_size: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn current_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn seed(&self) -> u128 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn last_span(&self) -> Span { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/parallel_mapper.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | wq.insert(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | let _ = wq.insert(input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/parallel_mapper.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | wq.insert(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = wq.insert(input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parallel_mapper.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | w.join(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = w.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stream_cypher_tests.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut encrypted_blobs = encryptor [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] [stdout] warning: type `crypto::crypto::CypherContext` is more private than the item `crypto::crypto::prepare_file_encryption` [INFO] [stdout] --> src/crypto/crypto.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | / pub fn prepare_file_encryption( [INFO] [stdout] 169 | | file_name: &str, [INFO] [stdout] 170 | | mfp: &Vec, [INFO] [stdout] 171 | | make_key_wrapper: impl FnOnce(&Vec) -> Result, [INFO] [stdout] 172 | | ) -> Result { [INFO] [stdout] | |_______________________________________________^ function `crypto::crypto::prepare_file_encryption` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `crypto::crypto::CypherContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/crypto.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct CypherContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `crypto::crypto::CypherContext` is more private than the item `crypto::crypto::setup_file_decryption` [INFO] [stdout] --> src/crypto/crypto.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | / pub fn setup_file_decryption( [INFO] [stdout] 218 | | manifest_blob: &mut Blob, [INFO] [stdout] 219 | | password: &str, [INFO] [stdout] 220 | | ) -> Result { [INFO] [stdout] | |_______________________________________________^ function `crypto::crypto::setup_file_decryption` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `crypto::crypto::CypherContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/crypto.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct CypherContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `crypto::crypto::CypherContext` is more private than the item `decrypt_blob` [INFO] [stdout] --> src/crypto/crypto.rs:364:1 [INFO] [stdout] | [INFO] [stdout] 364 | / pub fn decrypt_blob( [INFO] [stdout] 365 | | blob: &mut Blob, [INFO] [stdout] 366 | | decryption_context: &CypherContext, [INFO] [stdout] 367 | | ) -> Result { [INFO] [stdout] | |_______________________________________________^ function `decrypt_blob` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `crypto::crypto::CypherContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/crypto.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct CypherContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PgpKeyWrapper` is more private than the item `crypto::key_wrapper::AnyKeyWrapper::Pgp::0` [INFO] [stdout] --> src/crypto/key_wrapper.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Pgp(PgpKeyWrapper), [INFO] [stdout] | ^^^^^^^^^^^^^ field `crypto::key_wrapper::AnyKeyWrapper::Pgp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PgpKeyWrapper` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/key_wrapper.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) struct PgpKeyWrapper {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AgeKeyWrapper` is more private than the item `crypto::key_wrapper::AnyKeyWrapper::Age::0` [INFO] [stdout] --> src/crypto/key_wrapper.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Age(AgeKeyWrapper), [INFO] [stdout] | ^^^^^^^^^^^^^ field `crypto::key_wrapper::AnyKeyWrapper::Age::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AgeKeyWrapper` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/crypto/key_wrapper.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) struct AgeKeyWrapper {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_decryption_context` is never used [INFO] [stdout] --> src/stream_decryptor.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 32 | impl StreamDecryptor { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn get_decryption_context(&self) -> &CypherContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_encrypted_chunk_descriptor` is never used [INFO] [stdout] --> src/stream_encryptor.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 94 | impl StreamEncryptor { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | pub(crate) fn register_encrypted_chunk_descriptor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `file_name`, `get_chunk_index`, and `get_key` are never used [INFO] [stdout] --> src/crypto/crypto.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl CypherContext { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn file_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_chunk_index(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get_key(&mut self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `derive_key`, `from_bytes`, and `to_bytes` are never used [INFO] [stdout] --> src/crypto/cypher_key.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl CypherKey { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn derive_key(&self, context: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn from_bytes(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn to_bytes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checksum_length` is never used [INFO] [stdout] --> src/crypto/checksum.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl ChecksumAlgorithm { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) fn checksum_length(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seed` and `activate_after_size` are never read [INFO] [stdout] --> src/span_generator.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct SpanGenerator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 13 | seed: u128, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | activate_after_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `seed` is never used [INFO] [stdout] --> src/span_generator.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl SpanGenerator { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn seed(&self) -> u128 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/stream_decryptor.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | / encrypted_blobs [INFO] [stdout] 197 | | .iter() [INFO] [stdout] 198 | | .try_for_each(|blob| encryptor.register_encrypted_chunk(blob.0, &format!("id{}", blob.0))); [INFO] [stdout] | |______________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 196 | let _ = encrypted_blobs [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/stream_decryptor.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | / encrypted_blobs [INFO] [stdout] 249 | | .iter() [INFO] [stdout] 250 | | .try_for_each(|blob| encryptor.register_encrypted_chunk(blob.0, &format!("id{}", blob.0))); [INFO] [stdout] | |______________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 248 | let _ = encrypted_blobs [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/stream_encryptor.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | encryptor.register_encrypted_chunk(chnk.index(), &chnk.index().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 468 | let _ = encryptor.register_encrypted_chunk(chnk.index(), &chnk.index().to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/stream_encryptor.rs:533:17 [INFO] [stdout] | [INFO] [stdout] 533 | / chunks.iter().try_for_each(|chnk| { [INFO] [stdout] 534 | | encryptor.register_encrypted_chunk(chnk.index(), &chnk.index().to_string()) [INFO] [stdout] 535 | | }); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 533 | let _ = chunks.iter().try_for_each(|chnk| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/stream_encryptor.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | / chunks.iter().try_for_each(|chnk| { [INFO] [stdout] 547 | | encryptor.register_encrypted_chunk(chnk.index(), &chnk.index().to_string()) [INFO] [stdout] 548 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 546 | let _ = chunks.iter().try_for_each(|chnk| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/parallel_mapper.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | wq.insert(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | let _ = wq.insert(input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/parallel_mapper.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | wq.insert(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = wq.insert(input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parallel_mapper.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | w.join(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = w.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/stream_cypher_tests.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | encryptor.register_encrypted_chunk(*chunk_id, &format!("storage_id_{}", chunk_id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = encryptor.register_encrypted_chunk(*chunk_id, &format!("storage_id_{}", chunk_id)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 44.50s [INFO] running `Command { std: "docker" "inspect" "36459ca870f7c5bd2f1972aa7435465cab8c707b44d34c364c3eddfa62ff8810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36459ca870f7c5bd2f1972aa7435465cab8c707b44d34c364c3eddfa62ff8810", kill_on_drop: false }` [INFO] [stdout] 36459ca870f7c5bd2f1972aa7435465cab8c707b44d34c364c3eddfa62ff8810 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 82b098738bed62c114e75c6afdf331b5fa0d37ad91eda775c8ab6f81be5f7cda [INFO] running `Command { std: "docker" "start" "-a" "82b098738bed62c114e75c6afdf331b5fa0d37ad91eda775c8ab6f81be5f7cda", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `digest::typenum::Length` [INFO] [stdout] [INFO] [stderr] --> src/crypto/manifest.rs:5:5 [INFO] [stdout] running 32 tests [INFO] [stderr] | [INFO] [stdout] test parallel_mapper::tests::test_process_all ... ok [INFO] [stderr] 5 | use digest::typenum::Length; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data_len` [INFO] [stderr] --> src/crypto/crypto.rs:237:21 [INFO] [stderr] | [INFO] [stderr] 237 | fn get_padding_size(data_len: usize) -> usize { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_len` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/crypto/key_wrapper.rs:105:27 [INFO] [stderr] | [INFO] [stderr] 105 | .map_err(|e| crate::error::Error::DecryptionError("".to_string()))?, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/crypto/key_wrapper.rs:186:23 [INFO] [stderr] | [INFO] [stderr] 186 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/crypto/key_wrapper.rs:204:23 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn from_bytes(data: &[u8]) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: type `crypto::crypto::CypherContext` is more private than the item `crypto::crypto::prepare_file_encryption` [INFO] [stderr] --> src/crypto/crypto.rs:168:1 [INFO] [stderr] | [INFO] [stderr] 168 | / pub fn prepare_file_encryption( [INFO] [stderr] 169 | | file_name: &str, [INFO] [stderr] 170 | | mfp: &Vec, [INFO] [stderr] 171 | | make_key_wrapper: impl FnOnce(&Vec) -> Result, [INFO] [stderr] 172 | | ) -> Result { [INFO] [stderr] | |_______________________________________________^ function `crypto::crypto::prepare_file_encryption` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `crypto::crypto::CypherContext` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/crypto/crypto.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) struct CypherContext { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `crypto::crypto::CypherContext` is more private than the item `crypto::crypto::setup_file_decryption` [INFO] [stderr] --> src/crypto/crypto.rs:217:1 [INFO] [stderr] | [INFO] [stderr] 217 | / pub fn setup_file_decryption( [INFO] [stderr] 218 | | manifest_blob: &mut Blob, [INFO] [stderr] 219 | | password: &str, [INFO] [stderr] 220 | | ) -> Result { [INFO] [stderr] | |_______________________________________________^ function `crypto::crypto::setup_file_decryption` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `crypto::crypto::CypherContext` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/crypto/crypto.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) struct CypherContext { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `crypto::crypto::CypherContext` is more private than the item `decrypt_blob` [INFO] [stderr] --> src/crypto/crypto.rs:364:1 [INFO] [stderr] | [INFO] [stderr] 364 | / pub fn decrypt_blob( [INFO] [stderr] 365 | | blob: &mut Blob, [INFO] [stderr] 366 | | decryption_context: &CypherContext, [INFO] [stderr] 367 | | ) -> Result { [INFO] [stderr] | |_______________________________________________^ function `decrypt_blob` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `crypto::crypto::CypherContext` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/crypto/crypto.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) struct CypherContext { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `PgpKeyWrapper` is more private than the item `crypto::key_wrapper::AnyKeyWrapper::Pgp::0` [INFO] [stderr] --> src/crypto/key_wrapper.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | Pgp(PgpKeyWrapper), [INFO] [stderr] | ^^^^^^^^^^^^^ field `crypto::key_wrapper::AnyKeyWrapper::Pgp::0` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `PgpKeyWrapper` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/crypto/key_wrapper.rs:174:1 [INFO] [stderr] | [INFO] [stderr] 174 | pub(crate) struct PgpKeyWrapper {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `AgeKeyWrapper` is more private than the item `crypto::key_wrapper::AnyKeyWrapper::Age::0` [INFO] [stderr] --> src/crypto/key_wrapper.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | Age(AgeKeyWrapper), [INFO] [stderr] | ^^^^^^^^^^^^^ field `crypto::key_wrapper::AnyKeyWrapper::Age::0` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `AgeKeyWrapper` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/crypto/key_wrapper.rs:192:1 [INFO] [stderr] | [INFO] [stderr] 192 | pub(crate) struct AgeKeyWrapper {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_decryption_context` is never used [INFO] [stderr] --> src/stream_decryptor.rs:66:19 [INFO] [stderr] | [INFO] [stderr] 32 | impl StreamDecryptor { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 66 | pub(crate) fn get_decryption_context(&self) -> &CypherContext { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `register_encrypted_chunk_descriptor` is never used [INFO] [stderr] --> src/stream_encryptor.rs:277:19 [INFO] [stderr] | [INFO] [stderr] 94 | impl StreamEncryptor { [INFO] [stderr] | ------------------------------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 277 | pub(crate) fn register_encrypted_chunk_descriptor( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `file_name`, `get_chunk_index`, and `get_key` are never used [INFO] [stderr] --> src/crypto/crypto.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl CypherContext { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 80 | pub fn file_name(&self) -> &String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 92 | pub fn get_chunk_index(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub fn get_key(&mut self) -> &Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `derive_key`, `from_bytes`, and `to_bytes` are never used [INFO] [stderr] --> src/crypto/cypher_key.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl CypherKey { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn new() -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn derive_key(&self, context: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn from_bytes(bytes: &[u8]) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn to_bytes(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `checksum_length` is never used [INFO] [stderr] --> src/crypto/checksum.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 25 | impl ChecksumAlgorithm { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub(crate) fn checksum_length(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `seed` and `activate_after_size` are never read [INFO] [stderr] --> src/span_generator.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) struct SpanGenerator { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 13 | seed: u128, [INFO] [stderr] | ^^^^ [INFO] [stderr] 14 | activate_after_size: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `generate_spans`, `current_size`, `seed`, and `last_span` are never used [INFO] [stderr] --> src/span_generator.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl SpanGenerator { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 61 | pub fn generate_spans(&mut self, target_size: u64) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 102 | pub fn current_size(&self) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | pub fn seed(&self) -> u128 { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 235 | pub fn last_span(&self) -> Span { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stderr] --> src/parallel_mapper.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | wq.insert(input); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to set a value, consider assignment instead [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 75 | let _ = wq.insert(input); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stderr] --> src/parallel_mapper.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | wq.insert(input); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to set a value, consider assignment instead [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 85 | let _ = wq.insert(input); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/parallel_mapper.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | w.join(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 145 | let _ = w.join(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `sendcipher-core` (lib) generated 20 warnings (run `cargo fix --lib -p sendcipher-core` to apply 5 suggestions) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/stream_cypher_tests.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | let mut encrypted_blobs = encryptor [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: method `seed` is never used [INFO] [stderr] --> src/span_generator.rs:107:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl SpanGenerator { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 107 | pub fn seed(&self) -> u128 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/stream_decryptor.rs:196:9 [INFO] [stderr] | [INFO] [stderr] 196 | / encrypted_blobs [INFO] [stderr] 197 | | .iter() [INFO] [stderr] 198 | | .try_for_each(|blob| encryptor.register_encrypted_chunk(blob.0, &format!("id{}", blob.0))); [INFO] [stderr] | |______________________________________________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 196 | let _ = encrypted_blobs [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/stream_decryptor.rs:248:9 [INFO] [stderr] | [INFO] [stderr] 248 | / encrypted_blobs [INFO] [stderr] 249 | | .iter() [INFO] [stderr] 250 | | .try_for_each(|blob| encryptor.register_encrypted_chunk(blob.0, &format!("id{}", blob.0))); [INFO] [stderr] | |______________________________________________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 248 | let _ = encrypted_blobs [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/stream_encryptor.rs:468:13 [INFO] [stderr] | [INFO] [stderr] 468 | encryptor.register_encrypted_chunk(chnk.index(), &chnk.index().to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 468 | let _ = encryptor.register_encrypted_chunk(chnk.index(), &chnk.index().to_string()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/stream_encryptor.rs:533:17 [INFO] [stderr] | [INFO] [stderr] 533 | / chunks.iter().try_for_each(|chnk| { [INFO] [stderr] 534 | | encryptor.register_encrypted_chunk(chnk.index(), &chnk.index().to_string()) [INFO] [stderr] 535 | | }); [INFO] [stderr] | |__________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 533 | let _ = chunks.iter().try_for_each(|chnk| { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/stream_encryptor.rs:546:9 [INFO] [stderr] | [INFO] [stderr] 546 | / chunks.iter().try_for_each(|chnk| { [INFO] [stderr] 547 | | encryptor.register_encrypted_chunk(chnk.index(), &chnk.index().to_string()) [INFO] [stderr] 548 | | }); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 546 | let _ = chunks.iter().try_for_each(|chnk| { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stderr] --> src/parallel_mapper.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | wq.insert(input); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to set a value, consider assignment instead [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 75 | let _ = wq.insert(input); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/stream_cypher_tests.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | encryptor.register_encrypted_chunk(*chunk_id, &format!("storage_id_{}", chunk_id)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 61 | let _ = encryptor.register_encrypted_chunk(*chunk_id, &format!("storage_id_{}", chunk_id)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `sendcipher-core` (lib test) generated 27 warnings (18 duplicates) (run `cargo fix --lib -p sendcipher-core --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sendcipher_core-fd01aa8932b0ba3d) [INFO] [stdout] test parallel_mapper::tests::test_dyn_parallel_mapper ... ok [INFO] [stdout] test span_generator::tests::test_n_spans::_37_098_979u64_expects ... ok [INFO] [stdout] test parallel_mapper::tests::test_drop_parallel_mapper_instance ... ok [INFO] [stdout] test span_generator::tests::test_n_spans::_40_742_172u64_expects ... ok [INFO] [stdout] test span_generator::tests::test_n_spans::_40_742_174u64_expects ... ok [INFO] [stdout] test span_generator::tests::test_n_spans::_40_742_173u64_expects ... ok [INFO] [stdout] test span_generator::tests::test_n_spans::_71_923_298u64_expects ... ok [INFO] [stdout] test span_generator::tests::test_n_spans::_99_101_007u64_expects ... ok [INFO] [stdout] test parallel_mapper::tests::test_workers_with_various_completion_time ... ok [INFO] [stdout] test span_generator::tests::test_one_span ... ok [INFO] [stdout] test span_generator::tests::test_two_spans ... ok [INFO] [stdout] test parallel_mapper::tests::test_wait ... ok [INFO] [stdout] test parallel_mapper::tests::test_interleave_push_pop ... ok [INFO] [stdout] test span_generator::tests::generated_spans_size_is_target_size ... ok [INFO] [stdout] test parallel_mapper::tests::test_basic_workers ... ok [INFO] [stdout] test span_generator::tests::spans_are_contiguous ... ok [INFO] [stdout] test stream_cypher_tests::stream_cypher_tests::test_encrypt_decrypt_roundtrip_empty_file ... ok [INFO] [stdout] test stream_cypher_tests::stream_cypher_tests::test_chunk_metadata_preserved ... ok [INFO] [stdout] test stream_cypher_tests::stream_cypher_tests::test_duplicate_chunk_ids_rejected ... ok [INFO] [stdout] test stream_cypher_tests::stream_cypher_tests::test_encrypt_decrypt_small_file_single_chunk ... ok [INFO] [stdout] test stream_cypher_tests::stream_cypher_tests::test_tampered_manifest_rejected ... ok [INFO] [stdout] test stream_cypher_tests::stream_cypher_tests::test_incorrect_password_rejected ... ok [INFO] [stdout] test stream_decryptor::tests::test_decrypt_after_parallel_encrypt ... ok [INFO] [stdout] test stream_decryptor::tests::test_decrypt_manifest ... ok [INFO] [stdout] test stream_cypher_tests::stream_cypher_tests::test_tampered_chunk_data_rejected ... ok [INFO] [stdout] test stream_cypher_tests::stream_cypher_tests::test_chunk_ordering_preserved ... ok [INFO] [stdout] test stream_encryptor::tests::test_chunking ... ok [INFO] [stdout] test stream_cypher_tests::stream_cypher_tests::test_encrypt_decrypt_large_file_multiple_chunks ... ok [INFO] [stdout] test stream_cypher_tests::stream_cypher_tests::prop_encrypt_decrypt_identity has been running for over 60 seconds [INFO] [stdout] test stream_encryptor::tests::test_encryption has been running for over 60 seconds [INFO] [stdout] test stream_encryptor::tests::test_parallel_encryption has been running for over 60 seconds [INFO] [stdout] test stream_cypher_tests::stream_cypher_tests::prop_encrypt_decrypt_identity ... ok [INFO] [stdout] test stream_encryptor::tests::test_encryption ... ok [INFO] [stdout] test stream_encryptor::tests::test_parallel_encryption ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 409.07s [INFO] [stdout] [INFO] [stderr] Doc-tests sendcipher_core [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "82b098738bed62c114e75c6afdf331b5fa0d37ad91eda775c8ab6f81be5f7cda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82b098738bed62c114e75c6afdf331b5fa0d37ad91eda775c8ab6f81be5f7cda", kill_on_drop: false }` [INFO] [stdout] 82b098738bed62c114e75c6afdf331b5fa0d37ad91eda775c8ab6f81be5f7cda