[INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/push-to-checkout.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel/hooks/push-to-checkout.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/tact1m4n3/gigel-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tact1m4n3/gigel-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 567fa20dbd6d2a91a429e1f080432333b8193f75 [INFO] checking tact1m4n3/gigel-kernel against try#d8a5ee01b913730aca7ab44c72c8f2722c0533ff for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tact1m4n3/gigel-kernel on toolchain d8a5ee01b913730aca7ab44c72c8f2722c0533ff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/tact1m4n3/gigel-kernel [INFO] finished tweaking git repo https://github.com/tact1m4n3/gigel-kernel [INFO] tweaked toml for git repo https://github.com/tact1m4n3/gigel-kernel written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tact1m4n3/gigel-kernel 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" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 362cd9e86a5cc3d48e84f0497811d480541b9b0d371bde4a801cdcab4e87d3fb [INFO] running `Command { std: "docker" "start" "-a" "362cd9e86a5cc3d48e84f0497811d480541b9b0d371bde4a801cdcab4e87d3fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "362cd9e86a5cc3d48e84f0497811d480541b9b0d371bde4a801cdcab4e87d3fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "362cd9e86a5cc3d48e84f0497811d480541b9b0d371bde4a801cdcab4e87d3fb", kill_on_drop: false }` [INFO] [stdout] 362cd9e86a5cc3d48e84f0497811d480541b9b0d371bde4a801cdcab4e87d3fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1499499ecd6112211d8394442a4036eb3e9a953f039348394ed68b99bb6139fd [INFO] running `Command { std: "docker" "start" "-a" "1499499ecd6112211d8394442a4036eb3e9a953f039348394ed68b99bb6139fd", kill_on_drop: false }` [INFO] [stderr] Compiling kernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking memory v0.1.0 (/opt/rustwide/workdir/memory) [INFO] [stdout] error[E0432]: unresolved import `multiboot2` [INFO] [stdout] --> src/arch/x86_64/memory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use multiboot2::{AreaType, BootInfo, MemoryMapTag, TagType}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `multiboot2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `multiboot2`, use `cargo add multiboot2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `multiboot2` [INFO] [stdout] --> src/arch/x86_64/memory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use multiboot2::{AreaType, BootInfo, MemoryMapTag, TagType}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `multiboot2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `multiboot2`, use `cargo add multiboot2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x86_64` [INFO] [stdout] --> src/arch/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(x86_64)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `target_arch = "x86_64"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x86_64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x86_64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x86_64` [INFO] [stdout] --> src/arch/mod.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(x86_64)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `target_arch = "x86_64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x86_64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x86_64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `disable_interrupts`, `gdt::set_kernel_stack`, and `switch_context` [INFO] [stdout] --> src/arch/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | gdt::set_kernel_stack, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | halt, [INFO] [stdout] 6 | idt::{disable_interrupts, enable_interrupts, switch_context}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 353 | / exception!(division, |_stack| { [INFO] [stdout] 354 | | panic!("division by 0"); [INFO] [stdout] 355 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 357 | / exception!(debug, |_stack| { [INFO] [stdout] 358 | | panic!("debug"); [INFO] [stdout] 359 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x86_64` [INFO] [stdout] --> src/arch/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(x86_64)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `target_arch = "x86_64"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x86_64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x86_64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x86_64` [INFO] [stdout] --> src/arch/mod.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(x86_64)] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `target_arch = "x86_64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x86_64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x86_64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 361 | / exception!(non_maskable, |_stack| { [INFO] [stdout] 362 | | panic!("non maskable interrupt"); [INFO] [stdout] 363 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 365 | / exception!(breakpoint, |_stack| { [INFO] [stdout] 366 | | panic!("breakpoint"); [INFO] [stdout] 367 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `disable_interrupts`, `gdt::set_kernel_stack`, and `switch_context` [INFO] [stdout] --> src/arch/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | gdt::set_kernel_stack, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | halt, [INFO] [stdout] 6 | idt::{disable_interrupts, enable_interrupts, switch_context}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / fn _panic(info: &PanicInfo) -> ! { [INFO] [stdout] 19 | | println!("{}", info); [INFO] [stdout] 20 | | loop {} [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/d8a5ee01b913730aca7ab44c72c8f2722c0533ff/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-08d24c853dfa6028.rlib [INFO] [stdout] = note: second definition in the local crate (`kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 369 | / exception!(overflow, |_stack| { [INFO] [stdout] 370 | | panic!("overflow"); [INFO] [stdout] 371 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 373 | / exception!(bound_range, |_stack| { [INFO] [stdout] 374 | | panic!("bound range exceeded"); [INFO] [stdout] 375 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 377 | / exception!(invalid_opcode, |_stack| { [INFO] [stdout] 378 | | panic!("invalid opcode"); [INFO] [stdout] 379 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 381 | / exception!(device_not_available, |_stack| { [INFO] [stdout] 382 | | panic!("device not available"); [INFO] [stdout] 383 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | / core::arch::asm!( [INFO] [stdout] 310 | | concat!( [INFO] [stdout] 311 | | $crate::push_registers_and_save_error_code!(), [INFO] [stdout] 312 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 321 | | options(noreturn, att_syntax), [INFO] [stdout] 322 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 385 | / exception_with_error!(double, |_err_code, _stack| { [INFO] [stdout] 386 | | panic!("double fault"); [INFO] [stdout] 387 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception_with_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | / core::arch::asm!( [INFO] [stdout] 310 | | concat!( [INFO] [stdout] 311 | | $crate::push_registers_and_save_error_code!(), [INFO] [stdout] 312 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 321 | | options(noreturn, att_syntax), [INFO] [stdout] 322 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 389 | / exception_with_error!(invalid_tss, |_err_code, _stack| { [INFO] [stdout] 390 | | panic!("invalid tss"); [INFO] [stdout] 391 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception_with_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | / core::arch::asm!( [INFO] [stdout] 310 | | concat!( [INFO] [stdout] 311 | | $crate::push_registers_and_save_error_code!(), [INFO] [stdout] 312 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 321 | | options(noreturn, att_syntax), [INFO] [stdout] 322 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 393 | / exception_with_error!(segment_not_present, |_err_code, _stack| { [INFO] [stdout] 394 | | panic!("segment not present"); [INFO] [stdout] 395 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception_with_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | / core::arch::asm!( [INFO] [stdout] 310 | | concat!( [INFO] [stdout] 311 | | $crate::push_registers_and_save_error_code!(), [INFO] [stdout] 312 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 321 | | options(noreturn, att_syntax), [INFO] [stdout] 322 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 397 | / exception_with_error!(stack_segment, |_err_code, _stack| { [INFO] [stdout] 398 | | panic!("stack segment fault"); [INFO] [stdout] 399 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception_with_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | / core::arch::asm!( [INFO] [stdout] 310 | | concat!( [INFO] [stdout] 311 | | $crate::push_registers_and_save_error_code!(), [INFO] [stdout] 312 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 321 | | options(noreturn, att_syntax), [INFO] [stdout] 322 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 401 | / exception_with_error!(general_protection, |_err_code, _stack| { [INFO] [stdout] 402 | | panic!("general protection fault"); [INFO] [stdout] 403 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception_with_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | / core::arch::asm!( [INFO] [stdout] 310 | | concat!( [INFO] [stdout] 311 | | $crate::push_registers_and_save_error_code!(), [INFO] [stdout] 312 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 321 | | options(noreturn, att_syntax), [INFO] [stdout] 322 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 405 | / exception_with_error!(page, |_err_code, _stack| { [INFO] [stdout] 406 | | println!("page fault at {:x}", regs::read_cr2()); [INFO] [stdout] 407 | | panic!("page fault"); [INFO] [stdout] 408 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception_with_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `multiboot2` [INFO] [stdout] --> src/arch/x86_64/mod.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let boot_info = multiboot2::init(magic, info).expect("unsupported bootloader"); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `multiboot2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `multiboot2`, use `cargo add multiboot2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 410 | / exception!(x87_fp, |_stack| { [INFO] [stdout] 411 | | panic!("x87 floating point exception"); [INFO] [stdout] 412 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | / core::arch::asm!( [INFO] [stdout] 310 | | concat!( [INFO] [stdout] 311 | | $crate::push_registers_and_save_error_code!(), [INFO] [stdout] 312 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 321 | | options(noreturn, att_syntax), [INFO] [stdout] 322 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 414 | / exception_with_error!(alignment_check, |_err_code, _stack| { [INFO] [stdout] 415 | | panic!("alignment check"); [INFO] [stdout] 416 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception_with_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 418 | / exception!(machine_check, |_stack| { [INFO] [stdout] 419 | | panic!("machine check"); [INFO] [stdout] 420 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 422 | / exception!(simd_fp, |_stack| { [INFO] [stdout] 423 | | panic!("simd floating point exception"); [INFO] [stdout] 424 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 426 | / exception!(virtualization, |_stack| { [INFO] [stdout] 427 | | panic!("virtualization exception"); [INFO] [stdout] 428 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | / core::arch::asm!( [INFO] [stdout] 310 | | concat!( [INFO] [stdout] 311 | | $crate::push_registers_and_save_error_code!(), [INFO] [stdout] 312 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 321 | | options(noreturn, att_syntax), [INFO] [stdout] 322 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 430 | / exception_with_error!(control_protection, |_err_code, _stack| { [INFO] [stdout] 431 | | panic!("control protection exception"); [INFO] [stdout] 432 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception_with_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / core::arch::asm!( [INFO] [stdout] 284 | | concat!( [INFO] [stdout] 285 | | $crate::push_registers!(), [INFO] [stdout] 286 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 294 | | options(noreturn, att_syntax), [INFO] [stdout] 295 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 434 | / exception!(hypervisor_injection, |_stack| { [INFO] [stdout] 435 | | panic!("hypervisor injection exception"); [INFO] [stdout] 436 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | / core::arch::asm!( [INFO] [stdout] 310 | | concat!( [INFO] [stdout] 311 | | $crate::push_registers_and_save_error_code!(), [INFO] [stdout] 312 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 321 | | options(noreturn, att_syntax), [INFO] [stdout] 322 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 438 | / exception_with_error!(vmm_communication, |_err_code, _stack| { [INFO] [stdout] 439 | | panic!("vmm communication exception"); [INFO] [stdout] 440 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception_with_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | / core::arch::asm!( [INFO] [stdout] 310 | | concat!( [INFO] [stdout] 311 | | $crate::push_registers_and_save_error_code!(), [INFO] [stdout] 312 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 321 | | options(noreturn, att_syntax), [INFO] [stdout] 322 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 442 | / exception_with_error!(security, |_err_code, _stack| { [INFO] [stdout] 443 | | panic!("security exception"); [INFO] [stdout] 444 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exception_with_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 446 | / interrupt!(pit, |_stack| { [INFO] [stdout] 447 | | // println!("pit interrupt"); [INFO] [stdout] 448 | | PIC1.lock().send_eoi(); [INFO] [stdout] 449 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 451 | / interrupt!(keyboard, |_stack| { [INFO] [stdout] 452 | | println!("keyboard interrupt"); [INFO] [stdout] 453 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 455 | / interrupt!(cascade, |_stack| { [INFO] [stdout] 456 | | println!("cascade interrupt"); [INFO] [stdout] 457 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 459 | / interrupt!(com2, |_stack| { [INFO] [stdout] 460 | | println!("COM2 interrupt"); [INFO] [stdout] 461 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 463 | / interrupt!(com1, |_stack| { [INFO] [stdout] 464 | | println!("COM1 interrupt"); [INFO] [stdout] 465 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 467 | / interrupt!(lpt2, |_stack| { [INFO] [stdout] 468 | | println!("LPT2 interrupt"); [INFO] [stdout] 469 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 471 | / interrupt!(floppy_disk, |_stack| { [INFO] [stdout] 472 | | println!("floppy disk interrupt"); [INFO] [stdout] 473 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 475 | / interrupt!(lpt1, |_stack| { [INFO] [stdout] 476 | | println!("LPT1/spurious interrupt"); [INFO] [stdout] 477 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 479 | / interrupt!(cmos, |_stack| { [INFO] [stdout] 480 | | println!("CMOS interrupt"); [INFO] [stdout] 481 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 483 | / interrupt!(peripheral1, |_stack| { [INFO] [stdout] 484 | | println!("peripheral interrupt"); [INFO] [stdout] 485 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 487 | / interrupt!(peripheral2, |_stack| { [INFO] [stdout] 488 | | println!("peripheral interrupt"); [INFO] [stdout] 489 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 491 | / interrupt!(peripheral3, |_stack| { [INFO] [stdout] 492 | | println!("peripheral interrupt"); [INFO] [stdout] 493 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 495 | / interrupt!(mouse, |_stack| { [INFO] [stdout] 496 | | println!("mouse interrupt"); [INFO] [stdout] 497 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 499 | / interrupt!(fpu, |_stack| { [INFO] [stdout] 500 | | println!("FPU interrupt"); [INFO] [stdout] 501 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 503 | / interrupt!(primary_ata, |_stack| { [INFO] [stdout] 504 | | println!("primary ATA interrupt"); [INFO] [stdout] 505 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 507 | / interrupt!(secondary_ata, |_stack| { [INFO] [stdout] 508 | | println!("secondary ATA interrupt"); [INFO] [stdout] 509 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 511 | / interrupt!(lapic, |_stack| { [INFO] [stdout] 512 | | // println!("lapic interrupt"); [INFO] [stdout] 513 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/idt.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / core::arch::asm!( [INFO] [stdout] 337 | | concat!( [INFO] [stdout] 338 | | $crate::push_registers!(), [INFO] [stdout] 339 | | $crate::swapgs!(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | options(noreturn, att_syntax), [INFO] [stdout] 348 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 515 | / interrupt!(invalidate_tlb, |_stack| { [INFO] [stdout] 516 | | regs::write_cr3(regs::read_cr3()); [INFO] [stdout] 517 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/arch/x86_64/io.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | impl const Add for Pio { [INFO] [stdout] | ^^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #90080 for more information [INFO] [stdout] = help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-03-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/arch/x86_64/io.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | impl const Add for Mmio { [INFO] [stdout] | ^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #90080 for more information [INFO] [stdout] = help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-03-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (bin "kernel" test) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/pic.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | data: port + 1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/serial.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | int_enable: port + 1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/serial.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | fifo_ctrl: port + 2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/serial.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | line_ctrl: port + 3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/serial.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | modem_ctrl: port + 4, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/serial.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | line_status: port + 5, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/serial.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | _modem_status: port + 6, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `multiboot2` [INFO] [stdout] --> src/arch/x86_64/mod.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let boot_info = multiboot2::init(magic, info).expect("unsupported bootloader"); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `multiboot2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `multiboot2`, use `cargo add multiboot2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/lapic.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | id: base + 0x020, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/lapic.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | eoi: base + 0x0B0, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/lapic.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | svr: base + 0x0F0, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/lapic.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | icr_lo: base + 0x300, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/lapic.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | icr_hi: base + 0x310, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/lapic.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | timer: base + 0x320, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/lapic.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | ticr: base + 0x380, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/lapic.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | tccr: base + 0x390, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Add` is not yet stable as a const trait [INFO] [stdout] --> src/arch/x86_64/lapic.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | tdcr: base + 0x3E0, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0658, E0787. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (bin "kernel") due to 62 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1499499ecd6112211d8394442a4036eb3e9a953f039348394ed68b99bb6139fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1499499ecd6112211d8394442a4036eb3e9a953f039348394ed68b99bb6139fd", kill_on_drop: false }` [INFO] [stdout] 1499499ecd6112211d8394442a4036eb3e9a953f039348394ed68b99bb6139fd