[INFO] fetching crate stivale2 0.1.1... [INFO] testing stivale2-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate stivale2 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate stivale2 0.1.1 [INFO] finished tweaking crates.io crate stivale2 0.1.1 [INFO] tweaked toml for crates.io crate stivale2 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stivale2 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 289c45fa8f869be1aba71c3177775808210c70c1a05b811645b8e8323b5d64d3 [INFO] running `Command { std: "docker" "start" "-a" "289c45fa8f869be1aba71c3177775808210c70c1a05b811645b8e8323b5d64d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "289c45fa8f869be1aba71c3177775808210c70c1a05b811645b8e8323b5d64d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "289c45fa8f869be1aba71c3177775808210c70c1a05b811645b8e8323b5d64d3", kill_on_drop: false }` [INFO] [stdout] 289c45fa8f869be1aba71c3177775808210c70c1a05b811645b8e8323b5d64d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2aee362f6e2518c2aaa99017a80c2cb448a824b0b1e5fdc5fd71710f8decf01a [INFO] running `Command { std: "docker" "start" "-a" "2aee362f6e2518c2aaa99017a80c2cb448a824b0b1e5fdc5fd71710f8decf01a", kill_on_drop: false }` [INFO] [stderr] Compiling stivale2 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `const_fn_fn_ptr_basics` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | const_fn_fn_ptr_basics, // https://github.com/rust-lang/rust/issues/57563 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | const_fn_trait_bound, // https://github.com/rust-lang/rust/issues/93706 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_nonnull_new` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | const_nonnull_new, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_option` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | const_option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_align_offset` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | const_align_offset, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/header.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 182 | / header_tag! { [INFO] [stdout] 183 | | /// Any Video Tag [INFO] [stdout] 184 | | /// [INFO] [stdout] 185 | | /// This tag is used to indicate that the kernel does *not* require a graphical framebuffer to [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/header.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 211 | / header_tag! { [INFO] [stdout] 212 | | /// Framebuffer Tag [INFO] [stdout] 213 | | /// [INFO] [stdout] 214 | | /// This tag is used to request that the bootloader set up a graphical framebuffer for the [INFO] [stdout] ... | [INFO] [stdout] 225 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/header.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 258 | / header_tag! { [INFO] [stdout] 259 | | /// Terminal Tag [INFO] [stdout] 260 | | /// [INFO] [stdout] 261 | | /// This tag requests that the bootloader set up a runtime terminal for the kernel's use. [INFO] [stdout] ... | [INFO] [stdout] 266 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/header.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 294 | / header_tag! { [INFO] [stdout] 295 | | /// 5-level Paging Tag [INFO] [stdout] 296 | | /// [INFO] [stdout] 297 | | /// This tag requests that the [INFO] [stdout] 298 | | struct FiveLevelPagingHeaderTag : 0x932f477032007e8f; [INFO] [stdout] 299 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/header.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 307 | / header_tag! { [INFO] [stdout] 308 | | /// HHDM Slide Tag [INFO] [stdout] 309 | | /// [INFO] [stdout] 310 | | /// [INFO] [stdout] ... | [INFO] [stdout] 315 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/header.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 349 | / header_tag! { [INFO] [stdout] 350 | | /// Unmap Null Tag [INFO] [stdout] 351 | | /// [INFO] [stdout] 352 | | /// This tag requests that the bootloader unmap the 0th page of the virtual address space [INFO] [stdout] ... | [INFO] [stdout] 355 | | struct UnmapNullHeaderTag : 0x92919432b16fe7e7; [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/header.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 366 | / header_tag! { [INFO] [stdout] 367 | | /// SMP Tag [INFO] [stdout] 368 | | /// [INFO] [stdout] 369 | | /// This tag requests that the bootloader also start up any application processors (APs) for [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 107 | / struct_tag! { [INFO] [stdout] 108 | | /// Physical Memory Ranges [INFO] [stdout] 109 | | /// [INFO] [stdout] 110 | | /// This tag is returned to the kernel when the bootloader has recognized the [`ENABLE_PMRS`] [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 190 | / struct_tag! { [INFO] [stdout] 191 | | /// Kernel Base Address [INFO] [stdout] 192 | | /// [INFO] [stdout] 193 | | /// This tag returns the physical and virtual load addresses of the kernel image. This tag is [INFO] [stdout] ... | [INFO] [stdout] 201 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 215 | / struct_tag! { [INFO] [stdout] 216 | | /// Kernel Command Line [INFO] [stdout] 217 | | /// [INFO] [stdout] 218 | | /// This tag returns the kernel command line passed from the bootloader. [INFO] [stdout] ... | [INFO] [stdout] 223 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 231 | / struct_tag! { [INFO] [stdout] 232 | | /// Physical Memory Map [INFO] [stdout] 233 | | /// [INFO] [stdout] 234 | | /// The map entries are guaranteed to be sorted from lowest to highest based on the base [INFO] [stdout] ... | [INFO] [stdout] 241 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 356 | / struct_tag! { [INFO] [stdout] 357 | | /// Framebuffer Tag [INFO] [stdout] 358 | | /// [INFO] [stdout] 359 | | /// This tag is returned when the bootloader has set up a graphical framebuffer for the kernel [INFO] [stdout] ... | [INFO] [stdout] 377 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 441 | / struct_tag! { [INFO] [stdout] 442 | | /// Text Mode Tag [INFO] [stdout] 443 | | /// [INFO] [stdout] 444 | | /// This tag is returned when the bootloader has set up a GCA text mode buffer for the kernel [INFO] [stdout] ... | [INFO] [stdout] 454 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 475 | / struct_tag! { [INFO] [stdout] 476 | | /// EDID Information Tag [INFO] [stdout] 477 | | /// [INFO] [stdout] 478 | | /// This tag reports the EDID information structure, if one was provided by the firmware. [INFO] [stdout] ... | [INFO] [stdout] 483 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 503 | / struct_tag! { [INFO] [stdout] 504 | | /// Framebuffer MTRR [INFO] [stdout] 505 | | /// [INFO] [stdout] 506 | | /// This tag is returns when the bootloader has successfully set up MTRR write-combining for [INFO] [stdout] ... | [INFO] [stdout] 513 | | struct FramebufferMtrrTag : 0x6bc1a78ebe871172; [INFO] [stdout] 514 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 516 | / struct_tag! { [INFO] [stdout] 517 | | #[derive(Debug)] [INFO] [stdout] 518 | | struct TerminalTag : 0xc2b3f4c3233b0974 { [INFO] [stdout] 519 | | flags: u32, [INFO] [stdout] ... | [INFO] [stdout] 525 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 571 | / struct_tag! { [INFO] [stdout] 572 | | /// Modules Tag [INFO] [stdout] 573 | | /// [INFO] [stdout] 574 | | /// This tag enumerates any modules that were loaded on behalf of the kernel. [INFO] [stdout] ... | [INFO] [stdout] 580 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 607 | / struct_tag! { [INFO] [stdout] 608 | | /// ACPI Root System Description Pointer (RSDP) Tag [INFO] [stdout] 609 | | /// [INFO] [stdout] 610 | | /// This tag returns the location of the RSDP structure. [INFO] [stdout] ... | [INFO] [stdout] 615 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 624 | / struct_tag! { [INFO] [stdout] 625 | | /// SMBIOS Tag [INFO] [stdout] 626 | | /// [INFO] [stdout] 627 | | /// This tag returns the location of the SMBIOS entry point. [INFO] [stdout] ... | [INFO] [stdout] 634 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 658 | / struct_tag! { [INFO] [stdout] 659 | | /// Epoch Tag [INFO] [stdout] 660 | | /// [INFO] [stdout] 661 | | /// This tag returns the current UNIX epoch as reported by the RTC, if any. [INFO] [stdout] ... | [INFO] [stdout] 666 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 675 | / struct_tag! { [INFO] [stdout] 676 | | /// Firmware Tag [INFO] [stdout] 677 | | /// [INFO] [stdout] 678 | | /// This tag reports information about the firmware. [INFO] [stdout] ... | [INFO] [stdout] 683 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 685 | / struct_tag! { [INFO] [stdout] 686 | | /// EFI System Table Tag [INFO] [stdout] 687 | | /// [INFO] [stdout] 688 | | /// This tag returns a pointer to the EFI system table, if available. [INFO] [stdout] ... | [INFO] [stdout] 693 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 701 | / struct_tag! { [INFO] [stdout] 702 | | /// Kernel File Tag [INFO] [stdout] 703 | | #[derive(Debug)] [INFO] [stdout] 704 | | struct KernelFileTag : 0xe599d90c2975584a { [INFO] [stdout] ... | [INFO] [stdout] 707 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 715 | / struct_tag! { [INFO] [stdout] 716 | | /// Kernel File v2 Tag [INFO] [stdout] 717 | | #[derive(Debug)] [INFO] [stdout] 718 | | struct KernelFileV2Tag : 0x37c13018a02c6ea2 { [INFO] [stdout] ... | [INFO] [stdout] 722 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 730 | / struct_tag! { [INFO] [stdout] 731 | | /// Boot Volume Tag [INFO] [stdout] 732 | | /// [INFO] [stdout] 733 | | /// This tag returns the GUID of the volume and partition from which the kernel was loaded. [INFO] [stdout] ... | [INFO] [stdout] 740 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 777 | / struct_tag! { [INFO] [stdout] 778 | | /// Kernel Slide Tag [INFO] [stdout] 779 | | /// [INFO] [stdout] 780 | | /// This tag returns the slide that was applied by the bootloader to the kernel's load address. [INFO] [stdout] ... | [INFO] [stdout] 785 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 794 | / struct_tag! { [INFO] [stdout] 795 | | #[derive(Debug)] [INFO] [stdout] 796 | | struct SmpTag : 0x34d1d96339647025 { [INFO] [stdout] 797 | | flags: u64, [INFO] [stdout] ... | [INFO] [stdout] 803 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 841 | / struct_tag! { [INFO] [stdout] 842 | | /// PXE Server Tag [INFO] [stdout] 843 | | /// [INFO] [stdout] 844 | | /// This tag reports the IP address of the PXE server from which the kernel was booted. [INFO] [stdout] ... | [INFO] [stdout] 849 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 858 | / struct_tag! { [INFO] [stdout] 859 | | #[derive(Debug)] [INFO] [stdout] 860 | | struct Mmio32UartTag : 0xb813f9b8dbc78797 { [INFO] [stdout] 861 | | addr: u64, [INFO] [stdout] 862 | | } [INFO] [stdout] 863 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 871 | / struct_tag! { [INFO] [stdout] 872 | | /// Device Tree Blob Tag [INFO] [stdout] 873 | | #[derive(Debug)] [INFO] [stdout] 874 | | struct DtbTag : 0xabb29bd49a2833fa { [INFO] [stdout] ... | [INFO] [stdout] 878 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `StivaleTag` which is not `const` [INFO] [stdout] --> src/struc.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | impl const StivaleTag for $name { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 890 | / struct_tag! { [INFO] [stdout] 891 | | /// Higher Half Direct Map Tag [INFO] [stdout] 892 | | /// [INFO] [stdout] 893 | | /// This tag reports the address of the Higher Half Direct Map (HHDM). [INFO] [stdout] ... | [INFO] [stdout] 898 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `struct_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` can only be applied to `const` traits [INFO] [stdout] --> src/header.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | T: HeaderTag + ~const StivaleTag, [INFO] [stdout] | ^^^^^^ can't be applied to `StivaleTag` [INFO] [stdout] | [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` can only be applied to `const` traits [INFO] [stdout] --> src/header.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | T: ~const StivaleTag + HeaderTag, [INFO] [stdout] | ^^^^^^ can't be applied to `StivaleTag` [INFO] [stdout] ... [INFO] [stdout] 182 | / header_tag! { [INFO] [stdout] 183 | | /// Any Video Tag [INFO] [stdout] 184 | | /// [INFO] [stdout] 185 | | /// This tag is used to indicate that the kernel does *not* require a graphical framebuffer to [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` can only be applied to `const` traits [INFO] [stdout] --> src/header.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | T: ~const StivaleTag + HeaderTag, [INFO] [stdout] | ^^^^^^ can't be applied to `StivaleTag` [INFO] [stdout] ... [INFO] [stdout] 211 | / header_tag! { [INFO] [stdout] 212 | | /// Framebuffer Tag [INFO] [stdout] 213 | | /// [INFO] [stdout] 214 | | /// This tag is used to request that the bootloader set up a graphical framebuffer for the [INFO] [stdout] ... | [INFO] [stdout] 225 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` can only be applied to `const` traits [INFO] [stdout] --> src/header.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | T: ~const StivaleTag + HeaderTag, [INFO] [stdout] | ^^^^^^ can't be applied to `StivaleTag` [INFO] [stdout] ... [INFO] [stdout] 258 | / header_tag! { [INFO] [stdout] 259 | | /// Terminal Tag [INFO] [stdout] 260 | | /// [INFO] [stdout] 261 | | /// This tag requests that the bootloader set up a runtime terminal for the kernel's use. [INFO] [stdout] ... | [INFO] [stdout] 266 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` can only be applied to `const` traits [INFO] [stdout] --> src/header.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | T: ~const StivaleTag + HeaderTag, [INFO] [stdout] | ^^^^^^ can't be applied to `StivaleTag` [INFO] [stdout] ... [INFO] [stdout] 294 | / header_tag! { [INFO] [stdout] 295 | | /// 5-level Paging Tag [INFO] [stdout] 296 | | /// [INFO] [stdout] 297 | | /// This tag requests that the [INFO] [stdout] 298 | | struct FiveLevelPagingHeaderTag : 0x932f477032007e8f; [INFO] [stdout] 299 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` can only be applied to `const` traits [INFO] [stdout] --> src/header.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | T: ~const StivaleTag + HeaderTag, [INFO] [stdout] | ^^^^^^ can't be applied to `StivaleTag` [INFO] [stdout] ... [INFO] [stdout] 307 | / header_tag! { [INFO] [stdout] 308 | | /// HHDM Slide Tag [INFO] [stdout] 309 | | /// [INFO] [stdout] 310 | | /// [INFO] [stdout] ... | [INFO] [stdout] 315 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` can only be applied to `const` traits [INFO] [stdout] --> src/header.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | T: ~const StivaleTag + HeaderTag, [INFO] [stdout] | ^^^^^^ can't be applied to `StivaleTag` [INFO] [stdout] ... [INFO] [stdout] 349 | / header_tag! { [INFO] [stdout] 350 | | /// Unmap Null Tag [INFO] [stdout] 351 | | /// [INFO] [stdout] 352 | | /// This tag requests that the bootloader unmap the 0th page of the virtual address space [INFO] [stdout] ... | [INFO] [stdout] 355 | | struct UnmapNullHeaderTag : 0x92919432b16fe7e7; [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` can only be applied to `const` traits [INFO] [stdout] --> src/header.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | T: ~const StivaleTag + HeaderTag, [INFO] [stdout] | ^^^^^^ can't be applied to `StivaleTag` [INFO] [stdout] ... [INFO] [stdout] 366 | / header_tag! { [INFO] [stdout] 367 | | /// SMP Tag [INFO] [stdout] 368 | | /// [INFO] [stdout] 369 | | /// This tag requests that the bootloader also start up any application processors (APs) for [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `StivaleTag` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[const_trait] pub trait StivaleTag { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `core::ptr::mut_ptr::::align_offset` in constant functions [INFO] [stdout] --> src/header.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | assert!(stack_ptr.as_ptr().align_offset(16) == 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::as_non_null_tag_ptr` in constant functions [INFO] [stdout] --> src/header.rs:108:31 [INFO] [stdout] | [INFO] [stdout] 108 | self.tags = Some(tags.as_non_null_tag_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::as_non_null_tag_ptr` in constant functions [INFO] [stdout] --> src/header.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | self.tag.next = Some(next.as_non_null_tag_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | / header_tag! { [INFO] [stdout] 183 | | /// Any Video Tag [INFO] [stdout] 184 | | /// [INFO] [stdout] 185 | | /// This tag is used to indicate that the kernel does *not* require a graphical framebuffer to [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::tag_for` in constant functions [INFO] [stdout] --> src/header.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | tag: Self::tag_for(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::as_non_null_tag_ptr` in constant functions [INFO] [stdout] --> src/header.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | self.tag.next = Some(next.as_non_null_tag_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / header_tag! { [INFO] [stdout] 212 | | /// Framebuffer Tag [INFO] [stdout] 213 | | /// [INFO] [stdout] 214 | | /// This tag is used to request that the bootloader set up a graphical framebuffer for the [INFO] [stdout] ... | [INFO] [stdout] 225 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::tag_for` in constant functions [INFO] [stdout] --> src/header.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 231 | tag: Self::tag_for(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::as_non_null_tag_ptr` in constant functions [INFO] [stdout] --> src/header.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | self.tag.next = Some(next.as_non_null_tag_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | / header_tag! { [INFO] [stdout] 259 | | /// Terminal Tag [INFO] [stdout] 260 | | /// [INFO] [stdout] 261 | | /// This tag requests that the bootloader set up a runtime terminal for the kernel's use. [INFO] [stdout] ... | [INFO] [stdout] 266 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::tag_for` in constant functions [INFO] [stdout] --> src/header.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 280 | tag: Self::tag_for(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::as_non_null_tag_ptr` in constant functions [INFO] [stdout] --> src/header.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | self.tag.next = Some(next.as_non_null_tag_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | / header_tag! { [INFO] [stdout] 295 | | /// 5-level Paging Tag [INFO] [stdout] 296 | | /// [INFO] [stdout] 297 | | /// This tag requests that the [INFO] [stdout] 298 | | struct FiveLevelPagingHeaderTag : 0x932f477032007e8f; [INFO] [stdout] 299 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::tag_for` in constant functions [INFO] [stdout] --> src/header.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | Self { tag: Self::tag_for() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::as_non_null_tag_ptr` in constant functions [INFO] [stdout] --> src/header.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | self.tag.next = Some(next.as_non_null_tag_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | / header_tag! { [INFO] [stdout] 308 | | /// HHDM Slide Tag [INFO] [stdout] 309 | | /// [INFO] [stdout] 310 | | /// [INFO] [stdout] ... | [INFO] [stdout] 315 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::tag_for` in constant functions [INFO] [stdout] --> src/header.rs:328:18 [INFO] [stdout] | [INFO] [stdout] 328 | tag: Self::tag_for(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::as_non_null_tag_ptr` in constant functions [INFO] [stdout] --> src/header.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | self.tag.next = Some(next.as_non_null_tag_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | / header_tag! { [INFO] [stdout] 350 | | /// Unmap Null Tag [INFO] [stdout] 351 | | /// [INFO] [stdout] 352 | | /// This tag requests that the bootloader unmap the 0th page of the virtual address space [INFO] [stdout] ... | [INFO] [stdout] 355 | | struct UnmapNullHeaderTag : 0x92919432b16fe7e7; [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::tag_for` in constant functions [INFO] [stdout] --> src/header.rs:361:18 [INFO] [stdout] | [INFO] [stdout] 361 | tag: Self::tag_for(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::as_non_null_tag_ptr` in constant functions [INFO] [stdout] --> src/header.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | self.tag.next = Some(next.as_non_null_tag_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | / header_tag! { [INFO] [stdout] 367 | | /// SMP Tag [INFO] [stdout] 368 | | /// [INFO] [stdout] 369 | | /// This tag requests that the bootloader also start up any application processors (APs) for [INFO] [stdout] ... | [INFO] [stdout] 374 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `header_tag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::tag_for` in constant functions [INFO] [stdout] --> src/header.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | tag: Self::tag_for(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0635. [INFO] [stdout] [INFO] [stderr] error: could not compile `stivale2` (lib) due to 56 previous errors; 4 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2aee362f6e2518c2aaa99017a80c2cb448a824b0b1e5fdc5fd71710f8decf01a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aee362f6e2518c2aaa99017a80c2cb448a824b0b1e5fdc5fd71710f8decf01a", kill_on_drop: false }` [INFO] [stdout] 2aee362f6e2518c2aaa99017a80c2cb448a824b0b1e5fdc5fd71710f8decf01a