[INFO] updating cached repository https://github.com/ergor/magnetar-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/ergor/magnetar-client [INFO] [stderr] a764ad8..eb280f7 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb280f7f61fabe1082fedd3e10c9e9520c5115c1 [INFO] checking ergor/magnetar-client against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fergor%2Fmagnetar-client" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ergor/magnetar-client on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ergor/magnetar-client [INFO] finished tweaking git repo https://github.com/ergor/magnetar-client [INFO] tweaked toml for git repo https://github.com/ergor/magnetar-client written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/ergor/magnetar-client already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8bc758e932ca7266535f53b04d7b348d340a7895254cc8b18cb7d5a1ba41f76 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f8bc758e932ca7266535f53b04d7b348d340a7895254cc8b18cb7d5a1ba41f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8bc758e932ca7266535f53b04d7b348d340a7895254cc8b18cb7d5a1ba41f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8bc758e932ca7266535f53b04d7b348d340a7895254cc8b18cb7d5a1ba41f76", kill_on_drop: false }` [INFO] [stdout] f8bc758e932ca7266535f53b04d7b348d340a7895254cc8b18cb7d5a1ba41f76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc4172c488c504df729d5d68988bbdad98586a6c42354dfc8261c41356596624 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dc4172c488c504df729d5d68988bbdad98586a6c42354dfc8261c41356596624", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling cc v1.0.51 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Checking thiserror v1.0.19 [INFO] [stderr] Checking flexi_logger v0.15.4 [INFO] [stderr] Checking rusqlite v0.22.0 [INFO] [stderr] Checking magnetar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DeltaType` [INFO] [stdout] --> src/comparator/compare.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::comparator::delta::{Delta, DeltaType, FieldDelta}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::comparator::delta` [INFO] [stdout] --> src/comparator/compare.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::comparator::delta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeType` [INFO] [stdout] --> src/comparator/compare.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db_models::fs_node::{FsNode, NodeType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/comparator/compare.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, BTreeMap, BTreeSet, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> src/comparator/compare.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path` [INFO] [stdout] --> src/comparator/compare.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsNode` [INFO] [stdout] --> src/comparator/delta.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db_models::fs_node::{FsNode, NodeType}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::resume_unwind` [INFO] [stdout] --> src/comparator/delta.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::panic::resume_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/comparator/delta.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/comparator/delta.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/comparator/delta.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeltaType`, `FieldDelta` [INFO] [stdout] --> src/comparator/report.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::comparator::delta::{Delta, DeltaType, FieldDelta}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/comparator/report.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/comparator/report.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/db_models/fs_node.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, fmt}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/indexer/fs_indexer.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::{DirEntry, ReadDir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `RefMut` [INFO] [stdout] --> src/indexer/fs_indexer.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cell::{Cell, RefCell, RefMut}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/indexer/fs_indexer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consts` [INFO] [stdout] --> src/indexer/index_once.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{create_tables, fs_indexer, consts}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::LevelFilter` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use log::LevelFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeltaType` [INFO] [stdout] --> src/comparator/compare.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::comparator::delta::{Delta, DeltaType, FieldDelta}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::comparator::delta` [INFO] [stdout] --> src/comparator/compare.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::comparator::delta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeType` [INFO] [stdout] --> src/comparator/compare.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db_models::fs_node::{FsNode, NodeType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/comparator/compare.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, BTreeMap, BTreeSet, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> src/comparator/compare.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path` [INFO] [stdout] --> src/comparator/compare.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsNode` [INFO] [stdout] --> src/comparator/delta.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db_models::fs_node::{FsNode, NodeType}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::resume_unwind` [INFO] [stdout] --> src/comparator/delta.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::panic::resume_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/comparator/delta.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/comparator/delta.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/comparator/delta.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeltaType`, `FieldDelta` [INFO] [stdout] --> src/comparator/report.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::comparator::delta::{Delta, DeltaType, FieldDelta}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/comparator/report.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/comparator/report.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/db_models/fs_node.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, fmt}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/indexer/fs_indexer.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::{DirEntry, ReadDir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `RefMut` [INFO] [stdout] --> src/indexer/fs_indexer.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cell::{Cell, RefCell, RefMut}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/indexer/fs_indexer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consts` [INFO] [stdout] --> src/indexer/index_once.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{create_tables, fs_indexer, consts}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::LevelFilter` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use log::LevelFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/comparator/mod.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | Some(dir) => { unimplemented!("writing to file not implemented") }, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/comparator/delta.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | else if let (Some(a), Some(b)) = (&self.a, &self.b) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/comparator/delta.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | else if let (Some(a), Some(b)) = (&self.a, &self.b) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/db_models/fs_node.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let c = row.column_count(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_buf` [INFO] [stdout] --> src/indexer/fs_indexer.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut read_buf = [0 as u8; READ_BUF_SZ]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_count` [INFO] [stdout] --> src/indexer/fs_indexer.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn depth_first_indexer(dir_path: &str, cpu_count: usize) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/indexer/index_once.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force` [INFO] [stdout] --> src/indexer/index_once.rs:3:78 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn start(db_path: &str, directories: clap::Values<'_>, cpu_count: usize, force: bool) -> crate::ConvertibleResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/indexer/fs_indexer.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut fs_nodes: Vec = Vec::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/indexer/fs_indexer.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut read_buf = [0 as u8; READ_BUF_SZ]; [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/indexer/fs_indexer.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let mut current_dir_iter = current_iter_opt.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/comparator/mod.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | Some(dir) => { unimplemented!("writing to file not implemented") }, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/comparator/delta.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | else if let (Some(a), Some(b)) = (&self.a, &self.b) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/comparator/delta.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | else if let (Some(a), Some(b)) = (&self.a, &self.b) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/db_models/fs_node.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let c = row.column_count(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_buf` [INFO] [stdout] --> src/indexer/fs_indexer.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut read_buf = [0 as u8; READ_BUF_SZ]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_count` [INFO] [stdout] --> src/indexer/fs_indexer.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn depth_first_indexer(dir_path: &str, cpu_count: usize) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/indexer/index_once.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force` [INFO] [stdout] --> src/indexer/index_once.rs:3:78 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn start(db_path: &str, directories: clap::Values<'_>, cpu_count: usize, force: bool) -> crate::ConvertibleResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/db_models/fs_node.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn new() -> FsNode { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_single_dir_entry` [INFO] [stdout] --> src/indexer/fs_indexer.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn process_single_dir_entry(entry: fs::DirEntry, read_buf: &mut [u8]) -> crate::ConvertibleResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `checksum` [INFO] [stdout] --> src/indexer/fs_indexer.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn checksum(read_buf: &mut [u8], file_entry: &fs::DirEntry) -> io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/indexer/fs_indexer.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut fs_nodes: Vec = Vec::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/indexer/fs_indexer.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut read_buf = [0 as u8; READ_BUF_SZ]; [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/indexer/fs_indexer.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let mut current_dir_iter = current_iter_opt.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/db_models/fs_node.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn new() -> FsNode { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_single_dir_entry` [INFO] [stdout] --> src/indexer/fs_indexer.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn process_single_dir_entry(entry: fs::DirEntry, read_buf: &mut [u8]) -> crate::ConvertibleResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `checksum` [INFO] [stdout] --> src/indexer/fs_indexer.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn checksum(read_buf: &mut [u8], file_entry: &fs::DirEntry) -> io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.45s [INFO] running `Command { std: "docker" "inspect" "dc4172c488c504df729d5d68988bbdad98586a6c42354dfc8261c41356596624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc4172c488c504df729d5d68988bbdad98586a6c42354dfc8261c41356596624", kill_on_drop: false }` [INFO] [stdout] dc4172c488c504df729d5d68988bbdad98586a6c42354dfc8261c41356596624