[INFO] cloning repository https://github.com/mnemosushi/pngreader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mnemosushi/pngreader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnemosushi%2Fpngreader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnemosushi%2Fpngreader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1eb70d341cfba9056430677a371d1f68a7503057 [INFO] checking mnemosushi/pngreader against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnemosushi%2Fpngreader" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mnemosushi/pngreader [INFO] finished tweaking git repo https://github.com/mnemosushi/pngreader [INFO] tweaked toml for git repo https://github.com/mnemosushi/pngreader written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mnemosushi/pngreader on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mnemosushi/pngreader 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" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking mnemosushi/pngreader against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnemosushi%2Fpngreader" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mnemosushi/pngreader [INFO] finished tweaking git repo https://github.com/mnemosushi/pngreader [INFO] tweaked toml for git repo https://github.com/mnemosushi/pngreader written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mnemosushi/pngreader on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mnemosushi/pngreader 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" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded packed_struct_codegen v0.10.1 [INFO] [stderr] Downloaded packed_struct v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d6daaca155260ab39750d6853c143318af0d2d633c4263dd477282ac7c7190b [INFO] running `Command { std: "docker" "start" "-a" "1d6daaca155260ab39750d6853c143318af0d2d633c4263dd477282ac7c7190b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d6daaca155260ab39750d6853c143318af0d2d633c4263dd477282ac7c7190b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d6daaca155260ab39750d6853c143318af0d2d633c4263dd477282ac7c7190b", kill_on_drop: false }` [INFO] [stdout] 1d6daaca155260ab39750d6853c143318af0d2d633c4263dd477282ac7c7190b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca75209ccfda4634dc4f45b930bd27fca48dd16d4a990e3615daab61213a5734 [INFO] running `Command { std: "docker" "start" "-a" "ca75209ccfda4634dc4f45b930bd27fca48dd16d4a990e3615daab61213a5734", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling packed_struct v0.10.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling packed_struct_codegen v0.10.1 [INFO] [stderr] Checking pngreader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/chunk/result.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | .filter(|chunk| (chunk.chunk_type == *PNG_CHUNK_IDAT && chunk.chunk_payload.is_some())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - .filter(|chunk| (chunk.chunk_type == *PNG_CHUNK_IDAT && chunk.chunk_payload.is_some())) [INFO] [stdout] 41 + .filter(|chunk| chunk.chunk_type == *PNG_CHUNK_IDAT && chunk.chunk_payload.is_some() ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/chunk/result.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | .filter(|chunk| (chunk.chunk_type == *PNG_CHUNK_IDAT && chunk.chunk_payload.is_some())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - .filter(|chunk| (chunk.chunk_type == *PNG_CHUNK_IDAT && chunk.chunk_payload.is_some())) [INFO] [stdout] 41 + .filter(|chunk| chunk.chunk_type == *PNG_CHUNK_IDAT && chunk.chunk_payload.is_some() ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunk/iterator.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 20 | ) -> Filter<&'a mut PngChunkIterator, fn(&PngChunk) -> bool> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | ) -> Filter<&'a mut PngChunkIterator<'_, R>, fn(&PngChunk) -> bool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reader.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iter_chunks(&mut self) -> PngChunkIterator { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iter_chunks(&mut self) -> PngChunkIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunk/iterator.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 20 | ) -> Filter<&'a mut PngChunkIterator, fn(&PngChunk) -> bool> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | ) -> Filter<&'a mut PngChunkIterator<'_, R>, fn(&PngChunk) -> bool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reader.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iter_chunks(&mut self) -> PngChunkIterator { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iter_chunks(&mut self) -> PngChunkIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/create_file.rs:85:55 [INFO] [stdout] | [INFO] [stdout] 85 | previous_filtered_scanline = Some(scanline_unfiltered); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] help: the type constructed contains `Vec` due to the type of the argument passed [INFO] [stdout] --> examples/create_file.rs:85:50 [INFO] [stdout] | [INFO] [stdout] 85 | previous_filtered_scanline = Some(scanline_unfiltered); [INFO] [stdout] | ^^^^^-------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/863511eff87e66198b396935f3b5c8a543022f53/library/core/src/option.rs:602:5 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 85 | previous_filtered_scanline = Some(&scanline_unfiltered); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pngreader` (example "create_file") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ca75209ccfda4634dc4f45b930bd27fca48dd16d4a990e3615daab61213a5734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca75209ccfda4634dc4f45b930bd27fca48dd16d4a990e3615daab61213a5734", kill_on_drop: false }` [INFO] [stdout] ca75209ccfda4634dc4f45b930bd27fca48dd16d4a990e3615daab61213a5734