[INFO] cloning repository https://github.com/Ahmadi-Houssem/iron
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ahmadi-Houssem/iron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAhmadi-Houssem%2Firon", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAhmadi-Houssem%2Firon'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a9f3f865f6a18ee0c264fadff0ae1cb672bf62d0
[INFO] checking Ahmadi-Houssem/iron against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAhmadi-Houssem%2Firon" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ahmadi-Houssem/iron
[INFO] finished tweaking git repo https://github.com/Ahmadi-Houssem/iron
[INFO] tweaked toml for git repo https://github.com/Ahmadi-Houssem/iron written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ahmadi-Houssem/iron on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ahmadi-Houssem/iron 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dirs v2.0.2
[INFO] [stderr]   Downloaded rust-argon2 v0.8.2
[INFO] [stderr]   Downloaded redox_users v0.3.5
[INFO] [stderr]   Downloaded dirs-sys v0.3.5
[INFO] [stderr]   Downloaded term v0.6.1
[INFO] [stderr]   Downloaded getrandom v0.1.14
[INFO] [stderr]   Downloaded blake2b_simd v0.5.10
[INFO] [stderr]   Downloaded libc v0.2.76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 870f201e77471572e74ed2d0a17f8936b7ebca9b6d9ceb4f1b52f765b636b2b2
[INFO] running `Command { std: "docker" "start" "870f201e77471572e74ed2d0a17f8936b7ebca9b6d9ceb4f1b52f765b636b2b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "870f201e77471572e74ed2d0a17f8936b7ebca9b6d9ceb4f1b52f765b636b2b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "870f201e77471572e74ed2d0a17f8936b7ebca9b6d9ceb4f1b52f765b636b2b2" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "870f201e77471572e74ed2d0a17f8936b7ebca9b6d9ceb4f1b52f765b636b2b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "870f201e77471572e74ed2d0a17f8936b7ebca9b6d9ceb4f1b52f765b636b2b2" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]     Checking dirs-sys v0.3.5
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking term v0.6.1
[INFO] [stderr]     Checking iron v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/lib.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::windows::prelude::*;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/lib.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::windows::prelude::*;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `file_size` found for struct `Metadata` in the current scope
[INFO] [stdout]   --> src/lib.rs:69:39
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 size = tools::round_size(metadata.file_size());
[INFO] [stdout]    |                                                   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `file_type` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 -                 size = tools::round_size(metadata.file_size());
[INFO] [stdout] 69 +                 size = tools::round_size(metadata.file_type());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `last_write_time` found for struct `Metadata` in the current scope
[INFO] [stdout]   --> src/lib.rs:75:27
[INFO] [stdout]    |
[INFO] [stdout] 75 |             let seconds = metadata.last_write_time()/10000000;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `st_atime` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 -             let seconds = metadata.last_write_time()/10000000;
[INFO] [stdout] 75 +             let seconds = metadata.st_atime()/10000000;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `file_size` found for struct `Metadata` in the current scope
[INFO] [stdout]   --> src/lib.rs:69:39
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 size = tools::round_size(metadata.file_size());
[INFO] [stdout]    |                                                   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `file_type` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 -                 size = tools::round_size(metadata.file_size());
[INFO] [stdout] 69 +                 size = tools::round_size(metadata.file_type());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `file_size` found for struct `Metadata` in the current scope
[INFO] [stdout]    --> src/lib.rs:224:39
[INFO] [stdout]     |
[INFO] [stdout] 224 |                 size = tools::round_size(metadata.file_size());
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `file_type` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 224 -                 size = tools::round_size(metadata.file_size());
[INFO] [stdout] 224 +                 size = tools::round_size(metadata.file_type());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `last_write_time` found for struct `Metadata` in the current scope
[INFO] [stdout]   --> src/lib.rs:75:27
[INFO] [stdout]    |
[INFO] [stdout] 75 |             let seconds = metadata.last_write_time()/10000000;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `st_atime` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 -             let seconds = metadata.last_write_time()/10000000;
[INFO] [stdout] 75 +             let seconds = metadata.st_atime()/10000000;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `last_write_time` found for struct `Metadata` in the current scope
[INFO] [stdout]    --> src/lib.rs:230:27
[INFO] [stdout]     |
[INFO] [stdout] 230 |             let seconds = metadata.last_write_time()/10000000;
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `st_atime` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 230 -             let seconds = metadata.last_write_time()/10000000;
[INFO] [stdout] 230 +             let seconds = metadata.st_atime()/10000000;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `file_size` found for struct `Metadata` in the current scope
[INFO] [stdout]    --> src/lib.rs:224:39
[INFO] [stdout]     |
[INFO] [stdout] 224 |                 size = tools::round_size(metadata.file_size());
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `file_type` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 224 -                 size = tools::round_size(metadata.file_size());
[INFO] [stdout] 224 +                 size = tools::round_size(metadata.file_type());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `unit` is never read
[INFO] [stdout]   --> src/tools.rs:2:17
[INFO] [stdout]    |
[INFO] [stdout]  2 |     let mut unit = String::new();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 36 |         unit = String::from("extra");
[INFO] [stdout]    |         ---- `unit` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/lib.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Err(e) => {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `last_write_time` found for struct `Metadata` in the current scope
[INFO] [stdout]    --> src/lib.rs:230:27
[INFO] [stdout]     |
[INFO] [stdout] 230 |             let seconds = metadata.last_write_time()/10000000;
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `st_atime` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 230 -             let seconds = metadata.last_write_time()/10000000;
[INFO] [stdout] 230 +             let seconds = metadata.st_atime()/10000000;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:94:6
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut last_modified_max = 13;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `iron` (lib) due to 5 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: value assigned to `unit` is never read
[INFO] [stdout]   --> src/tools.rs:2:17
[INFO] [stdout]    |
[INFO] [stdout]  2 |     let mut unit = String::new();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 36 |         unit = String::from("extra");
[INFO] [stdout]    |         ---- `unit` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/lib.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Err(e) => {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:94:6
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut last_modified_max = 13;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `iron` (lib test) due to 5 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "870f201e77471572e74ed2d0a17f8936b7ebca9b6d9ceb4f1b52f765b636b2b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "870f201e77471572e74ed2d0a17f8936b7ebca9b6d9ceb4f1b52f765b636b2b2", kill_on_drop: false }`
[INFO] [stdout] 870f201e77471572e74ed2d0a17f8936b7ebca9b6d9ceb4f1b52f765b636b2b2
