[INFO] cloning repository https://github.com/bradacina/rs-bloom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bradacina/rs-bloom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradacina%2Frs-bloom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradacina%2Frs-bloom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f8e26edbd2f849608b1b1d8a0b81d1073b00e71 [INFO] checking bradacina/rs-bloom against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradacina%2Frs-bloom" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bradacina/rs-bloom [INFO] finished tweaking git repo https://github.com/bradacina/rs-bloom [INFO] tweaked toml for git repo https://github.com/bradacina/rs-bloom written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bradacina/rs-bloom on toolchain cced03bfd61a304243a34504618ecec86c17063f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bradacina/rs-bloom 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_jitter v0.1.3 [INFO] [stderr] Downloaded libc v0.2.50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6cf6e7079539acfd1685deb184ea6823f55c0c7013738c762b9c507ab8b9d4f3 [INFO] running `Command { std: "docker" "start" "6cf6e7079539acfd1685deb184ea6823f55c0c7013738c762b9c507ab8b9d4f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6cf6e7079539acfd1685deb184ea6823f55c0c7013738c762b9c507ab8b9d4f3" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cf6e7079539acfd1685deb184ea6823f55c0c7013738c762b9c507ab8b9d4f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6cf6e7079539acfd1685deb184ea6823f55c0c7013738c762b9c507ab8b9d4f3" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking second v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bloom.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | fn init_hash_funcs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn init_hash_funcs(&self) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_hash_func` [INFO] [stdout] --> src/bloom.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(num_bits: usize, num_hash_func: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_hash_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bloom.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | fn init_hash_funcs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn init_hash_funcs(&self) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `old_main` is never used [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn old_main() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_word` is never used [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn make_word(rng: &mut ThreadRng) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bitset` is never constructed [INFO] [stdout] --> src/bitset.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Bitset{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_bit`, `set_bit`, and `len` are never used [INFO] [stdout] --> src/bitset.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Bitset { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 6 | pub fn new(num_bits: usize) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_bit(&self, idx: usize) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_bit(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bloom` is never constructed [INFO] [stdout] --> src/bloom.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Bloom [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init_hash_funcs`, `hash`, and `contains` are never used [INFO] [stdout] --> src/bloom.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Bloom { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(num_bits: usize, num_hash_func: u8) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn init_hash_funcs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn hash(&mut self, value: &[u8]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn contains(&self, value: &[u8]) -> Option<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_size` is never used [INFO] [stdout] --> src/lookup3.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn hash_size(n: u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_mask` is never used [INFO] [stdout] --> src/lookup3.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hash_mask(n: u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rot` is never used [INFO] [stdout] --> src/lookup3.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn rot(x: u32, k: u8) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mix` is never used [INFO] [stdout] --> src/lookup3.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn mix(a: &mut u32, b: &mut u32, c: &mut u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `final_` is never used [INFO] [stdout] --> src/lookup3.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn final_(a: &mut u32, b: &mut u32, c: &mut u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashword` is never used [INFO] [stdout] --> src/lookup3.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn hashword(k: &[u32], init_val: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashword2` is never used [INFO] [stdout] --> src/lookup3.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn hashword2(k: &[u32], pc: u32, pb: u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashlittle` is never used [INFO] [stdout] --> src/lookup3.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn hashlittle(key: &[u8], init_val: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashlittle2` is never used [INFO] [stdout] --> src/lookup3.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn hashlittle2(key: &[u8], pc: u32, pb: u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_hash_func` [INFO] [stdout] --> src/bloom.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(num_bits: usize, num_hash_func: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_hash_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `old_main` is never used [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn old_main() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_word` is never used [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn make_word(rng: &mut ThreadRng) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bitset` is never constructed [INFO] [stdout] --> src/bitset.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Bitset{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_bit`, `set_bit`, and `len` are never used [INFO] [stdout] --> src/bitset.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Bitset { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 6 | pub fn new(num_bits: usize) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_bit(&self, idx: usize) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_bit(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bloom` is never constructed [INFO] [stdout] --> src/bloom.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Bloom [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init_hash_funcs`, `hash`, and `contains` are never used [INFO] [stdout] --> src/bloom.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Bloom { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(num_bits: usize, num_hash_func: u8) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn init_hash_funcs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn hash(&mut self, value: &[u8]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn contains(&self, value: &[u8]) -> Option<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_size` is never used [INFO] [stdout] --> src/lookup3.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn hash_size(n: u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_mask` is never used [INFO] [stdout] --> src/lookup3.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hash_mask(n: u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashword` is never used [INFO] [stdout] --> src/lookup3.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn hashword(k: &[u32], init_val: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashword2` is never used [INFO] [stdout] --> src/lookup3.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn hashword2(k: &[u32], pc: u32, pb: u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.99s [INFO] running `Command { std: "docker" "inspect" "6cf6e7079539acfd1685deb184ea6823f55c0c7013738c762b9c507ab8b9d4f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cf6e7079539acfd1685deb184ea6823f55c0c7013738c762b9c507ab8b9d4f3", kill_on_drop: false }` [INFO] [stdout] 6cf6e7079539acfd1685deb184ea6823f55c0c7013738c762b9c507ab8b9d4f3