[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 master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftact1m4n3%2Fgigel-kernel" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tact1m4n3/gigel-kernel on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc1/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-tc1/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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking tact1m4n3/gigel-kernel against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [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 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking tact1m4n3/gigel-kernel against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [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 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29628e3e1a87695f71ebe88c565447c512e2199a9b5f0f5e3fa409eb5cf05122 [INFO] running `Command { std: "docker" "start" "-a" "29628e3e1a87695f71ebe88c565447c512e2199a9b5f0f5e3fa409eb5cf05122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29628e3e1a87695f71ebe88c565447c512e2199a9b5f0f5e3fa409eb5cf05122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29628e3e1a87695f71ebe88c565447c512e2199a9b5f0f5e3fa409eb5cf05122", kill_on_drop: false }` [INFO] [stdout] 29628e3e1a87695f71ebe88c565447c512e2199a9b5f0f5e3fa409eb5cf05122 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37234f5f6d557f37d55fcea4668819cb881fae81ab89a740d0156dea70da114b [INFO] running `Command { std: "docker" "start" "-a" "37234f5f6d557f37d55fcea4668819cb881fae81ab89a740d0156dea70da114b", 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 undeclared crate or module `multiboot2` [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 undeclared crate or module `multiboot2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `disable_interrupts`, `gdt::set_kernel_stack`, `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] warning: unused imports: `disable_interrupts`, `gdt::set_kernel_stack`, `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/7ee76453dd3eae6de6c1351f26482bed63b01beb/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-41777efa78699460.rlib [INFO] [stdout] = note: second definition in the local crate (`kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `multiboot2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (bin "kernel" test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/arch/x86_64/pic.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | data: port + 1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl const Add for Pio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [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] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl const Add for Pio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [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] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl const Add for Pio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [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] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl const Add for Pio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [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] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl const Add for Pio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [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] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl const Add for Pio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [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] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl const Add for Pio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/arch/x86_64/idt.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let idt = unsafe { &mut IDT }; [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 23 | let idt = unsafe { addr_of_mut!(IDT) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `multiboot2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/arch/x86_64/lapic.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | id: base + 0x020, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl const Add for Mmio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/arch/x86_64/lapic.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | eoi: base + 0x0B0, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl const Add for Mmio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/arch/x86_64/lapic.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | svr: base + 0x0F0, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl const Add for Mmio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [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] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl const Add for Mmio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [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] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl const Add for Mmio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/arch/x86_64/lapic.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | timer: base + 0x320, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl const Add for Mmio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/arch/x86_64/lapic.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | ticr: base + 0x380, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl const Add for Mmio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/arch/x86_64/lapic.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | tccr: base + 0x390, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl const Add for Mmio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/arch/x86_64/lapic.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | tdcr: base + 0x3E0, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> src/arch/x86_64/io.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl const Add for Mmio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (bin "kernel") due to 20 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "37234f5f6d557f37d55fcea4668819cb881fae81ab89a740d0156dea70da114b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37234f5f6d557f37d55fcea4668819cb881fae81ab89a740d0156dea70da114b", kill_on_drop: false }` [INFO] [stdout] 37234f5f6d557f37d55fcea4668819cb881fae81ab89a740d0156dea70da114b