[INFO] fetching crate coreboot-table 0.1.6... [INFO] testing coreboot-table-0.1.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate coreboot-table 0.1.6 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate coreboot-table 0.1.6 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b80e49bb7919234b8ea8044de083d56d82aae1e6ebf3ee0d97134978c730278 [INFO] running `Command { std: "docker" "start" "-a" "8b80e49bb7919234b8ea8044de083d56d82aae1e6ebf3ee0d97134978c730278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b80e49bb7919234b8ea8044de083d56d82aae1e6ebf3ee0d97134978c730278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b80e49bb7919234b8ea8044de083d56d82aae1e6ebf3ee0d97134978c730278", kill_on_drop: false }` [INFO] [stdout] 8b80e49bb7919234b8ea8044de083d56d82aae1e6ebf3ee0d97134978c730278 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a30b06484a9a20e34229d044a8c706ea98f7ae3f8ce1813bd87d46eb5f9ce831 [INFO] running `Command { std: "docker" "start" "-a" "a30b06484a9a20e34229d044a8c706ea98f7ae3f8ce1813bd87d46eb5f9ce831", kill_on_drop: false }` [INFO] [stderr] Compiling 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/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/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] [stderr] error: could not compile `coreboot-table` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "a30b06484a9a20e34229d044a8c706ea98f7ae3f8ce1813bd87d46eb5f9ce831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a30b06484a9a20e34229d044a8c706ea98f7ae3f8ce1813bd87d46eb5f9ce831", kill_on_drop: false }` [INFO] [stdout] a30b06484a9a20e34229d044a8c706ea98f7ae3f8ce1813bd87d46eb5f9ce831