[INFO] fetching crate fcdb-exec 0.1.0... [INFO] testing fcdb-exec-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate fcdb-exec 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate fcdb-exec 0.1.0 [INFO] finished tweaking crates.io crate fcdb-exec 0.1.0 [INFO] tweaked toml for crates.io crate fcdb-exec 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fcdb-exec 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fcdb-exec 0.1.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nalgebra-macros v0.1.0 [INFO] [stderr] Downloaded bloom v0.3.2 [INFO] [stderr] Downloaded fcdb-core v0.1.1 [INFO] [stderr] Downloaded bit-vec v0.4.4 [INFO] [stderr] Downloaded simba v0.6.0 [INFO] [stderr] Downloaded statrs v0.16.1 [INFO] [stderr] Downloaded nalgebra v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b687354d858a6ae0c7ff64972fc59aaf6fdec37f87b66a6aab315f21eddcc0a1 [INFO] running `Command { std: "docker" "start" "-a" "b687354d858a6ae0c7ff64972fc59aaf6fdec37f87b66a6aab315f21eddcc0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b687354d858a6ae0c7ff64972fc59aaf6fdec37f87b66a6aab315f21eddcc0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b687354d858a6ae0c7ff64972fc59aaf6fdec37f87b66a6aab315f21eddcc0a1", kill_on_drop: false }` [INFO] [stdout] b687354d858a6ae0c7ff64972fc59aaf6fdec37f87b66a6aab315f21eddcc0a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acd9fb7997f70e5aaffbbc038cc4007cd79775bedf672ea3c43c0fa18c4cf262 [INFO] running `Command { std: "docker" "start" "-a" "acd9fb7997f70e5aaffbbc038cc4007cd79775bedf672ea3c43c0fa18c4cf262", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling bloom v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling fcdb-core v0.1.1 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling statrs v0.16.1 [INFO] [stderr] Compiling fcdb-exec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `QKey`, `compute_class_sig`, and `compute_path_sig` [INFO] [stdout] --> src/lib.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use fcdb_core::{Cid, QKey, compute_path_sig, compute_class_sig}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContinuousCDF` and `Normal` [INFO] [stdout] --> src/lib.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use statrs::distribution::{Normal, ContinuousCDF}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_fp_rate` [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let global_fp_rate = self.global_fps.iter().sum::() / self.global_fps.len().max(1) as f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_fp_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pack_mem` [INFO] [stdout] --> src/lib.rs:158:58 [INFO] [stdout] | [INFO] [stdout] 158 | fn reconfigure_filters(&mut self, global_mem: usize, pack_mem: usize, shard_mem: usize) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pack_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shard_mem` [INFO] [stdout] --> src/lib.rs:158:75 [INFO] [stdout] | [INFO] [stdout] 158 | fn reconfigure_filters(&mut self, global_mem: usize, pack_mem: usize, shard_mem: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shard_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_types` [INFO] [stdout] --> src/lib.rs:311:52 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn split_query(&self, query_path: &[&str], query_types: &[&str]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plan_timeout_ms` is never read [INFO] [stdout] --> src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PlanSwitcher { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 196 | plan_timeout_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_split_depth` is never read [INFO] [stdout] --> src/lib.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct MeetInMiddle { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 298 | max_split_depth: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `snapshot_interval` is never read [INFO] [stdout] --> src/lib.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct SnapshotManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 384 | snapshot_interval: u64, // seconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.60s [INFO] running `Command { std: "docker" "inspect" "acd9fb7997f70e5aaffbbc038cc4007cd79775bedf672ea3c43c0fa18c4cf262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd9fb7997f70e5aaffbbc038cc4007cd79775bedf672ea3c43c0fa18c4cf262", kill_on_drop: false }` [INFO] [stdout] acd9fb7997f70e5aaffbbc038cc4007cd79775bedf672ea3c43c0fa18c4cf262 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4752d8f8df42f1e1fb840d3a491bca6a51943c9241ec51aee020a61b7bda8fbe [INFO] running `Command { std: "docker" "start" "-a" "4752d8f8df42f1e1fb840d3a491bca6a51943c9241ec51aee020a61b7bda8fbe", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `QKey`, `compute_class_sig`, and `compute_path_sig` [INFO] [stdout] --> src/lib.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use fcdb_core::{Cid, QKey, compute_path_sig, compute_class_sig}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContinuousCDF` and `Normal` [INFO] [stdout] --> src/lib.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use statrs::distribution::{Normal, ContinuousCDF}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fcdb-exec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `global_fp_rate` [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let global_fp_rate = self.global_fps.iter().sum::() / self.global_fps.len().max(1) as f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_fp_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pack_mem` [INFO] [stdout] --> src/lib.rs:158:58 [INFO] [stdout] | [INFO] [stdout] 158 | fn reconfigure_filters(&mut self, global_mem: usize, pack_mem: usize, shard_mem: usize) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pack_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shard_mem` [INFO] [stdout] --> src/lib.rs:158:75 [INFO] [stdout] | [INFO] [stdout] 158 | fn reconfigure_filters(&mut self, global_mem: usize, pack_mem: usize, shard_mem: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shard_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_types` [INFO] [stdout] --> src/lib.rs:311:52 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn split_query(&self, query_path: &[&str], query_types: &[&str]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plan_timeout_ms` is never read [INFO] [stdout] --> src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PlanSwitcher { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 196 | plan_timeout_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_split_depth` is never read [INFO] [stdout] --> src/lib.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct MeetInMiddle { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 298 | max_split_depth: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `snapshot_interval` is never read [INFO] [stdout] --> src/lib.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct SnapshotManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 384 | snapshot_interval: u64, // seconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QKey`, `compute_class_sig`, and `compute_path_sig` [INFO] [stdout] --> src/lib.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use fcdb_core::{Cid, QKey, compute_path_sig, compute_class_sig}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContinuousCDF` and `Normal` [INFO] [stdout] --> src/lib.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use statrs::distribution::{Normal, ContinuousCDF}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/lib.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | let cid = Cid([1u8; 32]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fcdb-core-0.1.1/src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Cid([u8; 32]); [INFO] [stdout] | ^^^^^^^^ private field [INFO] [stdout] help: you might have meant to use an associated function to build this type [INFO] [stdout] | [INFO] [stdout] 473 - let cid = Cid([1u8; 32]); [INFO] [stdout] 473 + let cid = Cid::from_bytes(_); [INFO] [stdout] | [INFO] [stdout] 473 - let cid = Cid([1u8; 32]); [INFO] [stdout] 473 + let cid = Cid::hash(_); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/lib.rs:477:34 [INFO] [stdout] | [INFO] [stdout] 477 | assert!(!bloom.contains(&Cid([2u8; 32]), None, None)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fcdb-core-0.1.1/src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Cid([u8; 32]); [INFO] [stdout] | ^^^^^^^^ private field [INFO] [stdout] help: you might have meant to use an associated function to build this type [INFO] [stdout] | [INFO] [stdout] 477 - assert!(!bloom.contains(&Cid([2u8; 32]), None, None)); [INFO] [stdout] 477 + assert!(!bloom.contains(&Cid::from_bytes(_), None, None)); [INFO] [stdout] | [INFO] [stdout] 477 - assert!(!bloom.contains(&Cid([2u8; 32]), None, None)); [INFO] [stdout] 477 + assert!(!bloom.contains(&Cid::hash(_), None, None)); [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 477 - assert!(!bloom.contains(&Cid([2u8; 32]), None, None)); [INFO] [stdout] 477 + assert!(!bloom.contains(&cid([2u8; 32]), None, None)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/lib.rs:517:19 [INFO] [stdout] | [INFO] [stdout] 517 | let cid = Cid([42u8; 32]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fcdb-core-0.1.1/src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Cid([u8; 32]); [INFO] [stdout] | ^^^^^^^^ private field [INFO] [stdout] help: you might have meant to use an associated function to build this type [INFO] [stdout] | [INFO] [stdout] 517 - let cid = Cid([42u8; 32]); [INFO] [stdout] 517 + let cid = Cid::from_bytes(_); [INFO] [stdout] | [INFO] [stdout] 517 - let cid = Cid([42u8; 32]); [INFO] [stdout] 517 + let cid = Cid::hash(_); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_fp_rate` [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let global_fp_rate = self.global_fps.iter().sum::() / self.global_fps.len().max(1) as f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_fp_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pack_mem` [INFO] [stdout] --> src/lib.rs:158:58 [INFO] [stdout] | [INFO] [stdout] 158 | fn reconfigure_filters(&mut self, global_mem: usize, pack_mem: usize, shard_mem: usize) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pack_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shard_mem` [INFO] [stdout] --> src/lib.rs:158:75 [INFO] [stdout] | [INFO] [stdout] 158 | fn reconfigure_filters(&mut self, global_mem: usize, pack_mem: usize, shard_mem: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shard_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_types` [INFO] [stdout] --> src/lib.rs:311:52 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn split_query(&self, query_path: &[&str], query_types: &[&str]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fcdb-exec` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4752d8f8df42f1e1fb840d3a491bca6a51943c9241ec51aee020a61b7bda8fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4752d8f8df42f1e1fb840d3a491bca6a51943c9241ec51aee020a61b7bda8fbe", kill_on_drop: false }` [INFO] [stdout] 4752d8f8df42f1e1fb840d3a491bca6a51943c9241ec51aee020a61b7bda8fbe