[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/5dfeabfec44a826e216798cea943f700e6fa091f against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fpngme" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emielvanseveren/pngme on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb7132980441c5b32213124d18ec477e056d7ec2ab22d36865f1614ca922395b [INFO] running `Command { std: "docker" "start" "-a" "fb7132980441c5b32213124d18ec477e056d7ec2ab22d36865f1614ca922395b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb7132980441c5b32213124d18ec477e056d7ec2ab22d36865f1614ca922395b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb7132980441c5b32213124d18ec477e056d7ec2ab22d36865f1614ca922395b", kill_on_drop: false }` [INFO] [stdout] fb7132980441c5b32213124d18ec477e056d7ec2ab22d36865f1614ca922395b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbb2876da2d0741af767b63c8658c41405b22dae8185bd60db355eecc4b1d797 [INFO] running `Command { std: "docker" "start" "-a" "dbb2876da2d0741af767b63c8658c41405b22dae8185bd60db355eecc4b1d797", kill_on_drop: false }` [INFO] [stderr] Checking pngme v0.1.0 (/opt/rustwide/workdir) [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] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/convert/mod.rs:687:5 [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] | ^^^^^ the trait `From<&_>` is not implemented for `chunk::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 `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 `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] = 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] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/convert/mod.rs:687:5 [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] | ^^^^^ the trait `From<&_>` is not implemented for `chunk::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 `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 `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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/convert/mod.rs:687:5 [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] | ^^^^^ the trait `From<&_>` is not implemented for `chunk::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 `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 `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] | ----------------- ^^^^^^^^^^^^^^^^^^^ the trait `From<&_>` is not implemented for `chunk::Chunk` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [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: unsized locals are gated as an unstable feature [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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/convert/mod.rs:687:5 [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 24 previous errors [INFO] running `Command { std: "docker" "inspect" "dbb2876da2d0741af767b63c8658c41405b22dae8185bd60db355eecc4b1d797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbb2876da2d0741af767b63c8658c41405b22dae8185bd60db355eecc4b1d797", kill_on_drop: false }` [INFO] [stdout] dbb2876da2d0741af767b63c8658c41405b22dae8185bd60db355eecc4b1d797