[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] testing friendlymatthew/gif against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffriendlymatthew%2Fgif" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/friendlymatthew/gif on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.88 [INFO] [stderr] Downloaded minifb v0.27.0 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 391f79422cb970036d237ef8995ea1a37ee2cebcf58c073cb3f1689fe14131db [INFO] running `Command { std: "docker" "start" "-a" "391f79422cb970036d237ef8995ea1a37ee2cebcf58c073cb3f1689fe14131db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "391f79422cb970036d237ef8995ea1a37ee2cebcf58c073cb3f1689fe14131db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "391f79422cb970036d237ef8995ea1a37ee2cebcf58c073cb3f1689fe14131db", kill_on_drop: false }` [INFO] [stdout] 391f79422cb970036d237ef8995ea1a37ee2cebcf58c073cb3f1689fe14131db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6573de35dd0113432eae70a20319f1d8c515e8a134361e2247677171025c827 [INFO] running `Command { std: "docker" "start" "-a" "e6573de35dd0113432eae70a20319f1d8c515e8a134361e2247677171025c827", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling jif v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling clap_builder v4.5.20 [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[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] [stderr] error: could not compile `jif` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e6573de35dd0113432eae70a20319f1d8c515e8a134361e2247677171025c827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6573de35dd0113432eae70a20319f1d8c515e8a134361e2247677171025c827", kill_on_drop: false }` [INFO] [stdout] e6573de35dd0113432eae70a20319f1d8c515e8a134361e2247677171025c827