[INFO] cloning repository https://github.com/onlyxuyang/VarCleaner
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/onlyxuyang/VarCleaner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonlyxuyang%2FVarCleaner", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonlyxuyang%2FVarCleaner'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6bc50fad81e5bca7c8e3057bfcb81c4c4436e11f
[INFO] checking onlyxuyang/VarCleaner against c397dae808f70caebab1fc4e11b3edf7e59f58c7 for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonlyxuyang%2FVarCleaner" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/onlyxuyang/VarCleaner
[INFO] finished tweaking git repo https://github.com/onlyxuyang/VarCleaner
[INFO] tweaked toml for git repo https://github.com/onlyxuyang/VarCleaner written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/onlyxuyang/VarCleaner on toolchain c397dae808f70caebab1fc4e11b3edf7e59f58c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/onlyxuyang/VarCleaner 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" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pkg-config v0.3.31
[INFO] [stderr]   Downloaded simd-adler32 v0.3.7
[INFO] [stderr]   Downloaded inout v0.1.3
[INFO] [stderr]   Downloaded lockfree-object-pool v0.1.6
[INFO] [stderr]   Downloaded deflate64 v0.1.9
[INFO] [stderr]   Downloaded derive_arbitrary v1.3.2
[INFO] [stderr]   Downloaded scoped_threadpool v0.1.9
[INFO] [stderr]   Downloaded threadpool v1.8.1
[INFO] [stderr]   Downloaded thiserror-impl v1.0.64
[INFO] [stderr]   Downloaded thiserror v1.0.64
[INFO] [stderr]   Downloaded redox_syscall v0.2.16
[INFO] [stderr]   Downloaded parking_lot_core v0.8.6
[INFO] [stderr]   Downloaded lzma-rs v0.3.0
[INFO] [stderr]   Downloaded arbitrary v1.3.2
[INFO] [stderr]   Downloaded parking_lot v0.11.2
[INFO] [stderr]   Downloaded glob v0.3.1
[INFO] [stderr]   Downloaded zip v2.2.0
[INFO] [stderr]   Downloaded zopfli v0.8.1
[INFO] [stderr]   Downloaded cc v1.1.22
[INFO] [stderr]   Downloaded flate2 v1.0.34
[INFO] [stderr]   Downloaded syn v2.0.79
[INFO] [stderr]   Downloaded libc v0.2.159
[INFO] [stderr]   Downloaded zip-extensions v0.8.1
[INFO] [stderr]   Downloaded threadpool_scope v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2cf335b191923164bc0debda8f1800be0e857bcad6a6e4b8793a7790cf44cbf0
[INFO] running `Command { std: "docker" "start" "2cf335b191923164bc0debda8f1800be0e857bcad6a6e4b8793a7790cf44cbf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2cf335b191923164bc0debda8f1800be0e857bcad6a6e4b8793a7790cf44cbf0", 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" "2cf335b191923164bc0debda8f1800be0e857bcad6a6e4b8793a7790cf44cbf0" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2cf335b191923164bc0debda8f1800be0e857bcad6a6e4b8793a7790cf44cbf0", 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" "2cf335b191923164bc0debda8f1800be0e857bcad6a6e4b8793a7790cf44cbf0" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking cpufeatures v0.2.14
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking bumpalo v3.16.0
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling zip v2.2.0
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking lockfree-object-pool v0.1.6
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking lzma-rs v0.3.0
[INFO] [stderr]     Checking constant_time_eq v0.3.1
[INFO] [stderr]     Checking deflate64 v0.1.9
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling anyhow v1.0.89
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking zopfli v0.8.1
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking path-slash v0.2.1
[INFO] [stderr]     Checking glob v0.3.1
[INFO] [stderr]     Checking flate2 v1.0.34
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking indexmap v2.5.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling cc v1.1.22
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]     Checking bzip2 v0.4.4
[INFO] [stderr]     Checking threadpool_scope v0.1.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking zstd v0.13.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking zip-extensions v0.8.1
[INFO] [stderr]     Checking VarCleaner v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::os::windows::fs::MetadataExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | use winapi::um::winuser::{MessageBoxW, MB_OK, MB_SYSTEMMODAL};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::os::windows::fs::MetadataExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | use winapi::um::winuser::{MessageBoxW, MB_OK, MB_SYSTEMMODAL};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | /     OsStr::new(s)
[INFO] [stdout] 31 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]    | |_________|
[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/main.rs:173:69
[INFO] [stdout]     |
[INFO] [stdout] 173 |                         (path.clone(), fs::metadata(&path).unwrap().file_size()),
[INFO] [stdout]     |                                                                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `file_type` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 173 -                         (path.clone(), fs::metadata(&path).unwrap().file_size()),
[INFO] [stdout] 173 +                         (path.clone(), fs::metadata(&path).unwrap().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/main.rs:176:61
[INFO] [stdout]     |
[INFO] [stdout] 176 |                     let size = fs::metadata(&path).unwrap().file_size();
[INFO] [stdout]     |                                                             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `file_type` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 176 -                     let size = fs::metadata(&path).unwrap().file_size();
[INFO] [stdout] 176 +                     let size = fs::metadata(&path).unwrap().file_type();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | /     OsStr::new(s)
[INFO] [stdout] 31 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]    | |_________|
[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] [stderr] error: could not compile `VarCleaner` (bin "VarCleaner") due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `file_size` found for struct `Metadata` in the current scope
[INFO] [stdout]    --> src/main.rs:173:69
[INFO] [stdout]     |
[INFO] [stdout] 173 |                         (path.clone(), fs::metadata(&path).unwrap().file_size()),
[INFO] [stdout]     |                                                                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `file_type` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 173 -                         (path.clone(), fs::metadata(&path).unwrap().file_size()),
[INFO] [stdout] 173 +                         (path.clone(), fs::metadata(&path).unwrap().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/main.rs:176:61
[INFO] [stdout]     |
[INFO] [stdout] 176 |                     let size = fs::metadata(&path).unwrap().file_size();
[INFO] [stdout]     |                                                             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `file_type` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 176 -                     let size = fs::metadata(&path).unwrap().file_size();
[INFO] [stdout] 176 +                     let size = fs::metadata(&path).unwrap().file_type();
[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] [stderr] error: could not compile `VarCleaner` (bin "VarCleaner" test) due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "2cf335b191923164bc0debda8f1800be0e857bcad6a6e4b8793a7790cf44cbf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cf335b191923164bc0debda8f1800be0e857bcad6a6e4b8793a7790cf44cbf0", kill_on_drop: false }`
[INFO] [stdout] 2cf335b191923164bc0debda8f1800be0e857bcad6a6e4b8793a7790cf44cbf0
