[INFO] fetching crate bitcoin-chacha 0.1.12-alpha.0... [INFO] testing bitcoin-chacha-0.1.12-alpha.0 against master#d117135f5a9b69ee3adfb1918aa25616758bf692 for pr-107251 [INFO] extracting crate bitcoin-chacha 0.1.12-alpha.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate bitcoin-chacha 0.1.12-alpha.0 on toolchain d117135f5a9b69ee3adfb1918aa25616758bf692 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-chacha 0.1.12-alpha.0 [INFO] finished tweaking crates.io crate bitcoin-chacha 0.1.12-alpha.0 [INFO] tweaked toml for crates.io crate bitcoin-chacha 0.1.12-alpha.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoin-imports v0.1.12-alpha.0 [INFO] [stderr] Downloaded qt_ritual_common v0.4.0 [INFO] [stderr] Downloaded term-painter v0.2.4 [INFO] [stderr] Downloaded qt_macros v0.1.1 [INFO] [stderr] Downloaded cpp_core v0.6.0 [INFO] [stderr] Downloaded qmetaobject_impl v0.2.7 [INFO] [stderr] Downloaded multiset v0.0.5 [INFO] [stderr] Downloaded indoc v1.0.9 [INFO] [stderr] Downloaded atomic v0.5.1 [INFO] [stderr] Downloaded bitcoin-derive v0.1.12-alpha.0 [INFO] [stderr] Downloaded bitcoin-cfg v0.1.12-alpha.0 [INFO] [stderr] Downloaded pathdiff v0.1.0 [INFO] [stderr] Downloaded cpp_common v0.5.7 [INFO] [stderr] Downloaded const-default v1.0.0 [INFO] [stderr] Downloaded cpp_build v0.5.7 [INFO] [stderr] Downloaded phf v0.10.1 [INFO] [stderr] Downloaded bitset v0.1.2 [INFO] [stderr] Downloaded sqlite v0.25.3 [INFO] [stderr] Downloaded qttypes v0.2.8 [INFO] [stderr] Downloaded bindgen v0.60.1 [INFO] [stderr] Downloaded libevent-sys v0.2.5 [INFO] [stderr] Downloaded priority-queue v1.3.0 [INFO] [stderr] Downloaded qmetaobject v0.2.7 [INFO] [stderr] Downloaded dunce v1.0.3 [INFO] [stderr] Downloaded shell-words v0.1.0 [INFO] [stderr] Downloaded ritual_build v0.4.0 [INFO] [stderr] Downloaded time-point v0.1.1 [INFO] [stderr] Downloaded toml v0.4.10 [INFO] [stderr] Downloaded ritual_common v0.4.0 [INFO] [stderr] Downloaded sqlite3-src v0.2.12 [INFO] [stderr] Downloaded qt_ritual_build v0.5.0 [INFO] [stderr] Downloaded raw-cpuid v10.6.0 [INFO] [stderr] Downloaded quanta v0.9.3 [INFO] [stderr] Downloaded serde-big-array v0.4.1 [INFO] [stderr] Downloaded poison v0.1.0 [INFO] [stderr] Downloaded shared-mutex v0.3.1 [INFO] [stderr] Downloaded sqlite3-sys v0.12.0 [INFO] [stderr] Downloaded sqlite3 v0.24.0 [INFO] [stderr] Downloaded try-catch v0.2.2 [INFO] [stderr] Downloaded qt_gui v0.5.0 [INFO] [stderr] Downloaded phf_generator v0.10.0 [INFO] [stderr] Downloaded atomic-take v1.1.0 [INFO] [stderr] Downloaded atomic_float v0.1.0 [INFO] [stderr] Downloaded comparator v0.3.0 [INFO] [stderr] Downloaded qt_core v0.5.0 [INFO] [stderr] Downloaded delegate v0.7.0 [INFO] [stderr] Downloaded float-ord v0.3.2 [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded integer-encoding v3.0.4 [INFO] [stderr] Downloaded libc-stdhandle v0.1.0 [INFO] [stderr] Downloaded libevent v0.1.0 [INFO] [stderr] Downloaded phf_macros v0.10.0 [INFO] [stderr] Downloaded phf_shared v0.10.0 [INFO] [stderr] Downloaded pnet_sys v0.31.0 [INFO] [stderr] Downloaded cpp_macros v0.5.7 [INFO] [stderr] Downloaded cpp v0.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2cf632427aa9ca06f4cea7d885355a11973aa358b4c0d19ea502077e26c1caf [INFO] running `Command { std: "docker" "start" "-a" "e2cf632427aa9ca06f4cea7d885355a11973aa358b4c0d19ea502077e26c1caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2cf632427aa9ca06f4cea7d885355a11973aa358b4c0d19ea502077e26c1caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2cf632427aa9ca06f4cea7d885355a11973aa358b4c0d19ea502077e26c1caf", kill_on_drop: false }` [INFO] [stdout] e2cf632427aa9ca06f4cea7d885355a11973aa358b4c0d19ea502077e26c1caf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0400155e377a7c5792a2806b2b6248377cde36cd3d15a8682f8165061e500a34 [INFO] running `Command { std: "docker" "start" "-a" "0400155e377a7c5792a2806b2b6248377cde36cd3d15a8682f8165061e500a34", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling gimli v0.27.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling dunce v1.0.3 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling priority-queue v1.3.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling raw-cpuid v10.6.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling cpp_common v0.5.7 [INFO] [stderr] Compiling cpp_build v0.5.7 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling qttypes v0.2.8 [INFO] [stderr] Compiling cpp_macros v0.5.7 [INFO] [stderr] Compiling qmetaobject v0.2.7 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling qmetaobject_impl v0.2.7 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling cpp v0.5.7 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling libevent-sys v0.2.5 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling libevent v0.1.0 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] Compiling bitcoin-imports v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-derive v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-chacha v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `quarterround` [INFO] [stdout] --> src/chacha20.rs:384:14 [INFO] [stdout] | [INFO] [stdout] 384 | macro_rules! quarterround { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_1` [INFO] [stdout] --> src/chacha_poly_aead.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | k_1: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_k_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_1_len` [INFO] [stdout] --> src/chacha_poly_aead.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | k_1_len: usize, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_1_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_2` [INFO] [stdout] --> src/chacha_poly_aead.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | k_2: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_k_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_2_len` [INFO] [stdout] --> src/chacha_poly_aead.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | k_2_len: usize) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_2_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seqnr_payload` [INFO] [stdout] --> src/chacha_poly_aead.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | seqnr_payload: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqnr_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seqnr_aad` [INFO] [stdout] --> src/chacha_poly_aead.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | seqnr_aad: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqnr_aad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aad_pos` [INFO] [stdout] --> src/chacha_poly_aead.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | aad_pos: i32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aad_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/chacha_poly_aead.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | dest: *mut u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_len` [INFO] [stdout] --> src/chacha_poly_aead.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | dest_len: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/chacha_poly_aead.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | src: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_len` [INFO] [stdout] --> src/chacha_poly_aead.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | src_len: usize, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_encrypt` [INFO] [stdout] --> src/chacha_poly_aead.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | is_encrypt: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_encrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len24_out` [INFO] [stdout] --> src/chacha_poly_aead.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | len24_out: *mut u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len24_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seqnr_aad` [INFO] [stdout] --> src/chacha_poly_aead.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | seqnr_aad: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqnr_aad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aad_pos` [INFO] [stdout] --> src/chacha_poly_aead.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | aad_pos: i32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aad_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ciphertext` [INFO] [stdout] --> src/chacha_poly_aead.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | ciphertext: *const u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/chacha20.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | k: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keylen` [INFO] [stdout] --> src/chacha20.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | keylen: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keylen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/chacha20.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | k: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keylen` [INFO] [stdout] --> src/chacha20.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | keylen: usize) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keylen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iv` [INFO] [stdout] --> src/chacha20.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn setiv(&mut self, iv: u64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_iv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/chacha20.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn seek(&mut self, pos: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/chacha20.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | c: *mut u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/chacha20.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | bytes: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/chacha20.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | m: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/chacha20.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | c: *mut u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/chacha20.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | bytes: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/chacha20.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | #[inline] pub fn rotl32(v: u32, c: i32) -> u32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/chacha20.rs:376:33 [INFO] [stdout] | [INFO] [stdout] 376 | #[inline] pub fn rotl32(v: u32, c: i32) -> u32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b1` [INFO] [stdout] --> src/bcmp.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | b1: *const u8, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b2` [INFO] [stdout] --> src/bcmp.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | b2: *const u8, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/bcmp.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | n: usize) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chacha_header`, `chacha_main`, `aad_keystream_buffer`, and `cached_aad_seqnr` are never read [INFO] [stdout] --> src/chacha_poly_aead.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct ChaCha20Poly1305AEAD { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 191 | chacha_header: ChaCha20, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | chacha_main: ChaCha20, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | aad_keystream_buffer: [u8; CHACHA20_ROUND_OUTPUT], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | cached_aad_seqnr: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/chacha20.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ChaCha20 { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | input: [u32; 16], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChaCha20` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 41s [INFO] running `Command { std: "docker" "inspect" "0400155e377a7c5792a2806b2b6248377cde36cd3d15a8682f8165061e500a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0400155e377a7c5792a2806b2b6248377cde36cd3d15a8682f8165061e500a34", kill_on_drop: false }` [INFO] [stdout] 0400155e377a7c5792a2806b2b6248377cde36cd3d15a8682f8165061e500a34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc8f2f14373ba9d61ec42d9466efaeef77012b415e7ef489dc015549be6a5ff8 [INFO] running `Command { std: "docker" "start" "-a" "fc8f2f14373ba9d61ec42d9466efaeef77012b415e7ef489dc015549be6a5ff8", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `quarterround` [INFO] [stdout] --> src/chacha20.rs:384:14 [INFO] [stdout] | [INFO] [stdout] 384 | macro_rules! quarterround { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_1` [INFO] [stdout] --> src/chacha_poly_aead.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | k_1: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_k_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_1_len` [INFO] [stdout] --> src/chacha_poly_aead.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | k_1_len: usize, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_1_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_2` [INFO] [stdout] --> src/chacha_poly_aead.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | k_2: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_k_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_2_len` [INFO] [stdout] --> src/chacha_poly_aead.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | k_2_len: usize) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_2_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seqnr_payload` [INFO] [stdout] --> src/chacha_poly_aead.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | seqnr_payload: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqnr_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seqnr_aad` [INFO] [stdout] --> src/chacha_poly_aead.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | seqnr_aad: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqnr_aad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aad_pos` [INFO] [stdout] --> src/chacha_poly_aead.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | aad_pos: i32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aad_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/chacha_poly_aead.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | dest: *mut u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_len` [INFO] [stdout] --> src/chacha_poly_aead.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | dest_len: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/chacha_poly_aead.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | src: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_len` [INFO] [stdout] --> src/chacha_poly_aead.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | src_len: usize, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_encrypt` [INFO] [stdout] --> src/chacha_poly_aead.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | is_encrypt: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_encrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len24_out` [INFO] [stdout] --> src/chacha_poly_aead.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | len24_out: *mut u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len24_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seqnr_aad` [INFO] [stdout] --> src/chacha_poly_aead.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | seqnr_aad: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqnr_aad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aad_pos` [INFO] [stdout] --> src/chacha_poly_aead.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | aad_pos: i32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aad_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ciphertext` [INFO] [stdout] --> src/chacha_poly_aead.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | ciphertext: *const u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/chacha20.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | k: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keylen` [INFO] [stdout] --> src/chacha20.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | keylen: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keylen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/chacha20.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | k: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keylen` [INFO] [stdout] --> src/chacha20.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | keylen: usize) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keylen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iv` [INFO] [stdout] --> src/chacha20.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn setiv(&mut self, iv: u64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_iv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/chacha20.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn seek(&mut self, pos: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/chacha20.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | c: *mut u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/chacha20.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | bytes: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/chacha20.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | m: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/chacha20.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | c: *mut u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/chacha20.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | bytes: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/chacha20.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | #[inline] pub fn rotl32(v: u32, c: i32) -> u32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/chacha20.rs:376:33 [INFO] [stdout] | [INFO] [stdout] 376 | #[inline] pub fn rotl32(v: u32, c: i32) -> u32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b1` [INFO] [stdout] --> src/bcmp.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | b1: *const u8, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b2` [INFO] [stdout] --> src/bcmp.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | b2: *const u8, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/bcmp.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | n: usize) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chacha_header`, `chacha_main`, `aad_keystream_buffer`, and `cached_aad_seqnr` are never read [INFO] [stdout] --> src/chacha_poly_aead.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct ChaCha20Poly1305AEAD { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 191 | chacha_header: ChaCha20, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | chacha_main: ChaCha20, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | aad_keystream_buffer: [u8; CHACHA20_ROUND_OUTPUT], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | cached_aad_seqnr: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/chacha20.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ChaCha20 { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | input: [u32; 16], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChaCha20` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoin-chacha v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `quarterround` [INFO] [stdout] --> src/chacha20.rs:384:14 [INFO] [stdout] | [INFO] [stdout] 384 | macro_rules! quarterround { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_1` [INFO] [stdout] --> src/chacha_poly_aead.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | k_1: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_k_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_1_len` [INFO] [stdout] --> src/chacha_poly_aead.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | k_1_len: usize, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_1_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_2` [INFO] [stdout] --> src/chacha_poly_aead.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | k_2: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_k_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_2_len` [INFO] [stdout] --> src/chacha_poly_aead.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | k_2_len: usize) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_2_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seqnr_payload` [INFO] [stdout] --> src/chacha_poly_aead.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | seqnr_payload: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqnr_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seqnr_aad` [INFO] [stdout] --> src/chacha_poly_aead.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | seqnr_aad: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqnr_aad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aad_pos` [INFO] [stdout] --> src/chacha_poly_aead.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | aad_pos: i32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aad_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/chacha_poly_aead.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | dest: *mut u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_len` [INFO] [stdout] --> src/chacha_poly_aead.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | dest_len: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/chacha_poly_aead.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | src: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_len` [INFO] [stdout] --> src/chacha_poly_aead.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | src_len: usize, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_encrypt` [INFO] [stdout] --> src/chacha_poly_aead.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | is_encrypt: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_encrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len24_out` [INFO] [stdout] --> src/chacha_poly_aead.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | len24_out: *mut u32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len24_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seqnr_aad` [INFO] [stdout] --> src/chacha_poly_aead.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | seqnr_aad: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqnr_aad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aad_pos` [INFO] [stdout] --> src/chacha_poly_aead.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | aad_pos: i32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aad_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ciphertext` [INFO] [stdout] --> src/chacha_poly_aead.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | ciphertext: *const u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/chacha20.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | k: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keylen` [INFO] [stdout] --> src/chacha20.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | keylen: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keylen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/chacha20.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | k: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keylen` [INFO] [stdout] --> src/chacha20.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | keylen: usize) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keylen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iv` [INFO] [stdout] --> src/chacha20.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn setiv(&mut self, iv: u64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_iv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/chacha20.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn seek(&mut self, pos: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/chacha20.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | c: *mut u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/chacha20.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | bytes: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/chacha20.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | m: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/chacha20.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | c: *mut u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/chacha20.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | bytes: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/chacha20.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | #[inline] pub fn rotl32(v: u32, c: i32) -> u32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/chacha20.rs:376:33 [INFO] [stdout] | [INFO] [stdout] 376 | #[inline] pub fn rotl32(v: u32, c: i32) -> u32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b1` [INFO] [stdout] --> src/bcmp.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | b1: *const u8, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b2` [INFO] [stdout] --> src/bcmp.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | b2: *const u8, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/bcmp.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | n: usize) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chacha_header`, `chacha_main`, `aad_keystream_buffer`, and `cached_aad_seqnr` are never read [INFO] [stdout] --> src/chacha_poly_aead.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct ChaCha20Poly1305AEAD { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 191 | chacha_header: ChaCha20, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | chacha_main: ChaCha20, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | aad_keystream_buffer: [u8; CHACHA20_ROUND_OUTPUT], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | cached_aad_seqnr: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/chacha20.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ChaCha20 { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | input: [u32; 16], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChaCha20` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "fc8f2f14373ba9d61ec42d9466efaeef77012b415e7ef489dc015549be6a5ff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc8f2f14373ba9d61ec42d9466efaeef77012b415e7ef489dc015549be6a5ff8", kill_on_drop: false }` [INFO] [stdout] fc8f2f14373ba9d61ec42d9466efaeef77012b415e7ef489dc015549be6a5ff8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5a5f1488f6c049e9c9353ecb4b56b9c5ac0c78bfecd3b43c4aa38a89c5d91c99 [INFO] running `Command { std: "docker" "start" "-a" "5a5f1488f6c049e9c9353ecb4b56b9c5ac0c78bfecd3b43c4aa38a89c5d91c99", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `bitcoin_derive::*` [INFO] [stderr] --> src/imports.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `quarterround` [INFO] [stderr] --> src/chacha20.rs:384:14 [INFO] [stderr] | [INFO] [stderr] 384 | macro_rules! quarterround { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k_1` [INFO] [stderr] --> src/chacha_poly_aead.rs:215:9 [INFO] [stderr] | [INFO] [stderr] 215 | k_1: *const u8, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_k_1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k_1_len` [INFO] [stderr] --> src/chacha_poly_aead.rs:216:9 [INFO] [stderr] | [INFO] [stderr] 216 | k_1_len: usize, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_1_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k_2` [INFO] [stderr] --> src/chacha_poly_aead.rs:217:9 [INFO] [stderr] | [INFO] [stderr] 217 | k_2: *const u8, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_k_2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k_2_len` [INFO] [stderr] --> src/chacha_poly_aead.rs:218:9 [INFO] [stderr] | [INFO] [stderr] 218 | k_2_len: usize) -> Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_2_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `seqnr_payload` [INFO] [stderr] --> src/chacha_poly_aead.rs:268:9 [INFO] [stderr] | [INFO] [stderr] 268 | seqnr_payload: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqnr_payload` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `seqnr_aad` [INFO] [stderr] --> src/chacha_poly_aead.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | seqnr_aad: u64, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqnr_aad` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `aad_pos` [INFO] [stderr] --> src/chacha_poly_aead.rs:270:9 [INFO] [stderr] | [INFO] [stderr] 270 | aad_pos: i32, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aad_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dest` [INFO] [stderr] --> src/chacha_poly_aead.rs:271:9 [INFO] [stderr] | [INFO] [stderr] 271 | dest: *mut u8, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dest_len` [INFO] [stderr] --> src/chacha_poly_aead.rs:278:9 [INFO] [stderr] | [INFO] [stderr] 278 | dest_len: usize, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src` [INFO] [stderr] --> src/chacha_poly_aead.rs:279:9 [INFO] [stderr] | [INFO] [stderr] 279 | src: *const u8, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src_len` [INFO] [stderr] --> src/chacha_poly_aead.rs:280:9 [INFO] [stderr] | [INFO] [stderr] 280 | src_len: usize, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_encrypt` [INFO] [stderr] --> src/chacha_poly_aead.rs:281:9 [INFO] [stderr] | [INFO] [stderr] 281 | is_encrypt: bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_encrypt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len24_out` [INFO] [stderr] --> src/chacha_poly_aead.rs:354:9 [INFO] [stderr] | [INFO] [stderr] 354 | len24_out: *mut u32, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len24_out` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `seqnr_aad` [INFO] [stderr] --> src/chacha_poly_aead.rs:355:9 [INFO] [stderr] | [INFO] [stderr] 355 | seqnr_aad: u64, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqnr_aad` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `aad_pos` [INFO] [stderr] --> src/chacha_poly_aead.rs:356:9 [INFO] [stderr] | [INFO] [stderr] 356 | aad_pos: i32, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aad_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ciphertext` [INFO] [stderr] --> src/chacha_poly_aead.rs:357:9 [INFO] [stderr] | [INFO] [stderr] 357 | ciphertext: *const u8) -> bool { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/chacha20.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | k: *const u8, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keylen` [INFO] [stderr] --> src/chacha20.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | keylen: usize) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keylen` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/chacha20.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | k: *const u8, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keylen` [INFO] [stderr] --> src/chacha20.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | keylen: usize) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keylen` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `iv` [INFO] [stderr] --> src/chacha20.rs:83:29 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn setiv(&mut self, iv: u64) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_iv` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/chacha20.rs:96:28 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn seek(&mut self, pos: u64) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/chacha20.rs:111:9 [INFO] [stderr] | [INFO] [stderr] 111 | c: *mut u8, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bytes` [INFO] [stderr] --> src/chacha20.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | bytes: usize) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `m` [INFO] [stderr] --> src/chacha20.rs:233:9 [INFO] [stderr] | [INFO] [stderr] 233 | m: *const u8, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/chacha20.rs:234:9 [INFO] [stderr] | [INFO] [stderr] 234 | c: *mut u8, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bytes` [INFO] [stderr] --> src/chacha20.rs:235:9 [INFO] [stderr] | [INFO] [stderr] 235 | bytes: usize) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/chacha20.rs:376:25 [INFO] [stderr] | [INFO] [stderr] 376 | #[inline] pub fn rotl32(v: u32, c: i32) -> u32 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/chacha20.rs:376:33 [INFO] [stderr] | [INFO] [stderr] 376 | #[inline] pub fn rotl32(v: u32, c: i32) -> u32 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b1` [INFO] [stderr] --> src/bcmp.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | b1: *const u8, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_b1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b2` [INFO] [stderr] --> src/bcmp.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | b2: *const u8, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_b2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/bcmp.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | n: usize) -> i32 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: fields `chacha_header`, `chacha_main`, `aad_keystream_buffer`, and `cached_aad_seqnr` are never read [INFO] [stderr] --> src/chacha_poly_aead.rs:191:5 [INFO] [stderr] | [INFO] [stderr] 183 | pub struct ChaCha20Poly1305AEAD { [INFO] [stderr] | -------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 191 | chacha_header: ChaCha20, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 197 | chacha_main: ChaCha20, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 203 | aad_keystream_buffer: [u8; CHACHA20_ROUND_OUTPUT], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 209 | cached_aad_seqnr: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `input` is never read [INFO] [stderr] --> src/chacha20.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct ChaCha20 { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 13 | input: [u32; 16], [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChaCha20` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `bitcoin-chacha` (lib) generated 36 warnings (run `cargo fix --lib -p bitcoin-chacha` to apply 33 suggestions) [INFO] [stderr] warning: `bitcoin-chacha` (lib test) generated 36 warnings (36 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitcoin_chacha-901a9528fae29733) [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] [stderr] Doc-tests bitcoin-chacha [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" "5a5f1488f6c049e9c9353ecb4b56b9c5ac0c78bfecd3b43c4aa38a89c5d91c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a5f1488f6c049e9c9353ecb4b56b9c5ac0c78bfecd3b43c4aa38a89c5d91c99", kill_on_drop: false }` [INFO] [stdout] 5a5f1488f6c049e9c9353ecb4b56b9c5ac0c78bfecd3b43c4aa38a89c5d91c99