[INFO] fetching crate coreboot-table 0.1.6... [INFO] checking coreboot-table-0.1.6 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate coreboot-table 0.1.6 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate coreboot-table 0.1.6 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04ff2706e0a87e5e20457f1570632af9e3e10f0db0ed30e074aec45ce42d632c [INFO] running `Command { std: "docker" "start" "-a" "04ff2706e0a87e5e20457f1570632af9e3e10f0db0ed30e074aec45ce42d632c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04ff2706e0a87e5e20457f1570632af9e3e10f0db0ed30e074aec45ce42d632c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ff2706e0a87e5e20457f1570632af9e3e10f0db0ed30e074aec45ce42d632c", kill_on_drop: false }` [INFO] [stdout] 04ff2706e0a87e5e20457f1570632af9e3e10f0db0ed30e074aec45ce42d632c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9162b53ce1bb784f3bb9036e0ff3f487ecfee03531807b0d54e7dcf2c3d71d1 [INFO] running `Command { std: "docker" "start" "-a" "b9162b53ce1bb784f3bb9036e0ff3f487ecfee03531807b0d54e7dcf2c3d71d1", 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: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: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/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/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/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/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/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/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/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: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] For more information about this error, try `rustc --explain E0507`. [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] [stderr] error: could not compile `coreboot-table` (lib test) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "b9162b53ce1bb784f3bb9036e0ff3f487ecfee03531807b0d54e7dcf2c3d71d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9162b53ce1bb784f3bb9036e0ff3f487ecfee03531807b0d54e7dcf2c3d71d1", kill_on_drop: false }` [INFO] [stdout] b9162b53ce1bb784f3bb9036e0ff3f487ecfee03531807b0d54e7dcf2c3d71d1