[INFO] cloning repository https://github.com/emielvanseveren/pngme [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emielvanseveren/pngme" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fpngme", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fpngme'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5dfeabfec44a826e216798cea943f700e6fa091f [INFO] checking emielvanseveren/pngme against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fpngme" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/emielvanseveren/pngme [INFO] finished tweaking git repo https://github.com/emielvanseveren/pngme [INFO] tweaked toml for git repo https://github.com/emielvanseveren/pngme written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/emielvanseveren/pngme on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/emielvanseveren/pngme 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "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 emielvanseveren/pngme against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fpngme" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/emielvanseveren/pngme [INFO] finished tweaking git repo https://github.com/emielvanseveren/pngme [INFO] tweaked toml for git repo https://github.com/emielvanseveren/pngme written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/emielvanseveren/pngme on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/emielvanseveren/pngme 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62b4407c2cb3e7106f736686a5df5f0158b7a4f8738d0afbac66f8e4f258216d [INFO] running `Command { std: "docker" "start" "-a" "62b4407c2cb3e7106f736686a5df5f0158b7a4f8738d0afbac66f8e4f258216d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62b4407c2cb3e7106f736686a5df5f0158b7a4f8738d0afbac66f8e4f258216d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62b4407c2cb3e7106f736686a5df5f0158b7a4f8738d0afbac66f8e4f258216d", kill_on_drop: false }` [INFO] [stdout] 62b4407c2cb3e7106f736686a5df5f0158b7a4f8738d0afbac66f8e4f258216d [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca69813aa691bf210b38e983a1453fee84cb0c1a97d015c567d5d93ba41d6d37 [INFO] running `Command { std: "docker" "start" "-a" "ca69813aa691bf210b38e983a1453fee84cb0c1a97d015c567d5d93ba41d6d37", kill_on_drop: false }` [INFO] [stderr] Checking pngme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/chunk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/chunk_type.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | .all(|&b| (b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z'))); [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] 31 - .all(|&b| (b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z'))); [INFO] [stdout] 31 + .all(|&b| b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z') ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/chunk_type.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | .all(|&b| (b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z'))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - .all(|&b| (b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z'))); [INFO] [stdout] 76 + .all(|&b| b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z') ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chunk_type::ChunkType` [INFO] [stdout] --> src/chunk.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::chunk_type::ChunkType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/chunk.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/chunk_type.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | .all(|&b| (b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z'))); [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] 31 - .all(|&b| (b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z'))); [INFO] [stdout] 31 + .all(|&b| b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z') ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/chunk_type.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | .all(|&b| (b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z'))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - .all(|&b| (b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z'))); [INFO] [stdout] 76 + .all(|&b| b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z') ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | fn testing_chunk() -> Chunk { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk` is never constructed [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length`, `chunk_type`, `data`, `crc`, `data_as_string`, and `as_bytes` are never used [INFO] [stdout] --> src/chunk.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 21 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 22 | pub fn length(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn chunk_type(&self) -> &ChunkType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn crc(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn data_as_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/chunk.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkTypeError` is never used [INFO] [stdout] --> src/chunk_type.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ChunkTypeError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkType` is never constructed [INFO] [stdout] --> src/chunk_type.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ChunkType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bytes`, `is_valid`, `is_critical`, `is_public`, `is_reserved_bit_valid`, and `is_safe_to_copy` are never used [INFO] [stdout] --> src/chunk_type.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl ChunkType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 21 | pub fn bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | Chunk::try_from(chunk_data.as_ref()).unwrap() [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required by a bound in `try_from` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/convert/mod.rs:702:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | Chunk::try_from(chunk_data.as_ref()).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: required for `chunk::Chunk` to implement `std::convert::TryFrom<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&_: Into` is not satisfied [INFO] [stdout] --> src/chunk.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | Chunk::try_from(chunk_data.as_ref()).unwrap() [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From<&_>` is not implemented for `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `&_` to implement `Into` [INFO] [stdout] = note: required for `chunk::Chunk` to implement `std::convert::TryFrom<&_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `std::result::Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/chunk.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ---------------- doesn't satisfy `chunk::Chunk: Sized` [INFO] [stdout] ... [INFO] [stdout] 76 | Chunk::try_from(chunk_data.as_ref()).unwrap() [INFO] [stdout] | ^^^^^^ method cannot be called on `std::result::Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8]: Sized` [INFO] [stdout] which is required by `chunk::Chunk: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | let chunk = testing_chunk(); [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | let chunk = testing_chunk(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | let chunk = testing_chunk(); [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let chunk = testing_chunk(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | let chunk = testing_chunk(); [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | let chunk = testing_chunk(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | let chunk = testing_chunk(); [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let chunk = testing_chunk(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | let chunk = Chunk::try_from(chunk_data.as_ref()).unwrap(); [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required by a bound in `try_from` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/convert/mod.rs:702:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | let chunk = Chunk::try_from(chunk_data.as_ref()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: required for `chunk::Chunk` to implement `std::convert::TryFrom<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&_: Into` is not satisfied [INFO] [stdout] --> src/chunk.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | let chunk = Chunk::try_from(chunk_data.as_ref()).unwrap(); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From<&_>` is not implemented for `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `&_` to implement `Into` [INFO] [stdout] = note: required for `chunk::Chunk` to implement `std::convert::TryFrom<&_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `std::result::Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/chunk.rs:121:56 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ---------------- doesn't satisfy `chunk::Chunk: Sized` [INFO] [stdout] ... [INFO] [stdout] 121 | let chunk = Chunk::try_from(chunk_data.as_ref()).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `std::result::Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8]: Sized` [INFO] [stdout] which is required by `chunk::Chunk: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let chunk = Chunk::try_from(chunk_data.as_ref()); [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required by a bound in `try_from` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/convert/mod.rs:702:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let chunk = Chunk::try_from(chunk_data.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: required for `chunk::Chunk` to implement `std::convert::TryFrom<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&_: Into` is not satisfied [INFO] [stdout] --> src/chunk.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let chunk = Chunk::try_from(chunk_data.as_ref()); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From<&_>` is not implemented for `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `&_` to implement `Into` [INFO] [stdout] = note: required for `chunk::Chunk` to implement `std::convert::TryFrom<&_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_err` exists for enum `std::result::Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/chunk.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ---------------- doesn't satisfy `chunk::Chunk: Sized` [INFO] [stdout] ... [INFO] [stdout] 150 | assert!(chunk.is_err()); [INFO] [stdout] | ^^^^^^ method cannot be called on `std::result::Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8]: Sized` [INFO] [stdout] which is required by `chunk::Chunk: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chunk::Chunk: std::convert::TryFrom<&_>` is not satisfied [INFO] [stdout] --> src/chunk.rs:169:44 [INFO] [stdout] | [INFO] [stdout] 169 | let chunk: Chunk = TryFrom::try_from(chunk_data.as_ref()).unwrap(); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From<&_>` is not implemented for `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `&_` to implement `Into` [INFO] [stdout] = note: required for `chunk::Chunk` to implement `std::convert::TryFrom<&_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | let chunk: Chunk = TryFrom::try_from(chunk_data.as_ref()).unwrap(); [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 169 | let chunk: &Chunk = TryFrom::try_from(chunk_data.as_ref()).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | let chunk: Chunk = TryFrom::try_from(chunk_data.as_ref()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required by a bound in `try_from` [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/convert/mod.rs:702:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/chunk.rs:171:41 [INFO] [stdout] | [INFO] [stdout] 171 | let _chunk_string = format!("{}", chunk); [INFO] [stdout] | -- ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: within `chunk::Chunk`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `chunk::Chunk` [INFO] [stdout] --> src/chunk.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [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 `pngme` (bin "pngme" test) due to 25 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ca69813aa691bf210b38e983a1453fee84cb0c1a97d015c567d5d93ba41d6d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca69813aa691bf210b38e983a1453fee84cb0c1a97d015c567d5d93ba41d6d37", kill_on_drop: false }` [INFO] [stdout] ca69813aa691bf210b38e983a1453fee84cb0c1a97d015c567d5d93ba41d6d37