[INFO] cloning repository https://github.com/LogoiLab/norot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LogoiLab/norot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogoiLab%2Fnorot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogoiLab%2Fnorot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92e2937c80129fcf074a48755b253d2fc29a1291 [INFO] checking LogoiLab/norot against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogoiLab%2Fnorot" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LogoiLab/norot on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LogoiLab/norot [INFO] finished tweaking git repo https://github.com/LogoiLab/norot [INFO] tweaked toml for git repo https://github.com/LogoiLab/norot written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/LogoiLab/norot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74097e91abbc7f72b75fe3347d47698ba59209c68b81f69ae7c48c20b71b7492 [INFO] running `Command { std: "docker" "start" "-a" "74097e91abbc7f72b75fe3347d47698ba59209c68b81f69ae7c48c20b71b7492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74097e91abbc7f72b75fe3347d47698ba59209c68b81f69ae7c48c20b71b7492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74097e91abbc7f72b75fe3347d47698ba59209c68b81f69ae7c48c20b71b7492", kill_on_drop: false }` [INFO] [stdout] 74097e91abbc7f72b75fe3347d47698ba59209c68b81f69ae7c48c20b71b7492 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 530aab8ec7fd975430c0533b338ffcafcfa9a3425f1292939059cfc477c875e6 [INFO] running `Command { std: "docker" "start" "-a" "530aab8ec7fd975430c0533b338ffcafcfa9a3425f1292939059cfc477c875e6", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking vec_map v0.7.0 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Checking serde v1.0.2 [INFO] [stderr] Checking lz4-compress v0.1.0 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking clap v2.23.3 [INFO] [stderr] Checking norot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `read` [INFO] [stdout] --> src/insurer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use efes::{read,write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decomp` [INFO] [stdout] --> src/insurer.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use compressor::{comp,decomp}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/efes.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let result = buf_reader.read_to_end(& mut contents).expect("Failed to read from file."); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/insurer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn replace(src: &Path, dest: &Path, copy: usize) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/insurer.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | fn replace(src: &Path, dest: &Path, copy: usize) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copy` [INFO] [stdout] --> src/insurer.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | fn replace(src: &Path, dest: &Path, copy: usize) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `replicate` [INFO] [stdout] --> src/insurer.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn replicate(src: &Path, dest: &Path, copies: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `replace` [INFO] [stdout] --> src/insurer.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn replace(src: &Path, dest: &Path, copy: usize) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check` [INFO] [stdout] --> src/validator.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn check() {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `store` [INFO] [stdout] --> src/validator.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn store() {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/insurer.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 11 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 11 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read` [INFO] [stdout] --> src/insurer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use efes::{read,write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decomp` [INFO] [stdout] --> src/insurer.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use compressor::{comp,decomp}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/efes.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let result = buf_reader.read_to_end(& mut contents).expect("Failed to read from file."); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/insurer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn replace(src: &Path, dest: &Path, copy: usize) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/insurer.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | fn replace(src: &Path, dest: &Path, copy: usize) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copy` [INFO] [stdout] --> src/insurer.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | fn replace(src: &Path, dest: &Path, copy: usize) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `replicate` [INFO] [stdout] --> src/insurer.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn replicate(src: &Path, dest: &Path, copies: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `replace` [INFO] [stdout] --> src/insurer.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn replace(src: &Path, dest: &Path, copy: usize) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check` [INFO] [stdout] --> src/validator.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn check() {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `store` [INFO] [stdout] --> src/validator.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn store() {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/efes.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | file.sync_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/insurer.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 11 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 11 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/efes.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | file.sync_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.43s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "530aab8ec7fd975430c0533b338ffcafcfa9a3425f1292939059cfc477c875e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530aab8ec7fd975430c0533b338ffcafcfa9a3425f1292939059cfc477c875e6", kill_on_drop: false }` [INFO] [stdout] 530aab8ec7fd975430c0533b338ffcafcfa9a3425f1292939059cfc477c875e6