[INFO] cloning repository https://github.com/5purious/UEFIRS-Hello-World [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/5purious/UEFIRS-Hello-World" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5purious%2FUEFIRS-Hello-World", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5purious%2FUEFIRS-Hello-World'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1496fc8965b894f7e6da6caef4418e816a5aa610 [INFO] checking 5purious/UEFIRS-Hello-World/1496fc8965b894f7e6da6caef4418e816a5aa610 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5purious%2FUEFIRS-Hello-World" "/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/5purious/UEFIRS-Hello-World 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] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/5purious/UEFIRS-Hello-World [INFO] finished tweaking git repo https://github.com/5purious/UEFIRS-Hello-World [INFO] tweaked toml for git repo https://github.com/5purious/UEFIRS-Hello-World written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/5purious/UEFIRS-Hello-World 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ucs2 v0.3.2 [INFO] [stderr] Downloaded uefi-macros v0.7.0 [INFO] [stderr] Downloaded uefi-services v0.13.0 [INFO] [stderr] Downloaded uefi v0.16.0 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06147181eeacaf6a200441984329b62d62534ff549cae4957b56e7bbdd5bec7b [INFO] running `Command { std: "docker" "start" "-a" "06147181eeacaf6a200441984329b62d62534ff549cae4957b56e7bbdd5bec7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06147181eeacaf6a200441984329b62d62534ff549cae4957b56e7bbdd5bec7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06147181eeacaf6a200441984329b62d62534ff549cae4957b56e7bbdd5bec7b", kill_on_drop: false }` [INFO] [stdout] 06147181eeacaf6a200441984329b62d62534ff549cae4957b56e7bbdd5bec7b [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30672cea4f4e718c502dfab2a7ddd5732dee3ebaec9d84566e7a615cb1f6d31c [INFO] running `Command { std: "docker" "start" "-a" "30672cea4f4e718c502dfab2a7ddd5732dee3ebaec9d84566e7a615cb1f6d31c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking log v0.4.17 [INFO] [stderr] Checking ucs2 v0.3.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling uefi-macros v0.7.0 [INFO] [stderr] Checking uefi v0.16.0 [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uefi-0.16.0/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/ff1737bb00913444173658b4e0b274fd79aabf66/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.0/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/ff1737bb00913444173658b4e0b274fd79aabf66/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.0/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/ff1737bb00913444173658b4e0b274fd79aabf66/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.0/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/ff1737bb00913444173658b4e0b274fd79aabf66/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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] 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 19 previous errors [INFO] running `Command { std: "docker" "inspect" "30672cea4f4e718c502dfab2a7ddd5732dee3ebaec9d84566e7a615cb1f6d31c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30672cea4f4e718c502dfab2a7ddd5732dee3ebaec9d84566e7a615cb1f6d31c", kill_on_drop: false }` [INFO] [stdout] 30672cea4f4e718c502dfab2a7ddd5732dee3ebaec9d84566e7a615cb1f6d31c