[INFO] cloning repository https://github.com/sonald/sos2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sonald/sos2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonald%2Fsos2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonald%2Fsos2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55643f13e1b3a3707c8be5d43cd6cae080fcf56b [INFO] checking sonald/sos2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonald%2Fsos2" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sonald/sos2 [INFO] finished tweaking git repo https://github.com/sonald/sos2 [INFO] tweaked toml for git repo https://github.com/sonald/sos2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sonald/sos2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sonald/sos2 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating git repository `https://github.com/sonald/multiboot2-elf64` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/redox-os/linked-list-allocator.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit_field v0.7.0 [INFO] [stderr] Downloaded bitflags v0.8.2 [INFO] [stderr] Downloaded rlibc v1.0.0 [INFO] [stderr] Downloaded lazy_static v0.2.8 [INFO] [stderr] Downloaded x86_64 v0.1.2 [INFO] [stderr] Downloaded spin v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e39ac8322afa755a0119f9a422b16be2af5c9e8f9583d8d6e0838570a6c00646 [INFO] running `Command { std: "docker" "start" "-a" "e39ac8322afa755a0119f9a422b16be2af5c9e8f9583d8d6e0838570a6c00646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e39ac8322afa755a0119f9a422b16be2af5c9e8f9583d8d6e0838570a6c00646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39ac8322afa755a0119f9a422b16be2af5c9e8f9583d8d6e0838570a6c00646", kill_on_drop: false }` [INFO] [stdout] e39ac8322afa755a0119f9a422b16be2af5c9e8f9583d8d6e0838570a6c00646 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 920b225deb764693c02bad10b0dd2ba194f21dd67d1db9c1c92da4779534ecf3 [INFO] running `Command { std: "docker" "start" "-a" "920b225deb764693c02bad10b0dd2ba194f21dd67d1db9c1c92da4779534ecf3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking spin v0.4.5 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking bit_field v0.7.0 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking rlibc v1.0.0 [INFO] [stderr] Checking multiboot2 v0.3.2 (https://github.com/sonald/multiboot2-elf64#55b84360) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.4.5/src/lib.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | #![cfg_attr(feature = "const_fn", feature(const_fn))] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.54.0; see for more information [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.4.5/src/util.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { asm!("pause" :::: "volatile"); } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.4.5/src/lib.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | #![cfg_attr(feature = "const_fn", feature(const_fn))] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.54.0; see for more information [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking x86_64 v0.1.2 [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.4.5/src/util.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { asm!("pause" :::: "volatile"); } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spin` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.54.0; see for more information [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spin` (lib) due to 2 previous errors [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/registers/flags.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe { asm!("pushq $0; popfq" :: "r"(val.bits()) : "memory" "flags") }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/registers/flags.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { asm!("pushfq; popq $0" : "=r"(r) :: "memory") }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/registers/control_regs.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { asm!("mov %cr4, $0" : "=r" (ret)) }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/registers/control_regs.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe { asm!("mov %cr3, $0" : "=r" (ret)) }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/registers/control_regs.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | unsafe { asm!("mov %cr2, $0" : "=r" (ret)) }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/registers/control_regs.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe { asm!("mov %cr0, $0" : "=r" (ret)) }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/segmentation.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { asm!("mov %cs, $0" : "=r" (segment) ) }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/tlb.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { asm!("invlpg ($0)" :: "r" (addr.0) : "memory") }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/multiboot2-elf64-9d7720c27ef9c49b/55b8436/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 value 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/git/checkouts/multiboot2-elf64-9d7720c27ef9c49b/55b8436/src/elf_sections.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 10 | first_section: ElfSection, [INFO] [stdout] | ------------------------- you could clone this value [INFO] [stdout] ... [INFO] [stdout] 82 | 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] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/multiboot2-elf64-9d7720c27ef9c49b/55b8436/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: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/registers/control_regs.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | asm!("mov $0, %cr4" :: "r" (val.bits) : "memory"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/multiboot2-elf64-9d7720c27ef9c49b/55b8436/src/elf_sections.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | (&self.first_section as *const ElfSection).offset(self.shndx as isize); [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: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/registers/control_regs.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | asm!("mov $0, %cr3" :: "r" (val.0) : "memory"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/registers/control_regs.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | asm!("mov $0, %cr0" :: "r" (val.bits()) : "memory"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | asm!("rdmsr" : "={eax}" (low), "={edx}" (high) : "{ecx}" (msr) : "memory" : "volatile"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | asm!("wrmsr" :: "{ecx}" (msr), "{eax}" (low), "{edx}" (high) : "memory" : "volatile" ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | asm!("rdtscp" : "={eax}" (low), "={edx}" (high) ::: "volatile"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | asm!("rdtsc" : "={eax}" (low), "={edx}" (high)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | asm!("hlt" :::: "volatile"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/segmentation.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | asm!("movw $0, %gs " :: "r" (sel.0) : "memory"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/segmentation.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | asm!("movw $0, %fs " :: "r" (sel.0) : "memory"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/segmentation.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | asm!("movw $0, %es " :: "r" (sel.0) : "memory"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/segmentation.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | asm!("movw $0, %ds " :: "r" (sel.0) : "memory"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/segmentation.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | asm!("movw $0, %ss " :: "r" (sel.0) : "memory"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/segmentation.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | asm!("pushq $0; \ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/tables.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | asm!("ltr $0" :: "r" (sel.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/tables.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | asm!("lidt ($0)" :: "r" (idt) : "memory"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/tables.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | asm!("lldt ($0)" :: "r" (ldt) : "memory"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/tables.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | asm!("lgdt ($0)" :: "r" (gdt) : "memory"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/interrupts.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | asm!("int3"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/interrupts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | asm!("cli"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/interrupts.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | asm!("sti"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/port.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | asm!("rep insl %dx, (%edi)" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/port.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | asm!("rep outsl (%esi), %dx" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/port.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | asm!("rep insw %dx, (%edi)" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/port.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | asm!("rep outsw (%esi), %dx" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/port.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | asm!("rep insb %dx, (%edi)" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [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] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/port.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | asm!("rep outsb (%esi), %dx" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/port.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | asm!("inl %dx, %eax" : "={ax}"(ret) : "{dx}"(port) :: "volatile"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/port.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | asm!("outl %eax, %dx" :: "{dx}"(port), "{al}"(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/port.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | asm!("inw %dx, %ax" : "={ax}"(ret) : "{dx}"(port) :: "volatile"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/port.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | asm!("outw %ax, %dx" :: "{dx}"(port), "{al}"(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/port.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | asm!("inb %dx, %al" : "={ax}"(ret) : "{dx}"(port) :: "volatile"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/instructions/port.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | asm!("outb %al, %dx" :: "{dx}"(port), "{al}"(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multiboot2` (lib) due to 3 previous errors [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/multiboot2-elf64-9d7720c27ef9c49b/55b8436/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 value 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/git/checkouts/multiboot2-elf64-9d7720c27ef9c49b/55b8436/src/elf_sections.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 10 | first_section: ElfSection, [INFO] [stdout] | ------------------------- you could clone this value [INFO] [stdout] ... [INFO] [stdout] 82 | 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] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/multiboot2-elf64-9d7720c27ef9c49b/55b8436/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[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/multiboot2-elf64-9d7720c27ef9c49b/55b8436/src/elf_sections.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | (&self.first_section as *const ElfSection).offset(self.shndx as isize); [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] 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] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/structures/idt.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | self.options.set_present(true); [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[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.1.2/src/structures/idt.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | &mut self.options [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] Some errors have detailed explanations: E0557, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `x86_64` (lib) due to 44 previous errors [INFO] running `Command { std: "docker" "inspect" "920b225deb764693c02bad10b0dd2ba194f21dd67d1db9c1c92da4779534ecf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920b225deb764693c02bad10b0dd2ba194f21dd67d1db9c1c92da4779534ecf3", kill_on_drop: false }` [INFO] [stdout] 920b225deb764693c02bad10b0dd2ba194f21dd67d1db9c1c92da4779534ecf3