[INFO] cloning 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" "clone" "--bare" "https://github.com/ergor/magnetar-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fergor%2Fmagnetar-client", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fergor%2Fmagnetar-client'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9a7b21c27a6bd5aead703e48be1677250091c988
[INFO] checking ergor/magnetar-client against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fergor%2Fmagnetar-client" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ergor/magnetar-client on toolchain ad93f57d532978d6739002a21bc66b45ed22f998
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ergor/magnetar-client 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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ffd0d2ba308655bd4f2a7bda2a395245707722b08abe9c930a3607163714d9e7
[INFO] running `Command { std: "docker" "start" "-a" "ffd0d2ba308655bd4f2a7bda2a395245707722b08abe9c930a3607163714d9e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ffd0d2ba308655bd4f2a7bda2a395245707722b08abe9c930a3607163714d9e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffd0d2ba308655bd4f2a7bda2a395245707722b08abe9c930a3607163714d9e7", kill_on_drop: false }`
[INFO] [stdout] ffd0d2ba308655bd4f2a7bda2a395245707722b08abe9c930a3607163714d9e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e262326b898224256ff05ae086d180e471c2af0ea1f6e22d095caf3ed1a6fe8
[INFO] running `Command { std: "docker" "start" "-a" "0e262326b898224256ff05ae086d180e471c2af0ea1f6e22d095caf3ed1a6fe8", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling syn v1.0.31
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling cc v1.0.51
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking linked-hash-map v0.5.2
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking yansi v0.5.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking sha1 v0.6.0
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking aho-corasick v0.7.10
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling libsqlite3-sys v0.17.3
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking regex v1.3.9
[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.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `DeltaType`
[INFO] [stdout]  --> src/comparator/report.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::comparator::delta::{Delta, DeltaType};
[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: `crate::db_models::fs_node::NodeType`
[INFO] [stdout]  --> src/comparator/report.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db_models::fs_node::NodeType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::apperror::AppError`
[INFO] [stdout]  --> src/indexer/fs_indexer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::apperror::AppError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errorwrapper::ErrorWrapper`
[INFO] [stdout]  --> src/indexer/fs_indexer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::errorwrapper::ErrorWrapper;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DirEntry`
[INFO] [stdout]  --> src/indexer/fs_indexer.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::{DirEntry, ReadDir};
[INFO] [stdout]   |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/indexer/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DeltaType`
[INFO] [stdout]  --> src/comparator/report.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::comparator::delta::{Delta, DeltaType};
[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: `crate::db_models::fs_node::NodeType`
[INFO] [stdout]  --> src/comparator/report.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db_models::fs_node::NodeType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::apperror::AppError`
[INFO] [stdout]  --> src/indexer/fs_indexer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::apperror::AppError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errorwrapper::ErrorWrapper`
[INFO] [stdout]  --> src/indexer/fs_indexer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::errorwrapper::ErrorWrapper;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DirEntry`
[INFO] [stdout]  --> src/indexer/fs_indexer.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::{DirEntry, ReadDir};
[INFO] [stdout]   |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/indexer/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]  --> src/dupes/mod.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     for db in dbs {
[INFO] [stdout]   |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/db_models/fs_node.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct FsNode {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 15 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FsNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]  --> src/dupes/mod.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     for db in dbs {
[INFO] [stdout]   |               ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]   |
[INFO] [stdout] 9 -     for db in dbs {
[INFO] [stdout] 9 +     while let Some(db) = dbs {
[INFO] [stdout]   |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]   |
[INFO] [stdout] 9 -     for db in dbs {
[INFO] [stdout] 9 +     if let Some(db) = dbs {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]  --> src/dupes/mod.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     for db in dbs {
[INFO] [stdout]   |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/db_models/fs_node.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct FsNode {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 15 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FsNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]  --> src/dupes/mod.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     for db in dbs {
[INFO] [stdout]   |               ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]   |
[INFO] [stdout] 9 -     for db in dbs {
[INFO] [stdout] 9 +     while let Some(db) = dbs {
[INFO] [stdout]   |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]   |
[INFO] [stdout] 9 -     for db in dbs {
[INFO] [stdout] 9 +     if let Some(db) = dbs {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.26s
[INFO] running `Command { std: "docker" "inspect" "0e262326b898224256ff05ae086d180e471c2af0ea1f6e22d095caf3ed1a6fe8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e262326b898224256ff05ae086d180e471c2af0ea1f6e22d095caf3ed1a6fe8", kill_on_drop: false }`
[INFO] [stdout] 0e262326b898224256ff05ae086d180e471c2af0ea1f6e22d095caf3ed1a6fe8
