[INFO] cloning repository https://github.com/mikedilger/winkle-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikedilger/winkle-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikedilger%2Fwinkle-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikedilger%2Fwinkle-kernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7d87575b7dcdeaa6b8c7342ba8f49e89cc66d87 [INFO] building mikedilger/winkle-kernel against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikedilger%2Fwinkle-kernel" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mikedilger/winkle-kernel [INFO] finished tweaking git repo https://github.com/mikedilger/winkle-kernel [INFO] tweaked toml for git repo https://github.com/mikedilger/winkle-kernel written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mikedilger/winkle-kernel on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mikedilger/winkle-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66ceb466b583b35d47b5a4e698da3550de92fa810765645c390e87dcc295125a [INFO] running `Command { std: "docker" "start" "-a" "66ceb466b583b35d47b5a4e698da3550de92fa810765645c390e87dcc295125a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66ceb466b583b35d47b5a4e698da3550de92fa810765645c390e87dcc295125a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ceb466b583b35d47b5a4e698da3550de92fa810765645c390e87dcc295125a", kill_on_drop: false }` [INFO] [stdout] 66ceb466b583b35d47b5a4e698da3550de92fa810765645c390e87dcc295125a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43657fad9a0f54d9342ca9ce88d4136b31ffe2de00d7655017dc2cb09e24db1a [INFO] running `Command { std: "docker" "start" "-a" "43657fad9a0f54d9342ca9ce88d4136b31ffe2de00d7655017dc2cb09e24db1a", kill_on_drop: false }` [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling winkle-kernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: Winkle does not support the specified target architecture. [INFO] [stdout] --> src/target/arch/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | compile_error!("Winkle does not support the specified target architecture."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Winkle does not support the specified machine [INFO] [stdout] --> src/target/machine/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | compile_error!("Winkle does not support the specified machine"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::target::AtomicPtr` [INFO] [stdout] --> src/atomic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::target::AtomicPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `AtomicPtr` in `target` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 - use crate::target::AtomicPtr; [INFO] [stdout] 2 + use core::sync::atomic::AtomicPtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::target::AtomicPtr` [INFO] [stdout] --> src/register.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::target::AtomicPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `AtomicPtr` in `target` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 - use crate::target::AtomicPtr; [INFO] [stdout] 2 + use core::sync::atomic::AtomicPtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `target::CONSOLE` [INFO] [stdout] --> src/kernel.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use target::CONSOLE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `CONSOLE` in `target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pause` in module `crate::target` [INFO] [stdout] --> src/spinlock.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | crate::target::pause(); [INFO] [stdout] | ^^^^^ not found in `crate::target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `abort` in module `crate::target` [INFO] [stdout] --> src/kernel.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | crate::target::abort() [INFO] [stdout] | ^^^^^ not found in `crate::target` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use core::intrinsics::abort; [INFO] [stdout] | [INFO] [stdout] help: if you import `abort`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - crate::target::abort() [INFO] [stdout] 25 + abort() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in module `target` [INFO] [stdout] --> src/kernel.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | target::init(); [INFO] [stdout] | ^^^^ not found in `target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `display_machine_information` in module `target` [INFO] [stdout] --> src/kernel.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | target::display_machine_information(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UART0_ADDR` in module `crate::target` [INFO] [stdout] --> src/kernel.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | (crate::target::UART0_ADDR as *mut u8) [INFO] [stdout] | ^^^^^^^^^^ not found in `crate::target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UART0_ADDR` in module `crate::target` [INFO] [stdout] --> src/kernel.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | (crate::target::UART0_ADDR as *mut u8) [INFO] [stdout] | ^^^^^^^^^^ not found in `crate::target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch::*` [INFO] [stdout] --> src/target/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use arch::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(machine = "qemu-riscv64-virt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(machine, values("qemu-riscv64-virt"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"qemu-riscv64-virt\"))");` 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: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(machine = "qemu-riscv64-virt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(machine, values("qemu-riscv64-virt"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"qemu-riscv64-virt\"))");` 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: unexpected `cfg` condition name: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(machine = "sifive-hifive-unmatched")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(machine, values("sifive-hifive-unmatched"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"sifive-hifive-unmatched\"))");` 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: unexpected `cfg` condition name: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(machine = "sifive-hifive-unmatched")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(machine, values("sifive-hifive-unmatched"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"sifive-hifive-unmatched\"))");` 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: unexpected `cfg` condition name: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(machine = "microchip-polarfire-icicle")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(machine, values("microchip-polarfire-icicle"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"microchip-polarfire-icicle\"))");` 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: unexpected `cfg` condition name: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(machine = "microchip-polarfire-icicle")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(machine, values("microchip-polarfire-icicle"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"microchip-polarfire-icicle\"))");` 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: unexpected `cfg` condition name: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(machine = "qemu-microchip-polarfire-icicle")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(machine, values("qemu-microchip-polarfire-icicle"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"qemu-microchip-polarfire-icicle\"))");` 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: unexpected `cfg` condition name: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(machine = "qemu-microchip-polarfire-icicle")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(machine, values("qemu-microchip-polarfire-icicle"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"qemu-microchip-polarfire-icicle\"))");` 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: unexpected `cfg` condition name: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(machine = "")] [INFO] [stdout] | ^^^^^^^^^^^^ [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(machine, values(""))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"\"))");` 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: unexpected `cfg` condition name: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | not(machine = "qemu-riscv64-virt"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(machine, values("qemu-riscv64-virt"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"qemu-riscv64-virt\"))");` 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: unexpected `cfg` condition name: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | not(machine = "sifive-hifive-unmatched"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(machine, values("sifive-hifive-unmatched"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"sifive-hifive-unmatched\"))");` 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: unexpected `cfg` condition name: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | not(machine = "microchip-polarfire-icicle"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(machine, values("microchip-polarfire-icicle"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"microchip-polarfire-icicle\"))");` 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: unexpected `cfg` condition name: `machine` [INFO] [stdout] --> src/target/machine/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | not(machine = "qemu-microchip-polarfire-icicle") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(machine, values("qemu-microchip-polarfire-icicle"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(machine, values(\"qemu-microchip-polarfire-icicle\"))");` 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 import: `machine::*` [INFO] [stdout] --> src/target/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use machine::*; [INFO] [stdout] | ^^^^^^^^^^ [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: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/kernel.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm, llvm_asm, global_asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/kernel.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm, llvm_asm, global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/kernel.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `llvm_asm` [INFO] [stdout] --> src/kernel.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm, llvm_asm, global_asm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kernel.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if let Some(msg) = info.message() { [INFO] [stdout] | ^^^^^^^^^ -------------- this expression has type `PanicMessage<'_>` [INFO] [stdout] | | [INFO] [stdout] | expected `PanicMessage<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PanicMessage<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/kernel.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | kdebug(m.as_bytes()); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0425, E0432, E0635. [INFO] [stdout] [INFO] [stderr] error: could not compile `winkle-kernel` (bin "kernel") due to 15 previous errors; 18 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "43657fad9a0f54d9342ca9ce88d4136b31ffe2de00d7655017dc2cb09e24db1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43657fad9a0f54d9342ca9ce88d4136b31ffe2de00d7655017dc2cb09e24db1a", kill_on_drop: false }` [INFO] [stdout] 43657fad9a0f54d9342ca9ce88d4136b31ffe2de00d7655017dc2cb09e24db1a