[INFO] cloning repository https://github.com/ted-tanner/tedos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ted-tanner/tedos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fffd8a37985d509d0b9ee3e69abe983987162147 [INFO] checking ted-tanner/tedos against master#f4d794ea0b845413344621d89f6c945062748485 for pr-119369 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ted-tanner/tedos on toolchain f4d794ea0b845413344621d89f6c945062748485 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ted-tanner/tedos [INFO] finished tweaking git repo https://github.com/ted-tanner/tedos [INFO] tweaked toml for git repo https://github.com/ted-tanner/tedos written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ted-tanner/tedos 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" "+f4d794ea0b845413344621d89f6c945062748485" "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 ted-tanner/tedos against try#3832a95f57d4260fb5641e183906f49b4e5c6bdd for pr-119369 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ted-tanner/tedos on toolchain 3832a95f57d4260fb5641e183906f49b4e5c6bdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ted-tanner/tedos [INFO] finished tweaking git repo https://github.com/ted-tanner/tedos [INFO] tweaked toml for git repo https://github.com/ted-tanner/tedos written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ted-tanner/tedos 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" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6120547a4a6bcad48db7072df1f186c6fa3eb0eb870e35dce90641f59942d7ea [INFO] running `Command { std: "docker" "start" "-a" "6120547a4a6bcad48db7072df1f186c6fa3eb0eb870e35dce90641f59942d7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6120547a4a6bcad48db7072df1f186c6fa3eb0eb870e35dce90641f59942d7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6120547a4a6bcad48db7072df1f186c6fa3eb0eb870e35dce90641f59942d7ea", kill_on_drop: false }` [INFO] [stdout] 6120547a4a6bcad48db7072df1f186c6fa3eb0eb870e35dce90641f59942d7ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6e229b912142ed93b181f50a7a41850a507cba48913df346f2f5f0f319aee6a [INFO] running `Command { std: "docker" "start" "-a" "a6e229b912142ed93b181f50a7a41850a507cba48913df346f2f5f0f319aee6a", kill_on_drop: false }` [INFO] [stderr] Checking tedos-kernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::platform::uart::Uart` [INFO] [stdout] --> src/kernel_main.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::platform::uart::{Uart, UartController}; [INFO] [stdout] | ^^^^ no `Uart` in `platform::uart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub type Uart = super::riscv::qemu::uart::Uart; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the item is gated behind the `rv64qemu` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::platform::Platform` [INFO] [stdout] --> src/kernel_main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::platform::{Platform, PlatformPrimitives}; [INFO] [stdout] | ^^^^^^^^ no `Platform` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Platform = riscv::RiscVPlatform; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `riscv64` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::platform::uart::Uart` [INFO] [stdout] --> src/panic.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::platform::uart::{Uart, UartController}; [INFO] [stdout] | ^^^^ no `Uart` in `platform::uart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub type Uart = super::riscv::qemu::uart::Uart; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the item is gated behind the `rv64qemu` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::platform::Platform` [INFO] [stdout] --> src/panic.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::platform::{Platform, PlatformPrimitives}; [INFO] [stdout] | ^^^^^^^^ no `Platform` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Platform = riscv::RiscVPlatform; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `riscv64` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::platform::uart::Uart` [INFO] [stdout] --> src/printbuf.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::platform::uart::{Uart, UartController}; [INFO] [stdout] | ^^^^ no `Uart` in `platform::uart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub type Uart = super::riscv::qemu::uart::Uart; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the item is gated behind the `rv64qemu` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `platform::Platform` [INFO] [stdout] --> src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use platform::{Platform, PlatformPrimitives}; [INFO] [stdout] | ^^^^^^^^ no `Platform` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Platform = riscv::RiscVPlatform; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `riscv64` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::platform::uart::Uart` [INFO] [stdout] --> src/kernel_main.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::platform::uart::{Uart, UartController}; [INFO] [stdout] | ^^^^ no `Uart` in `platform::uart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub type Uart = super::riscv::qemu::uart::Uart; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the item is gated behind the `rv64qemu` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::platform::Platform` [INFO] [stdout] --> src/kernel_main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::platform::{Platform, PlatformPrimitives}; [INFO] [stdout] | ^^^^^^^^ no `Platform` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Platform = riscv::RiscVPlatform; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `riscv64` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::platform::uart::Uart` [INFO] [stdout] --> src/panic.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::platform::uart::{Uart, UartController}; [INFO] [stdout] | ^^^^ no `Uart` in `platform::uart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub type Uart = super::riscv::qemu::uart::Uart; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the item is gated behind the `rv64qemu` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlatformPrimitives` [INFO] [stdout] --> src/kernel_main.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::platform::{Platform, PlatformPrimitives}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mutex::Mutex` [INFO] [stdout] --> src/locks/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use mutex::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UartController` [INFO] [stdout] --> src/panic.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::platform::uart::{Uart, UartController}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlatformPrimitives` [INFO] [stdout] --> src/panic.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::platform::{Platform, PlatformPrimitives}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UartController` [INFO] [stdout] --> src/printbuf.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::platform::uart::{Uart, UartController}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlatformPrimitives` [INFO] [stdout] --> src/lib.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use platform::{Platform, PlatformPrimitives}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 11 | | let printbuf_prev_state = unsafe { [INFO] [stdout] 12 | | // This will return immediately if the UART has already been [INFO] [stdout] 13 | | // initialized, so no issue here [INFO] [stdout] ... | [INFO] [stdout] 43 | | Platform::abort(); [INFO] [stdout] 44 | | } [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/3832a95f57d4260fb5641e183906f49b4e5c6bdd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-91a8c1dba89c667e.rlib [INFO] [stdout] = note: second definition in the local crate (`tedoskernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::platform::Platform` [INFO] [stdout] --> src/panic.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::platform::{Platform, PlatformPrimitives}; [INFO] [stdout] | ^^^^^^^^ no `Platform` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Platform = riscv::RiscVPlatform; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `riscv64` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::platform::uart::Uart` [INFO] [stdout] --> src/printbuf.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::platform::uart::{Uart, UartController}; [INFO] [stdout] | ^^^^ no `Uart` in `platform::uart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub type Uart = super::riscv::qemu::uart::Uart; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the item is gated behind the `rv64qemu` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `platform::Platform` [INFO] [stdout] --> src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use platform::{Platform, PlatformPrimitives}; [INFO] [stdout] | ^^^^^^^^ no `Platform` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Platform = riscv::RiscVPlatform; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `riscv64` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlatformPrimitives` [INFO] [stdout] --> src/kernel_main.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::platform::{Platform, PlatformPrimitives}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mutex::Mutex` [INFO] [stdout] --> src/locks/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use mutex::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UartController` [INFO] [stdout] --> src/panic.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::platform::uart::{Uart, UartController}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlatformPrimitives` [INFO] [stdout] --> src/panic.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::platform::{Platform, PlatformPrimitives}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UartController` [INFO] [stdout] --> src/printbuf.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::platform::uart::{Uart, UartController}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlatformPrimitives` [INFO] [stdout] --> src/lib.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use platform::{Platform, PlatformPrimitives}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/panic.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] | ----- ^ expected `!`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/kernel_main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UartController` [INFO] [stdout] --> src/kernel_main.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::platform::uart::{Uart, UartController}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/panic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/panic.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] | ----- ^ expected `!`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tedos-kernel` (lib test) due to 9 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/kernel_main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UartController` [INFO] [stdout] --> src/kernel_main.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::platform::uart::{Uart, UartController}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/panic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tedos-kernel` (lib) due to 8 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a6e229b912142ed93b181f50a7a41850a507cba48913df346f2f5f0f319aee6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6e229b912142ed93b181f50a7a41850a507cba48913df346f2f5f0f319aee6a", kill_on_drop: false }` [INFO] [stdout] a6e229b912142ed93b181f50a7a41850a507cba48913df346f2f5f0f319aee6a