[INFO] fetching crate pouch-server 0.3.0... [INFO] checking pouch-server-0.3.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate pouch-server 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate pouch-server 0.3.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pouch-server 0.3.0 [INFO] finished tweaking crates.io crate pouch-server 0.3.0 [INFO] tweaked toml for crates.io crate pouch-server 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate pouch-server 0.3.0 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pouch-sdk v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19707d9a1a2f396284c8d96ad9e3e97e1974c8387ba013f4eabed3e27ab9da00 [INFO] running `Command { std: "docker" "start" "-a" "19707d9a1a2f396284c8d96ad9e3e97e1974c8387ba013f4eabed3e27ab9da00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19707d9a1a2f396284c8d96ad9e3e97e1974c8387ba013f4eabed3e27ab9da00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19707d9a1a2f396284c8d96ad9e3e97e1974c8387ba013f4eabed3e27ab9da00", kill_on_drop: false }` [INFO] [stdout] 19707d9a1a2f396284c8d96ad9e3e97e1974c8387ba013f4eabed3e27ab9da00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8486110659cad86ba708252215bc14db356096cf1bf731747b41a59a1e3b7e6 [INFO] running `Command { std: "docker" "start" "-a" "f8486110659cad86ba708252215bc14db356096cf1bf731747b41a59a1e3b7e6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking tokio-tungstenite v0.23.1 [INFO] [stderr] Checking pouch-sdk v0.3.0 [INFO] [stderr] Checking pouch-server v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mango` [INFO] [stdout] --> src/processor/db.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let mango = String::from("mango"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mango` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orange` [INFO] [stdout] --> src/processor/db.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let orange = String::from("orange"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_orange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_string_ref` is never used [INFO] [stdout] --> src/processor/strings.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl InMemoryDb { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | fn get_string_ref(&self, key: &String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloomFilter` is never constructed [INFO] [stdout] --> src/structures/bloom_filter.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct BloomFilter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hash`, `add`, and `contains` are never used [INFO] [stdout] --> src/structures/bloom_filter.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BloomFilter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(size: usize, num_hashes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn hash(&self, item: &T, i: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn add(&mut self, item: &T) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn contains(&self, item: &T) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bucket` is never constructed [INFO] [stdout] --> src/structures/cuckoo_filter.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Bucket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `remove`, and `contains` are never used [INFO] [stdout] --> src/structures/cuckoo_filter.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Bucket { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 12 | fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn insert(&mut self, fingerprint: u64) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn remove(&mut self, fingerprint: u64) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn contains(&self, fingerprint: u64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CuckooFilter` is never constructed [INFO] [stdout] --> src/structures/cuckoo_filter.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct CuckooFilter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/structures/cuckoo_filter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl CuckooFilter { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 51 | pub fn new(num_buckets: usize, bucket_size: usize, max_kicks: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn hash(&self, item: &T) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn fingerprint(&self, hash: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn index(&self, hash: u64) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn alt_index(&self, index: usize, fingerprint: u64) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn add(&mut self, item: &T) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn contains(&self, item: &T) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn remove(&mut self, item: &T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Changed` is never constructed [INFO] [stdout] --> src/structures/sorted_set.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum SortedSetAddReturnType { [INFO] [stdout] | ---------------------- variant in this enum [INFO] [stdout] 10 | Added, // ZAdd would only return the number of new elements added [INFO] [stdout] 11 | Changed, // ZAdd would return sum of new elements added and existing elements with updated scores [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SortedSetAddReturnType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `score`, `elements`, and `range` are never used [INFO] [stdout] --> src/structures/sorted_set.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SortedSet { [INFO] [stdout] | -------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn score(&self, element: &T) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn elements(&self) -> Vec<&T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn range(&self, min: i64, max: i64) -> Vec<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | format!("started TCP listener on {}", tcp_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | format!("started WS listener on {}", ws_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_string_ref` is never used [INFO] [stdout] --> src/processor/strings.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl InMemoryDb { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | fn get_string_ref(&self, key: &String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/structures/cuckoo_filter.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Bucket { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | fingerprints: Vec>, [INFO] [stdout] 8 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bucket` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `score`, `elements`, and `range` are never used [INFO] [stdout] --> src/structures/sorted_set.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SortedSet { [INFO] [stdout] | -------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn score(&self, element: &T) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn elements(&self) -> Vec<&T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn range(&self, min: i64, max: i64) -> Vec<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | format!("started TCP listener on {}", tcp_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | format!("started WS listener on {}", ws_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.14s [INFO] running `Command { std: "docker" "inspect" "f8486110659cad86ba708252215bc14db356096cf1bf731747b41a59a1e3b7e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8486110659cad86ba708252215bc14db356096cf1bf731747b41a59a1e3b7e6", kill_on_drop: false }` [INFO] [stdout] f8486110659cad86ba708252215bc14db356096cf1bf731747b41a59a1e3b7e6