[INFO] cloning repository https://github.com/dynastydi/pickle-db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dynastydi/pickle-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdynastydi%2Fpickle-db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdynastydi%2Fpickle-db'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/info/exclude' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdynastydi%2Fpickle-db/info/exclude': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/dynastydi/pickle-db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dynastydi/pickle-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdynastydi%2Fpickle-db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdynastydi%2Fpickle-db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72ac34f0e9bc986a15d62488ebf02c922bb93402 [INFO] checking dynastydi/pickle-db against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdynastydi%2Fpickle-db" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dynastydi/pickle-db on toolchain b8ee37b59c6e1f39bae18b85e057975ab0d89308 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dynastydi/pickle-db [INFO] finished tweaking git repo https://github.com/dynastydi/pickle-db [INFO] tweaked toml for git repo https://github.com/dynastydi/pickle-db written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dynastydi/pickle-db 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" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd46e260307e9186bc6762734127a65669c3cf19dc64d28bb409ac3029bd2b21 [INFO] running `Command { std: "docker" "start" "-a" "bd46e260307e9186bc6762734127a65669c3cf19dc64d28bb409ac3029bd2b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd46e260307e9186bc6762734127a65669c3cf19dc64d28bb409ac3029bd2b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd46e260307e9186bc6762734127a65669c3cf19dc64d28bb409ac3029bd2b21", kill_on_drop: false }` [INFO] [stdout] bd46e260307e9186bc6762734127a65669c3cf19dc64d28bb409ac3029bd2b21 [INFO] checking dynastydi/pickle-db against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdynastydi%2Fpickle-db" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dynastydi/pickle-db on toolchain b8ee37b59c6e1f39bae18b85e057975ab0d89308 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dynastydi/pickle-db [INFO] finished tweaking git repo https://github.com/dynastydi/pickle-db [INFO] tweaked toml for git repo https://github.com/dynastydi/pickle-db written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dynastydi/pickle-db 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" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e13d49d643b07f70ab8e080f7789450751ab27b788b94707e0e49a0ab435068f [INFO] running `Command { std: "docker" "start" "-a" "e13d49d643b07f70ab8e080f7789450751ab27b788b94707e0e49a0ab435068f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e13d49d643b07f70ab8e080f7789450751ab27b788b94707e0e49a0ab435068f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e13d49d643b07f70ab8e080f7789450751ab27b788b94707e0e49a0ab435068f", kill_on_drop: false }` [INFO] [stdout] e13d49d643b07f70ab8e080f7789450751ab27b788b94707e0e49a0ab435068f [INFO] checking dynastydi/pickle-db against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdynastydi%2Fpickle-db" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dynastydi/pickle-db on toolchain b8ee37b59c6e1f39bae18b85e057975ab0d89308 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dynastydi/pickle-db [INFO] finished tweaking git repo https://github.com/dynastydi/pickle-db [INFO] tweaked toml for git repo https://github.com/dynastydi/pickle-db written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dynastydi/pickle-db 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" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66108e1778b1b113ea7152ea9b8b71401e1914ebf0bb78cf43578193f10bd40f [INFO] running `Command { std: "docker" "start" "-a" "66108e1778b1b113ea7152ea9b8b71401e1914ebf0bb78cf43578193f10bd40f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66108e1778b1b113ea7152ea9b8b71401e1914ebf0bb78cf43578193f10bd40f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66108e1778b1b113ea7152ea9b8b71401e1914ebf0bb78cf43578193f10bd40f", kill_on_drop: false }` [INFO] [stdout] 66108e1778b1b113ea7152ea9b8b71401e1914ebf0bb78cf43578193f10bd40f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7397e4d13259651ce2e176bfd879f157ef3fb0a2d3055f15b3d3d00dbc6fbf70 [INFO] running `Command { std: "docker" "start" "-a" "7397e4d13259651ce2e176bfd879f157ef3fb0a2d3055f15b3d3d00dbc6fbf70", kill_on_drop: false }` [INFO] [stderr] Checking pickle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Write`, `stdin`, and `stdout` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | stdin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | stdout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/bplus.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | fn search<'a>(&'a mut self, key : u32) -> &mut Node { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdin`, and `stdout` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | stdin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | stdout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/bplus.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | fn search<'a>(&'a mut self, key : u32) -> &mut Node { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/queries.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | ... let column = pager::Column { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/queries.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | ... let column = pager::Column { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/queries.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | ... let column = pager::Column { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/queries.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | ... let column = pager::Column { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_clone` [INFO] [stdout] --> src/bplus.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let root_clone = self.root.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bplus.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut splitter = load_a.last().unwrap().key; [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/bplus.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | let mut children_b = children_a.split_off(len - (len / 2)); [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/bplus.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | let mut keys_b = keys_a.split_off(len - (len / 2)); [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/bplus.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | let mut splitter = keys_a.pop().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/bplus.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let mut node = self.root.search(key); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pager.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_table(&mut self, name : &str, cols : Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/pager.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_table(&mut self, name : &str, cols : Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut query : String; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_clone` [INFO] [stdout] --> src/bplus.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let root_clone = self.root.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/pager.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const PAGE_SIZE : u32 = 4096; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pager.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | CHAR(u32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 5 - CHAR(u32), [INFO] [stdout] 5 + CHAR(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `dtype` are never read [INFO] [stdout] --> src/pager.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Column { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | pub name : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub dtype : DataType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/pager.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pager` is never constructed [INFO] [stdout] --> src/pager.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Pager; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_table` is never used [INFO] [stdout] --> src/pager.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Pager { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 21 | pub fn create_table(&mut self, name : &str, cols : Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bplus.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let mut splitter = load_a.last().unwrap().key; [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/bplus.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | let mut children_b = children_a.split_off(len - (len / 2)); [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/bplus.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | let mut keys_b = keys_a.split_off(len - (len / 2)); [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/bplus.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | let mut splitter = keys_a.pop().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/bplus.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let mut node = self.root.search(key); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pager.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_table(&mut self, name : &str, cols : Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/pager.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_table(&mut self, name : &str, cols : Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut query : String; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/pager.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const PAGE_SIZE : u32 = 4096; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pager.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | CHAR(u32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 5 - CHAR(u32), [INFO] [stdout] 5 + CHAR(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `dtype` are never read [INFO] [stdout] --> src/pager.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Column { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | pub name : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub dtype : DataType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/pager.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pager` is never constructed [INFO] [stdout] --> src/pager.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Pager; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_table` is never used [INFO] [stdout] --> src/pager.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Pager { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 21 | pub fn create_table(&mut self, name : &str, cols : Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "7397e4d13259651ce2e176bfd879f157ef3fb0a2d3055f15b3d3d00dbc6fbf70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7397e4d13259651ce2e176bfd879f157ef3fb0a2d3055f15b3d3d00dbc6fbf70", kill_on_drop: false }` [INFO] [stdout] 7397e4d13259651ce2e176bfd879f157ef3fb0a2d3055f15b3d3d00dbc6fbf70