[INFO] fetching crate fastbloom-rs 0.5.8... [INFO] checking fastbloom-rs-0.5.8 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate fastbloom-rs 0.5.8 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate fastbloom-rs 0.5.8 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fastbloom-rs 0.5.8 [INFO] finished tweaking crates.io crate fastbloom-rs 0.5.8 [INFO] tweaked toml for crates.io crate fastbloom-rs 0.5.8 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate fastbloom-rs 0.5.8 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xxhash-rust v0.8.7 [INFO] [stderr] Downloaded xorfilter-rs v0.5.1 [INFO] [stderr] Downloaded cuckoofilter v0.5.0 [INFO] [stderr] Downloaded fastmurmur3 v0.2.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f4e2e3dc11ce242812f8715b182d4481eb5cebc0d5ae4f8ce6aa72c17990263 [INFO] running `Command { std: "docker" "start" "-a" "9f4e2e3dc11ce242812f8715b182d4481eb5cebc0d5ae4f8ce6aa72c17990263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f4e2e3dc11ce242812f8715b182d4481eb5cebc0d5ae4f8ce6aa72c17990263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f4e2e3dc11ce242812f8715b182d4481eb5cebc0d5ae4f8ce6aa72c17990263", kill_on_drop: false }` [INFO] [stdout] 9f4e2e3dc11ce242812f8715b182d4481eb5cebc0d5ae4f8ce6aa72c17990263 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76bcaff43b2a97a7590aa7d07cb8098efb38b9af5a8dc3a50924128292000911 [INFO] running `Command { std: "docker" "start" "-a" "76bcaff43b2a97a7590aa7d07cb8098efb38b9af5a8dc3a50924128292000911", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking xorfilter-rs v0.5.1 [INFO] [stderr] Checking xxhash-rust v0.8.7 [INFO] [stderr] Checking fastmurmur3 v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking cuckoofilter v0.5.0 [INFO] [stderr] Checking fastbloom-rs v0.5.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Membership` [INFO] [stdout] --> src/builder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Membership; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::clone` [INFO] [stdout] --> src/bloom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::clone; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fastmurmur3::murmur3_x64_128` [INFO] [stdout] --> src/bloom.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fastmurmur3::murmur3_x64_128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem::size_of` [INFO] [stdout] --> src/vec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::clone` [INFO] [stdout] --> src/bloom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::clone; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fastmurmur3::murmur3_x64_128` [INFO] [stdout] --> src/bloom.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fastmurmur3::murmur3_x64_128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem::size_of` [INFO] [stdout] --> src/vec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit_set` [INFO] [stdout] --> src/bloom.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_bit_indices(bit_set: &BloomBitVec, value: &[u8], m: u64, k: u64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expected_elements`, `false_positive_probability`, and `size` are never used [INFO] [stdout] --> src/builder.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl FilterBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | fn expected_elements(&mut self, expected_elements: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn false_positive_probability(&mut self, false_positive_probability: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn size(&mut self, size: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_bit_vec` is never used [INFO] [stdout] --> src/bloom.rs:381:19 [INFO] [stdout] | [INFO] [stdout] 136 | impl BloomFilter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 381 | pub(crate) fn set_bit_vec(&mut self, bit_vec: BloomBitVec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_counting_vec` and `compatible` are never used [INFO] [stdout] --> src/bloom.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 433 | impl CountingBloomFilter { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 443 | pub(crate) fn set_counting_vec(&mut self, counting_vec: CountingVec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | fn compatible(&self, other: &BloomFilter) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartitionedBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:651:19 [INFO] [stdout] | [INFO] [stdout] 651 | pub(crate) struct PartitionedBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScalableBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:663:19 [INFO] [stdout] | [INFO] [stdout] 663 | pub(crate) struct ScalableBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvertibleBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:681:19 [INFO] [stdout] | [INFO] [stdout] 681 | pub(crate) struct InvertibleBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GarbledBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:687:19 [INFO] [stdout] | [INFO] [stdout] 687 | pub(crate) struct GarbledBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nbits` is never read [INFO] [stdout] --> src/vec.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct BloomBitVec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) nbits: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BloomBitVec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_elem`, `xor`, `nor`, `xnor`, `nand`, and `difference` are never used [INFO] [stdout] --> src/vec.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl BloomBitVec { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from_elem(slots: usize, bit: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn xor(&mut self, other: &BloomBitVec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn nor(&mut self, other: &Self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn xnor(&mut self, other: &Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn nand(&mut self, other: &Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn difference(&mut self, other: &Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counters` and `counter_per_slot` are never read [INFO] [stdout] --> src/vec.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) struct CountingVec { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) counters: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | /// The number of valid counter in a slot which mean usize. [INFO] [stdout] 121 | pub(crate) counter_per_slot: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountingVec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit_set` [INFO] [stdout] --> src/bloom.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_bit_indices(bit_set: &BloomBitVec, value: &[u8], m: u64, k: u64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bloom.rs:709:13 [INFO] [stdout] | [INFO] [stdout] 709 | let mut bloom2 = BloomFilter::from_u64_array(bloom.get_u64_array(), bloom.hashes()); [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: methods `expected_elements`, `false_positive_probability`, and `size` are never used [INFO] [stdout] --> src/builder.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl FilterBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | fn expected_elements(&mut self, expected_elements: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn false_positive_probability(&mut self, false_positive_probability: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn size(&mut self, size: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_bit_vec` is never used [INFO] [stdout] --> src/bloom.rs:381:19 [INFO] [stdout] | [INFO] [stdout] 136 | impl BloomFilter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 381 | pub(crate) fn set_bit_vec(&mut self, bit_vec: BloomBitVec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_counting_vec` and `compatible` are never used [INFO] [stdout] --> src/bloom.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 433 | impl CountingBloomFilter { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 443 | pub(crate) fn set_counting_vec(&mut self, counting_vec: CountingVec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | fn compatible(&self, other: &BloomFilter) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartitionedBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:651:19 [INFO] [stdout] | [INFO] [stdout] 651 | pub(crate) struct PartitionedBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScalableBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:663:19 [INFO] [stdout] | [INFO] [stdout] 663 | pub(crate) struct ScalableBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvertibleBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:681:19 [INFO] [stdout] | [INFO] [stdout] 681 | pub(crate) struct InvertibleBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GarbledBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:687:19 [INFO] [stdout] | [INFO] [stdout] 687 | pub(crate) struct GarbledBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nbits` is never read [INFO] [stdout] --> src/vec.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct BloomBitVec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) nbits: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BloomBitVec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_elem`, `xor`, `nor`, `xnor`, `nand`, and `difference` are never used [INFO] [stdout] --> src/vec.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl BloomBitVec { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from_elem(slots: usize, bit: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn xor(&mut self, other: &BloomBitVec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn nor(&mut self, other: &Self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn xnor(&mut self, other: &Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn nand(&mut self, other: &Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn difference(&mut self, other: &Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counters` and `counter_per_slot` are never read [INFO] [stdout] --> src/vec.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) struct CountingVec { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) counters: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | /// The number of valid counter in a slot which mean usize. [INFO] [stdout] 121 | pub(crate) counter_per_slot: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountingVec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "76bcaff43b2a97a7590aa7d07cb8098efb38b9af5a8dc3a50924128292000911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76bcaff43b2a97a7590aa7d07cb8098efb38b9af5a8dc3a50924128292000911", kill_on_drop: false }` [INFO] [stdout] 76bcaff43b2a97a7590aa7d07cb8098efb38b9af5a8dc3a50924128292000911 [INFO] checking fastbloom-rs-0.5.8 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate fastbloom-rs 0.5.8 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate fastbloom-rs 0.5.8 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fastbloom-rs 0.5.8 [INFO] finished tweaking crates.io crate fastbloom-rs 0.5.8 [INFO] tweaked toml for crates.io crate fastbloom-rs 0.5.8 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate fastbloom-rs 0.5.8 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 201cab523ddfd52a6195e7b8d083de728a554a0478180dbf22fbdeb0f9ba17df [INFO] running `Command { std: "docker" "start" "-a" "201cab523ddfd52a6195e7b8d083de728a554a0478180dbf22fbdeb0f9ba17df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "201cab523ddfd52a6195e7b8d083de728a554a0478180dbf22fbdeb0f9ba17df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "201cab523ddfd52a6195e7b8d083de728a554a0478180dbf22fbdeb0f9ba17df", kill_on_drop: false }` [INFO] [stdout] 201cab523ddfd52a6195e7b8d083de728a554a0478180dbf22fbdeb0f9ba17df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3303f56e13f0fe53428a76e47fbac7140bc5c8499af08485fd543b50d40ed19 [INFO] running `Command { std: "docker" "start" "-a" "f3303f56e13f0fe53428a76e47fbac7140bc5c8499af08485fd543b50d40ed19", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking fastmurmur3 v0.2.0 [INFO] [stderr] Checking xxhash-rust v0.8.7 [INFO] [stderr] Checking xorfilter-rs v0.5.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking cuckoofilter v0.5.0 [INFO] [stderr] Checking fastbloom-rs v0.5.8 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/builder.rs (1 fix) [INFO] [stderr] Fixed src/vec.rs (1 fix) [INFO] [stderr] Fixed src/bloom.rs (2 fixes) [INFO] [stdout] warning: unused variable: `bit_set` [INFO] [stdout] --> src/bloom.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_bit_indices(bit_set: &BloomBitVec, value: &[u8], m: u64, k: u64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expected_elements`, `false_positive_probability`, and `size` are never used [INFO] [stdout] --> src/builder.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl FilterBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | fn expected_elements(&mut self, expected_elements: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn false_positive_probability(&mut self, false_positive_probability: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn size(&mut self, size: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_bit_vec` is never used [INFO] [stdout] --> src/bloom.rs:379:19 [INFO] [stdout] | [INFO] [stdout] 134 | impl BloomFilter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 379 | pub(crate) fn set_bit_vec(&mut self, bit_vec: BloomBitVec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_counting_vec` and `compatible` are never used [INFO] [stdout] --> src/bloom.rs:441:19 [INFO] [stdout] | [INFO] [stdout] 431 | impl CountingBloomFilter { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 441 | pub(crate) fn set_counting_vec(&mut self, counting_vec: CountingVec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | fn compatible(&self, other: &BloomFilter) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartitionedBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:649:19 [INFO] [stdout] | [INFO] [stdout] 649 | pub(crate) struct PartitionedBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScalableBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:661:19 [INFO] [stdout] | [INFO] [stdout] 661 | pub(crate) struct ScalableBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvertibleBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:679:19 [INFO] [stdout] | [INFO] [stdout] 679 | pub(crate) struct InvertibleBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GarbledBloomFilter` is never constructed [INFO] [stdout] --> src/bloom.rs:685:19 [INFO] [stdout] | [INFO] [stdout] 685 | pub(crate) struct GarbledBloomFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nbits` is never read [INFO] [stdout] --> src/vec.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct BloomBitVec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) nbits: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BloomBitVec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_elem`, `xor`, `nor`, `xnor`, `nand`, and `difference` are never used [INFO] [stdout] --> src/vec.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl BloomBitVec { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_elem(slots: usize, bit: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn xor(&mut self, other: &BloomBitVec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn nor(&mut self, other: &Self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn xnor(&mut self, other: &Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn nand(&mut self, other: &Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn difference(&mut self, other: &Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counters` and `counter_per_slot` are never read [INFO] [stdout] --> src/vec.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 114 | pub(crate) struct CountingVec { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | pub(crate) counters: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 119 | /// The number of valid counter in a slot which mean usize. [INFO] [stdout] 120 | pub(crate) counter_per_slot: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountingVec` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add` found for struct `BloomFilter` in the current scope [INFO] [stdout] --> src/builder.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | bloom.add(b"helloworld"); [INFO] [stdout] | ^^^ method not found in `BloomFilter` [INFO] [stdout] | [INFO] [stdout] ::: src/bloom.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct BloomFilter { [INFO] [stdout] | ---------------------- method `add` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn add(&mut self, element: &[u8]); [INFO] [stdout] | --- the method is available for `BloomFilter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Membership` which provides `add` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Membership; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/false_positive_test.rs from 2021 edition to 2024 [INFO] [stdout] error[E0599]: no method named `contains` found for struct `BloomFilter` in the current scope [INFO] [stdout] --> src/builder.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 208 | assert_eq!(bloom.contains(b"helloworld"), true); [INFO] [stdout] | ^^^^^^^^ method not found in `BloomFilter` [INFO] [stdout] | [INFO] [stdout] ::: src/bloom.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct BloomFilter { [INFO] [stdout] | ---------------------- method `contains` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn contains(&self, element: &[u8]) -> bool; [INFO] [stdout] | -------- the method is available for `BloomFilter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Membership` which provides `contains` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Membership; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for struct `BloomFilter` in the current scope [INFO] [stdout] --> src/builder.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | assert_eq!(bloom.contains(b"helloworld!"), false); [INFO] [stdout] | ^^^^^^^^ method not found in `BloomFilter` [INFO] [stdout] | [INFO] [stdout] ::: src/bloom.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct BloomFilter { [INFO] [stdout] | ---------------------- method `contains` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn contains(&self, element: &[u8]) -> bool; [INFO] [stdout] | -------- the method is available for `BloomFilter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Membership` which provides `contains` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Membership; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit_set` [INFO] [stdout] --> src/bloom.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_bit_indices(bit_set: &BloomBitVec, value: &[u8], m: u64, k: u64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bloom.rs:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | let mut bloom2 = BloomFilter::from_u64_array(bloom.get_u64_array(), bloom.hashes()); [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] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fastbloom-rs` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f3303f56e13f0fe53428a76e47fbac7140bc5c8499af08485fd543b50d40ed19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3303f56e13f0fe53428a76e47fbac7140bc5c8499af08485fd543b50d40ed19", kill_on_drop: false }` [INFO] [stdout] f3303f56e13f0fe53428a76e47fbac7140bc5c8499af08485fd543b50d40ed19