[INFO] cloning repository https://github.com/king54346/caskdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/king54346/caskdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2Fcaskdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2Fcaskdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fa75e42d79e33c497d43feb60f33ea3dbd7a7dc [INFO] testing king54346/caskdb against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2Fcaskdb" "/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/caskdb [INFO] finished tweaking git repo https://github.com/king54346/caskdb [INFO] tweaked toml for git repo https://github.com/king54346/caskdb written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/king54346/caskdb on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/king54346/caskdb 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog-term v2.5.0 [INFO] [stderr] Downloaded hermit-abi v0.1.6 [INFO] [stderr] Downloaded rand_os v0.2.2 [INFO] [stderr] Downloaded num-derive v0.3.0 [INFO] [stderr] Downloaded criterion-plot v0.4.0 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded memchr v2.3.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.7 [INFO] [stderr] Downloaded serde_json v1.0.44 [INFO] [stderr] Downloaded criterion v0.3.0 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded crossbeam-channel v0.4.0 [INFO] [stderr] Downloaded slog v2.5.2 [INFO] [stderr] Downloaded tinytemplate v1.0.3 [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded syn v1.0.13 [INFO] [stderr] Downloaded rand_xoshiro v0.3.1 [INFO] [stderr] Downloaded crossbeam-channel v0.3.9 [INFO] [stderr] Downloaded slog-async v2.4.0 [INFO] [stderr] Downloaded bstr v0.2.9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 626c1fddea5295520090be66346b10d801b7ce8e01a06e86639c6e2d76f9f08e [INFO] running `Command { std: "docker" "start" "-a" "626c1fddea5295520090be66346b10d801b7ce8e01a06e86639c6e2d76f9f08e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "626c1fddea5295520090be66346b10d801b7ce8e01a06e86639c6e2d76f9f08e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "626c1fddea5295520090be66346b10d801b7ce8e01a06e86639c6e2d76f9f08e", kill_on_drop: false }` [INFO] [stdout] 626c1fddea5295520090be66346b10d801b7ce8e01a06e86639c6e2d76f9f08e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 982cb52206f1cb5f6e0b79f8d6c82c7761b96a60c5bff2fa3f7a998fd7391834 [INFO] running `Command { std: "docker" "start" "-a" "982cb52206f1cb5f6e0b79f8d6c82c7761b96a60c5bff2fa3f7a998fd7391834", 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 slog v2.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling snap v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling slog-async v2.4.0 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling slog-term v2.5.0 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Compiling wickdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/segment/data.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/segment/hint.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::index::btree::BTreeIndexer` [INFO] [stdout] --> src/store/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::index::btree::BTreeIndexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::vec_deque::VecDeque` [INFO] [stdout] --> src/store/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::vec_deque::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/store/mod.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutexGuard` and `Mutex` [INFO] [stdout] --> src/store/mod.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Arc, Condvar, Mutex, MutexGuard, RwLock}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/store/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/storage/SegmentedMemStorage.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/storage/SegmentedMemStorage.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/logger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `storage` [INFO] [stdout] --> src/logger.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | use crate::{error, storage}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::mem::MemStorage` [INFO] [stdout] --> src/logger.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | use crate::storage::mem::MemStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/segment/data.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `copy` [INFO] [stdout] --> src/segment/data.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{copy, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Error::IO` [INFO] [stdout] --> src/segment/data.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Error::IO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::record::writer` [INFO] [stdout] --> src/segment/data.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::record::writer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::mem::MemStorage` [INFO] [stdout] --> src/segment/data.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::storage::mem::MemStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/segment/hint.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::transmute` [INFO] [stdout] --> src/utils/coding.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/cache/lru.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cache::lru::LRUCache` [INFO] [stdout] --> src/options.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cache::lru::LRUCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cache` and `ShardedCache` [INFO] [stdout] --> src/options.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cache::{Cache, ShardedCache}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/options.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/segment/data.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | let encoded = bincode::serialize(&inner).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/segment/data.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | let inner: InnerEntry = bincode::deserialize(buf.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/segment/hint.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let encoded = bincode::serialize(&entry).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_into` found for type `usize` in the current scope [INFO] [stdout] --> src/segment/hint.rs:105:65 [INFO] [stdout] | [INFO] [stdout] 105 | let mut reader = Reader::new(f, None, true, self.offset.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/convert/mod.rs:627:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `usize` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: 'std::convert::TryInto' is included in the prelude starting in Edition 2021 [INFO] [stdout] help: trait `TryInto` which provides `try_into` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::convert::TryInto; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 105 - let mut reader = Reader::new(f, None, true, self.offset.try_into().unwrap()); [INFO] [stdout] 105 + let mut reader = Reader::new(f, None, true, self.offset.into().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/segment/hint.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let entry = bincode::deserialize(buf.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cache/lru.rs:351:34 [INFO] [stdout] | [INFO] [stdout] 327 | impl Cache for LRUCache [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 351 | if old_charge != charge { [INFO] [stdout] | ^^^^^^ expected type parameter `K`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `K` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Seek` [INFO] [stdout] --> src/segment/data.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{copy, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/segment/data.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{copy, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/segment/data.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{copy, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/store/mod.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | let mut df = self [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/SegmentedMemStorage.rs:394:23 [INFO] [stdout] | [INFO] [stdout] 394 | if let Ok(mut guard) = self.get_write_lock(&key) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/logger.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 112 | CountSuffix => { [INFO] [stdout] | ----------- matches any value [INFO] [stdout] ... [INFO] [stdout] 115 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `CountSuffix` [INFO] [stdout] --> src/logger.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | CountSuffix => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_CountSuffix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logger.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | ... let mut write = FileRotate::new(db_path, storage, CountSuffix::new(LOG_COUNT_SUFFIX), ContentLimit::BytesSurpassed(LOG_CONTENT_LIMI... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_charge` [INFO] [stdout] --> src/cache/arc.rs:246:36 [INFO] [stdout] | [INFO] [stdout] 246 | if let Some((k, old_value, old_charge)) = inner.recent_set.lookup(&key) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_charge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache/arc.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | let mut inner = self.inner.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache/arc.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | let mut inner = self.inner.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache/arc.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | let mut inner = self.inner.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `murmurhash` [INFO] [stdout] --> src/utils/collection.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | pub type DefaultHashBuilder = std::hash::BuildHasherDefault; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `murmurhash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `murmurhash`, use `cargo add murmurhash` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wickdb` (lib) due to 9 previous errors; 33 warnings emitted [INFO] running `Command { std: "docker" "inspect" "982cb52206f1cb5f6e0b79f8d6c82c7761b96a60c5bff2fa3f7a998fd7391834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "982cb52206f1cb5f6e0b79f8d6c82c7761b96a60c5bff2fa3f7a998fd7391834", kill_on_drop: false }` [INFO] [stdout] 982cb52206f1cb5f6e0b79f8d6c82c7761b96a60c5bff2fa3f7a998fd7391834