[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#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5purious%2FUEFIRS-Hello-World" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/5purious/UEFIRS-Hello-World 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-2-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-2-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uefi-macros v0.7.0 [INFO] [stderr] Downloaded ucs2 v0.3.2 [INFO] [stderr] Downloaded uefi-services v0.13.0 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded uefi v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6769822942a1c1827aa7b4f8a360bee7fef4afce4c6cef7e7c561873462a48a2 [INFO] running `Command { std: "docker" "start" "-a" "6769822942a1c1827aa7b4f8a360bee7fef4afce4c6cef7e7c561873462a48a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6769822942a1c1827aa7b4f8a360bee7fef4afce4c6cef7e7c561873462a48a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6769822942a1c1827aa7b4f8a360bee7fef4afce4c6cef7e7c561873462a48a2", kill_on_drop: false }` [INFO] [stdout] 6769822942a1c1827aa7b4f8a360bee7fef4afce4c6cef7e7c561873462a48a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a2c4249061f1af814315b0e44aa316f2106275054dab7bb381b1a790ace1b00 [INFO] running `Command { std: "docker" "start" "-a" "1a2c4249061f1af814315b0e44aa316f2106275054dab7bb381b1a790ace1b00", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking ucs2 v0.3.2 [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/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.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/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.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/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.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/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.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] 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" "1a2c4249061f1af814315b0e44aa316f2106275054dab7bb381b1a790ace1b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a2c4249061f1af814315b0e44aa316f2106275054dab7bb381b1a790ace1b00", kill_on_drop: false }` [INFO] [stdout] 1a2c4249061f1af814315b0e44aa316f2106275054dab7bb381b1a790ace1b00