[INFO] cloning repository https://github.com/xwzy/mirrost
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xwzy/mirrost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxwzy%2Fmirrost", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxwzy%2Fmirrost'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4585dd98fac5fddf37b42739508e352fc6b8c522
[INFO] checking xwzy/mirrost against master#01706e1a34c87656fcbfce198608f4cd2ac6461a for pr-135272
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxwzy%2Fmirrost" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/xwzy/mirrost on toolchain 01706e1a34c87656fcbfce198608f4cd2ac6461a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/xwzy/mirrost
[INFO] finished tweaking git repo https://github.com/xwzy/mirrost
[INFO] tweaked toml for git repo https://github.com/xwzy/mirrost written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/xwzy/mirrost 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" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 302e7c5aec04919fed7eccee64ee53116473f0e4184d88aacdedf5fa14bc11e6
[INFO] running `Command { std: "docker" "start" "-a" "302e7c5aec04919fed7eccee64ee53116473f0e4184d88aacdedf5fa14bc11e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "302e7c5aec04919fed7eccee64ee53116473f0e4184d88aacdedf5fa14bc11e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "302e7c5aec04919fed7eccee64ee53116473f0e4184d88aacdedf5fa14bc11e6", kill_on_drop: false }`
[INFO] [stdout] 302e7c5aec04919fed7eccee64ee53116473f0e4184d88aacdedf5fa14bc11e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9b66c771d327407793c0acb66fa07e439792cb2defe77f1fa52f85bad0956dc
[INFO] running `Command { std: "docker" "start" "-a" "e9b66c771d327407793c0acb66fa07e439792cb2defe77f1fa52f85bad0956dc", kill_on_drop: false }`
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]     Checking mirrost v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/utils/file.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/utils/file.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_path`
[INFO] [stdout]  --> src/compare/compare_file.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn compare_file(file_path: &str) -> Result<String, Error> {
[INFO] [stdout]   |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_file` is never used
[INFO] [stdout]  --> src/compare/compare_file.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn compare_file(file_path: &str) -> Result<String, Error> {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/summary/node_summary.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl NodeSummary {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(full_file_path: &str, parent_dir: &str) -> NodeSummary {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_node_summary` is never used
[INFO] [stdout]   --> src/summary/node_summary.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn get_node_summary(full_file_path: &str, parent_dir: &str) -> Result<NodeSummary, Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNINIT` is never used
[INFO] [stdout]  --> src/summary/summary.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const UNINIT: i64 = -1;
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INIT` is never used
[INFO] [stdout]  --> src/summary/summary.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const INIT: i64 = 0;
[INFO] [stdout]   |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/summary/summary.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Node {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Summary` is never constructed
[INFO] [stdout]   --> src/summary/summary.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Summary {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_file_count`, `get_dir_count`, and `get_total_size` are never used
[INFO] [stdout]   --> src/summary/summary.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Summary {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 20 |     pub fn new(full_dir_path: &str) -> Summary {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn get_file_count(&mut self) -> i64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn get_dir_count(&mut self) -> i64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn get_total_size(&mut self) -> i64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `init_node`, `get_file_count`, `get_dir_count`, and `get_total_size` are never used
[INFO] [stdout]   --> src/summary/summary.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Node {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 41 |     fn new(full_dir_path: &str, parent_dir: &str) -> Node {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn init_node(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn get_file_count(&mut self) -> i64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn get_dir_count(&mut self) -> i64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     fn get_total_size(&mut self) -> i64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Dir`, `File`, and `Other` are never constructed
[INFO] [stdout]  --> src/utils/file.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum FileType {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 5 |     Dir,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 6 |     File,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 7 |     Other,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `FileType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_file_name` is never used
[INFO] [stdout]   --> src/utils/file.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn get_file_name(full_file_path: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_relative_file_path` is never used
[INFO] [stdout]   --> src/utils/file.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn get_relative_file_path(full_file_path: &str, parent_dir: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_file_size` is never used
[INFO] [stdout]   --> src/utils/file.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn get_file_size(full_file_path: &str) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_file_type` is never used
[INFO] [stdout]   --> src/utils/file.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn get_file_type(full_file_path: &str) -> FileType {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_file_md5` is never used
[INFO] [stdout]  --> src/utils/md5.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn get_file_md5(file_path: &str) -> Result<String> {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_path`
[INFO] [stdout]  --> src/compare/compare_file.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn compare_file(file_path: &str) -> Result<String, Error> {
[INFO] [stdout]   |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_file` is never used
[INFO] [stdout]  --> src/compare/compare_file.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn compare_file(file_path: &str) -> Result<String, Error> {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/summary/node_summary.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl NodeSummary {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(full_file_path: &str, parent_dir: &str) -> NodeSummary {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNINIT` is never used
[INFO] [stdout]  --> src/summary/summary.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const UNINIT: i64 = -1;
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INIT` is never used
[INFO] [stdout]  --> src/summary/summary.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const INIT: i64 = 0;
[INFO] [stdout]   |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/summary/summary.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Node {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Summary` is never constructed
[INFO] [stdout]   --> src/summary/summary.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Summary {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_file_count`, `get_dir_count`, and `get_total_size` are never used
[INFO] [stdout]   --> src/summary/summary.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Summary {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 20 |     pub fn new(full_dir_path: &str) -> Summary {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn get_file_count(&mut self) -> i64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn get_dir_count(&mut self) -> i64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn get_total_size(&mut self) -> i64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `init_node`, `get_file_count`, `get_dir_count`, and `get_total_size` are never used
[INFO] [stdout]   --> src/summary/summary.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Node {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 41 |     fn new(full_dir_path: &str, parent_dir: &str) -> Node {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn init_node(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn get_file_count(&mut self) -> i64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn get_dir_count(&mut self) -> i64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     fn get_total_size(&mut self) -> i64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s
[INFO] running `Command { std: "docker" "inspect" "e9b66c771d327407793c0acb66fa07e439792cb2defe77f1fa52f85bad0956dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9b66c771d327407793c0acb66fa07e439792cb2defe77f1fa52f85bad0956dc", kill_on_drop: false }`
[INFO] [stdout] e9b66c771d327407793c0acb66fa07e439792cb2defe77f1fa52f85bad0956dc
