[INFO] cloning repository https://github.com/tsujin/png-secret [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tsujin/png-secret" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsujin%2Fpng-secret", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsujin%2Fpng-secret'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c229bed20c471302a208b7ddc145184fcaeca06 [INFO] checking tsujin/png-secret against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsujin%2Fpng-secret" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tsujin/png-secret on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tsujin/png-secret [INFO] finished tweaking git repo https://github.com/tsujin/png-secret [INFO] tweaked toml for git repo https://github.com/tsujin/png-secret written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tsujin/png-secret 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking tsujin/png-secret against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsujin%2Fpng-secret" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tsujin/png-secret on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tsujin/png-secret [INFO] finished tweaking git repo https://github.com/tsujin/png-secret [INFO] tweaked toml for git repo https://github.com/tsujin/png-secret written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tsujin/png-secret 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" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92c68698baa81cdbed15e84fa81c02a57f4142c18e10e5cef06e4c8d52356e2f [INFO] running `Command { std: "docker" "start" "-a" "92c68698baa81cdbed15e84fa81c02a57f4142c18e10e5cef06e4c8d52356e2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92c68698baa81cdbed15e84fa81c02a57f4142c18e10e5cef06e4c8d52356e2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92c68698baa81cdbed15e84fa81c02a57f4142c18e10e5cef06e4c8d52356e2f", kill_on_drop: false }` [INFO] [stdout] 92c68698baa81cdbed15e84fa81c02a57f4142c18e10e5cef06e4c8d52356e2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da462c0c365b27e56a2c94538d9005e65f3939210506f65fa8d4685f374e8f12 [INFO] running `Command { std: "docker" "start" "-a" "da462c0c365b27e56a2c94538d9005e65f3939210506f65fa8d4685f374e8f12", kill_on_drop: false }` [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Checking crc v2.1.0 [INFO] [stderr] Checking png-secret v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::chunk_type::ChunkType` [INFO] [stdout] --> src/chunk.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::chunk_type::ChunkType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/chunk.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/chunk_type.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/80d5fe37e16a0befb4128414cb6a11d544788c0a/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/chunk_type.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 96 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] 97 | use std::convert::TryFrom; [INFO] [stdout] 98 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/chunk.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | fn try_from(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk_length`, `chunk_type`, `chunk_data`, and `chunk_crc` are never read [INFO] [stdout] --> src/chunk.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Chunk { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | chunk_length: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | chunk_type: ChunkType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | chunk_data: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | chunk_crc: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bytes`, `is_valid`, `is_safe_to_copy`, `is_public`, `is_critical`, and `is_reserved_bit_valid` are never used [INFO] [stdout] --> src/chunk_type.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl ChunkType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 60 | fn bytes(&self) -> [u8; 4] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length` found for struct `chunk::Chunk` in the current scope [INFO] [stdout] --> src/chunk.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 4 | struct Chunk { [INFO] [stdout] | ------------ method `length` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 46 | assert_eq!(chunk.length(), 42); [INFO] [stdout] | ^^^^^^ method not found in `Chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chunk_type` found for struct `chunk::Chunk` in the current scope [INFO] [stdout] --> src/chunk.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 4 | struct Chunk { [INFO] [stdout] | ------------ method `chunk_type` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 52 | assert_eq!(chunk.chunk_type().to_string(), String::from("RuSt")); [INFO] [stdout] | ^^^^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `data_as_string` found for struct `chunk::Chunk` in the current scope [INFO] [stdout] --> src/chunk.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 4 | struct Chunk { [INFO] [stdout] | ------------ method `data_as_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 58 | let chunk_string = chunk.data_as_string().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `crc` found for struct `chunk::Chunk` in the current scope [INFO] [stdout] --> src/chunk.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 4 | struct Chunk { [INFO] [stdout] | ------------ method `crc` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 66 | assert_eq!(chunk.crc(), 2882656334); [INFO] [stdout] | ^^^ method not found in `Chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `data_as_string` found for struct `chunk::Chunk` in the current scope [INFO] [stdout] --> src/chunk.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 4 | struct Chunk { [INFO] [stdout] | ------------ method `data_as_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 87 | let chunk_string = chunk.data_as_string().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length` found for struct `chunk::Chunk` in the current scope [INFO] [stdout] --> src/chunk.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 4 | struct Chunk { [INFO] [stdout] | ------------ method `length` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 90 | assert_eq!(chunk.length(), 42); [INFO] [stdout] | ^^^^^^ method not found in `Chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chunk_type` found for struct `chunk::Chunk` in the current scope [INFO] [stdout] --> src/chunk.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 4 | struct Chunk { [INFO] [stdout] | ------------ method `chunk_type` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 91 | assert_eq!(chunk.chunk_type().to_string(), String::from("RuSt")); [INFO] [stdout] | ^^^^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `crc` found for struct `chunk::Chunk` in the current scope [INFO] [stdout] --> src/chunk.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 4 | struct Chunk { [INFO] [stdout] | ------------ method `crc` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 93 | assert_eq!(chunk.crc(), 2882656334); [INFO] [stdout] | ^^^ method not found in `Chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `chunk::Chunk` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/chunk.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | let _chunk_string = format!("{}", chunk); [INFO] [stdout] | ^^^^^ `chunk::Chunk` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `chunk::Chunk` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/chunk.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | fn try_from(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `png-secret` (bin "png-secret" test) due to 10 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "da462c0c365b27e56a2c94538d9005e65f3939210506f65fa8d4685f374e8f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da462c0c365b27e56a2c94538d9005e65f3939210506f65fa8d4685f374e8f12", kill_on_drop: false }` [INFO] [stdout] da462c0c365b27e56a2c94538d9005e65f3939210506f65fa8d4685f374e8f12