[INFO] cloning repository https://github.com/anosatsuk124/nimros [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anosatsuk124/nimros" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanosatsuk124%2Fnimros", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanosatsuk124%2Fnimros'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdd4045311f9d0f4542fad47a053980a59a5a5a1 [INFO] checking anosatsuk124/nimros/bdd4045311f9d0f4542fad47a053980a59a5a5a1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanosatsuk124%2Fnimros" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anosatsuk124/nimros 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-7-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/anosatsuk124/nimros [INFO] finished tweaking git repo https://github.com/anosatsuk124/nimros [INFO] tweaked toml for git repo https://github.com/anosatsuk124/nimros written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anosatsuk124/nimros 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] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-ordinalize v3.1.15 [INFO] [stderr] Downloaded educe v0.4.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1cee8ffcfd0bfa434000285458e8722ac433ce8979e8b32ce9f8177deb8509f3 [INFO] running `Command { std: "docker" "start" "-a" "1cee8ffcfd0bfa434000285458e8722ac433ce8979e8b32ce9f8177deb8509f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cee8ffcfd0bfa434000285458e8722ac433ce8979e8b32ce9f8177deb8509f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cee8ffcfd0bfa434000285458e8722ac433ce8979e8b32ce9f8177deb8509f3", kill_on_drop: false }` [INFO] [stdout] 1cee8ffcfd0bfa434000285458e8722ac433ce8979e8b32ce9f8177deb8509f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a1f28ffc325a988c54acb6d715874d56dbbf30c1e6dc2274683d62bb0562a0d1 [INFO] running `Command { std: "docker" "start" "-a" "a1f28ffc325a988c54acb6d715874d56dbbf30c1e6dc2274683d62bb0562a0d1", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking ucs2 v0.3.2 [INFO] [stderr] Checking clap_lex v0.3.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking is-terminal v0.4.2 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling ptr_meta_derive v0.2.0 [INFO] [stderr] Compiling uefi-macros v0.10.0 [INFO] [stderr] Compiling clap_derive v4.1.0 [INFO] [stderr] Checking ptr_meta v0.2.0 [INFO] [stderr] Checking uefi v0.19.0 [INFO] [stderr] Checking clap v4.1.4 [INFO] [stderr] Checking stdlib v0.1.0 (/opt/rustwide/workdir/stdlib) [INFO] [stdout] error: environment variable `HANKAKU_BIN` not defined at compile time [INFO] [stdout] --> stdlib/src/fonts.rs:3:58 [INFO] [stdout] | [INFO] [stdout] 3 | pub static HANKAKU_FONT: Font = Font::new(include_bytes!(env!("HANKAKU_BIN"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("HANKAKU_BIN")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `HANKAKU_BIN` not defined at compile time [INFO] [stdout] --> stdlib/src/fonts.rs:3:58 [INFO] [stdout] | [INFO] [stdout] 3 | pub static HANKAKU_FONT: Font = Font::new(include_bytes!(env!("HANKAKU_BIN"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("HANKAKU_BIN")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FONT_SIZE` and `Font` [INFO] [stdout] --> stdlib/src/graphics.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::fonts::{Font, FONT_SIZE, HANKAKU_FONT}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> stdlib/src/graphics.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use core::{mem, slice::from_raw_parts_mut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FONT_SIZE` and `Font` [INFO] [stdout] --> stdlib/src/graphics.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::fonts::{Font, FONT_SIZE, HANKAKU_FONT}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> stdlib/src/graphics.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use core::{mem, slice::from_raw_parts_mut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stdlib` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stdlib` (lib test) due to 2 previous errors; 2 warnings emitted [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.19.0/src/proto/device_path/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | 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.19.0/src/proto/device_path/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Debug, Eq, PartialEq, Pointee)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 126 | 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.19.0/src/proto/device_path/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Debug, Eq, PartialEq, Pointee)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 126 | 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.19.0/src/proto/device_path/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Debug, Eq, PartialEq, Pointee)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 126 | 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.19.0/src/proto/device_path/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Debug, Eq, PartialEq, Pointee)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 126 | 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.19.0/src/proto/device_path/mod.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | 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.19.0/src/proto/device_path/mod.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 199 | #[derive(Debug, Eq, PartialEq, Pointee)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 200 | pub struct DevicePathInstance { [INFO] [stdout] 201 | 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.19.0/src/proto/device_path/mod.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 199 | #[derive(Debug, Eq, PartialEq, Pointee)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 200 | pub struct DevicePathInstance { [INFO] [stdout] 201 | 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.19.0/src/proto/device_path/mod.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 199 | #[derive(Debug, Eq, PartialEq, Pointee)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 200 | pub struct DevicePathInstance { [INFO] [stdout] 201 | 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.19.0/src/proto/device_path/mod.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 199 | #[derive(Debug, Eq, PartialEq, Pointee)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 200 | pub struct DevicePathInstance { [INFO] [stdout] 201 | 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.19.0/src/proto/device_path/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | 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.19.0/src/proto/device_path/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Debug, Eq, PartialEq, Pointee)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 231 | pub struct DevicePath { [INFO] [stdout] 232 | 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.19.0/src/proto/device_path/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Debug, Eq, PartialEq, Pointee)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 231 | pub struct DevicePath { [INFO] [stdout] 232 | 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.19.0/src/proto/device_path/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Debug, Eq, PartialEq, Pointee)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 231 | pub struct DevicePath { [INFO] [stdout] 232 | 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.19.0/src/proto/device_path/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Debug, Eq, PartialEq, Pointee)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 231 | pub struct DevicePath { [INFO] [stdout] 232 | 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 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0161, 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 16 previous errors [INFO] running `Command { std: "docker" "inspect" "a1f28ffc325a988c54acb6d715874d56dbbf30c1e6dc2274683d62bb0562a0d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1f28ffc325a988c54acb6d715874d56dbbf30c1e6dc2274683d62bb0562a0d1", kill_on_drop: false }` [INFO] [stdout] a1f28ffc325a988c54acb6d715874d56dbbf30c1e6dc2274683d62bb0562a0d1