[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [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] 52e18eedb5258959604ab767c9e9db6ed5d78d44 [INFO] checking ted-tanner/tedos against master#9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9 for pr-124108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] fatal: cannot create directory at 'src/platform/riscv/qemu': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [ERROR] this task or one of its parent failed! [ERROR] failed to checkout https://github.com/ted-tanner/tedos [ERROR] caused by: command failed: exit status: 128 [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking ted-tanner/tedos against try#2e5b7739e5167b731ad5eb628f04a54f932f1fe2 for pr-124108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-tanner%2Ftedos" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ted-tanner/tedos on toolchain 2e5b7739e5167b731ad5eb628f04a54f932f1fe2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "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-6-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" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79838435b25a2eb0e52bb015ede5b58bbe6da81228a8e210ab8ebc08cfc10ada [INFO] running `Command { std: "docker" "start" "-a" "79838435b25a2eb0e52bb015ede5b58bbe6da81228a8e210ab8ebc08cfc10ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79838435b25a2eb0e52bb015ede5b58bbe6da81228a8e210ab8ebc08cfc10ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79838435b25a2eb0e52bb015ede5b58bbe6da81228a8e210ab8ebc08cfc10ada", kill_on_drop: false }` [INFO] [stdout] 79838435b25a2eb0e52bb015ede5b58bbe6da81228a8e210ab8ebc08cfc10ada [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 548e7087969482431df1c74c778401a5cd829862ed4b94adf0af051970fa522f [INFO] running `Command { std: "docker" "start" "-a" "548e7087969482431df1c74c778401a5cd829862ed4b94adf0af051970fa522f", kill_on_drop: false }` [INFO] [stderr] Checking tedos-kernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::platform::Platform`, `crate::platform::PAGE_SIZE` [INFO] [stdout] --> src/alloc/phys_page_allocator.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::platform::{Platform, PlatformPrimitives, PAGE_SIZE}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ no `PAGE_SIZE` in `platform` [INFO] [stdout] | | [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] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const PAGE_SIZE: usize = 4096; [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: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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | 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: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/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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | 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 imports `crate::platform::Platform`, `crate::platform::PAGE_SIZE` [INFO] [stdout] --> src/alloc/phys_page_allocator.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::platform::{Platform, PlatformPrimitives, PAGE_SIZE}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ no `PAGE_SIZE` in `platform` [INFO] [stdout] | | [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] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const PAGE_SIZE: usize = 4096; [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: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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | 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: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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | 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::PAGE_SIZE` [INFO] [stdout] --> src/printbuf.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::platform::PAGE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PAGE_SIZE` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const PAGE_SIZE: usize = 4096; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `riscv64` 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/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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | 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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | 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::PAGE_SIZE` [INFO] [stdout] --> src/printbuf.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::platform::PAGE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PAGE_SIZE` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const PAGE_SIZE: usize = 4096; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `riscv64` 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/alloc/phys_page_allocator.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::platform::{Platform, PlatformPrimitives, PAGE_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlatformPrimitives` [INFO] [stdout] --> src/kernel_main.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/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] warning: unused import: `PlatformPrimitives` [INFO] [stdout] --> src/alloc/phys_page_allocator.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::platform::{Platform, PlatformPrimitives, PAGE_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/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/2e5b7739e5167b731ad5eb628f04a54f932f1fe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9579298f7adeed43.rlib [INFO] [stdout] = note: second definition in the local crate (`tedoskernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlatformPrimitives` [INFO] [stdout] --> src/kernel_main.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/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: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, 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 10 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/printbuf.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | let print_buf = unsafe { &mut $crate::printbuf::GLOBAL_PRINT_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/kernel_main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | println!("TedOS booted successfully!"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | let print_buf = unsafe { addr_of_mut!(crate::printbuf::GLOBAL_PRINT_BUF) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/printbuf.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | let print_buf = unsafe { &mut $crate::printbuf::GLOBAL_PRINT_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/kernel_main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | println!("Hart {} is online", Platform::curr_hartid()); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `$crate::print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | let print_buf = unsafe { addr_of_mut!(crate::printbuf::GLOBAL_PRINT_BUF) }; [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:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | 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 9 previous errors; 11 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 10 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "548e7087969482431df1c74c778401a5cd829862ed4b94adf0af051970fa522f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "548e7087969482431df1c74c778401a5cd829862ed4b94adf0af051970fa522f", kill_on_drop: false }` [INFO] [stdout] 548e7087969482431df1c74c778401a5cd829862ed4b94adf0af051970fa522f