[INFO] fetching crate bitcoin-random 0.1.16-alpha.0... [INFO] checking bitcoin-random-0.1.16-alpha.0 against master#6fc0273b5a57eb78cc00841181113fda3e509478 for pr-112842 [INFO] extracting crate bitcoin-random 0.1.16-alpha.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate bitcoin-random 0.1.16-alpha.0 on toolchain 6fc0273b5a57eb78cc00841181113fda3e509478 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6fc0273b5a57eb78cc00841181113fda3e509478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-random 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoin-random 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoin-random 0.1.16-alpha.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6fc0273b5a57eb78cc00841181113fda3e509478" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6fc0273b5a57eb78cc00841181113fda3e509478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+6fc0273b5a57eb78cc00841181113fda3e509478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71b9207c94b5821e3a286208604019d27889a69f923f1c1f3a24a55dceba3833 [INFO] running `Command { std: "docker" "start" "-a" "71b9207c94b5821e3a286208604019d27889a69f923f1c1f3a24a55dceba3833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71b9207c94b5821e3a286208604019d27889a69f923f1c1f3a24a55dceba3833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b9207c94b5821e3a286208604019d27889a69f923f1c1f3a24a55dceba3833", kill_on_drop: false }` [INFO] [stdout] 71b9207c94b5821e3a286208604019d27889a69f923f1c1f3a24a55dceba3833 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+6fc0273b5a57eb78cc00841181113fda3e509478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51bfe1a70f1a83c0650dfe05d61ada3ad4d5496250e9c99df38747cc8e919645 [INFO] running `Command { std: "docker" "start" "-a" "51bfe1a70f1a83c0650dfe05d61ada3ad4d5496250e9c99df38747cc8e919645", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling object v0.30.4 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling cpp_common v0.5.8 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cpp_build v0.5.8 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling qttypes v0.2.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling qmetaobject v0.2.9 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling cpp_macros v0.5.8 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling time v0.3.22 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling cpp v0.5.8 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling qmetaobject_impl v0.2.9 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [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 libevent-sys v0.2.6 [INFO] [stderr] Compiling libevent v0.1.0 [INFO] [stderr] Checking bitcoin-imports v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-derive v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-support v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-primitives v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-sha256 v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-chacha v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-log v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-compat v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-sha512 v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-time v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-random v0.1.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | 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: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/fast_random_context.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sanity.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | if (stop == start) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - if (stop == start) { [INFO] [stdout] 93 + if stop == start { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | 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: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/fast_random_context.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sanity.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | if (stop == start) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - if (stop == start) { [INFO] [stdout] 93 + if stop == start { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | #![feature(const_fn_trait_bound)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | #![feature(const_fn_trait_bound)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fast_random_context.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let mut seed: u256 = u256::default(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fast_random_context.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let mut seed: u256 = u256::default(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fast_random_context.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | let mut ret = u256::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fast_random_context.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | let mut ret = u256::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/randomenv.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 109 | AF_INET => hasher.write( [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 113 | AF_INET6 => hasher.write( [INFO] [stdout] | ^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/randomenv.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 109 | AF_INET => hasher.write( [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 117 | _ => hasher.write( [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AF_INET` [INFO] [stdout] --> src/randomenv.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | AF_INET => hasher.write( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_AF_INET` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AF_INET6` [INFO] [stdout] --> src/randomenv.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | AF_INET6 => hasher.write( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_AF_INET6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/randomenv.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut n: i32 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/randomenv.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 109 | AF_INET => hasher.write( [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 113 | AF_INET6 => hasher.write( [INFO] [stdout] | ^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/randomenv.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 109 | AF_INET => hasher.write( [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 117 | _ => hasher.write( [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AF_INET` [INFO] [stdout] --> src/randomenv.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | AF_INET => hasher.write( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_AF_INET` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AF_INET6` [INFO] [stdout] --> src/randomenv.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | AF_INET6 => hasher.write( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_AF_INET6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/randomenv.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut n: i32 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/randomenv.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn rand_add_dynamic_env(hasher: &mut Sha512) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/randomenv.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn rand_add_static_env(hasher: &mut Sha512) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_overwritten` is never read [INFO] [stdout] --> src/sanity.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut num_overwritten: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/randomenv.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn rand_add_dynamic_env(hasher: &mut Sha512) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/randomenv.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn rand_add_static_env(hasher: &mut Sha512) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_overwritten` is never read [INFO] [stdout] --> src/sanity.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut num_overwritten: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/seed.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut ptr = buffer.as_mut_ptr(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_size` [INFO] [stdout] --> src/seed.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let old_size = hasher.size(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_size` [INFO] [stdout] --> src/seed.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let old_size = hasher.size(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/seed_hardware.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn seed_hardware_fast(hasher: &mut Sha512) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/seed.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut ptr = buffer.as_mut_ptr(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/seed_hardware.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn seed_hardware_slow(hasher: &mut Sha512) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/shuffle.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | mut first: I, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_size` [INFO] [stdout] --> src/seed.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let old_size = hasher.size(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/shuffle.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | mut rng: R) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shuffle.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | mut first: I, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shuffle.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | mut rng: R) [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_size` [INFO] [stdout] --> src/seed.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let old_size = hasher.size(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/seed_hardware.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn seed_hardware_fast(hasher: &mut Sha512) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/seed_hardware.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn seed_hardware_slow(hasher: &mut Sha512) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/state.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn seed_events(&mut self, hasher: &mut Sha512) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/shuffle.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | mut first: I, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/shuffle.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | mut rng: R) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shuffle.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | mut first: I, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shuffle.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | mut rng: R) [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret` is never read [INFO] [stdout] --> src/state.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut ret: bool = false; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hasher` [INFO] [stdout] --> src/state.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn seed_events(&mut self, hasher: &mut Sha512) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret` is never read [INFO] [stdout] --> src/state.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut ret: bool = false; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/strengthen.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | for i in 0..1000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/fast_random_context.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/strengthen.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | for i in 0..1000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/fast_random_context.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AF_INET` should have a snake case name [INFO] [stdout] --> src/randomenv.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | AF_INET => hasher.write( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `af_inet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AF_INET6` should have a snake case name [INFO] [stdout] --> src/randomenv.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | AF_INET6 => hasher.write( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `af_inet6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AF_INET` should have a snake case name [INFO] [stdout] --> src/randomenv.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | AF_INET => hasher.write( [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `af_inet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AF_INET6` should have a snake case name [INFO] [stdout] --> src/randomenv.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | AF_INET6 => hasher.write( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `af_inet6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "51bfe1a70f1a83c0650dfe05d61ada3ad4d5496250e9c99df38747cc8e919645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51bfe1a70f1a83c0650dfe05d61ada3ad4d5496250e9c99df38747cc8e919645", kill_on_drop: false }` [INFO] [stdout] 51bfe1a70f1a83c0650dfe05d61ada3ad4d5496250e9c99df38747cc8e919645