[INFO] fetching crate feophant 0.9.0... [INFO] building feophant-0.9.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate feophant 0.9.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate feophant 0.9.0 [INFO] finished tweaking crates.io crate feophant 0.9.0 [INFO] tweaked toml for crates.io crate feophant 0.9.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate feophant 0.9.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate feophant 0.9.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0114d1532c85afa73da11f8ffb7c911c4c429e9dca5f102a67f9636690b7588f [INFO] running `Command { std: "docker" "start" "-a" "0114d1532c85afa73da11f8ffb7c911c4c429e9dca5f102a67f9636690b7588f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0114d1532c85afa73da11f8ffb7c911c4c429e9dca5f102a67f9636690b7588f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0114d1532c85afa73da11f8ffb7c911c4c429e9dca5f102a67f9636690b7588f", kill_on_drop: false }` [INFO] [stdout] 0114d1532c85afa73da11f8ffb7c911c4c429e9dca5f102a67f9636690b7588f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c19743b55d2ee32197e764df9c7870925fa95447af081d21d935738dd68b4a83 [INFO] running `Command { std: "docker" "start" "-a" "c19743b55d2ee32197e764df9c7870925fa95447af081d21d935738dd68b4a83", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling minimal-lexical v0.1.2 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling raw-cpuid v10.2.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling moka v0.6.1 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling hex-literal v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling moka-cht v0.4.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling simplelog v0.10.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling feophant v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BytesMut` and `Bytes` [INFO] [stdout] --> src/engine/io/row_formats/item_pointer.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/engine/io/row_formats/item_pointer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prior_offset` is assigned to, but never used [INFO] [stdout] --> src/engine/io/index_manager/find_leaf.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut prior_offset = PageOffset(0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prior_offset` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prior_offset` is never read [INFO] [stdout] --> src/engine/io/index_manager/find_leaf.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | prior_offset = offset; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/engine/io/visible_row_manager.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(o) => return Ok(true), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_offset` [INFO] [stdout] --> src/engine/io/index_manager.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let (page_guard, page_offset, mut leaf) = [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/engine/objects/types/base_sql_types.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | BaseSqlTypesMapper::Array(a) => todo!("Bed time, need to fix!"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/engine/io/index_formats/btree_leaf.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | .flat_map(|(k, v)| v.clone()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_constraint` is never used [INFO] [stdout] --> src/engine/objects/constraints/parse_constraint.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_constraint<'a, E: ParseError<&'a str> + ContextError<&'a str>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search` is never used [INFO] [stdout] --> src/engine/io/index_formats/btree_leaf.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl BTreeLeaf { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn search(&self, range: R) -> Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WhereEntry` is never used [INFO] [stdout] --> src/engine/objects/query_tree.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum WhereEntry {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_manager` is never read [INFO] [stdout] --> src/feophant.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct FeOphant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | file_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/engine.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | matches!(parse_tree.deref(), ParseTree::CreateTable(_)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ParseTree` does not implement `Deref`, so calling `deref` on `&ParseTree` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 108 - matches!(parse_tree.deref(), ParseTree::CreateTable(_)) [INFO] [stdout] 108 + matches!(parse_tree, ParseTree::CreateTable(_)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ParseTree`, implement `Clone` for it [INFO] [stdout] --> src/engine/objects/parse_tree.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub enum ParseTree { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.99s [INFO] running `Command { std: "docker" "inspect" "c19743b55d2ee32197e764df9c7870925fa95447af081d21d935738dd68b4a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c19743b55d2ee32197e764df9c7870925fa95447af081d21d935738dd68b4a83", kill_on_drop: false }` [INFO] [stdout] c19743b55d2ee32197e764df9c7870925fa95447af081d21d935738dd68b4a83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dab2b3d1c3cc84e8ee2da0df9a99923eef569863b9c5a4ee465d39550b60d26 [INFO] running `Command { std: "docker" "start" "-a" "9dab2b3d1c3cc84e8ee2da0df9a99923eef569863b9c5a4ee465d39550b60d26", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling siphasher v0.3.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stdout] warning: unused imports: `BytesMut` and `Bytes` [INFO] [stdout] --> src/engine/io/row_formats/item_pointer.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/engine/io/row_formats/item_pointer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prior_offset` is assigned to, but never used [INFO] [stdout] --> src/engine/io/index_manager/find_leaf.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut prior_offset = PageOffset(0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prior_offset` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prior_offset` is never read [INFO] [stdout] --> src/engine/io/index_manager/find_leaf.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | prior_offset = offset; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/engine/io/visible_row_manager.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(o) => return Ok(true), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stdout] warning: unused variable: `page_offset` [INFO] [stdout] --> src/engine/io/index_manager.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let (page_guard, page_offset, mut leaf) = [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/engine/objects/types/base_sql_types.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | BaseSqlTypesMapper::Array(a) => todo!("Bed time, need to fix!"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/engine/io/index_formats/btree_leaf.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | .flat_map(|(k, v)| v.clone()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_constraint` is never used [INFO] [stdout] --> src/engine/objects/constraints/parse_constraint.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_constraint<'a, E: ParseError<&'a str> + ContextError<&'a str>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search` is never used [INFO] [stdout] --> src/engine/io/index_formats/btree_leaf.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl BTreeLeaf { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn search(&self, range: R) -> Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WhereEntry` is never used [INFO] [stdout] --> src/engine/objects/query_tree.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum WhereEntry {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_manager` is never read [INFO] [stdout] --> src/feophant.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct FeOphant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | file_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/engine.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | matches!(parse_tree.deref(), ParseTree::CreateTable(_)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ParseTree` does not implement `Deref`, so calling `deref` on `&ParseTree` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 108 - matches!(parse_tree.deref(), ParseTree::CreateTable(_)) [INFO] [stdout] 108 + matches!(parse_tree, ParseTree::CreateTable(_)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ParseTree`, implement `Clone` for it [INFO] [stdout] --> src/engine/objects/parse_tree.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub enum ParseTree { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling feophant v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/engine/io/block_layer/lock_manager.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/engine/io/row_formats/item_pointer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prior_offset` is assigned to, but never used [INFO] [stdout] --> src/engine/io/index_manager/find_leaf.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut prior_offset = PageOffset(0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prior_offset` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prior_offset` is never read [INFO] [stdout] --> src/engine/io/index_manager/find_leaf.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | prior_offset = offset; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_offset` [INFO] [stdout] --> src/engine/io/index_manager.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let (page_guard, page_offset, mut leaf) = [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/engine/io/visible_row_manager.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(o) => return Ok(true), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tbl_uuid` [INFO] [stdout] --> src/engine/io/index_formats/btree_branch.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let tbl_uuid = Uuid::new_v4(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 227 | let _tbl_uuid = Uuid::new_v4(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ID` [INFO] [stdout] | [INFO] [stdout] 227 - let tbl_uuid = Uuid::new_v4(); [INFO] [stdout] 227 + let constants::system_tables::pg_index::ID = Uuid::new_v4(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/engine/io/index_formats/btree_leaf.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | .flat_map(|(k, v)| v.clone()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/engine/objects/types/base_sql_types.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | BaseSqlTypesMapper::Array(a) => todo!("Bed time, need to fix!"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_dir` [INFO] [stdout] --> src/engine/io/block_layer/lock_manager.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let tmp_dir = tmp.path().as_os_str().to_os_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/io/page_formats/page_header.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut test = PageHeader::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_constraint` is never used [INFO] [stdout] --> src/engine/objects/constraints/parse_constraint.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_constraint<'a, E: ParseError<&'a str> + ContextError<&'a str>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WhereEntry` is never used [INFO] [stdout] --> src/engine/objects/query_tree.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum WhereEntry {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_manager` is never read [INFO] [stdout] --> src/feophant.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct FeOphant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | file_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/engine.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | matches!(parse_tree.deref(), ParseTree::CreateTable(_)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `parse_tree::ParseTree` does not implement `Deref`, so calling `deref` on `&parse_tree::ParseTree` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 108 - matches!(parse_tree.deref(), ParseTree::CreateTable(_)) [INFO] [stdout] 108 + matches!(parse_tree, ParseTree::CreateTable(_)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `parse_tree::ParseTree`, implement `Clone` for it [INFO] [stdout] --> src/engine/objects/parse_tree.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub enum ParseTree { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `feophant` (test "sql_simple_insert") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name sql_simple_insert --edition=2018 tests/sql_simple_insert.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=574515a43d0b1e2b -C extra-filename=-d010b9d8fc2963f9 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern async_stream=/opt/rustwide/target/debug/deps/libasync_stream-e1e627cf31de1ae8.rlib --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-0629d6d36c0d1ed3.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-847a4bb13ea8f656.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-e13852b919e1043b.rlib --extern feophantlib=/opt/rustwide/target/debug/deps/libfeophantlib-260875c1782aa9de.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-129b622feb378b5c.rlib --extern hex_literal=/opt/rustwide/target/debug/deps/libhex_literal-2393f766aa7e13d2.so --extern log=/opt/rustwide/target/debug/deps/liblog-a23af042a32b6f7e.rlib --extern lru=/opt/rustwide/target/debug/deps/liblru-5a5486066249c86d.rlib --extern moka=/opt/rustwide/target/debug/deps/libmoka-72bf316dcea48b8b.rlib --extern nom=/opt/rustwide/target/debug/deps/libnom-26a6ed742ea4ff98.rlib --extern simplelog=/opt/rustwide/target/debug/deps/libsimplelog-8397a1bcc2c9389c.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-0956c4d461ab04d7.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-4978c3e07ceaf1e5.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-047fcbb1819657c0.rlib --extern tokio_postgres=/opt/rustwide/target/debug/deps/libtokio_postgres-cbd08bea8208735e.rlib --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-8284c07dc71b55d1.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-42c0c31b33333c31.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-d1bafd953faae605.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-755305e852f110ae.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `feophant` (lib test); 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name feophantlib --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e2bbcdd40e221d83 -C extra-filename=-12653876787b94d8 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern async_stream=/opt/rustwide/target/debug/deps/libasync_stream-e1e627cf31de1ae8.rlib --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-0629d6d36c0d1ed3.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-847a4bb13ea8f656.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-e13852b919e1043b.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-129b622feb378b5c.rlib --extern hex_literal=/opt/rustwide/target/debug/deps/libhex_literal-2393f766aa7e13d2.so --extern log=/opt/rustwide/target/debug/deps/liblog-a23af042a32b6f7e.rlib --extern lru=/opt/rustwide/target/debug/deps/liblru-5a5486066249c86d.rlib --extern moka=/opt/rustwide/target/debug/deps/libmoka-72bf316dcea48b8b.rlib --extern nom=/opt/rustwide/target/debug/deps/libnom-26a6ed742ea4ff98.rlib --extern simplelog=/opt/rustwide/target/debug/deps/libsimplelog-8397a1bcc2c9389c.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-0956c4d461ab04d7.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-4978c3e07ceaf1e5.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-047fcbb1819657c0.rlib --extern tokio_postgres=/opt/rustwide/target/debug/deps/libtokio_postgres-cbd08bea8208735e.rlib --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-8284c07dc71b55d1.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-42c0c31b33333c31.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-d1bafd953faae605.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-755305e852f110ae.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "9dab2b3d1c3cc84e8ee2da0df9a99923eef569863b9c5a4ee465d39550b60d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dab2b3d1c3cc84e8ee2da0df9a99923eef569863b9c5a4ee465d39550b60d26", kill_on_drop: false }` [INFO] [stdout] 9dab2b3d1c3cc84e8ee2da0df9a99923eef569863b9c5a4ee465d39550b60d26