[INFO] fetching crate coreboot-table 0.1.6... [INFO] checking coreboot-table-0.1.6 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate coreboot-table 0.1.6 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate coreboot-table 0.1.6 [INFO] finished tweaking crates.io crate coreboot-table 0.1.6 [INFO] tweaked toml for crates.io crate coreboot-table 0.1.6 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate coreboot-table 0.1.6 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c3692a3e8db69369d37bdce0e7ab0c90de7f2e07cc016e658511b440a72db14 [INFO] running `Command { std: "docker" "start" "-a" "8c3692a3e8db69369d37bdce0e7ab0c90de7f2e07cc016e658511b440a72db14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c3692a3e8db69369d37bdce0e7ab0c90de7f2e07cc016e658511b440a72db14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c3692a3e8db69369d37bdce0e7ab0c90de7f2e07cc016e658511b440a72db14", kill_on_drop: false }` [INFO] [stdout] 8c3692a3e8db69369d37bdce0e7ab0c90de7f2e07cc016e658511b440a72db14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1c7371699c4a2214bea74cec4344c51584c8c9351b0188480be824d6e462c8e [INFO] running `Command { std: "docker" "start" "-a" "c1c7371699c4a2214bea74cec4344c51584c8c9351b0188480be824d6e462c8e", kill_on_drop: false }` [INFO] [stderr] Checking coreboot-table v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/cmos.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 22 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 22 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/cmos.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 44 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 44 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/cmos.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 71 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 71 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/forward.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 6 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 6 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/framebuffer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 6 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 6 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/cmos.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 22 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 22 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/framebuffer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 6 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 6 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/cmos.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 44 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 44 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/cmos.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 71 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 71 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/forward.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 6 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 6 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/framebuffer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 6 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 6 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/memory.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 22 | pub kind: MemoryRangeKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `MemoryRangeKind`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `MemoryRangeKind` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/memory.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum MemoryRangeKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 22 | pub kind: MemoryRangeKind, [INFO] [stdout] | ------------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/memory.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 28 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 28 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/framebuffer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 6 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 6 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/record.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 56 | pub kind: RecordKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `RecordKind`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 56 | pub kind: RecordKind.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/record.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 56 | pub kind: RecordKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `RecordKind`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 56 | pub kind: RecordKind.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/serial.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 6 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 6 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/serial.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 6 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 6 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/memory.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 22 | pub kind: MemoryRangeKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `MemoryRangeKind`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `MemoryRangeKind` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/memory.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum MemoryRangeKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 22 | pub kind: MemoryRangeKind, [INFO] [stdout] | ------------------------- you could clone this value [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/memory.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 28 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 28 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/record.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 56 | pub kind: RecordKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `RecordKind`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 56 | pub kind: RecordKind.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/record.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 56 | pub kind: RecordKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `RecordKind`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 56 | pub kind: RecordKind.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/serial.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 6 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Clone)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 6 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/serial.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 6 | pub record: Record, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Record`, 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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 6 | pub record: Record.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coreboot-table` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `coreboot-table` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "c1c7371699c4a2214bea74cec4344c51584c8c9351b0188480be824d6e462c8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c7371699c4a2214bea74cec4344c51584c8c9351b0188480be824d6e462c8e", kill_on_drop: false }` [INFO] [stdout] c1c7371699c4a2214bea74cec4344c51584c8c9351b0188480be824d6e462c8e