[INFO] cloning repository https://github.com/peitur/rest-my-tree
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peitur/rest-my-tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeitur%2Frest-my-tree", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeitur%2Frest-my-tree'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d4664f13fce9d43648ef63c62bc742445df3d0dc
[INFO] checking peitur/rest-my-tree against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeitur%2Frest-my-tree" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/peitur/rest-my-tree
[INFO] finished tweaking git repo https://github.com/peitur/rest-my-tree
[INFO] tweaked toml for git repo https://github.com/peitur/rest-my-tree written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/peitur/rest-my-tree on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/peitur/rest-my-tree 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c4513b29f424b4b63d1d1a7ae1d401877c102f8c3908912f822c01d90f3e2c17
[INFO] running `Command { std: "docker" "start" "-a" "c4513b29f424b4b63d1d1a7ae1d401877c102f8c3908912f822c01d90f3e2c17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4513b29f424b4b63d1d1a7ae1d401877c102f8c3908912f822c01d90f3e2c17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4513b29f424b4b63d1d1a7ae1d401877c102f8c3908912f822c01d90f3e2c17", kill_on_drop: false }`
[INFO] [stdout] c4513b29f424b4b63d1d1a7ae1d401877c102f8c3908912f822c01d90f3e2c17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 78ba71ead9a6a0057a98335bd4bc4f9188a9db9073aa11cda0ab2fa805cd47a0
[INFO] running `Command { std: "docker" "start" "-a" "78ba71ead9a6a0057a98335bd4bc4f9188a9db9073aa11cda0ab2fa805cd47a0", kill_on_drop: false }`
[INFO] [stderr]     Checking rest-my-tree v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::types::ChecksumAlgorithm`
[INFO] [stdout]  --> src/checksum.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::types::ChecksumAlgorithm;
[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::types::ChecksumAlgorithm`
[INFO] [stdout]  --> src/checksum.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::types::ChecksumAlgorithm;
[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::types::FileInfo`
[INFO] [stdout]  --> src/checksum.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::types::FileInfo;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/fileoperation.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::FileInfo`
[INFO] [stdout]  --> src/checksum.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::types::FileInfo;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::ChecksumAlgorithm`
[INFO] [stdout]  --> src/fileoperation.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::types::ChecksumAlgorithm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::FileInfo`
[INFO] [stdout]  --> src/fileoperation.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::FileInfo;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/fileoperation.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::ChecksumAlgorithm`
[INFO] [stdout]  --> src/fileoperation.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::types::ChecksumAlgorithm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::FileInfo`
[INFO] [stdout]  --> src/fileoperation.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::FileInfo;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `algorithm` and `data` are never read
[INFO] [stdout]   --> src/types.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ChecksumData {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 12 |     algorithm: ChecksumAlgorithm, 
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 13 |     data: String
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChecksumData` has a derived impl for the trait `Debug`, but this is 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: fields `algorithm` and `data` are never read
[INFO] [stdout]   --> src/types.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ChecksumData {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 12 |     algorithm: ChecksumAlgorithm, 
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 13 |     data: String
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChecksumData` has a derived impl for the trait `Debug`, but this is 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: unused import: `rest_my_tree::types`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rest_my_tree::types;
[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: `rest_my_tree::fileoperation`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rest_my_tree::fileoperation;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rest_my_tree::types`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rest_my_tree::types;
[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: `rest_my_tree::checksum`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rest_my_tree::checksum;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rest_my_tree::fileoperation`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rest_my_tree::fileoperation;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rest_my_tree::checksum`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rest_my_tree::checksum;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alg`
[INFO] [stdout]  --> src/main.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let alg = rest_my_tree::types::ChecksumAlgorithm::SHA256;
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_alg`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alg`
[INFO] [stdout]  --> src/main.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let alg = rest_my_tree::types::ChecksumAlgorithm::SHA256;
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_alg`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] running `Command { std: "docker" "inspect" "78ba71ead9a6a0057a98335bd4bc4f9188a9db9073aa11cda0ab2fa805cd47a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78ba71ead9a6a0057a98335bd4bc4f9188a9db9073aa11cda0ab2fa805cd47a0", kill_on_drop: false }`
[INFO] [stdout] 78ba71ead9a6a0057a98335bd4bc4f9188a9db9073aa11cda0ab2fa805cd47a0
