[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] testing emielvanseveren/pngme against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fpngme" "/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/emielvanseveren/pngme on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-8/source/Cargo.toml [INFO] crate git repo https://github.com/emielvanseveren/pngme already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f5a6039efd2bde1deee79f2fec5981145e1ff842d38903f098ab7d4b937ed37a [INFO] running `Command { std: "docker" "start" "-a" "f5a6039efd2bde1deee79f2fec5981145e1ff842d38903f098ab7d4b937ed37a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5a6039efd2bde1deee79f2fec5981145e1ff842d38903f098ab7d4b937ed37a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5a6039efd2bde1deee79f2fec5981145e1ff842d38903f098ab7d4b937ed37a", kill_on_drop: false }` [INFO] [stdout] f5a6039efd2bde1deee79f2fec5981145e1ff842d38903f098ab7d4b937ed37a [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 217ca05026b375a7b0095cd66cb34244d842685f4c1cc7aa3352f58ffde292f3 [INFO] running `Command { std: "docker" "start" "-a" "217ca05026b375a7b0095cd66cb34244d842685f4c1cc7aa3352f58ffde292f3", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/chunk.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn length(&self) -> u32 { [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: `chunk_type` [INFO] [stdout] --> src/chunk.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | 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:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | 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:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | 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:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | 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:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/chunk.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bytes` [INFO] [stdout] --> src/chunk_type.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/chunk_type.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | 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:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | 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:10 [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:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "217ca05026b375a7b0095cd66cb34244d842685f4c1cc7aa3352f58ffde292f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "217ca05026b375a7b0095cd66cb34244d842685f4c1cc7aa3352f58ffde292f3", kill_on_drop: false }` [INFO] [stdout] 217ca05026b375a7b0095cd66cb34244d842685f4c1cc7aa3352f58ffde292f3 [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4c1758fc28e9bb1ca76d2b447ff75fee4524b8a72dc5fd03d358d84f888616e9 [INFO] running `Command { std: "docker" "start" "-a" "4c1758fc28e9bb1ca76d2b447ff75fee4524b8a72dc5fd03d358d84f888616e9", kill_on_drop: false }` [INFO] [stderr] Compiling pngme v0.1.0 (/opt/rustwide/workdir) [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)]` 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] 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] 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] [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 because of the requirements on the impl of `std::convert::TryFrom<_>` for `chunk::Chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chunk::Chunk: From<&_>` 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] | ^^^^^^^^^^^^^^^ the trait `From<&_>` is not implemented for `chunk::Chunk` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::TryFrom<&_>` for `chunk::Chunk` [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] `chunk::Chunk: Sized` [INFO] [stdout] note: the following trait must be implemented [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] = help: unsized locals are gated as an unstable feature [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] = help: unsized locals are gated as an unstable feature [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] = help: unsized locals are gated as an unstable feature [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] = help: unsized locals are gated as an unstable feature [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] [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 because of the requirements on the impl of `std::convert::TryFrom<_>` for `chunk::Chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chunk::Chunk: From<&_>` 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] | ^^^^^^^^^^^^^^^ the trait `From<&_>` is not implemented for `chunk::Chunk` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::TryFrom<&_>` for `chunk::Chunk` [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] `chunk::Chunk: Sized` [INFO] [stdout] note: the following trait must be implemented [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] [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 because of the requirements on the impl of `std::convert::TryFrom<_>` for `chunk::Chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chunk::Chunk: From<&_>` 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] | ^^^^^^^^^^^^^^^ the trait `From<&_>` is not implemented for `chunk::Chunk` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::TryFrom<&_>` for `chunk::Chunk` [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] `chunk::Chunk: Sized` [INFO] [stdout] note: the following trait must be implemented [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: unsized locals are gated as an unstable feature [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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chunk::Chunk: From<&_>` is not satisfied [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] | ^^^^^^^^^^^^^^^^^ the trait `From<&_>` is not implemented for `chunk::Chunk` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::TryFrom<&_>` for `chunk::Chunk` [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] = 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 `ArgumentV1::<'a>::new_display` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 2 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 `pngme` due to 26 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4c1758fc28e9bb1ca76d2b447ff75fee4524b8a72dc5fd03d358d84f888616e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c1758fc28e9bb1ca76d2b447ff75fee4524b8a72dc5fd03d358d84f888616e9", kill_on_drop: false }` [INFO] [stdout] 4c1758fc28e9bb1ca76d2b447ff75fee4524b8a72dc5fd03d358d84f888616e9