[INFO] cloning repository https://github.com/ManjulaNishanth/io [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ManjulaNishanth/io" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManjulaNishanth%2Fio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManjulaNishanth%2Fio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24bad12464cacadfe7765c6bb18b197397d1d94a [INFO] checking ManjulaNishanth/io/24bad12464cacadfe7765c6bb18b197397d1d94a against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManjulaNishanth%2Fio" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ManjulaNishanth/io on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ManjulaNishanth/io [INFO] finished tweaking git repo https://github.com/ManjulaNishanth/io [INFO] tweaked toml for git repo https://github.com/ManjulaNishanth/io written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ManjulaNishanth/io 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04c02f0cf0ac508bbd741dcb8633a58f5bfc02c6c0c6609b12556a1fbf4e0321 [INFO] running `Command { std: "docker" "start" "-a" "04c02f0cf0ac508bbd741dcb8633a58f5bfc02c6c0c6609b12556a1fbf4e0321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04c02f0cf0ac508bbd741dcb8633a58f5bfc02c6c0c6609b12556a1fbf4e0321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04c02f0cf0ac508bbd741dcb8633a58f5bfc02c6c0c6609b12556a1fbf4e0321", kill_on_drop: false }` [INFO] [stdout] 04c02f0cf0ac508bbd741dcb8633a58f5bfc02c6c0c6609b12556a1fbf4e0321 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b6cdf1e24dc72046b33ac74fdf17ffd2c0e95c6b2d3d2625097ff25bd0c38d6 [INFO] running `Command { std: "docker" "start" "-a" "6b6cdf1e24dc72046b33ac74fdf17ffd2c0e95c6b2d3d2625097ff25bd0c38d6", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking io v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/io/create_file.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/io/create_file.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/io/create_file.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_file` is never used [INFO] [stdout] --> src/io/create_file.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_file(file_name: &PathBuf) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_open` is never used [INFO] [stdout] --> src/io/create_file.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn file_open(file_name: &PathBuf) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_metadata` is never used [INFO] [stdout] --> src/io/create_file.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn write_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apend_metadata` is never used [INFO] [stdout] --> src/io/create_file.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn apend_metadata(path: &PathBuf, input: &Value) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_file` is never used [INFO] [stdout] --> src/io/create_file.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn copy_file(origin: &Path, destination: &Path) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/io/create_file.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn remove_file(origin: &Path) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "6b6cdf1e24dc72046b33ac74fdf17ffd2c0e95c6b2d3d2625097ff25bd0c38d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b6cdf1e24dc72046b33ac74fdf17ffd2c0e95c6b2d3d2625097ff25bd0c38d6", kill_on_drop: false }` [INFO] [stdout] 6b6cdf1e24dc72046b33ac74fdf17ffd2c0e95c6b2d3d2625097ff25bd0c38d6