[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogoiLab%2Fnorot" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LogoiLab/norot on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-3/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lz4-compress v0.1.0 [INFO] [stderr] Downloaded clap v2.23.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4059eec5dc8c871437c15eb0372f04b448a1c6884a7db8c779a14cbae5fa377d [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" "4059eec5dc8c871437c15eb0372f04b448a1c6884a7db8c779a14cbae5fa377d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4059eec5dc8c871437c15eb0372f04b448a1c6884a7db8c779a14cbae5fa377d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4059eec5dc8c871437c15eb0372f04b448a1c6884a7db8c779a14cbae5fa377d", kill_on_drop: false }` [INFO] [stdout] 4059eec5dc8c871437c15eb0372f04b448a1c6884a7db8c779a14cbae5fa377d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd0aa172df1f17b572296a9941f2df7dedd17007a33af408c93462c8e6f8416b [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" "dd0aa172df1f17b572296a9941f2df7dedd17007a33af408c93462c8e6f8416b", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking vec_map v0.7.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking serde v1.0.2 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking lz4-compress v0.1.0 [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 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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: 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: 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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.83s [INFO] running `Command { std: "docker" "inspect" "dd0aa172df1f17b572296a9941f2df7dedd17007a33af408c93462c8e6f8416b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd0aa172df1f17b572296a9941f2df7dedd17007a33af408c93462c8e6f8416b", kill_on_drop: false }` [INFO] [stdout] dd0aa172df1f17b572296a9941f2df7dedd17007a33af408c93462c8e6f8416b