[INFO] cloning repository https://github.com/kamilWyszynski1/databurst [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamilWyszynski1/databurst" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkamilWyszynski1%2Fdataburst", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkamilWyszynski1%2Fdataburst'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b595207d8b57de5a1f0443273c61411e2e6e6669 [INFO] checking kamilWyszynski1/databurst against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkamilWyszynski1%2Fdataburst" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamilWyszynski1/databurst on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kamilWyszynski1/databurst [INFO] finished tweaking git repo https://github.com/kamilWyszynski1/databurst [INFO] tweaked toml for git repo https://github.com/kamilWyszynski1/databurst written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kamilWyszynski1/databurst 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55e3d66e28d75e780d577805e683c237c5080b7bdd289266d321fd39ece1a305 [INFO] running `Command { std: "docker" "start" "-a" "55e3d66e28d75e780d577805e683c237c5080b7bdd289266d321fd39ece1a305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55e3d66e28d75e780d577805e683c237c5080b7bdd289266d321fd39ece1a305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55e3d66e28d75e780d577805e683c237c5080b7bdd289266d321fd39ece1a305", kill_on_drop: false }` [INFO] [stdout] 55e3d66e28d75e780d577805e683c237c5080b7bdd289266d321fd39ece1a305 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a019f120f8295e06fc5b9e795267299bc2680cf55fe4eddab0a6f8872c9350c1 [INFO] running `Command { std: "docker" "start" "-a" "a019f120f8295e06fc5b9e795267299bc2680cf55fe4eddab0a6f8872c9350c1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling io-lifetimes v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Compiling rustix v0.36.9 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking rql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Pointer` [INFO] [stdout] --> src/table.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | node::{Key, Node, NodeType, Pointer}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/cursor.rs:580:31 [INFO] [stdout] | [INFO] [stdout] 580 | .min_by_key(|(p, key)| key) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [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/node.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | let mut pointers: Vec = [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 variable: `old_page_num` [INFO] [stdout] --> src/table.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | old_page_num: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_page_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:547:13 [INFO] [stdout] | [INFO] [stdout] 547 | let mut cursors: Vec = match self.column_index(&where_stmt.column) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Replace` is never constructed [INFO] [stdout] --> src/cursor.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum OperationInfo { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Replace, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `select_by_key`, `select_by`, and `data` are never used [INFO] [stdout] --> src/cursor.rs:429:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Cursor { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 429 | pub fn select_by_key( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn select_by( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | pub fn data(&self, key_size: usize, row_size: usize) -> anyhow::Result>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_internal` is never used [INFO] [stdout] --> src/node.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 291 | fn is_internal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhereStmt` is never constructed [INFO] [stdout] --> src/statements.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WhereStmt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhereStmt` 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_cmp` is never used [INFO] [stdout] --> src/statements.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl WhereStmt { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 10 | pub fn get_cmp( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deserialize_key` is never used [INFO] [stdout] --> src/table.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub trait Deserialize: Sized { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] 49 | fn deserialize(data: &[u8]) -> anyhow::Result; [INFO] [stdout] 50 | fn deserialize_key(data: &[u8]) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `db_open`, `column_byte_size`, `add_indexed_column`, and `multiple_cursor_find` are never used [INFO] [stdout] --> src/table.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 266 | impl Table { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 267 | pub fn new>(p: P, table_definition: TableDefinition) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn db_open + Clone>(p: P) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | fn column_byte_size(&self, column: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | fn add_indexed_column(&mut self, column: String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | fn multiple_cursor_find( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search_with_where`, `search`, `index_cursor_to_row_cursor`, `index_cursors_to_row_cursor`, and `column_index` are never used [INFO] [stdout] --> src/table.rs:540:12 [INFO] [stdout] | [INFO] [stdout] 536 | / impl Table [INFO] [stdout] 537 | | where [INFO] [stdout] 538 | | V: Deserialize, [INFO] [stdout] | |___________________- methods in this implementation [INFO] [stdout] 539 | { [INFO] [stdout] 540 | pub fn search_with_where(&mut self, where_stmt: WhereStmt) -> anyhow::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 613 | pub fn search(&mut self, key: Key) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | fn index_cursor_to_row_cursor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | fn index_cursors_to_row_cursor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 672 | fn column_index(&self, column: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::from_be_bytes` that must be used [INFO] [stdout] --> src/table.rs:892:21 [INFO] [stdout] | [INFO] [stdout] 892 | i32::from_be_bytes(value[0..4].try_into()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 892 | let _ = i32::from_be_bytes(value[0..4].try_into()?); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.4.0 [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/cursor.rs:580:31 [INFO] [stdout] | [INFO] [stdout] 580 | .min_by_key(|(p, key)| key) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [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/node.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | let mut pointers: Vec = [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 variable: `old_page_num` [INFO] [stdout] --> src/table.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | old_page_num: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_page_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:547:13 [INFO] [stdout] | [INFO] [stdout] 547 | let mut cursors: Vec = match self.column_index(&where_stmt.column) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/table.rs:1350:14 [INFO] [stdout] | [INFO] [stdout] 1350 | for (i, row) in rows.into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Replace` is never constructed [INFO] [stdout] --> src/cursor.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum OperationInfo { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Replace, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_internal` is never used [INFO] [stdout] --> src/node.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 291 | fn is_internal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multiple_cursor_find` is never used [INFO] [stdout] --> src/table.rs:468:8 [INFO] [stdout] | [INFO] [stdout] 266 | impl Table { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 468 | fn multiple_cursor_find( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index_cursors_to_row_cursor` is never used [INFO] [stdout] --> src/table.rs:648:8 [INFO] [stdout] | [INFO] [stdout] 536 | / impl Table [INFO] [stdout] 537 | | where [INFO] [stdout] 538 | | V: Deserialize, [INFO] [stdout] | |___________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 648 | fn index_cursors_to_row_cursor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::from_be_bytes` that must be used [INFO] [stdout] --> src/table.rs:892:21 [INFO] [stdout] | [INFO] [stdout] 892 | i32::from_be_bytes(value[0..4].try_into()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 892 | let _ = i32::from_be_bytes(value[0..4].try_into()?); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `Command { std: "docker" "inspect" "a019f120f8295e06fc5b9e795267299bc2680cf55fe4eddab0a6f8872c9350c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a019f120f8295e06fc5b9e795267299bc2680cf55fe4eddab0a6f8872c9350c1", kill_on_drop: false }` [INFO] [stdout] a019f120f8295e06fc5b9e795267299bc2680cf55fe4eddab0a6f8872c9350c1