[INFO] cloning repository https://github.com/friendlymatthew/gif [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/friendlymatthew/gif" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffriendlymatthew%2Fgif", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffriendlymatthew%2Fgif'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62c21521890d7a4bbcdb9a3897cecf45815630c1 [INFO] checking friendlymatthew/gif against try#88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c for pr-154887 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffriendlymatthew%2Fgif" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/friendlymatthew/gif [INFO] finished tweaking git repo https://github.com/friendlymatthew/gif [INFO] tweaked toml for git repo https://github.com/friendlymatthew/gif written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/friendlymatthew/gif on toolchain 88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/friendlymatthew/gif 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" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 774d1b3d6f8b0f0df48f63c2cec7ffa8764c5413658f2ffea2d9a09bffbd1c62 [INFO] running `Command { std: "docker" "start" "-a" "774d1b3d6f8b0f0df48f63c2cec7ffa8764c5413658f2ffea2d9a09bffbd1c62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "774d1b3d6f8b0f0df48f63c2cec7ffa8764c5413658f2ffea2d9a09bffbd1c62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "774d1b3d6f8b0f0df48f63c2cec7ffa8764c5413658f2ffea2d9a09bffbd1c62", kill_on_drop: false }` [INFO] [stdout] 774d1b3d6f8b0f0df48f63c2cec7ffa8764c5413658f2ffea2d9a09bffbd1c62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 944232332db104bb35cc1812a8c816f2218aa541a5a9164ee033120dde087515 [INFO] running `Command { std: "docker" "start" "-a" "944232332db104bb35cc1812a8c816f2218aa541a5a9164ee033120dde087515", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking rustix v0.38.37 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking eyre v0.6.12 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking jif v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> core/src/gif_data_stream.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | pub version: [u8], [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: only the last field of a struct may have a dynamically sized type [INFO] [stdout] = help: change the field's type to have a statically known size [INFO] [stdout] help: borrowed types always have a statically known size [INFO] [stdout] | [INFO] [stdout] 32 | pub version: &[u8], [INFO] [stdout] | + [INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap [INFO] [stdout] | [INFO] [stdout] 32 | pub version: Box<[u8]>, [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] --> core/src/grammar.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub identifier: [u8], [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: only the last field of a struct may have a dynamically sized type [INFO] [stdout] = help: change the field's type to have a statically known size [INFO] [stdout] help: borrowed types always have a statically known size [INFO] [stdout] | [INFO] [stdout] 15 | pub identifier: &[u8], [INFO] [stdout] | + [INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap [INFO] [stdout] | [INFO] [stdout] 15 | pub identifier: Box<[u8]>, [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] --> core/src/gif_data_stream.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | pub version: [u8], [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: only the last field of a struct may have a dynamically sized type [INFO] [stdout] = help: change the field's type to have a statically known size [INFO] [stdout] help: borrowed types always have a statically known size [INFO] [stdout] | [INFO] [stdout] 32 | pub version: &[u8], [INFO] [stdout] | + [INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap [INFO] [stdout] | [INFO] [stdout] 32 | pub version: Box<[u8]>, [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] --> core/src/grammar.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub identifier: [u8], [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: only the last field of a struct may have a dynamically sized type [INFO] [stdout] = help: change the field's type to have a statically known size [INFO] [stdout] help: borrowed types always have a statically known size [INFO] [stdout] | [INFO] [stdout] 15 | pub identifier: &[u8], [INFO] [stdout] | + [INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap [INFO] [stdout] | [INFO] [stdout] 15 | pub identifier: Box<[u8]>, [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] --> core/src/gif_data_stream.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 31 | pub struct GifDataStream { [INFO] [stdout] 32 | pub version: [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required for the cast from `&[u8]` to `&dyn Debug` [INFO] [stdout] help: consider borrowing the value, since `&&[u8]` can be coerced into `&dyn Debug` [INFO] [stdout] | [INFO] [stdout] 32 | &pub version: [u8], [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] --> core/src/grammar.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 14 | pub struct ApplicationExtension { [INFO] [stdout] 15 | pub identifier: [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required for the cast from `&[u8]` to `&dyn Debug` [INFO] [stdout] help: consider borrowing the value, since `&&[u8]` can be coerced into `&dyn Debug` [INFO] [stdout] | [INFO] [stdout] 15 | &pub identifier: [u8], [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] --> core/src/gif_data_stream.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 31 | pub struct GifDataStream { [INFO] [stdout] 32 | pub version: [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required for the cast from `&[u8]` to `&dyn Debug` [INFO] [stdout] help: consider borrowing the value, since `&&[u8]` can be coerced into `&dyn Debug` [INFO] [stdout] | [INFO] [stdout] 32 | &pub version: [u8], [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> core/src/decode.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | ... identifier: *buffer.read_slice(8)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> core/src/decode.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | version: *version, [INFO] [stdout] | ^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> core/src/grammar.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 14 | pub struct ApplicationExtension { [INFO] [stdout] 15 | pub identifier: [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required for the cast from `&[u8]` to `&dyn Debug` [INFO] [stdout] help: consider borrowing the value, since `&&[u8]` can be coerced into `&dyn Debug` [INFO] [stdout] | [INFO] [stdout] 15 | &pub identifier: [u8], [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[u8]`, a non-copy slice [INFO] [stdout] --> core/src/decode.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | ... identifier: *buffer.read_slice(8)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because value has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[u8]`, a non-copy slice [INFO] [stdout] --> core/src/decode.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | version: *version, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because value has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> core/src/decode.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | ... identifier: *buffer.read_slice(8)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> core/src/decode.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | version: *version, [INFO] [stdout] | ^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[u8]`, a non-copy slice [INFO] [stdout] --> core/src/decode.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | ... identifier: *buffer.read_slice(8)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because value has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[u8]`, a non-copy slice [INFO] [stdout] --> core/src/decode.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | version: *version, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because value has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0161, E0277, E0508. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0161`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0161, E0277, E0508. [INFO] [stdout] [INFO] [stderr] error: could not compile `jif` (lib test) due to 8 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0161`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `jif` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "944232332db104bb35cc1812a8c816f2218aa541a5a9164ee033120dde087515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944232332db104bb35cc1812a8c816f2218aa541a5a9164ee033120dde087515", kill_on_drop: false }` [INFO] [stdout] 944232332db104bb35cc1812a8c816f2218aa541a5a9164ee033120dde087515