[INFO] cloning repository https://github.com/tovicheung/declutter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tovicheung/declutter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftovicheung%2Fdeclutter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftovicheung%2Fdeclutter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 863943641acf0b1d4730f747d88e4ded9dcc6754
[INFO] checking tovicheung/declutter against try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftovicheung%2Fdeclutter" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tovicheung/declutter
[INFO] finished tweaking git repo https://github.com/tovicheung/declutter
[INFO] tweaked toml for git repo https://github.com/tovicheung/declutter written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tovicheung/declutter on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tovicheung/declutter 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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "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 parse-size v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 244e938d8672167fa4ac150cc1a390dd0f3659b042c053ac347048e6e959f463
[INFO] running `Command { std: "docker" "start" "-a" "244e938d8672167fa4ac150cc1a390dd0f3659b042c053ac347048e6e959f463", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "244e938d8672167fa4ac150cc1a390dd0f3659b042c053ac347048e6e959f463", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "244e938d8672167fa4ac150cc1a390dd0f3659b042c053ac347048e6e959f463", kill_on_drop: false }`
[INFO] [stdout] 244e938d8672167fa4ac150cc1a390dd0f3659b042c053ac347048e6e959f463
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b7db541a29a461a98e49b055bc80583a84c9df6719e47f67131f862f91c59291
[INFO] running `Command { std: "docker" "start" "-a" "b7db541a29a461a98e49b055bc80583a84c9df6719e47f67131f862f91c59291", kill_on_drop: false }`
[INFO] [stderr]     Checking parse-size v1.0.0
[INFO] [stderr]     Checking declutter v0.1.7 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/lib.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ffi::OsStr, fs::DirEntry, os::windows::fs::MetadataExt, path::PathBuf};
[INFO] [stdout]   |                                         ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3857be5045fe74bd0f296f6f4c23db10f8857f73/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3857be5045fe74bd0f296f6f4c23db10f8857f73/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/lib.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ffi::OsStr, fs::DirEntry, os::windows::fs::MetadataExt, path::PathBuf};
[INFO] [stdout]   |                                         ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3857be5045fe74bd0f296f6f4c23db10f8857f73/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3857be5045fe74bd0f296f6f4c23db10f8857f73/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[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:54:54
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Rule::MinSize(size) => *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] 54 -             Rule::MinSize(size) => *size <= metadata.file_size(),
[INFO] [stdout] 54 +             Rule::MinSize(size) => *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:54:54
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Rule::MinSize(size) => *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] 54 -             Rule::MinSize(size) => *size <= metadata.file_size(),
[INFO] [stdout] 54 +             Rule::MinSize(size) => *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:55:45
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Rule::MaxSize(size) => metadata.file_size() <= *size,
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `file_type` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 55 -             Rule::MaxSize(size) => metadata.file_size() <= *size,
[INFO] [stdout] 55 +             Rule::MaxSize(size) => metadata.file_type() <= *size,
[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:55:45
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Rule::MaxSize(size) => metadata.file_size() <= *size,
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `file_type` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 55 -             Rule::MaxSize(size) => metadata.file_size() <= *size,
[INFO] [stdout] 55 +             Rule::MaxSize(size) => metadata.file_type() <= *size,
[INFO] [stdout]    |
[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] [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 `declutter` (lib) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `declutter` (lib test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "b7db541a29a461a98e49b055bc80583a84c9df6719e47f67131f862f91c59291", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7db541a29a461a98e49b055bc80583a84c9df6719e47f67131f862f91c59291", kill_on_drop: false }`
[INFO] [stdout] b7db541a29a461a98e49b055bc80583a84c9df6719e47f67131f862f91c59291
