[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 master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fpngme" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emielvanseveren/pngme on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-4-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cdffd962c8b630f3bd7a193aca672464f7816ea7a9b9fa89b8786fdf7160c2a [INFO] running `Command { std: "docker" "start" "-a" "8cdffd962c8b630f3bd7a193aca672464f7816ea7a9b9fa89b8786fdf7160c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cdffd962c8b630f3bd7a193aca672464f7816ea7a9b9fa89b8786fdf7160c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cdffd962c8b630f3bd7a193aca672464f7816ea7a9b9fa89b8786fdf7160c2a", kill_on_drop: false }` [INFO] [stdout] 8cdffd962c8b630f3bd7a193aca672464f7816ea7a9b9fa89b8786fdf7160c2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e122f06f082e21bf7640e8477931215f922fa257a57240093eff4db4dd11a17 [INFO] running `Command { std: "docker" "start" "-a" "2e122f06f082e21bf7640e8477931215f922fa257a57240093eff4db4dd11a17", 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]`, which is required by `chunk::Chunk: Sized` [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]`, which is required by `chunk::Chunk: Sized` [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/506512391b1a75ae450d36c9420978402a91abcc/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]`, which is required by `chunk::Chunk: std::convert::TryFrom<_>` [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 `&_`, which is required by `chunk::Chunk: std::convert::TryFrom<_>` [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]`, which is required by `chunk::Chunk: Sized` [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]`, which is required by `chunk::Chunk: Sized` [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]`, which is required by `chunk::Chunk: Sized` [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]`, which is required by `chunk::Chunk: Sized` [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]`, which is required by `chunk::Chunk: Sized` [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]`, which is required by `chunk::Chunk: Sized` [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]`, which is required by `chunk::Chunk: Sized` [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]`, which is required by `chunk::Chunk: Sized` [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]`, which is required by `chunk::Chunk: Sized` [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/506512391b1a75ae450d36c9420978402a91abcc/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]`, which is required by `chunk::Chunk: std::convert::TryFrom<_>` [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 `&_`, which is required by `chunk::Chunk: std::convert::TryFrom<_>` [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]`, which is required by `chunk::Chunk: Sized` [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/506512391b1a75ae450d36c9420978402a91abcc/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]`, which is required by `chunk::Chunk: std::convert::TryFrom<_>` [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 `&_`, which is required by `chunk::Chunk: std::convert::TryFrom<_>` [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`, which is required by `chunk::Chunk: std::convert::TryFrom<&_>` [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]`, which is required by `chunk::Chunk: Sized` [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]`, which is required by `chunk::Chunk: Sized` [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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:687:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [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 [INFO] running `Command { std: "docker" "inspect" "2e122f06f082e21bf7640e8477931215f922fa257a57240093eff4db4dd11a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e122f06f082e21bf7640e8477931215f922fa257a57240093eff4db4dd11a17", kill_on_drop: false }` [INFO] [stdout] 2e122f06f082e21bf7640e8477931215f922fa257a57240093eff4db4dd11a17 [INFO] checking emielvanseveren/pngme against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femielvanseveren%2Fpngme" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emielvanseveren/pngme on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-4-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8093be1a5b99354419c7ffa504c76d26185ffe0852946942884750e059cb8fd [INFO] running `Command { std: "docker" "start" "-a" "e8093be1a5b99354419c7ffa504c76d26185ffe0852946942884750e059cb8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8093be1a5b99354419c7ffa504c76d26185ffe0852946942884750e059cb8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8093be1a5b99354419c7ffa504c76d26185ffe0852946942884750e059cb8fd", kill_on_drop: false }` [INFO] [stdout] e8093be1a5b99354419c7ffa504c76d26185ffe0852946942884750e059cb8fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e287e650f0ce226a564e87b4b70f29a093b1d740549c5fe39793dab106bca12f [INFO] running `Command { std: "docker" "start" "-a" "e287e650f0ce226a564e87b4b70f29a093b1d740549c5fe39793dab106bca12f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "e287e650f0ce226a564e87b4b70f29a093b1d740549c5fe39793dab106bca12f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e287e650f0ce226a564e87b4b70f29a093b1d740549c5fe39793dab106bca12f", kill_on_drop: false }` [INFO] [stdout] e287e650f0ce226a564e87b4b70f29a093b1d740549c5fe39793dab106bca12f