[INFO] fetching crate rdms 0.0.1... [INFO] checking rdms-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate rdms 0.0.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rdms 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rdms 0.0.1 [INFO] finished tweaking crates.io crate rdms 0.0.1 [INFO] tweaked toml for crates.io crate rdms 0.0.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode_reader v0.1.1 [INFO] [stderr] Downloaded jsondata v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b7508a598dca419959d5b977836f7c6904bd4d169450fc822eb08f07c98167f8 [INFO] running `Command { std: "docker" "start" "-a" "b7508a598dca419959d5b977836f7c6904bd4d169450fc822eb08f07c98167f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7508a598dca419959d5b977836f7c6904bd4d169450fc822eb08f07c98167f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7508a598dca419959d5b977836f7c6904bd4d169450fc822eb08f07c98167f8", kill_on_drop: false }` [INFO] [stdout] b7508a598dca419959d5b977836f7c6904bd4d169450fc822eb08f07c98167f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ffe86853f6038aba83f5bd822598cff203fd78721c111d70e914a863480ed26 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9ffe86853f6038aba83f5bd822598cff203fd78721c111d70e914a863480ed26", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking unicode_reader v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking jsondata v0.6.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking rdms v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/robt.rs:943:10 [INFO] [stdout] | [INFO] [stdout] 943 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/robt.rs:943:10 [INFO] [stdout] | [INFO] [stdout] 943 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/spinlock.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | if self.value.compare_and_swap(c, n, SeqCst) == c { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/spinlock.rs:108:31 [INFO] [stdout] | [INFO] [stdout] 108 | if self.value.compare_and_swap(c, n, SeqCst) == c { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/spinlock.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | if self.value.compare_and_swap(c, n, SeqCst) == c { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/spinlock.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | if self.door.value.compare_and_swap(c, 0, SeqCst) != c { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sync_writer.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | if self.writers.compare_and_swap(0, 1, AcqRel) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sync_writer.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | if self.fence.writers.compare_and_swap(1, 0, AcqRel) != 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/spinlock.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | if self.value.compare_and_swap(c, n, SeqCst) == c { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/spinlock.rs:108:31 [INFO] [stdout] | [INFO] [stdout] 108 | if self.value.compare_and_swap(c, n, SeqCst) == c { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/spinlock.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | if self.value.compare_and_swap(c, n, SeqCst) == c { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/spinlock.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | if self.door.value.compare_and_swap(c, 0, SeqCst) != c { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sync_writer.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | if self.writers.compare_and_swap(0, 1, AcqRel) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sync_writer.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | if self.fence.writers.compare_and_swap(1, 0, AcqRel) != 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/rdms.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | config: Config, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `BATCH_SIZE` [INFO] [stdout] --> src/scans.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | const BATCH_SIZE: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/scans.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn new(index: &'a M, within: G) -> SkipScan { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_batch_size` [INFO] [stdout] --> src/scans.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn set_batch_size(&mut self, batch_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Levels` [INFO] [stdout] --> src/robt.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct Levels(AtomicPtr>>>) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/robt.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn new() -> Levels { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_snapshots` [INFO] [stdout] --> src/robt.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_snapshots(&self) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compare_swap_snapshots` [INFO] [stdout] --> src/robt.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn compare_swap_snapshots(&self, new_snapshots: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Robt` [INFO] [stdout] --> src/robt.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) struct Robt [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MEM_RATIO` [INFO] [stdout] --> src/robt.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | const MEM_RATIO: f64 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DISK_RATIO` [INFO] [stdout] --> src/robt.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | const DISK_RATIO: f64 = 0.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/robt.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn new(config: Config) -> Robt { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mem_ratio` [INFO] [stdout] --> src/robt.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | pub(crate) fn set_mem_ratio(mut self, ratio: f64) -> Robt { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_disk_ratio` [INFO] [stdout] --> src/robt.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) fn set_disk_ratio(mut self, ratio: f64) -> Robt { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush_to_disk` [INFO] [stdout] --> src/robt.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub(crate) fn flush_to_disk( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Request` [INFO] [stdout] --> src/robt.rs:176:6 [INFO] [stdout] | [INFO] [stdout] 176 | enum Request [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Response` [INFO] [stdout] --> src/robt.rs:191:6 [INFO] [stdout] | [INFO] [stdout] 191 | enum Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MemToDisk` [INFO] [stdout] --> src/robt.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | struct MemToDisk [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/robt.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn new(config: Config) -> MemToDisk { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/robt.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | fn send(&mut self, req: Request) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close_wait` [INFO] [stdout] --> src/robt.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | fn close_wait(self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `thread_mem_to_disk` [INFO] [stdout] --> src/robt.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn thread_mem_to_disk( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DiskCompact` [INFO] [stdout] --> src/robt.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | struct DiskCompact [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/robt.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 276 | fn new(config: Config) -> DiskCompact { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/robt.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | fn send(&mut self, req: Request) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close_wait` [INFO] [stdout] --> src/robt.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | fn close_wait(self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `thread_disk_compact` [INFO] [stdout] --> src/robt.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn thread_disk_compact( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bind_by_move_pattern_guards` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | #![feature(bind_by_move_pattern_guards)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/robt.rs:769:32 [INFO] [stdout] | [INFO] [stdout] 769 | Err(err) => panic!(err), // TODO: will is explode in production ?? [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 769 | Err(err) => panic!("{}", err), // TODO: will is explode in production ?? [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 769 | Err(err) => std::panic::panic_any(err), // TODO: will is explode in production ?? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rdms::RWSpinlock` [INFO] [stdout] --> benches/gate_bench.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rdms::RWSpinlock; [INFO] [stdout] | ^^^^^^---------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `spinlock` [INFO] [stdout] | no `RWSpinlock` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rdms` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function is never used: `log_entry` [INFO] [stdout] --> src/lsm_test.rs:1695:4 [INFO] [stdout] | [INFO] [stdout] 1695 | fn log_entry(e: &Entry) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/rdms.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | config: Config, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_batch_size` [INFO] [stdout] --> src/scans.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn set_batch_size(&mut self, batch_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Levels` [INFO] [stdout] --> src/robt.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct Levels(AtomicPtr>>>) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/robt.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn new() -> Levels { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_snapshots` [INFO] [stdout] --> src/robt.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_snapshots(&self) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compare_swap_snapshots` [INFO] [stdout] --> src/robt.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn compare_swap_snapshots(&self, new_snapshots: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Robt` [INFO] [stdout] --> src/robt.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) struct Robt [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MEM_RATIO` [INFO] [stdout] --> src/robt.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | const MEM_RATIO: f64 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DISK_RATIO` [INFO] [stdout] --> src/robt.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | const DISK_RATIO: f64 = 0.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/robt.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn new(config: Config) -> Robt { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mem_ratio` [INFO] [stdout] --> src/robt.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | pub(crate) fn set_mem_ratio(mut self, ratio: f64) -> Robt { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_disk_ratio` [INFO] [stdout] --> src/robt.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) fn set_disk_ratio(mut self, ratio: f64) -> Robt { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush_to_disk` [INFO] [stdout] --> src/robt.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub(crate) fn flush_to_disk( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Request` [INFO] [stdout] --> src/robt.rs:176:6 [INFO] [stdout] | [INFO] [stdout] 176 | enum Request [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Response` [INFO] [stdout] --> src/robt.rs:191:6 [INFO] [stdout] | [INFO] [stdout] 191 | enum Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MemToDisk` [INFO] [stdout] --> src/robt.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | struct MemToDisk [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/robt.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn new(config: Config) -> MemToDisk { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/robt.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | fn send(&mut self, req: Request) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close_wait` [INFO] [stdout] --> src/robt.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | fn close_wait(self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `thread_mem_to_disk` [INFO] [stdout] --> src/robt.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn thread_mem_to_disk( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DiskCompact` [INFO] [stdout] --> src/robt.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | struct DiskCompact [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/robt.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 276 | fn new(config: Config) -> DiskCompact { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/robt.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | fn send(&mut self, req: Request) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close_wait` [INFO] [stdout] --> src/robt.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | fn close_wait(self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `thread_disk_compact` [INFO] [stdout] --> src/robt.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn thread_disk_compact( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bind_by_move_pattern_guards` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | #![feature(bind_by_move_pattern_guards)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/robt.rs:769:32 [INFO] [stdout] | [INFO] [stdout] 769 | Err(err) => panic!(err), // TODO: will is explode in production ?? [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 769 | Err(err) => panic!("{}", err), // TODO: will is explode in production ?? [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 769 | Err(err) => std::panic::panic_any(err), // TODO: will is explode in production ?? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/wal_test.rs:757:49 [INFO] [stdout] | [INFO] [stdout] 757 | .zip([(1, 213), (214, 421), (422, 610)].into_iter()); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/wal_test.rs:793:59 [INFO] [stdout] | [INFO] [stdout] 793 | let cases = files.iter().zip([(214, 421), (422, 610)].into_iter()); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/wal_test.rs:841:10 [INFO] [stdout] | [INFO] [stdout] 841 | .into_iter(), [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9ffe86853f6038aba83f5bd822598cff203fd78721c111d70e914a863480ed26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ffe86853f6038aba83f5bd822598cff203fd78721c111d70e914a863480ed26", kill_on_drop: false }` [INFO] [stdout] 9ffe86853f6038aba83f5bd822598cff203fd78721c111d70e914a863480ed26