[INFO] cloning repository https://github.com/king54346/wickdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/king54346/wickdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2Fwickdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2Fwickdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08b1c96f958c98ea0b0ff7e26ad72a748c054275 [INFO] testing king54346/wickdb against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2Fwickdb" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/king54346/wickdb [INFO] finished tweaking git repo https://github.com/king54346/wickdb [INFO] tweaked toml for git repo https://github.com/king54346/wickdb written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/king54346/wickdb on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/king54346/wickdb 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.7 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded criterion-plot v0.4.0 [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded serde_derive v1.0.104 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded criterion v0.3.0 [INFO] [stderr] Downloaded slog v2.5.2 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded syn v1.0.13 [INFO] [stderr] Downloaded crossbeam-queue v0.2.1 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded tinytemplate v1.0.3 [INFO] [stderr] Downloaded num-derive v0.3.0 [INFO] [stderr] Downloaded slog-async v2.4.0 [INFO] [stderr] Downloaded bstr v0.2.9 [INFO] [stderr] Downloaded slog-term v2.5.0 [INFO] [stderr] Downloaded rand_os v0.2.2 [INFO] [stderr] Downloaded rand_xoshiro v0.3.1 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded csv v1.1.2 [INFO] [stderr] Downloaded snap v1.0.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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69b64c10db99926e4af82481ef43cec4c1f86a1e8730a182be765e983e2eef59 [INFO] running `Command { std: "docker" "start" "-a" "69b64c10db99926e4af82481ef43cec4c1f86a1e8730a182be765e983e2eef59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69b64c10db99926e4af82481ef43cec4c1f86a1e8730a182be765e983e2eef59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b64c10db99926e4af82481ef43cec4c1f86a1e8730a182be765e983e2eef59", kill_on_drop: false }` [INFO] [stdout] 69b64c10db99926e4af82481ef43cec4c1f86a1e8730a182be765e983e2eef59 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c1154a032eae2d6593160f96b3eb88b2585d3ac171aff4e40d050b13714179e5 [INFO] running `Command { std: "docker" "start" "-a" "c1154a032eae2d6593160f96b3eb88b2585d3ac171aff4e40d050b13714179e5", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling snap v1.0.0 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling slog-async v2.4.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling slog-term v2.5.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Compiling wickdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem::transmute` [INFO] [stdout] --> src/util/coding.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `min` [INFO] [stdout] --> src/util/comparator.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{min, Ordering}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/mem/arena.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Options` [INFO] [stdout] --> src/version/version_edit.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{Error, Options, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/version/version_set.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/mem/arena.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | Ok(lock) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `micros`, `bytes_read`, and `bytes_written` are never read [INFO] [stdout] --> src/compaction.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct CompactionStats { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 353 | // The microseconds this compaction takes [INFO] [stdout] 354 | pub micros: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 355 | /// The data size read by this compaction [INFO] [stdout] 356 | pub bytes_read: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 357 | /// The data size created in new generated SSTables [INFO] [stdout] 358 | pub bytes_written: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompactionStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/util/slice.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 90 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::slice::Iter` that must be used [INFO] [stdout] --> src/compaction.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | self.base.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = self.base.iter(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/mod.rs:898:28 [INFO] [stdout] | [INFO] [stdout] 898 | fn make_room_for_write(&self, mut force: bool) -> Result>> { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 898 | fn make_room_for_write(&self, mut force: bool) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/mod.rs:1183:22 [INFO] [stdout] | [INFO] [stdout] 1183 | fn do_compaction(&self, mut c: Compaction) -> Result>> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1183 | fn do_compaction(&self, mut c: Compaction) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/format.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn decode_from(internal_key: &'a [u8]) -> Option> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 78 - pub fn decode_from(internal_key: &'a [u8]) -> Option> { [INFO] [stdout] 78 + pub fn decode_from(internal_key: &'a [u8]) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/format.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 - pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> { [INFO] [stdout] 96 + pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/iterator.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | self.derived.as_mut().map_or((), |di| di.next()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 201 | let _ = self.derived.as_mut().map_or((), |di| di.next()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/iterator.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | self.derived.as_mut().map_or((), |di| di.prev()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 207 | let _ = self.derived.as_mut().map_or((), |di| di.prev()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/options.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionType` [INFO] [stdout] 16 | pub enum CompressionType { [INFO] [stdout] | --------------- `CompressionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v1.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c1154a032eae2d6593160f96b3eb88b2585d3ac171aff4e40d050b13714179e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1154a032eae2d6593160f96b3eb88b2585d3ac171aff4e40d050b13714179e5", kill_on_drop: false }` [INFO] [stdout] c1154a032eae2d6593160f96b3eb88b2585d3ac171aff4e40d050b13714179e5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 41a1bdd5927df0a0be2a1062e9144785cb77a8b05762c209d685a0e6640f8841 [INFO] running `Command { std: "docker" "start" "-a" "41a1bdd5927df0a0be2a1062e9144785cb77a8b05762c209d685a0e6640f8841", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stdout] warning: unused import: `std::mem::transmute` [INFO] [stdout] --> src/util/coding.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `min` [INFO] [stdout] --> src/util/comparator.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{min, Ordering}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/mem/arena.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Options` [INFO] [stdout] --> src/version/version_edit.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{Error, Options, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/version/version_set.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/mem/arena.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | Ok(lock) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `micros`, `bytes_read`, and `bytes_written` are never read [INFO] [stdout] --> src/compaction.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct CompactionStats { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 353 | // The microseconds this compaction takes [INFO] [stdout] 354 | pub micros: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 355 | /// The data size read by this compaction [INFO] [stdout] 356 | pub bytes_read: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 357 | /// The data size created in new generated SSTables [INFO] [stdout] 358 | pub bytes_written: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompactionStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/util/slice.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 90 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::slice::Iter` that must be used [INFO] [stdout] --> src/compaction.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | self.base.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = self.base.iter(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/mod.rs:898:28 [INFO] [stdout] | [INFO] [stdout] 898 | fn make_room_for_write(&self, mut force: bool) -> Result>> { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 898 | fn make_room_for_write(&self, mut force: bool) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/mod.rs:1183:22 [INFO] [stdout] | [INFO] [stdout] 1183 | fn do_compaction(&self, mut c: Compaction) -> Result>> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1183 | fn do_compaction(&self, mut c: Compaction) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/format.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn decode_from(internal_key: &'a [u8]) -> Option> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 78 - pub fn decode_from(internal_key: &'a [u8]) -> Option> { [INFO] [stdout] 78 + pub fn decode_from(internal_key: &'a [u8]) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/format.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 - pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> { [INFO] [stdout] 96 + pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/iterator.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | self.derived.as_mut().map_or((), |di| di.next()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 201 | let _ = self.derived.as_mut().map_or((), |di| di.next()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/iterator.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | self.derived.as_mut().map_or((), |di| di.prev()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 207 | let _ = self.derived.as_mut().map_or((), |di| di.prev()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/options.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionType` [INFO] [stdout] 16 | pub enum CompressionType { [INFO] [stdout] | --------------- `CompressionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling bstr v0.2.9 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling csv v1.1.2 [INFO] [stderr] Compiling tinytemplate v1.0.3 [INFO] [stderr] Compiling criterion v0.3.0 [INFO] [stderr] Compiling wickdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem::transmute` [INFO] [stdout] --> src/util/coding.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `min` [INFO] [stdout] --> src/util/comparator.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{min, Ordering}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/mem/arena.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Options` [INFO] [stdout] --> src/version/version_edit.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{Error, Options, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/version/version_set.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/mem/arena.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | Ok(lock) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/arena.rs:364:35 [INFO] [stdout] | [INFO] [stdout] 363 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 364 | let ptr = unsafe { arena_clone.allocate::(64, align)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem/arena.rs:402:35 [INFO] [stdout] | [INFO] [stdout] 401 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 402 | let ptr = unsafe { arena_clone.allocate::(64, align)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `micros`, `bytes_read`, and `bytes_written` are never read [INFO] [stdout] --> src/compaction.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct CompactionStats { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 353 | // The microseconds this compaction takes [INFO] [stdout] 354 | pub micros: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 355 | /// The data size read by this compaction [INFO] [stdout] 356 | pub bytes_read: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 357 | /// The data size created in new generated SSTables [INFO] [stdout] 358 | pub bytes_written: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompactionStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/util/slice.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 90 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::slice::Iter` that must be used [INFO] [stdout] --> src/compaction.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | self.base.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = self.base.iter(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/mod.rs:898:28 [INFO] [stdout] | [INFO] [stdout] 898 | fn make_room_for_write(&self, mut force: bool) -> Result>> { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 898 | fn make_room_for_write(&self, mut force: bool) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/mod.rs:1183:22 [INFO] [stdout] | [INFO] [stdout] 1183 | fn do_compaction(&self, mut c: Compaction) -> Result>> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1183 | fn do_compaction(&self, mut c: Compaction) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/format.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn decode_from(internal_key: &'a [u8]) -> Option> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 78 - pub fn decode_from(internal_key: &'a [u8]) -> Option> { [INFO] [stdout] 78 + pub fn decode_from(internal_key: &'a [u8]) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/format.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 - pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> { [INFO] [stdout] 96 + pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/mod.rs:1529:34 [INFO] [stdout] | [INFO] [stdout] 1529 | #[derive(Debug, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TestOption` [INFO] [stdout] 1530 | enum TestOption { [INFO] [stdout] | ---------- `TestOption` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/iterator.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | self.derived.as_mut().map_or((), |di| di.next()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 201 | let _ = self.derived.as_mut().map_or((), |di| di.next()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/iterator.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | self.derived.as_mut().map_or((), |di| di.prev()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 207 | let _ = self.derived.as_mut().map_or((), |di| di.prev()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/options.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionType` [INFO] [stdout] 16 | pub enum CompressionType { [INFO] [stdout] | --------------- `CompressionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 41.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0, snap v1.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "41a1bdd5927df0a0be2a1062e9144785cb77a8b05762c209d685a0e6640f8841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a1bdd5927df0a0be2a1062e9144785cb77a8b05762c209d685a0e6640f8841", kill_on_drop: false }` [INFO] [stdout] 41a1bdd5927df0a0be2a1062e9144785cb77a8b05762c209d685a0e6640f8841 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 27cdcc34cdf7a4585593d2958da98180f0600a61001f3cbf83f9fdf0b2efc1b7 [INFO] running `Command { std: "docker" "start" "-a" "27cdcc34cdf7a4585593d2958da98180f0600a61001f3cbf83f9fdf0b2efc1b7", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] [stderr] warning: unused import: `std::mem::transmute` [INFO] [stderr] --> src/util/coding.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::mem::transmute; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `min` [INFO] [stderr] --> src/util/comparator.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::{min, Ordering}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::RwLock` [INFO] [stderr] --> src/mem/arena.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::sync::RwLock; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Options` [INFO] [stderr] --> src/version/version_edit.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::{Error, Options, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::process::id` [INFO] [stderr] --> src/version/version_set.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use std::process::id; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lock` [INFO] [stderr] --> src/mem/arena.rs:206:24 [INFO] [stderr] | [INFO] [stderr] 206 | Ok(lock) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `micros`, `bytes_read`, and `bytes_written` are never read [INFO] [stderr] --> src/compaction.rs:354:9 [INFO] [stderr] | [INFO] [stderr] 352 | pub struct CompactionStats { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 353 | // The microseconds this compaction takes [INFO] [stderr] 354 | pub micros: u64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 355 | /// The data size read by this compaction [INFO] [stderr] 356 | pub bytes_read: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 357 | /// The data size created in new generated SSTables [INFO] [stderr] 358 | pub bytes_written: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CompactionStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `finish` that must be used [INFO] [stderr] --> src/util/slice.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | state.finish(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 90 | let _ = state.finish(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::slice::Iter` that must be used [INFO] [stderr] --> src/compaction.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | self.base.iter(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: iterators are lazy and do nothing unless consumed [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 40 | let _ = self.base.iter(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/mod.rs:898:28 [INFO] [stderr] | [INFO] [stderr] 898 | fn make_room_for_write(&self, mut force: bool) -> Result>> { [INFO] [stderr] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 898 | fn make_room_for_write(&self, mut force: bool) -> Result>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/mod.rs:1183:22 [INFO] [stderr] | [INFO] [stderr] 1183 | fn do_compaction(&self, mut c: Compaction) -> Result>> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ---------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 1183 | fn do_compaction(&self, mut c: Compaction) -> Result>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/format.rs:78:39 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn decode_from(internal_key: &'a [u8]) -> Option> { [INFO] [stderr] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 78 - pub fn decode_from(internal_key: &'a [u8]) -> Option> { [INFO] [stderr] 78 + pub fn decode_from(internal_key: &'a [u8]) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/format.rs:96:22 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> { [INFO] [stderr] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 96 - pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> { [INFO] [stderr] 96 + pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'a> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Option::::map_or` that must be used [INFO] [stderr] --> src/iterator.rs:201:9 [INFO] [stderr] | [INFO] [stderr] 201 | self.derived.as_mut().map_or((), |di| di.next()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the returned value, use `if let` instead [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 201 | let _ = self.derived.as_mut().map_or((), |di| di.next()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Option::::map_or` that must be used [INFO] [stderr] --> src/iterator.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | self.derived.as_mut().map_or((), |di| di.prev()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the returned value, use `if let` instead [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 207 | let _ = self.derived.as_mut().map_or((), |di| di.prev()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/options.rs:15:30 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Copy, Debug, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionType` [INFO] [stderr] 16 | pub enum CompressionType { [INFO] [stderr] | --------------- `CompressionType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/mem/arena.rs:364:35 [INFO] [stderr] | [INFO] [stderr] 363 | unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 364 | let ptr = unsafe { arena_clone.allocate::(64, align)}; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/mem/arena.rs:402:35 [INFO] [stderr] | [INFO] [stderr] 401 | unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 402 | let ptr = unsafe { arena_clone.allocate::(64, align)}; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/db/mod.rs:1529:34 [INFO] [stderr] | [INFO] [stderr] 1529 | #[derive(Debug, Clone, Copy, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TestOption` [INFO] [stderr] 1530 | enum TestOption { [INFO] [stderr] | ---------- `TestOption` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/options.rs:15:30 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Copy, Debug, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionType` [INFO] [stderr] 16 | pub enum CompressionType { [INFO] [stderr] | --------------- `CompressionType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `wickdb` (lib) generated 16 warnings (run `cargo fix --lib -p wickdb` to apply 9 suggestions) [INFO] [stderr] warning: `wickdb` (lib test) generated 19 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0, snap v1.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/wickdb-9f8a6e98ecc7e3db) [INFO] [stdout] [INFO] [stdout] running 224 tests [INFO] [stdout] test batch::tests::test_approximate_size ... ok [INFO] [stdout] test batch::tests::test_corrupted_batch ... ok [INFO] [stdout] test batch::tests::test_append_batch ... ok [INFO] [stdout] test batch::tests::test_empty_batch ... ok [INFO] [stdout] test cache::lru::tests::test_erase ... ok [INFO] [stdout] test cache::lru::tests::test_heavy_entries ... ok [INFO] [stdout] test cache::lru::tests::test_entries_are_pinned ... ok [INFO] [stdout] test batch::tests::test_multiple_records ... ok [INFO] [stdout] test cache::lru::tests::test_eviction_policy ... ok [INFO] [stdout] test cache::lru::tests::test_zero_size_cache ... ok [INFO] [stdout] test cache::lru::tests::test_use_exceeds_cache_size ... ok [INFO] [stdout] test cache::lru::tests::test_hit_and_miss ... ok [INFO] [stdout] test db::format::tests::test_icmp_cmp ... ok [INFO] [stdout] test db::filename::tests::test_generate_filename ... ok [INFO] [stdout] test db::filename::tests::test_parse_filename ... ok [INFO] [stdout] test db::format::tests::test_pack_seq_and_type ... ok [INFO] [stdout] test db::format::tests::test_icmp_separator ... ok [INFO] [stdout] test db::format::tests::test_icmp_successor ... ok [INFO] [stdout] test db::format::tests::test_internal_key_encode_decode ... ok [INFO] [stdout] test cache::tests::test_concurrent_insert ... ok [INFO] [stdout] test db::tests::test_custom_comparator ... ok [INFO] [stdout] test db::tests::test_db_file_lock ... ok [INFO] [stdout] test db::tests::test_dbopen_options ... ok [INFO] [stdout] test db::tests::test_comparator_check ... ok [INFO] [stdout] test db::tests::test_destroy_empty_dir ... ok [INFO] [stdout] test db::tests::test_empty_db ... ok [INFO] [stdout] test db::tests::test_empty_key ... ok [INFO] [stdout] test db::tests::test_empty_value ... ok [INFO] [stdout] test db::format::tests::test_pack_seq_and_type_panic - should panic ... ok [INFO] [stdout] test db::tests::test_fs_non_writable ... ok [INFO] [stdout] test db::tests::test_fs_sync_error ... ok [INFO] [stdout] test db::tests::test_deletion_marker2 ... ok [INFO] [stdout] test db::tests::test_deletion_marker1 ... ok [INFO] [stdout] test db::tests::test_approximiate_sizes_min_of_small_and_large ... ok [INFO] [stdout] test db::tests::test_get_from_versions ... ok [INFO] [stdout] test db::tests::test_db_reads_using_bloom_filter ... ok [INFO] [stdout] test db::tests::test_get_from_immutable_layer ... ok [INFO] [stdout] test db::tests::test_file_deleted_after_compaction ... ok [INFO] [stdout] test db::tests::test_get_level0_ordering ... ok [INFO] [stdout] test db::tests::test_iter_empty_db ... ok [INFO] [stdout] test db::tests::test_iter_multi ... ok [INFO] [stdout] test db::tests::test_iter_multi_with_delete ... ok [INFO] [stdout] test db::tests::test_iter_pins_ref ... ok [INFO] [stdout] test db::tests::test_iter_single ... ok [INFO] [stdout] test db::tests::test_iter_small_and_large_mix ... ok [INFO] [stdout] test db::tests::test_compaction_generate_multiple_files ... ok [INFO] [stderr] Jun 29 12:48:49.219 ERRO Compaction error: DBClosed("major compaction"), [location]: src/db/mod.rs:1168 [INFO] [stdout] test db::tests::test_l0_compaction_when_reopen ... ok [INFO] [stdout] test db::tests::test_manifest_write_error ... ok [INFO] [stdout] test db::tests::test_get_ordered_by_levels ... ok [INFO] [stdout] test db::tests::test_get_encounters_empty_level ... ok [INFO] [stdout] test db::tests::test_minor_compactions_happend ... ok [INFO] [stdout] test db::tests::test_mem_compact_into_max_level ... ok [INFO] [stdout] test db::tests::test_get_with_identical_snapshots ... ok [INFO] [stdout] test db::tests::test_no_storage_space ... ok [INFO] [stdout] test db::tests::test_iterate_over_empty_snapshot ... ok [INFO] [stdout] test db::tests::test_missing_sstfile ... ok [INFO] [stdout] test db::tests::test_put_delete_get ... ok [INFO] [stdout] test db::tests::test_read_write ... ok [INFO] [stderr] Jun 29 12:48:53.980 WARN Compact memtable error: DBClosed("when compacting memory table"), [location]: src/db/mod.rs:1062 [INFO] [stdout] test db::tests::test_get_with_snapshot ... ok [INFO] [stdout] test db::tests::test_recover_with_entries ... ok [INFO] [stdout] test db::tests::test_recover_with_large_log ... ok [INFO] [stdout] test db::tests::test_reopen_with_empty_db ... ok [INFO] [stderr] Jun 29 12:48:57.629 WARN Compact memtable error: DBClosed("when compacting memory table"), [location]: src/db/mod.rs:1062 [INFO] [stdout] test db::tests::test_repeated_write_to_same_key ... ok [INFO] [stdout] test db::tests::test_snapshot ... ok [INFO] [stdout] test db::tests::test_sparse_merge ... ignored [INFO] [stdout] test filter::bloom::tests::test_bloom_filter_empty ... ok [INFO] [stdout] test filter::bloom::tests::test_bloom_filter_small ... ok [INFO] [stdout] test filter::bloom::tests::test_bloom_filter_varying_lengths ... ok [INFO] [stdout] test iterator::tests::test_concatenated_iterator ... ok [INFO] [stdout] test iterator::tests::test_merging_iterator ... ok [INFO] [stdout] test logger::tests::test_default_logger ... ok [INFO] [stdout] test mem::arena::tests::test_allocate_empty_should_panic - should panic ... ok [INFO] [stdout] test mem::arena::tests::test_allocate_fallback ... ok [INFO] [stdout] test db::tests::test_manual_compaction ... ok [INFO] [stdout] test mem::arena::tests::test_allocate_new_block ... ok [INFO] [stdout] test mem::arena::tests::test_block_arena_concurrency ... ok [INFO] [stdout] test mem::arena::tests::test_new_arena ... ok [INFO] [stdout] test mem::arena::tests::test_offset_arena_concurrency ... ok [INFO] [stdout] test mem::inlineskiplist::tests::test_basic ... ok [INFO] [stdout] test mem::inlineskiplist::tests::test_concurrent_basic_big_value ... ok [INFO] [stdout] test db::tests::test_recover_during_memtable_compaction ... ok [INFO] [stdout] test mem::inlineskiplist::tests::test_empty ... ok [INFO] [stdout] test mem::inlineskiplist::tests::test_find_near ... ok [INFO] [stdout] test mem::inlineskiplist::tests::test_mem_alloc ... ok [INFO] [stderr] [INFO] [stderr] thread '' panicked at src/mem/skiplist.rs:49:18: [INFO] [stderr] unsafe precondition(s) violated: slice::get_unchecked requires that the index is within the slice [INFO] [stderr] [INFO] [stderr] This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety. [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7a283ce6e422 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x7a283ce6e422 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x7a283ce6e422 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x7a283ce6e422 - ::fmt::hb62c8ed31943daa5 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x7a283ceaaf23 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x7a283ceaaf23 - core::fmt::write::h375399f8cb90b45a [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stderr] 6: 0x7a283ce6b393 - std::io::default_write_fmt::h5b62fa6c96f0f73d [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x7a283ce6b393 - std::io::Write::write_fmt::h8399aff377841b1f [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x7a283ce6e272 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x7a283ce6faac - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x7a283ce6f8af - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x7a283cd83ef4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stderr] 12: 0x7a283cd83ef4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x7a283ce70513 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stderr] 14: 0x7a283ce70513 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stderr] 15: 0x7a283ce701c6 - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stderr] 16: 0x7a283ce6e929 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 17: 0x7a283ce6fe8d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stderr] 18: 0x7a283ca4c6ed - core::panicking::panic_nounwind_fmt::runtime::h4165f4309fca3550 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:117:22 [INFO] [stderr] 19: 0x7a283ca4c6ed - core::panicking::panic_nounwind_fmt::h4e78be162f75f82d [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/intrinsics/mod.rs:2340:9 [INFO] [stderr] 20: 0x7a283cc6bd8c - >::get_unchecked::precondition_check::h006837961921e534 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ub_checks.rs:72:21 [INFO] [stderr] 21: 0x7a283cc6bc89 - >::get_unchecked::h14fb3588fab1c9aa [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ub_checks.rs:77:17 [INFO] [stderr] 22: 0x7a283caef5b8 - core::slice::::get_unchecked::hc252d1b741dcf87f [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:643:26 [INFO] [stderr] 23: 0x7a283cd1cf91 - wickdb::mem::skiplist::Node::get_next::hffe606149b0edb6f [INFO] [stderr] at /opt/rustwide/workdir/src/mem/skiplist.rs:49:18 [INFO] [stderr] 24: 0x7a283cd1e608 - wickdb::mem::skiplist::Skiplist::find_greater_or_equal::h73592dd83d4ba797 [INFO] [stderr] at /opt/rustwide/workdir/src/mem/skiplist.rs:171:36 [INFO] [stderr] 25: 0x7a283cd1ef1c - as wickdb::iterator::Iterator>::seek::h6a0d1cc268e5fb71 [INFO] [stderr] at /opt/rustwide/workdir/src/mem/skiplist.rs:287:30 [INFO] [stderr] 26: 0x7a283cd20349 - wickdb::mem::skiplist::tests::ConcurrencyTest::read_step::h03eac52b321c327a [INFO] [stderr] at /opt/rustwide/workdir/src/mem/skiplist.rs:735:18 [INFO] [stderr] 27: 0x7a283cd2138b - wickdb::mem::skiplist::tests::run_concurrent::{{closure}}::h22d35e140eb9ae25 [INFO] [stderr] at /opt/rustwide/workdir/src/mem/skiplist.rs:840:26 [INFO] [stderr] 28: 0x7a283caae013 - std::sys::backtrace::__rust_begin_short_backtrace::hbf7aa42f24a3ac71 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stderr] 29: 0x7a283cc4981b - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he50fcea0704f52cf [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 30: 0x7a283cbb9cc0 - as core::ops::function::FnOnce<()>>::call_once::hd2aa6b5736aceac1 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 31: 0x7a283ccffb8f - std::panicking::catch_unwind::do_call::h100862639e6de6d6 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stderr] 32: 0x7a283cc568db - __rust_try [INFO] [stderr] 33: 0x7a283cc458c8 - std::panicking::catch_unwind::h8f02ecd1464aaf4b [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stderr] 34: 0x7a283cc458c8 - std::panic::catch_unwind::hea22b9ab275fee4e [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stderr] 35: 0x7a283cc458c8 - std::thread::Builder::spawn_unchecked_::{{closure}}::hb8296a8da4832e0e [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 36: 0x7a283cad53ce - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd3ece676c4d8693a [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 37: 0x7a283ce72ff7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stderr] 38: 0x7a283ce72ff7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stderr] 39: 0x7a283ce72ff7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/wickdb-9f8a6e98ecc7e3db` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "27cdcc34cdf7a4585593d2958da98180f0600a61001f3cbf83f9fdf0b2efc1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27cdcc34cdf7a4585593d2958da98180f0600a61001f3cbf83f9fdf0b2efc1b7", kill_on_drop: false }` [INFO] [stdout] 27cdcc34cdf7a4585593d2958da98180f0600a61001f3cbf83f9fdf0b2efc1b7