[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#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flethuzulu%2Frust-compression-tool" "/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/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lethuzulu/rust-compression-tool on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.122 [INFO] [stderr] Downloaded syn v2.0.72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98c08114dd74facf1bd916bac98f5ec2f01bbf7637844a24e3f4641bf76c05bf [INFO] running `Command { std: "docker" "start" "-a" "98c08114dd74facf1bd916bac98f5ec2f01bbf7637844a24e3f4641bf76c05bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98c08114dd74facf1bd916bac98f5ec2f01bbf7637844a24e3f4641bf76c05bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98c08114dd74facf1bd916bac98f5ec2f01bbf7637844a24e3f4641bf76c05bf", kill_on_drop: false }` [INFO] [stdout] 98c08114dd74facf1bd916bac98f5ec2f01bbf7637844a24e3f4641bf76c05bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 514a3d75c0c247098ed42e37223da6b2f107ac526f40daaa43cd21d8fd22eb56 [INFO] running `Command { std: "docker" "start" "-a" "514a3d75c0c247098ed42e37223da6b2f107ac526f40daaa43cd21d8fd22eb56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [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 serde 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]: cannot 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/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/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/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/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: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] running `Command { std: "docker" "inspect" "514a3d75c0c247098ed42e37223da6b2f107ac526f40daaa43cd21d8fd22eb56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "514a3d75c0c247098ed42e37223da6b2f107ac526f40daaa43cd21d8fd22eb56", kill_on_drop: false }` [INFO] [stdout] 514a3d75c0c247098ed42e37223da6b2f107ac526f40daaa43cd21d8fd22eb56