[INFO] cloning repository https://github.com/shawtao/RustOS-v1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shawtao/RustOS-v1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshawtao%2FRustOS-v1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshawtao%2FRustOS-v1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ff877f3601319bb83cea6a95e6384737af0f61a [INFO] checking shawtao/RustOS-v1/0ff877f3601319bb83cea6a95e6384737af0f61a against master#0ef0dd24510b52da980889546fcd15254dc56a23 for pr-126452 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshawtao%2FRustOS-v1" "/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/shawtao/RustOS-v1 on toolchain 0ef0dd24510b52da980889546fcd15254dc56a23 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0ef0dd24510b52da980889546fcd15254dc56a23" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shawtao/RustOS-v1 [INFO] finished tweaking git repo https://github.com/shawtao/RustOS-v1 [INFO] tweaked toml for git repo https://github.com/shawtao/RustOS-v1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shawtao/RustOS-v1 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" "+0ef0dd24510b52da980889546fcd15254dc56a23" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x86_64 v0.14.4 [INFO] [stderr] Downloaded volatile v0.2.7 [INFO] [stderr] Downloaded spin v0.9.2 [INFO] [stderr] Downloaded multiboot2 v0.1.0 [INFO] [stderr] Downloaded rlibc v1.0.0 [INFO] [stderr] Downloaded lock_api v0.4.4 [INFO] [stderr] Downloaded bitflags v1.3.1 [INFO] [stderr] Downloaded volatile v0.4.4 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0ef0dd24510b52da980889546fcd15254dc56a23" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0a506b4d95465d6e6d4b17178c0c9d191566e1c79469166772a192d6b302151 [INFO] running `Command { std: "docker" "start" "-a" "a0a506b4d95465d6e6d4b17178c0c9d191566e1c79469166772a192d6b302151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0a506b4d95465d6e6d4b17178c0c9d191566e1c79469166772a192d6b302151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0a506b4d95465d6e6d4b17178c0c9d191566e1c79469166772a192d6b302151", kill_on_drop: false }` [INFO] [stdout] a0a506b4d95465d6e6d4b17178c0c9d191566e1c79469166772a192d6b302151 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0ef0dd24510b52da980889546fcd15254dc56a23" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd730333240b4f421161e80f610817c50133c7fbd640b495664c816a4f9b463c [INFO] running `Command { std: "docker" "start" "-a" "fd730333240b4f421161e80f610817c50133c7fbd640b495664c816a4f9b463c", kill_on_drop: false }` [INFO] [stderr] Compiling x86_64 v0.14.4 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking volatile v0.4.4 [INFO] [stderr] Checking bitflags v1.3.1 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking rlibc v1.0.0 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking multiboot2 v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stdout] error[E0507]: cannot move out of `self.first_section` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/multiboot2-0.1.0/src/elf_sections.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | first_section: ElfSection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.first_section` has type `ElfSection`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `ElfSection` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/multiboot2-0.1.0/src/elf_sections.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 10 | first_section: ElfSection, [INFO] [stdout] | ------------------------- you could clone this value [INFO] [stdout] ... [INFO] [stdout] 51 | pub struct ElfSection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [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[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/multiboot2-0.1.0/src/elf_sections.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | current_section: &self.first_section, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multiboot2` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fd730333240b4f421161e80f610817c50133c7fbd640b495664c816a4f9b463c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd730333240b4f421161e80f610817c50133c7fbd640b495664c816a4f9b463c", kill_on_drop: false }` [INFO] [stdout] fd730333240b4f421161e80f610817c50133c7fbd640b495664c816a4f9b463c