[INFO] updating cached repository https://github.com/andresovela/png-message [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 829d1397ac4f66bc4330d0ef025e552a4f4c54de [INFO] testing andresovela/png-message against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandresovela%2Fpng-message" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andresovela/png-message on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andresovela/png-message [INFO] finished tweaking git repo https://github.com/andresovela/png-message [INFO] tweaked toml for git repo https://github.com/andresovela/png-message written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/andresovela/png-message already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd0efa50225df2d0e298d5b9cfed6e2240f7e8ecfbfad929711ac73b61e495ae [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" "cd0efa50225df2d0e298d5b9cfed6e2240f7e8ecfbfad929711ac73b61e495ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd0efa50225df2d0e298d5b9cfed6e2240f7e8ecfbfad929711ac73b61e495ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0efa50225df2d0e298d5b9cfed6e2240f7e8ecfbfad929711ac73b61e495ae", kill_on_drop: false }` [INFO] [stdout] cd0efa50225df2d0e298d5b9cfed6e2240f7e8ecfbfad929711ac73b61e495ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7061db1afd68a7c91eb00ba8073f57c5884d52fb66e16aacf0717e5d9644c06e [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" "7061db1afd68a7c91eb00ba8073f57c5884d52fb66e16aacf0717e5d9644c06e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling fehler-macros v1.0.0 [INFO] [stderr] Compiling fehler v1.0.0 [INFO] [stderr] Compiling png-msg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chunk.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(chunk_type: ChunkType, 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:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub 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:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | 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:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crc` [INFO] [stdout] --> src/chunk.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | 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:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bytes` [INFO] [stdout] --> src/chunk_type.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn bytes(&self) -> &[u8; 4] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/chunk_type.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub 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:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub 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:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub 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:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub 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:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/png.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | header: [u8; 8], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chunks` [INFO] [stdout] --> src/png.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | chunks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_chunks` [INFO] [stdout] --> src/png.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_chunks(chunks: Vec) -> Png { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append_chunk` [INFO] [stdout] --> src/png.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn append_chunk(&mut self, chunk: Chunk) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_chunk` [INFO] [stdout] --> src/png.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | 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:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | 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:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | 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:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | 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:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.89s [INFO] running `Command { std: "docker" "inspect" "7061db1afd68a7c91eb00ba8073f57c5884d52fb66e16aacf0717e5d9644c06e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7061db1afd68a7c91eb00ba8073f57c5884d52fb66e16aacf0717e5d9644c06e", kill_on_drop: false }` [INFO] [stdout] 7061db1afd68a7c91eb00ba8073f57c5884d52fb66e16aacf0717e5d9644c06e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5c81f157b3da971d0cee3bca54f77757f6e0b8bbe1ba5b7c835ce1303d2234b [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" "b5c81f157b3da971d0cee3bca54f77757f6e0b8bbe1ba5b7c835ce1303d2234b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling png-msg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `data` [INFO] [stdout] --> src/chunk.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub 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:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "b5c81f157b3da971d0cee3bca54f77757f6e0b8bbe1ba5b7c835ce1303d2234b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c81f157b3da971d0cee3bca54f77757f6e0b8bbe1ba5b7c835ce1303d2234b", kill_on_drop: false }` [INFO] [stdout] b5c81f157b3da971d0cee3bca54f77757f6e0b8bbe1ba5b7c835ce1303d2234b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 32a13d31120cf075dc363efa4e0609b35bbc1f69e26474ac0e8e44fbc7c0aae8 [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" "32a13d31120cf075dc363efa4e0609b35bbc1f69e26474ac0e8e44fbc7c0aae8", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `data` [INFO] [stderr] --> src/chunk.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn data(&self) -> &[u8] { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `header` [INFO] [stderr] --> src/png.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | fn header(&self) -> &[u8; 8] { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/png_msg-c0613038ad0f525b [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test chunk_type::tests::test_chunk_type_is_reserved_bit_invalid ... ok [INFO] [stdout] test chunk_type::tests::test_chunk_type_is_unsafe_to_copy ... ok [INFO] [stdout] test chunk_type::tests::test_chunk_type_is_public ... ok [INFO] [stdout] test chunk_type::tests::test_chunk_type_is_not_public ... ok [INFO] [stdout] test chunk_type::tests::test_chunk_type_is_not_critical ... ok [INFO] [stdout] test chunk_type::tests::test_chunk_type_string ... ok [INFO] [stdout] test chunk_type::tests::test_invalid_chunk_is_valid ... ok [INFO] [stdout] test chunk_type::tests::test_valid_chunk_is_valid ... ok [INFO] [stdout] test png::tests::test_chunk_by_type ... ok [INFO] [stdout] test chunk_type::tests::test_chunk_type_is_reserved_bit_valid ... ok [INFO] [stdout] test chunk::tests::test_valid_chunk_from_bytes ... ok [INFO] [stdout] test chunk_type::tests::test_chunk_type_is_safe_to_copy ... ok [INFO] [stdout] test png::tests::test_list_chunks ... ok [INFO] [stdout] test png::tests::test_invalid_header ... ok [INFO] [stdout] test png::tests::test_append_chunk ... ok [INFO] [stdout] test png::tests::test_from_chunks ... ok [INFO] [stdout] test png::tests::test_png_from_image_file ... ok [INFO] [stdout] test png::tests::test_remove_chunk ... ok [INFO] [stdout] test png::tests::test_valid_from_bytes ... ok [INFO] [stdout] test chunk::tests::test_invalid_chunk_from_bytes ... ok [INFO] [stdout] test chunk::tests::test_chunk_type ... ok [INFO] [stdout] test chunk::tests::test_chunk_crc ... ok [INFO] [stdout] test chunk::tests::test_chunk_length ... ok [INFO] [stdout] test chunk_type::tests::test_chunk_type_from_str ... ok [INFO] [stdout] test chunk_type::tests::test_chunk_type_from_bytes ... ok [INFO] [stdout] test png::tests::test_as_bytes ... ok [INFO] [stdout] test png::tests::test_invalid_chunk ... ok [INFO] [stdout] test chunk_type::tests::test_chunk_type_is_critical ... ok [INFO] [stdout] test chunk::tests::test_chunk_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "32a13d31120cf075dc363efa4e0609b35bbc1f69e26474ac0e8e44fbc7c0aae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a13d31120cf075dc363efa4e0609b35bbc1f69e26474ac0e8e44fbc7c0aae8", kill_on_drop: false }` [INFO] [stdout] 32a13d31120cf075dc363efa4e0609b35bbc1f69e26474ac0e8e44fbc7c0aae8