[INFO] cloning repository https://github.com/Lartimes/rust_file_simple_pack_up [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lartimes/rust_file_simple_pack_up" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLartimes%2Frust_file_simple_pack_up", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLartimes%2Frust_file_simple_pack_up'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 516c67f7582e41984ea8095477d7cd168fe64384 [INFO] checking Lartimes/rust_file_simple_pack_up against try#d534db0721b23cf977073bf4cd306dbf501e6b4d for pr-138499 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLartimes%2Frust_file_simple_pack_up" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lartimes/rust_file_simple_pack_up on toolchain d534db0721b23cf977073bf4cd306dbf501e6b4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lartimes/rust_file_simple_pack_up [INFO] finished tweaking git repo https://github.com/Lartimes/rust_file_simple_pack_up [INFO] tweaked toml for git repo https://github.com/Lartimes/rust_file_simple_pack_up written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lartimes/rust_file_simple_pack_up 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" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "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 tar v0.4.40 [INFO] [stderr] Downloaded xattr v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bdf45a7bd5148d34fbc6665929bc84c61196e325398969a889c75b957c46d7b [INFO] running `Command { std: "docker" "start" "-a" "5bdf45a7bd5148d34fbc6665929bc84c61196e325398969a889c75b957c46d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bdf45a7bd5148d34fbc6665929bc84c61196e325398969a889c75b957c46d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bdf45a7bd5148d34fbc6665929bc84c61196e325398969a889c75b957c46d7b", kill_on_drop: false }` [INFO] [stdout] 5bdf45a7bd5148d34fbc6665929bc84c61196e325398969a889c75b957c46d7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d4d1c5536d07161de04384a957b89c7d632042441a3083a51b5ff60ce648d2d [INFO] running `Command { std: "docker" "start" "-a" "4d4d1c5536d07161de04384a957b89c7d632042441a3083a51b5ff60ce648d2d", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking xattr v1.2.0 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Checking FileSystem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::windows::fs::MetadataExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d534db0721b23cf977073bf4cd306dbf501e6b4d/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/d534db0721b23cf977073bf4cd306dbf501e6b4d/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d534db0721b23cf977073bf4cd306dbf501e6b4d/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/d534db0721b23cf977073bf4cd306dbf501e6b4d/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::windows::fs::MetadataExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d534db0721b23cf977073bf4cd306dbf501e6b4d/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/d534db0721b23cf977073bf4cd306dbf501e6b4d/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d534db0721b23cf977073bf4cd306dbf501e6b4d/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/d534db0721b23cf977073bf4cd306dbf501e6b4d/library/std/src/os/mod.rs:120:1 [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:128:59 [INFO] [stdout] | [INFO] [stdout] 128 | ... let bytes = Float::floor(meta.file_size() as f64 / 1024f64) as i32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `file_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 128 - let bytes = Float::floor(meta.file_size() as f64 / 1024f64) as i32; [INFO] [stdout] 128 + let bytes = Float::floor(meta.file_type() as f64 / 1024f64) as i32; [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:128:59 [INFO] [stdout] | [INFO] [stdout] 128 | ... let bytes = Float::floor(meta.file_size() as f64 / 1024f64) as i32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `file_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 128 - let bytes = Float::floor(meta.file_size() as f64 / 1024f64) as i32; [INFO] [stdout] 128 + let bytes = Float::floor(meta.file_type() as f64 / 1024f64) as i32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | let output = Command::new("cmd") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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 `FileSystem` (bin "FileSystem" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | let output = Command::new("cmd") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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 `FileSystem` (bin "FileSystem") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4d4d1c5536d07161de04384a957b89c7d632042441a3083a51b5ff60ce648d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d4d1c5536d07161de04384a957b89c7d632042441a3083a51b5ff60ce648d2d", kill_on_drop: false }` [INFO] [stdout] 4d4d1c5536d07161de04384a957b89c7d632042441a3083a51b5ff60ce648d2d