[INFO] cloning repository https://github.com/raccog/toy-bootboot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raccog/toy-bootboot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraccog%2Ftoy-bootboot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraccog%2Ftoy-bootboot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d3df8e6760c2934f82988255e27578425dc0605 [INFO] checking raccog/toy-bootboot against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraccog%2Ftoy-bootboot" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raccog/toy-bootboot on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/raccog/toy-bootboot [INFO] finished tweaking git repo https://github.com/raccog/toy-bootboot [INFO] tweaked toml for git repo https://github.com/raccog/toy-bootboot written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/raccog/toy-bootboot 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rust-osdev/uefi-rs.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ucs2 v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e692ed5adee42bd3f475f872af731a0f88a605b0d20d55ce6f139983aa915008 [INFO] running `Command { std: "docker" "start" "-a" "e692ed5adee42bd3f475f872af731a0f88a605b0d20d55ce6f139983aa915008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e692ed5adee42bd3f475f872af731a0f88a605b0d20d55ce6f139983aa915008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e692ed5adee42bd3f475f872af731a0f88a605b0d20d55ce6f139983aa915008", kill_on_drop: false }` [INFO] [stdout] e692ed5adee42bd3f475f872af731a0f88a605b0d20d55ce6f139983aa915008 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab245b0e7544335733be1ba633d793f8b589f4d2d18d31e7380003fd1a6a62dc [INFO] running `Command { std: "docker" "start" "-a" "ab245b0e7544335733be1ba633d793f8b589f4d2d18d31e7380003fd1a6a62dc", 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.95 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ucs2 v0.3.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling uefi-macros v0.7.0 (https://github.com/rust-osdev/uefi-rs.git?branch=main#d2f0b3d8) [INFO] [stderr] Checking uefi v0.16.0 (https://github.com/rust-osdev/uefi-rs.git?branch=main#d2f0b3d8) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/d49be02cf6d2e2a01264fcdef1e20c826710c0f5/library/core/src/ptr/metadata.rs:109: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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/d49be02cf6d2e2a01264fcdef1e20c826710c0f5/library/core/src/ptr/metadata.rs:109: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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/d49be02cf6d2e2a01264fcdef1e20c826710c0f5/library/core/src/ptr/metadata.rs:109: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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/d49be02cf6d2e2a01264fcdef1e20c826710c0f5/library/core/src/ptr/metadata.rs:122: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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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/git/checkouts/uefi-rs-f0a06b7c1e31b7b0/d2f0b3d/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" "ab245b0e7544335733be1ba633d793f8b589f4d2d18d31e7380003fd1a6a62dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab245b0e7544335733be1ba633d793f8b589f4d2d18d31e7380003fd1a6a62dc", kill_on_drop: false }` [INFO] [stdout] ab245b0e7544335733be1ba633d793f8b589f4d2d18d31e7380003fd1a6a62dc