[INFO] cloning repository https://github.com/lethuzulu/rust-compression-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lethuzulu/rust-compression-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flethuzulu%2Frust-compression-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flethuzulu%2Frust-compression-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a6827af8c11413278f7dca411ba724c14861f5b [INFO] testing lethuzulu/rust-compression-tool against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flethuzulu%2Frust-compression-tool" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lethuzulu/rust-compression-tool [INFO] finished tweaking git repo https://github.com/lethuzulu/rust-compression-tool [INFO] tweaked toml for git repo https://github.com/lethuzulu/rust-compression-tool written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lethuzulu/rust-compression-tool on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lethuzulu/rust-compression-tool 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 076a5c086dc4a0b336a4c5c57433afe84b1a80cd312b1fbd46690cc900facaea [INFO] running `Command { std: "docker" "start" "-a" "076a5c086dc4a0b336a4c5c57433afe84b1a80cd312b1fbd46690cc900facaea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "076a5c086dc4a0b336a4c5c57433afe84b1a80cd312b1fbd46690cc900facaea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076a5c086dc4a0b336a4c5c57433afe84b1a80cd312b1fbd46690cc900facaea", kill_on_drop: false }` [INFO] [stdout] 076a5c086dc4a0b336a4c5c57433afe84b1a80cd312b1fbd46690cc900facaea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8748f54d92cd9c3281b76e72a5fd1a7f2445600e49995e250728f9cb540d64f8 [INFO] running `Command { std: "docker" "start" "-a" "8748f54d92cd9c3281b76e72a5fd1a7f2445600e49995e250728f9cb540d64f8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling rust-compression-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | 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/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/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/lib.rs:300:37 [INFO] [stdout] | [INFO] [stdout] 300 | let input_size = input_metadata.file_size(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `file_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 300 - let input_size = input_metadata.file_size(); [INFO] [stdout] 300 + let input_size = input_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:305:39 [INFO] [stdout] | [INFO] [stdout] 305 | let output_size = output_metadata.file_size(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `file_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 305 - let output_size = output_metadata.file_size(); [INFO] [stdout] 305 + let output_size = output_metadata.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 `rust-compression-tool` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8748f54d92cd9c3281b76e72a5fd1a7f2445600e49995e250728f9cb540d64f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8748f54d92cd9c3281b76e72a5fd1a7f2445600e49995e250728f9cb540d64f8", kill_on_drop: false }` [INFO] [stdout] 8748f54d92cd9c3281b76e72a5fd1a7f2445600e49995e250728f9cb540d64f8