[INFO] cloning repository https://github.com/destrex271/LokiKV [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/destrex271/LokiKV" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdestrex271%2FLokiKV", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdestrex271%2FLokiKV'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 980da8820543077d10ebb267b9edb71bfdbc3669 [INFO] building destrex271/LokiKV against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdestrex271%2FLokiKV" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/destrex271/LokiKV on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/destrex271/LokiKV [INFO] finished tweaking git repo https://github.com/destrex271/LokiKV [INFO] tweaked toml for git repo https://github.com/destrex271/LokiKV written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/destrex271/LokiKV 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10d1d26bf94ca346f2e3c2544fc3ec20b388777cc8e54c94f0a6b1db22edbca2 [INFO] running `Command { std: "docker" "start" "-a" "10d1d26bf94ca346f2e3c2544fc3ec20b388777cc8e54c94f0a6b1db22edbca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10d1d26bf94ca346f2e3c2544fc3ec20b388777cc8e54c94f0a6b1db22edbca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d1d26bf94ca346f2e3c2544fc3ec20b388777cc8e54c94f0a6b1db22edbca2", kill_on_drop: false }` [INFO] [stdout] 10d1d26bf94ca346f2e3c2544fc3ec20b388777cc8e54c94f0a6b1db22edbca2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45b7d702c403722bd6da7a9f51d52bfdcba90f390ebf0e9dbe3d71b56224ffcd [INFO] running `Command { std: "docker" "start" "-a" "45b7d702c403722bd6da7a9f51d52bfdcba90f390ebf0e9dbe3d71b56224ffcd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling lokikv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Read` and `error::Error` [INFO] [stdout] --> src/cli/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{self, BufRead, BufReader, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/db/loki_kv/data_structures/btree/btree.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::loki_kv::{self, loki_kv::ValueObject}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::boxed::Box` [INFO] [stdout] --> src/db/loki_kv/data_structures/btree/btree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/db/loki_kv/data_structures/hyperloglog.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::loki_kv::loki_kv::ValueObject` [INFO] [stdout] --> src/db/loki_kv/data_structures/hyperloglog.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::loki_kv::loki_kv::ValueObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `f32` [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{f32, panic}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any` and `TypeId` [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::{Any, TypeId}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{self, BTreeMap, HashMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/db/parser/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueObject` [INFO] [stdout] --> src/db/server_multithread/server.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::loki_kv::loki_kv::{LokiKV, ValueObject}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/db/server_multithread/server.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `self` [INFO] [stdout] --> src/db/server_multithread/server.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | io::{self, AsyncReadExt, AsyncWriteExt}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> src/db/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/db/server_multithread/server.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | if let val = response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut stream = match TcpStream::connect(format!("{}:{}", args.host, args.port)) { [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: unused import: `crate::loki_kv::loki_kv::CollectionProps` [INFO] [stdout] --> src/db/loki_kv/persist.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::loki_kv::loki_kv::CollectionProps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | let mut collections_bmap: HashMap = HashMap::new(); [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/db/loki_kv/loki_kv.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | let mut collections_bmap_cust: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/db/loki_kv/persist.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut file = match File::create(&path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [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/db/loki_kv/persist.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut file = match File::create(&path) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/db/parser/executor.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(n) => format!("1970-01-01 00:00:00 UTC"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kv` [INFO] [stdout] --> src/db/parser/executor.rs:411:26 [INFO] [stdout] | [INFO] [stdout] 411 | Some(kv) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db/parser/executor.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | let mut ins = db.write().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `node` is never read [INFO] [stdout] --> src/db/parser/parser.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | let mut node = QLValues::QLPhantom; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `node` is never read [INFO] [stdout] --> src/db/parser/parser.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | let mut node = QLValues::QLPhantom; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BTreeNode` is more private than the item `BTree::get_node` [INFO] [stdout] --> src/db/loki_kv/data_structures/btree/btree.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_node(&self, idx: usize) -> BTreeNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BTree::get_node` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `BTreeNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/db/loki_kv/data_structures/btree/btree.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct BTreeNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BTreeNode` is more private than the item `BTree::get_node_ref` [INFO] [stdout] --> src/db/loki_kv/data_structures/btree/btree.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_node_ref(&self, idx: usize) -> &BTreeNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BTree::get_node_ref` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `BTreeNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/db/loki_kv/data_structures/btree/btree.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct BTreeNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BTreeNode` is more private than the item `BTree::add_node` [INFO] [stdout] --> src/db/loki_kv/data_structures/btree/btree.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_node(&mut self, node: BTreeNode) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BTree::add_node` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `BTreeNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/db/loki_kv/data_structures/btree/btree.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct BTreeNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BTreeNode` is more private than the item `BTree::replace_node` [INFO] [stdout] --> src/db/loki_kv/data_structures/btree/btree.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn replace_node(&mut self, node: BTreeNode, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BTree::replace_node` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `BTreeNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/db/loki_kv/data_structures/btree/btree.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct BTreeNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vals` is never read [INFO] [stdout] --> src/db/loki_kv/data_structures/btree/btree.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct BTree { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 31 | root_index: usize, [INFO] [stdout] 32 | vals: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BTree` has a derived impl for the trait `Clone`, 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: method `display_streams` is never used [INFO] [stdout] --> src/db/loki_kv/data_structures/hyperloglog.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl HLL { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn display_streams(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | StringData(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValueObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - StringData(String), [INFO] [stdout] 13 + StringData(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | BoolData(bool), [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValueObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - BoolData(bool), [INFO] [stdout] 15 + BoolData(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | BlobData(Vec), [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValueObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - BlobData(Vec), [INFO] [stdout] 19 + BlobData(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `key_exists` is never used [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait CollectionProps { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 30 | fn key_exists(&self, key: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `option_val` is never read [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct CollectionBTreeCustom { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 127 | store: BTree, [INFO] [stdout] 128 | option_val: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectionBTreeCustom` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_EXTENSION` is never used [INFO] [stdout] --> src/db/loki_kv/persist.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const FILE_EXTENSION: &str = ".lktbl"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_db` is never used [INFO] [stdout] --> src/db/loki_kv/persist.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl StoragePage { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | fn load_db(&self) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Append` is never constructed [INFO] [stdout] --> src/db/parser/executor.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum OpMode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Append, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `QLHLL` is never constructed [INFO] [stdout] --> src/db/parser/parser.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum QLValues { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | QLHLL(HLL), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QLValues` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_right_child_mut` is never used [INFO] [stdout] --> src/db/parser/parser.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl AST { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_right_child_mut(&mut self) -> Option<&mut Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, and `thread_count` are never read [INFO] [stdout] --> src/db/server_multithread/server.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct LokiServer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 16 | tcp_listener: TcpListener, [INFO] [stdout] 17 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | thread_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | let val = self.get(key.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/db/loki_kv/loki_kv.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | let val = self.get(key.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/db/parser/executor.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | ins.incr(&local_key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 331 | let _ = ins.incr(&local_key); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/db/parser/executor.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | ins.decr(&local_key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 348 | let _ = ins.decr(&local_key); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on devicerustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `lokikv` (bin "server-db"); 46 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8b8eff55bd72abbb57167bc42222a7f91d41cb0d/bin/rustc --crate-name server_db --edition=2021 src/db/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=d958633298bfa926 -C extra-filename=-b10df8aaf543b050 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bincode=/opt/rustwide/target/debug/deps/libbincode-cf97dee1fa9e5540.rlib --extern bit_set=/opt/rustwide/target/debug/deps/libbit_set-865d169fbb904f9b.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-d5db3daf1e596693.rlib --extern pest=/opt/rustwide/target/debug/deps/libpest-490a0c7b136087a6.rlib --extern pest_derive=/opt/rustwide/target/debug/deps/libpest_derive-8bd9e20c6e49f3b5.so --extern rayon=/opt/rustwide/target/debug/deps/librayon-5b5b1b7df97c0e37.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-1c9244409e80d185.rlib --extern shlex=/opt/rustwide/target/debug/deps/libshlex-9ab43923caf1b88e.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-9ce7fbd0c44e40a2.rlib --cap-lints=warn` (exit status: 101) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc54dQ2e/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libclap-d5db3daf1e596693.rlib,libclap_builder-7cbf95c050fbe033.rlib,libstrsim-5a3bb5d6992b819d.rlib,libanstream-9908999cdb2c819f.rlib,libanstyle_query-08f76fe670c99197.rlib,libis_terminal_polyfill-647f6f299eee1d38.rlib,libcolorchoice-468a8e9595a28460.rlib,libanstyle_parse-ceafd6d2778c1746.rlib,libutf8parse-69368f0ec3005ada.rlib,libclap_lex-179ee983e10397b1.rlib,libanstyle-736ef78da7feb687.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc54dQ2e/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/client-97064a38edc5ccc4" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stdout] collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lokikv` (bin "client") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "45b7d702c403722bd6da7a9f51d52bfdcba90f390ebf0e9dbe3d71b56224ffcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b7d702c403722bd6da7a9f51d52bfdcba90f390ebf0e9dbe3d71b56224ffcd", kill_on_drop: false }` [INFO] [stdout] 45b7d702c403722bd6da7a9f51d52bfdcba90f390ebf0e9dbe3d71b56224ffcd