[INFO] fetching crate saito 0.0.1...
[INFO] checking saito-0.0.1 against 1.95.0 for pr-155915
[INFO] extracting crate saito 0.0.1 into /workspace/builds/worker-4-tc1/source
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate saito 0.0.1
[INFO] finished tweaking crates.io crate saito 0.0.1
[INFO] tweaked toml for crates.io crate saito 0.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate saito 0.0.1 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate saito 0.0.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tungstenite v0.12.0
[INFO] [stderr]   Downloaded input_buffer v0.4.0
[INFO] [stderr]   Downloaded tracing-log v0.1.2
[INFO] [stderr]   Downloaded tokio-tungstenite v0.13.0
[INFO] [stderr]   Downloaded warp v0.3.1
[INFO] [stderr]   Downloaded async-recursion v0.3.2
[INFO] [stderr]   Downloaded saito-macros v0.0.2
[INFO] [stderr]   Downloaded merkle v1.11.0
[INFO] [stderr]   Downloaded rpassword v5.0.1
[INFO] [stderr]   Downloaded serial_test v0.5.1
[INFO] [stderr]   Downloaded headers-core v0.2.0
[INFO] [stderr]   Downloaded serde-aux v3.0.1
[INFO] [stderr]   Downloaded darling_macro v0.13.0
[INFO] [stderr]   Downloaded block-modes v0.8.1
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.5
[INFO] [stderr]   Downloaded darling v0.13.0
[INFO] [stderr]   Downloaded serde_with_macros v1.5.1
[INFO] [stderr]   Downloaded secp256k1 v0.20.3
[INFO] [stderr]   Downloaded darling_core v0.13.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.70
[INFO] [stderr]   Downloaded serde_with v1.11.0
[INFO] [stderr]   Downloaded serde_json v1.0.69
[INFO] [stderr]   Downloaded http v0.2.5
[INFO] [stderr]   Downloaded blake3 v1.2.0
[INFO] [stderr]   Downloaded reqwest v0.11.6
[INFO] [stderr]   Downloaded hyper v0.14.14
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.1
[INFO] [stderr]   Downloaded h2 v0.3.7
[INFO] [stderr]   Downloaded headers v0.3.5
[INFO] [stderr]   Downloaded tungstenite v0.14.0
[INFO] [stderr]   Downloaded multipart v0.17.1
[INFO] [stderr]   Downloaded secp256k1-sys v0.4.1
[INFO] [stderr]   Downloaded tokio-tungstenite v0.15.0
[INFO] [stderr]   Downloaded semver v1.0.4
[INFO] [stderr]   Downloaded rustversion v1.0.5
[INFO] [stderr]   Downloaded serial_test_derive v0.5.1
[INFO] [stderr]   Downloaded encoding_rs v0.8.29
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 20ce16ef4239ed856e27af45f2c1225efd7559d67ddb0905e20d344459af0e7b
[INFO] running `Command { std: "docker" "start" "-a" "20ce16ef4239ed856e27af45f2c1225efd7559d67ddb0905e20d344459af0e7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "20ce16ef4239ed856e27af45f2c1225efd7559d67ddb0905e20d344459af0e7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20ce16ef4239ed856e27af45f2c1225efd7559d67ddb0905e20d344459af0e7b", kill_on_drop: false }`
[INFO] [stdout] 20ce16ef4239ed856e27af45f2c1225efd7559d67ddb0905e20d344459af0e7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7460c1a81bf165ae823325e64c7b1a8a9afc7424e21d8b0d557fc5d3fee6d36b
[INFO] running `Command { std: "docker" "start" "-a" "7460c1a81bf165ae823325e64c7b1a8a9afc7424e21d8b0d557fc5d3fee6d36b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.106
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling cc v1.0.71
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]     Checking pin-project-lite v0.2.7
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking http v0.2.5
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]    Compiling tokio v1.13.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking futures-sink v0.3.17
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling pkg-config v0.3.22
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking tinyvec v1.5.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling openssl-sys v0.9.70
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking tracing-core v0.1.21
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]     Checking cpufeatures v0.2.1
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]    Compiling serde_json v1.0.69
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking httpdate v1.0.1
[INFO] [stderr]    Compiling semver v1.0.4
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking socket2 v0.4.2
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]     Checking openssl-probe v0.1.4
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling secp256k1-sys v0.4.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking input_buffer v0.4.0
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]    Compiling crunchy v0.1.6
[INFO] [stderr]    Compiling encoding_rs v0.8.29
[INFO] [stderr]    Compiling rustversion v1.0.5
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking lexical-core v0.7.6
[INFO] [stderr]     Checking tungstenite v0.12.0
[INFO] [stderr]    Compiling darling_core v0.13.0
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]    Compiling blake3 v1.2.0
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling merkle v1.11.0
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking futures-io v0.3.17
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking serde-hjson v0.9.1
[INFO] [stderr]     Checking futures v0.3.17
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking multipart v0.17.1
[INFO] [stderr]     Checking headers v0.3.5
[INFO] [stderr]    Compiling tokio-macros v1.5.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.18
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling darling_macro v0.13.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling darling v0.13.0
[INFO] [stderr]    Compiling serde_with_macros v1.5.1
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]     Checking tracing v0.1.29
[INFO] [stderr]     Checking tracing-log v0.1.2
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]     Checking pin-project v1.0.8
[INFO] [stderr]     Checking sharded-slab v0.1.4
[INFO] [stderr]     Checking tungstenite v0.14.0
[INFO] [stderr]     Checking ipnet v2.3.1
[INFO] [stderr]     Checking arrayvec v0.7.2
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking rust-ini v0.13.0
[INFO] [stderr]     Checking block-modes v0.8.1
[INFO] [stderr]     Checking bigint v4.4.3
[INFO] [stderr]     Checking tracing-subscriber v0.3.1
[INFO] [stderr]    Compiling saito-macros v0.0.2
[INFO] [stderr]    Compiling async-recursion v0.3.2
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]     Checking rpassword v5.0.1
[INFO] [stderr]     Checking base58 v0.2.0
[INFO] [stderr]     Checking plotters-backend v0.3.2
[INFO] [stderr]     Checking itertools v0.10.1
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking half v1.8.2
[INFO] [stderr]     Checking plotters-svg v0.3.1
[INFO] [stderr]     Checking plotters v0.3.1
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]    Compiling serial_test_derive v0.5.1
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]    Compiling ctor v0.1.21
[INFO] [stderr]     Checking serial_test v0.5.1
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking tokio-tungstenite v0.13.0
[INFO] [stderr]     Checking tokio-stream v0.1.8
[INFO] [stderr]     Checking tokio-tungstenite v0.15.0
[INFO] [stderr]     Checking criterion-plot v0.4.4
[INFO] [stderr]     Checking h2 v0.3.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking serde_with v1.11.0
[INFO] [stderr]     Checking secp256k1 v0.20.3
[INFO] [stderr]     Checking serde_bytes v0.11.5
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking config v0.11.0
[INFO] [stderr]     Checking serde-aux v3.0.1
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.3.5
[INFO] [stderr]     Checking hyper v0.14.14
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking warp v0.3.1
[INFO] [stderr]     Checking reqwest v0.11.6
[INFO] [stderr]     Checking saito v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:115:33
[INFO] [stdout]     |
[INFO] [stdout] 115 |             if !self.block_ring[(i as usize)].block_hashes.is_empty() {
[INFO] [stdout]     |                                 ^          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 115 -             if !self.block_ring[(i as usize)].block_hashes.is_empty() {
[INFO] [stdout] 115 +             if !self.block_ring[i as usize ].block_hashes.is_empty() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:127:25
[INFO] [stdout]     |
[INFO] [stdout] 127 |         self.block_ring[(insert_pos as usize)].contains_block_hash(block_hash)
[INFO] [stdout]     |                         ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 127 -         self.block_ring[(insert_pos as usize)].contains_block_hash(block_hash)
[INFO] [stdout] 127 +         self.block_ring[insert_pos as usize ].contains_block_hash(block_hash)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:136:25
[INFO] [stdout]     |
[INFO] [stdout] 136 |         self.block_ring[(insert_pos as usize)].add_block(block.get_id(), block.get_hash());
[INFO] [stdout]     |                         ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 136 -         self.block_ring[(insert_pos as usize)].add_block(block.get_id(), block.get_hash());
[INFO] [stdout] 136 +         self.block_ring[insert_pos as usize ].add_block(block.get_id(), block.get_hash());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:141:25
[INFO] [stdout]     |
[INFO] [stdout] 141 |         self.block_ring[(insert_pos as usize)].delete_block(block_id, block_hash);
[INFO] [stdout]     |                         ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -         self.block_ring[(insert_pos as usize)].delete_block(block_id, block_hash);
[INFO] [stdout] 141 +         self.block_ring[insert_pos as usize ].delete_block(block_id, block_hash);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:147:38
[INFO] [stdout]     |
[INFO] [stdout] 147 |         for i in 00..self.block_ring[(insert_pos as usize)].block_hashes.len() {
[INFO] [stdout]     |                                      ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 147 -         for i in 00..self.block_ring[(insert_pos as usize)].block_hashes.len() {
[INFO] [stdout] 147 +         for i in 00..self.block_ring[insert_pos as usize ].block_hashes.len() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:148:32
[INFO] [stdout]     |
[INFO] [stdout] 148 |             if self.block_ring[(insert_pos as usize)].block_ids[i] == block_id {
[INFO] [stdout]     |                                ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 -             if self.block_ring[(insert_pos as usize)].block_ids[i] == block_id {
[INFO] [stdout] 148 +             if self.block_ring[insert_pos as usize ].block_ids[i] == block_id {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:149:40
[INFO] [stdout]     |
[INFO] [stdout] 149 |                 v.push(self.block_ring[(insert_pos as usize)].block_hashes[i].clone());
[INFO] [stdout]     |                                        ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 -                 v.push(self.block_ring[(insert_pos as usize)].block_hashes[i].clone());
[INFO] [stdout] 149 +                 v.push(self.block_ring[insert_pos as usize ].block_hashes[i].clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:157:29
[INFO] [stdout]     |
[INFO] [stdout] 157 |         if !self.block_ring[(insert_pos as usize)].on_chain_reorganization(hash, lc) {
[INFO] [stdout]     |                             ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 157 -         if !self.block_ring[(insert_pos as usize)].on_chain_reorganization(hash, lc) {
[INFO] [stdout] 157 +         if !self.block_ring[insert_pos as usize ].on_chain_reorganization(hash, lc) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `unix`
[INFO] [stdout]  --> src/networking/signals.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[cfg(target_os = "unix")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `unix`
[INFO] [stdout]   --> src/networking/signals.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[cfg(not(target_os = "unix"))]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:115:33
[INFO] [stdout]     |
[INFO] [stdout] 115 |             if !self.block_ring[(i as usize)].block_hashes.is_empty() {
[INFO] [stdout]     |                                 ^          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 115 -             if !self.block_ring[(i as usize)].block_hashes.is_empty() {
[INFO] [stdout] 115 +             if !self.block_ring[i as usize ].block_hashes.is_empty() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:127:25
[INFO] [stdout]     |
[INFO] [stdout] 127 |         self.block_ring[(insert_pos as usize)].contains_block_hash(block_hash)
[INFO] [stdout]     |                         ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 127 -         self.block_ring[(insert_pos as usize)].contains_block_hash(block_hash)
[INFO] [stdout] 127 +         self.block_ring[insert_pos as usize ].contains_block_hash(block_hash)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:136:25
[INFO] [stdout]     |
[INFO] [stdout] 136 |         self.block_ring[(insert_pos as usize)].add_block(block.get_id(), block.get_hash());
[INFO] [stdout]     |                         ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 136 -         self.block_ring[(insert_pos as usize)].add_block(block.get_id(), block.get_hash());
[INFO] [stdout] 136 +         self.block_ring[insert_pos as usize ].add_block(block.get_id(), block.get_hash());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:141:25
[INFO] [stdout]     |
[INFO] [stdout] 141 |         self.block_ring[(insert_pos as usize)].delete_block(block_id, block_hash);
[INFO] [stdout]     |                         ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -         self.block_ring[(insert_pos as usize)].delete_block(block_id, block_hash);
[INFO] [stdout] 141 +         self.block_ring[insert_pos as usize ].delete_block(block_id, block_hash);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:147:38
[INFO] [stdout]     |
[INFO] [stdout] 147 |         for i in 00..self.block_ring[(insert_pos as usize)].block_hashes.len() {
[INFO] [stdout]     |                                      ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 147 -         for i in 00..self.block_ring[(insert_pos as usize)].block_hashes.len() {
[INFO] [stdout] 147 +         for i in 00..self.block_ring[insert_pos as usize ].block_hashes.len() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:148:32
[INFO] [stdout]     |
[INFO] [stdout] 148 |             if self.block_ring[(insert_pos as usize)].block_ids[i] == block_id {
[INFO] [stdout]     |                                ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 -             if self.block_ring[(insert_pos as usize)].block_ids[i] == block_id {
[INFO] [stdout] 148 +             if self.block_ring[insert_pos as usize ].block_ids[i] == block_id {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:149:40
[INFO] [stdout]     |
[INFO] [stdout] 149 |                 v.push(self.block_ring[(insert_pos as usize)].block_hashes[i].clone());
[INFO] [stdout]     |                                        ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 -                 v.push(self.block_ring[(insert_pos as usize)].block_hashes[i].clone());
[INFO] [stdout] 149 +                 v.push(self.block_ring[insert_pos as usize ].block_hashes[i].clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/blockring.rs:157:29
[INFO] [stdout]     |
[INFO] [stdout] 157 |         if !self.block_ring[(insert_pos as usize)].on_chain_reorganization(hash, lc) {
[INFO] [stdout]     |                             ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 157 -         if !self.block_ring[(insert_pos as usize)].on_chain_reorganization(hash, lc) {
[INFO] [stdout] 157 +         if !self.block_ring[insert_pos as usize ].on_chain_reorganization(hash, lc) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `unix`
[INFO] [stdout]  --> src/networking/signals.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[cfg(target_os = "unix")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `unix`
[INFO] [stdout]   --> src/networking/signals.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[cfg(not(target_os = "unix"))]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_hash`
[INFO] [stdout]    --> src/network.rs:423:75
[INFO] [stdout]     |
[INFO] [stdout] 423 |                     SaitoMessage::BlockchainNewLongestChainBlock { hash : block_hash, difficulty } => {
[INFO] [stdout]     |                                                                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_hash`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `difficulty`
[INFO] [stdout]    --> src/network.rs:423:87
[INFO] [stdout]     |
[INFO] [stdout] 423 |                     SaitoMessage::BlockchainNewLongestChainBlock { hash : block_hash, difficulty } => {
[INFO] [stdout]     |                                                                                       ^^^^^^^^^^ help: try ignoring the field: `difficulty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection_id`
[INFO] [stdout]    --> src/network.rs:436:34
[INFO] [stdout]     |
[INFO] [stdout] 436 |                         peer_id: connection_id,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_hash`
[INFO] [stdout]    --> src/network.rs:437:31
[INFO] [stdout]     |
[INFO] [stdout] 437 |                         hash: block_hash,
[INFO] [stdout]     |                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlreadyExists` is never constructed
[INFO] [stdout]   --> src/networking/handlers.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct AlreadyExists;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StorageSettings` is never constructed
[INFO] [stdout]   --> src/configuration.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct StorageSettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_hash`
[INFO] [stdout]    --> src/network.rs:423:75
[INFO] [stdout]     |
[INFO] [stdout] 423 |                     SaitoMessage::BlockchainNewLongestChainBlock { hash : block_hash, difficulty } => {
[INFO] [stdout]     |                                                                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_hash`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `difficulty`
[INFO] [stdout]    --> src/network.rs:423:87
[INFO] [stdout]     |
[INFO] [stdout] 423 |                     SaitoMessage::BlockchainNewLongestChainBlock { hash : block_hash, difficulty } => {
[INFO] [stdout]     |                                                                                       ^^^^^^^^^^ help: try ignoring the field: `difficulty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection_id`
[INFO] [stdout]    --> src/network.rs:436:34
[INFO] [stdout]     |
[INFO] [stdout] 436 |                         peer_id: connection_id,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_hash`
[INFO] [stdout]    --> src/network.rs:437:31
[INFO] [stdout]     |
[INFO] [stdout] 437 |                         hash: block_hash,
[INFO] [stdout]     |                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wallet_lock_for_task`
[INFO] [stdout]    --> src/network.rs:898:13
[INFO] [stdout]     |
[INFO] [stdout] 898 |         let wallet_lock_for_task = wallet_lock.clone();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wallet_lock_for_task`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mempool_lock_for_task`
[INFO] [stdout]    --> src/network.rs:899:13
[INFO] [stdout]     |
[INFO] [stdout] 899 |         let mempool_lock_for_task = mempool_lock.clone();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mempool_lock_for_task`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blockchain_lock_for_task`
[INFO] [stdout]    --> src/network.rs:900:13
[INFO] [stdout]     |
[INFO] [stdout] 900 |         let blockchain_lock_for_task = blockchain_lock.clone();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain_lock_for_task`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlreadyExists` is never constructed
[INFO] [stdout]   --> src/networking/handlers.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct AlreadyExists;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StorageSettings` is never constructed
[INFO] [stdout]   --> src/configuration.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct StorageSettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3, buf_redux v0.8.4, criterion v0.3.5, multipart v0.17.1, nom v5.1.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "7460c1a81bf165ae823325e64c7b1a8a9afc7424e21d8b0d557fc5d3fee6d36b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7460c1a81bf165ae823325e64c7b1a8a9afc7424e21d8b0d557fc5d3fee6d36b", kill_on_drop: false }`
[INFO] [stdout] 7460c1a81bf165ae823325e64c7b1a8a9afc7424e21d8b0d557fc5d3fee6d36b
