[INFO] cloning repository https://github.com/SanchithHegde/png-message-encode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SanchithHegde/png-message-encode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSanchithHegde%2Fpng-message-encode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSanchithHegde%2Fpng-message-encode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 953f9ed3486ee70720e9e3ee6870b913be4caf1a [INFO] checking SanchithHegde/png-message-encode against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSanchithHegde%2Fpng-message-encode" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SanchithHegde/png-message-encode on toolchain 4a23c45c7893f1416456144e3883cc48ea91722e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SanchithHegde/png-message-encode [INFO] finished tweaking git repo https://github.com/SanchithHegde/png-message-encode [INFO] tweaked toml for git repo https://github.com/SanchithHegde/png-message-encode written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/SanchithHegde/png-message-encode already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "fetch" "--locked" "--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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 101e5334060d9d1a698e0d96a89ea6d0acbce904e01495c30248dc0723cede04 [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" "101e5334060d9d1a698e0d96a89ea6d0acbce904e01495c30248dc0723cede04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "101e5334060d9d1a698e0d96a89ea6d0acbce904e01495c30248dc0723cede04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101e5334060d9d1a698e0d96a89ea6d0acbce904e01495c30248dc0723cede04", kill_on_drop: false }` [INFO] [stdout] 101e5334060d9d1a698e0d96a89ea6d0acbce904e01495c30248dc0723cede04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e59fa6071bf19d4d90edd8e9f0ff93292ec8927ee62ab0809e9697f1666cb024 [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" "e59fa6071bf19d4d90edd8e9f0ff93292ec8927ee62ab0809e9697f1666cb024", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking png-message-encode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chunk.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(chunk_type: ChunkType, chunk_data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/chunk.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn length(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `chunk_type` [INFO] [stdout] --> src/chunk.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn chunk_type(&self) -> &ChunkType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `data` [INFO] [stdout] --> src/chunk.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crc` [INFO] [stdout] --> src/chunk.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn crc(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `data_as_string` [INFO] [stdout] --> src/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn data_as_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_bytes` [INFO] [stdout] --> src/chunk.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/chunk_type.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_critical` [INFO] [stdout] --> src/chunk_type.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_public` [INFO] [stdout] --> src/chunk_type.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_reserved_bit_valid` [INFO] [stdout] --> src/chunk_type.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_safe_to_copy` [INFO] [stdout] --> src/chunk_type.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChunkTypeNotFound` [INFO] [stdout] --> src/error.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ChunkTypeNotFound(crate::chunk_type::ChunkType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_chunks` [INFO] [stdout] --> src/png.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn from_chunks(chunks: Vec) -> Png { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_chunk` [INFO] [stdout] --> src/png.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn remove_chunk(&mut self, chunk_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `header` [INFO] [stdout] --> src/png.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `chunks` [INFO] [stdout] --> src/png.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn chunks(&self) -> &[Chunk] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `chunk_by_type` [INFO] [stdout] --> src/png.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn chunk_by_type(&self, chunk_type: &str) -> Option<&Chunk> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_bytes` [INFO] [stdout] --> src/png.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `data` [INFO] [stdout] --> src/chunk.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `header` [INFO] [stdout] --> src/png.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.35s [INFO] running `Command { std: "docker" "inspect" "e59fa6071bf19d4d90edd8e9f0ff93292ec8927ee62ab0809e9697f1666cb024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59fa6071bf19d4d90edd8e9f0ff93292ec8927ee62ab0809e9697f1666cb024", kill_on_drop: false }` [INFO] [stdout] e59fa6071bf19d4d90edd8e9f0ff93292ec8927ee62ab0809e9697f1666cb024