[INFO] fetching crate tiff 0.9.0... [INFO] checking tiff-0.9.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate tiff 0.9.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate tiff 0.9.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tiff 0.9.0 [INFO] finished tweaking crates.io crate tiff 0.9.0 [INFO] tweaked toml for crates.io crate tiff 0.9.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 67 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding criterion v0.3.6 (latest: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (latest: v0.5.0) [INFO] [stderr] Adding half v1.8.3 (latest: v2.4.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded weezl v0.1.8 [INFO] [stderr] Downloaded jpeg-decoder v0.3.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1962e8bea89dc523c1e10dbe415db6b8ae13f640c4da737d4957cfe4a2b3670 [INFO] running `Command { std: "docker" "start" "-a" "d1962e8bea89dc523c1e10dbe415db6b8ae13f640c4da737d4957cfe4a2b3670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1962e8bea89dc523c1e10dbe415db6b8ae13f640c4da737d4957cfe4a2b3670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1962e8bea89dc523c1e10dbe415db6b8ae13f640c4da737d4957cfe4a2b3670", kill_on_drop: false }` [INFO] [stdout] d1962e8bea89dc523c1e10dbe415db6b8ae13f640c4da737d4957cfe4a2b3670 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d44857c354302805b2c8cbd9969c8295122991b2564c1c1c01839666e6f73c1e [INFO] running `Command { std: "docker" "start" "-a" "d44857c354302805b2c8cbd9969c8295122991b2564c1c1c01839666e6f73c1e", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking tiff v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `CompressionMethod` is imported redundantly [INFO] [stdout] --> src/encoder/compression/deflate.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `CompressionMethod` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/encoder/compression/deflate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- the item `Write` is already imported here [INFO] [stdout] 2 | use flate2::{write::ZlibEncoder, Compression as FlateCompression}; [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompressionMethod` is imported redundantly [INFO] [stdout] --> src/encoder/compression/lzw.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `CompressionMethod` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/encoder/compression/lzw.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- the item `Write` is already imported here [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompressionMethod` is imported redundantly [INFO] [stdout] --> src/encoder/compression/packbits.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `CompressionMethod` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/encoder/compression/packbits.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- the item `Write` is already imported here [INFO] [stdout] 2 | use std::io::{BufWriter, Error, ErrorKind, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompressionMethod` is imported redundantly [INFO] [stdout] --> src/encoder/compression/uncompressed.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `CompressionMethod` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/encoder/compression/uncompressed.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- the item `Write` is already imported here [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.4 [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/tests/images/issue_69_lzw.tiff`: No such file or directory (os error 2) [INFO] [stdout] --> benches/lzw.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | include_bytes!(concat!(env!("CARGO_MANIFEST_DIR"), $name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | data: data_file!("/tests/images/issue_69_lzw.tiff"), [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `data_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tiff` (bench "lzw") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `CompressionMethod` is imported redundantly [INFO] [stdout] --> src/encoder/compression/deflate.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `CompressionMethod` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/encoder/compression/deflate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- the item `Write` is already imported here [INFO] [stdout] 2 | use flate2::{write::ZlibEncoder, Compression as FlateCompression}; [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompressionMethod` is imported redundantly [INFO] [stdout] --> src/encoder/compression/lzw.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `CompressionMethod` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/encoder/compression/lzw.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- the item `Write` is already imported here [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompressionMethod` is imported redundantly [INFO] [stdout] --> src/encoder/compression/packbits.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `CompressionMethod` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/encoder/compression/packbits.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- the item `Write` is already imported here [INFO] [stdout] 2 | use std::io::{BufWriter, Error, ErrorKind, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompressionMethod` is imported redundantly [INFO] [stdout] --> src/encoder/compression/uncompressed.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `CompressionMethod` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/encoder/compression/uncompressed.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{encoder::compression::*, tags::CompressionMethod}; [INFO] [stdout] | ----------------------- the item `Write` is already imported here [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d44857c354302805b2c8cbd9969c8295122991b2564c1c1c01839666e6f73c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d44857c354302805b2c8cbd9969c8295122991b2564c1c1c01839666e6f73c1e", kill_on_drop: false }` [INFO] [stdout] d44857c354302805b2c8cbd9969c8295122991b2564c1c1c01839666e6f73c1e