[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] testing LogoiLab/norot against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogoiLab%2Fnorot" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LogoiLab/norot on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-12/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47164488198eb3c5c5c7552b66c0d1c8ee012b216111eb12bb9e87f9a236ad04 [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" "47164488198eb3c5c5c7552b66c0d1c8ee012b216111eb12bb9e87f9a236ad04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47164488198eb3c5c5c7552b66c0d1c8ee012b216111eb12bb9e87f9a236ad04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47164488198eb3c5c5c7552b66c0d1c8ee012b216111eb12bb9e87f9a236ad04", kill_on_drop: false }` [INFO] [stdout] 47164488198eb3c5c5c7552b66c0d1c8ee012b216111eb12bb9e87f9a236ad04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1499a0296550443dd7adceeae55058743ecfd20cc2c5255ea99528fc56f8045f [INFO] running `Command { std: "docker" "start" "-a" "1499a0296550443dd7adceeae55058743ecfd20cc2c5255ea99528fc56f8045f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling serde v1.0.2 [INFO] [stderr] Compiling lz4-compress v0.1.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling clap v2.23.3 [INFO] [stderr] Compiling 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 `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.32s [INFO] running `Command { std: "docker" "inspect" "1499a0296550443dd7adceeae55058743ecfd20cc2c5255ea99528fc56f8045f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1499a0296550443dd7adceeae55058743ecfd20cc2c5255ea99528fc56f8045f", kill_on_drop: false }` [INFO] [stdout] 1499a0296550443dd7adceeae55058743ecfd20cc2c5255ea99528fc56f8045f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa590492d0285284bea94bded75fe142e0619164694c37034c44350edd87be93 [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" "aa590492d0285284bea94bded75fe142e0619164694c37034c44350edd87be93", kill_on_drop: false }` [INFO] [stderr] Compiling 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 `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 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 `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "aa590492d0285284bea94bded75fe142e0619164694c37034c44350edd87be93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa590492d0285284bea94bded75fe142e0619164694c37034c44350edd87be93", kill_on_drop: false }` [INFO] [stdout] aa590492d0285284bea94bded75fe142e0619164694c37034c44350edd87be93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 471f0c75934762e5c41ffe46c9045ccd7341a379cd39a92720e9ace9a7a6b643 [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" "471f0c75934762e5c41ffe46c9045ccd7341a379cd39a92720e9ace9a7a6b643", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `read` [INFO] [stderr] --> src/insurer.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use efes::{read,write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `decomp` [INFO] [stderr] --> src/insurer.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use compressor::{comp,decomp}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/efes.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let result = buf_reader.read_to_end(& mut contents).expect("Failed to read from file."); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src` [INFO] [stderr] --> src/insurer.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | fn replace(src: &Path, dest: &Path, copy: usize) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dest` [INFO] [stderr] --> src/insurer.rs:16:24 [INFO] [stderr] | [INFO] [stderr] 16 | fn replace(src: &Path, dest: &Path, copy: usize) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `copy` [INFO] [stderr] --> src/insurer.rs:16:37 [INFO] [stderr] | [INFO] [stderr] 16 | fn replace(src: &Path, dest: &Path, copy: usize) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_copy` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `replicate` [INFO] [stderr] --> src/insurer.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | fn replicate(src: &Path, dest: &Path, copies: usize) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `replace` [INFO] [stderr] --> src/insurer.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn replace(src: &Path, dest: &Path, copy: usize) {} [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `check` [INFO] [stderr] --> src/validator.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn check() {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `store` [INFO] [stderr] --> src/validator.rs:2:4 [INFO] [stderr] | [INFO] [stderr] 2 | fn store() {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/insurer.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | Err(e) => panic!(e), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 11 | Err(e) => panic!("{}", e), [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 11 | Err(e) => std::panic::panic_any(e), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/efes.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | file.sync_all(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `norot` (lib) generated 12 warnings [INFO] [stderr] warning: `norot` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `norot` (bin "norot" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/norot-ef2c0da2058e9a5e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/norot-9e19072942aa324a) [INFO] [stdout] [INFO] [stderr] Doc-tests norot [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "471f0c75934762e5c41ffe46c9045ccd7341a379cd39a92720e9ace9a7a6b643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "471f0c75934762e5c41ffe46c9045ccd7341a379cd39a92720e9ace9a7a6b643", kill_on_drop: false }` [INFO] [stdout] 471f0c75934762e5c41ffe46c9045ccd7341a379cd39a92720e9ace9a7a6b643