[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] testing hsqlu/imagextractor against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsqlu%2Fimagextractor" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hsqlu/imagextractor on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-7/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: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e37ad4193872a41f317748102f71dd0f33d07c7292519435f6bb29a600db9fec [INFO] running `Command { std: "docker" "start" "-a" "e37ad4193872a41f317748102f71dd0f33d07c7292519435f6bb29a600db9fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e37ad4193872a41f317748102f71dd0f33d07c7292519435f6bb29a600db9fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e37ad4193872a41f317748102f71dd0f33d07c7292519435f6bb29a600db9fec", kill_on_drop: false }` [INFO] [stdout] e37ad4193872a41f317748102f71dd0f33d07c7292519435f6bb29a600db9fec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f3a9545da9f6d2cd003443467c2251685d1c6e04f023ba2be7e534d84abb4df [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8f3a9545da9f6d2cd003443467c2251685d1c6e04f023ba2be7e534d84abb4df", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling mutate_once v0.1.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling kamadak-exif v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling 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] [INFO] [stdout] warning: unused import: `self::test::Bencher` [INFO] [stdout] --> src/benches/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::extractor` [INFO] [stdout] --> src/benches/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::extractor; [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] | ^^^^^^^ method not found in `Metadata` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [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` due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8f3a9545da9f6d2cd003443467c2251685d1c6e04f023ba2be7e534d84abb4df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f3a9545da9f6d2cd003443467c2251685d1c6e04f023ba2be7e534d84abb4df", kill_on_drop: false }` [INFO] [stdout] 8f3a9545da9f6d2cd003443467c2251685d1c6e04f023ba2be7e534d84abb4df