[INFO] cloning repository https://github.com/hsqlu/imagextractor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hsqlu/imagextractor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsqlu%2Fimagextractor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsqlu%2Fimagextractor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9afdcadc9e2153a730b34fbd1e92dbb41dea13ff [INFO] checking hsqlu/imagextractor against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsqlu%2Fimagextractor" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hsqlu/imagextractor on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hsqlu/imagextractor [INFO] finished tweaking git repo https://github.com/hsqlu/imagextractor [INFO] tweaked toml for git repo https://github.com/hsqlu/imagextractor written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hsqlu/imagextractor 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mutate_once v0.1.1 [INFO] [stderr] Downloaded kamadak-exif v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a415145919ec84ebb595443fd2018c3a01c8b1752a20897dc0dc5abbe9fab4fd [INFO] running `Command { std: "docker" "start" "-a" "a415145919ec84ebb595443fd2018c3a01c8b1752a20897dc0dc5abbe9fab4fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a415145919ec84ebb595443fd2018c3a01c8b1752a20897dc0dc5abbe9fab4fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a415145919ec84ebb595443fd2018c3a01c8b1752a20897dc0dc5abbe9fab4fd", kill_on_drop: false }` [INFO] [stdout] a415145919ec84ebb595443fd2018c3a01c8b1752a20897dc0dc5abbe9fab4fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2192977983e46bc588706ea67cd7ce3c62d0b86822e1de49f2b514e4ebc25cfc [INFO] running `Command { std: "docker" "start" "-a" "2192977983e46bc588706ea67cd7ce3c62d0b86822e1de49f2b514e4ebc25cfc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking mutate_once v0.1.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking kamadak-exif v0.5.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking imagextractor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os` [INFO] [stdout] --> src/extractor.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::macos::fs::MetadataExt; [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:134:9 [INFO] [stdout] = note: the item is gated behind the `macos` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os` [INFO] [stdout] --> src/extractor.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::macos::fs::MetadataExt; [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:134:9 [INFO] [stdout] = note: the item is gated behind the `macos` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_size` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/extractor.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | image_info.size = metadata.st_size(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/linux/fs.rs:183:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_size` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `size` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 | image_info.size = metadata.size(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_size` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/extractor.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | image_info.size = metadata.st_size(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/linux/fs.rs:183:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_size` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `size` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 | image_info.size = metadata.size(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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] error: aborting due to 2 previous errors [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 `imagextractor` (bin "imagextractor") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `imagextractor` (bin "imagextractor" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "2192977983e46bc588706ea67cd7ce3c62d0b86822e1de49f2b514e4ebc25cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2192977983e46bc588706ea67cd7ce3c62d0b86822e1de49f2b514e4ebc25cfc", kill_on_drop: false }` [INFO] [stdout] 2192977983e46bc588706ea67cd7ce3c62d0b86822e1de49f2b514e4ebc25cfc [INFO] checking hsqlu/imagextractor against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsqlu%2Fimagextractor" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hsqlu/imagextractor on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hsqlu/imagextractor [INFO] finished tweaking git repo https://github.com/hsqlu/imagextractor [INFO] tweaked toml for git repo https://github.com/hsqlu/imagextractor written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hsqlu/imagextractor 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d09023541f2904a6ffb2289aec8940955e226be0ee3ab68907a27f56e702febc [INFO] running `Command { std: "docker" "start" "-a" "d09023541f2904a6ffb2289aec8940955e226be0ee3ab68907a27f56e702febc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d09023541f2904a6ffb2289aec8940955e226be0ee3ab68907a27f56e702febc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d09023541f2904a6ffb2289aec8940955e226be0ee3ab68907a27f56e702febc", kill_on_drop: false }` [INFO] [stdout] d09023541f2904a6ffb2289aec8940955e226be0ee3ab68907a27f56e702febc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 641f10bd1164fb9d8f0901f681f9b3dc26df2d5e218ab076b5a7068d232d7c4a [INFO] running `Command { std: "docker" "start" "-a" "641f10bd1164fb9d8f0901f681f9b3dc26df2d5e218ab076b5a7068d232d7c4a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "641f10bd1164fb9d8f0901f681f9b3dc26df2d5e218ab076b5a7068d232d7c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "641f10bd1164fb9d8f0901f681f9b3dc26df2d5e218ab076b5a7068d232d7c4a", kill_on_drop: false }` [INFO] [stdout] 641f10bd1164fb9d8f0901f681f9b3dc26df2d5e218ab076b5a7068d232d7c4a