[INFO] cloning repository https://github.com/gallopinggoose6/Partabled [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gallopinggoose6/Partabled" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallopinggoose6%2FPartabled", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallopinggoose6%2FPartabled'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c82a4e5366ab1a7bb8db83f6f6920cdfbce315b [INFO] checking gallopinggoose6/Partabled/8c82a4e5366ab1a7bb8db83f6f6920cdfbce315b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallopinggoose6%2FPartabled" "/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/gallopinggoose6/Partabled on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/gallopinggoose6/Partabled [INFO] finished tweaking git repo https://github.com/gallopinggoose6/Partabled [INFO] tweaked toml for git repo https://github.com/gallopinggoose6/Partabled written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding uefi v0.16.1 (available: v0.32.0) [INFO] [stderr] Adding uefi-macros v0.7.1 (available: v0.16.0) [INFO] [stderr] Adding uefi-services v0.13.1 (available: v0.25.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uefi-services v0.13.1 [INFO] [stderr] Downloaded uefi-macros v0.7.1 [INFO] [stderr] Downloaded uefi v0.16.1 [INFO] [stderr] Downloaded ucs2 v0.3.3 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adca9cca6d87401e9a7b7b66535941d042799b8096b875f51540c2339a411411 [INFO] running `Command { std: "docker" "start" "-a" "adca9cca6d87401e9a7b7b66535941d042799b8096b875f51540c2339a411411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adca9cca6d87401e9a7b7b66535941d042799b8096b875f51540c2339a411411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adca9cca6d87401e9a7b7b66535941d042799b8096b875f51540c2339a411411", kill_on_drop: false }` [INFO] [stdout] adca9cca6d87401e9a7b7b66535941d042799b8096b875f51540c2339a411411 [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=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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39e043d844e117a837f6d0bfca44bbe4686e0c73ef62e6bb6842e02fb94e14f2 [INFO] running `Command { std: "docker" "start" "-a" "39e043d844e117a837f6d0bfca44bbe4686e0c73ef62e6bb6842e02fb94e14f2", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking rlibc v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking ucs2 v0.3.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling uefi-macros v0.7.1 [INFO] [stderr] Checking uefi v0.16.1 [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | &*ptr::from_raw_parts(ptr.cast(), data_len) [INFO] [stdout] | ------------------- ^^^^ cannot infer type of the type parameter `U` declared on the method `cast` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `core::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ptr/metadata.rs:111:1 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 128 | &*ptr::from_raw_parts(ptr.cast::(), data_len) [INFO] [stdout] | +++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `*const FfiDevicePath` and `*const FfiDevicePath: Thin` trivially holds [INFO] [stdout] | [INFO] [stdout] 128 - &*ptr::from_raw_parts(ptr.cast(), data_len) [INFO] [stdout] 128 + &*ptr::from_raw_parts(ptr, data_len) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:174:75 [INFO] [stdout] | [INFO] [stdout] 174 | let p: *const FilePathMediaDevicePath = ptr::from_raw_parts(p.cast(), path_name_len); [INFO] [stdout] | ------------------- ^^^^ cannot infer type of the type parameter `U` declared on the method `cast` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `core::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ptr/metadata.rs:111:1 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 174 | let p: *const FilePathMediaDevicePath = ptr::from_raw_parts(p.cast::(), path_name_len); [INFO] [stdout] | +++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `*const DevicePathNode` and `*const DevicePathNode: Thin` trivially holds [INFO] [stdout] | [INFO] [stdout] 174 - let p: *const FilePathMediaDevicePath = ptr::from_raw_parts(p.cast(), path_name_len); [INFO] [stdout] 174 + let p: *const FilePathMediaDevicePath = ptr::from_raw_parts(p, path_name_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:229:33 [INFO] [stdout] | [INFO] [stdout] 229 | ptr::from_raw_parts(ptr.cast(), Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] | ------------------- ^^^^ cannot infer type of the type parameter `U` declared on the method `cast` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `core::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ptr/metadata.rs:111:1 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 229 | ptr::from_raw_parts(ptr.cast::(), Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] | +++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `*const c_void` and `*const c_void: Thin` trivially holds [INFO] [stdout] | [INFO] [stdout] 229 - ptr::from_raw_parts(ptr.cast(), Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] 229 + ptr::from_raw_parts(ptr, Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:233:37 [INFO] [stdout] | [INFO] [stdout] 233 | ptr::from_raw_parts_mut(ptr.cast(), Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] | ----------------------- ^^^^ cannot infer type of the type parameter `U` declared on the method `cast` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `core::ptr::from_raw_parts_mut` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ptr/metadata.rs:125:1 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 233 | ptr::from_raw_parts_mut(ptr.cast::(), Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] | +++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `*mut c_void` and `*mut c_void: Thin` trivially holds [INFO] [stdout] | [INFO] [stdout] 233 - ptr::from_raw_parts_mut(ptr.cast(), Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] 233 + ptr::from_raw_parts_mut(ptr, Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.data` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 113 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.data` has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 113 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.data` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 113 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.data` has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `other.data` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 113 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because `other.data` has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.data` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 193 | pub struct DevicePathInstance { [INFO] [stdout] 194 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.data` has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 193 | pub struct DevicePathInstance { [INFO] [stdout] 194 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.data` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 193 | pub struct DevicePathInstance { [INFO] [stdout] 194 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.data` has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `other.data` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 193 | pub struct DevicePathInstance { [INFO] [stdout] 194 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because `other.data` has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.data` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug, Eq, PartialEq, Protocol)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 223 | pub struct DevicePath { [INFO] [stdout] 224 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.data` has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug, Eq, PartialEq, Protocol)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 223 | pub struct DevicePath { [INFO] [stdout] 224 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.data` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug, Eq, PartialEq, Protocol)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 223 | pub struct DevicePath { [INFO] [stdout] 224 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.data` has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `other.data` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.1/src/proto/device_path/mod.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug, Eq, PartialEq, Protocol)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 223 | pub struct DevicePath { [INFO] [stdout] 224 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because `other.data` has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0161, E0283, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0161`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uefi` (lib) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "39e043d844e117a837f6d0bfca44bbe4686e0c73ef62e6bb6842e02fb94e14f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e043d844e117a837f6d0bfca44bbe4686e0c73ef62e6bb6842e02fb94e14f2", kill_on_drop: false }` [INFO] [stdout] 39e043d844e117a837f6d0bfca44bbe4686e0c73ef62e6bb6842e02fb94e14f2