[INFO] cloning repository https://github.com/xinslu/rust-std-buzzos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xinslu/rust-std-buzzos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinslu%2Frust-std-buzzos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinslu%2Frust-std-buzzos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9d5f7d356123d8863491c4bb39b179b56efe834 [INFO] checking xinslu/rust-std-buzzos against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinslu%2Frust-std-buzzos" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/xinslu/rust-std-buzzos [INFO] finished tweaking git repo https://github.com/xinslu/rust-std-buzzos [INFO] tweaked toml for git repo https://github.com/xinslu/rust-std-buzzos written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xinslu/rust-std-buzzos on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xinslu/rust-std-buzzos 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc1/source/kernel/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc1/source/user/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/kernel/Cargo.toml: unused manifest key: profile.dev.debuginfo [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded volatile v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a37013ea464f43c662970dffc6365b7fabbddffdaacbc255a47d09dc67fd378 [INFO] running `Command { std: "docker" "start" "-a" "6a37013ea464f43c662970dffc6365b7fabbddffdaacbc255a47d09dc67fd378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a37013ea464f43c662970dffc6365b7fabbddffdaacbc255a47d09dc67fd378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a37013ea464f43c662970dffc6365b7fabbddffdaacbc255a47d09dc67fd378", kill_on_drop: false }` [INFO] [stdout] 6a37013ea464f43c662970dffc6365b7fabbddffdaacbc255a47d09dc67fd378 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b165a868a4de18cfe8f413d2e72e22d4f4f4c87de9d8cd15d677ee4a9ff84460 [INFO] running `Command { std: "docker" "start" "-a" "b165a868a4de18cfe8f413d2e72e22d4f4f4c87de9d8cd15d677ee4a9ff84460", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/kernel/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/user/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/kernel/Cargo.toml: unused manifest key: profile.dev.debuginfo [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking stdbuzz v0.1.0 (/opt/rustwide/workdir/libstd_buzzos) [INFO] [stderr] Checking buzz-os-kernel v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stdout] error: cannot resolve a prelude import [INFO] [stdout] --> libstd_buzzos/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use prelude::rust_2018::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `allocator_internals` is internal to the compiler or standard library [INFO] [stdout] --> libstd_buzzos/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(allocator_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `allow_internal_unstable` is internal to the compiler or standard library [INFO] [stdout] --> libstd_buzzos/src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(allow_internal_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library [INFO] [stdout] --> libstd_buzzos/src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(rustc_attrs)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> libstd_buzzos/src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `prelude_import` is internal to the compiler or standard library [INFO] [stdout] --> libstd_buzzos/src/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(prelude_import)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> libstd_buzzos/src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:586:11 [INFO] [stdout] | [INFO] [stdout] 586 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [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 value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:595:11 [INFO] [stdout] | [INFO] [stdout] 595 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:603:15 [INFO] [stdout] | [INFO] [stdout] 603 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:620:11 [INFO] [stdout] | [INFO] [stdout] 620 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:628:15 [INFO] [stdout] | [INFO] [stdout] 628 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:683:19 [INFO] [stdout] | [INFO] [stdout] 683 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:841:16 [INFO] [stdout] | [INFO] [stdout] 841 | #[cfg_attr(feature = "debug_refcell", track_caller)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:931:16 [INFO] [stdout] | [INFO] [stdout] 931 | #[cfg_attr(feature = "debug_refcell", track_caller)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:845:23 [INFO] [stdout] | [INFO] [stdout] 845 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:861:23 [INFO] [stdout] | [INFO] [stdout] 861 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:935:23 [INFO] [stdout] | [INFO] [stdout] 935 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:951:23 [INFO] [stdout] | [INFO] [stdout] 951 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:1075:23 [INFO] [stdout] | [INFO] [stdout] 1075 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::rust_2018::*` [INFO] [stdout] --> libstd_buzzos/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use prelude::rust_2018::*; [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] --> libstd_buzzos/src/lib.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 124 | | loop {} [INFO] [stdout] 125 | | } [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/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.rlib [INFO] [stdout] = note: second definition in the local crate (`stdbuzz`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stdbuzz` (lib test) due to 3 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot resolve a prelude import [INFO] [stdout] --> libstd_buzzos/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use prelude::rust_2018::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `allocator_internals` is internal to the compiler or standard library [INFO] [stdout] --> libstd_buzzos/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(allocator_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `allow_internal_unstable` is internal to the compiler or standard library [INFO] [stdout] --> libstd_buzzos/src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(allow_internal_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library [INFO] [stdout] --> libstd_buzzos/src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(rustc_attrs)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> libstd_buzzos/src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `prelude_import` is internal to the compiler or standard library [INFO] [stdout] --> libstd_buzzos/src/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(prelude_import)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> libstd_buzzos/src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:586:11 [INFO] [stdout] | [INFO] [stdout] 586 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [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 value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:595:11 [INFO] [stdout] | [INFO] [stdout] 595 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:603:15 [INFO] [stdout] | [INFO] [stdout] 603 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:620:11 [INFO] [stdout] | [INFO] [stdout] 620 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:628:15 [INFO] [stdout] | [INFO] [stdout] 628 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:683:19 [INFO] [stdout] | [INFO] [stdout] 683 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:841:16 [INFO] [stdout] | [INFO] [stdout] 841 | #[cfg_attr(feature = "debug_refcell", track_caller)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:931:16 [INFO] [stdout] | [INFO] [stdout] 931 | #[cfg_attr(feature = "debug_refcell", track_caller)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:845:23 [INFO] [stdout] | [INFO] [stdout] 845 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:861:23 [INFO] [stdout] | [INFO] [stdout] 861 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:935:23 [INFO] [stdout] | [INFO] [stdout] 935 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:951:23 [INFO] [stdout] | [INFO] [stdout] 951 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_refcell` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:1075:23 [INFO] [stdout] | [INFO] [stdout] 1075 | #[cfg(feature = "debug_refcell")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_refcell` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::rust_2018::*` [INFO] [stdout] --> libstd_buzzos/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use prelude::rust_2018::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> libstd_buzzos/src/memory/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> libstd_buzzos/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_from` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 306 | impl const From for Cell { [INFO] [stdout] | ^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_from` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:1202:15 [INFO] [stdout] | [INFO] [stdout] 1202 | impl const From for RefCell { [INFO] [stdout] | ^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_from` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:2003:15 [INFO] [stdout] | [INFO] [stdout] 2003 | impl const From for UnsafeCell { [INFO] [stdout] | ^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_from` [INFO] [stdout] --> libstd_buzzos/src/memory/Cell.rs:2082:15 [INFO] [stdout] | [INFO] [stdout] 2082 | impl const From for SyncUnsafeCell { [INFO] [stdout] | ^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> libstd_buzzos/src/collections/VecDeque.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut new_node: *mut Node = Node::new(value); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> libstd_buzzos/src/collections/VecDeque.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut new_node: *mut Node = Node::new(value); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret` is never read [INFO] [stdout] --> libstd_buzzos/src/syscalls.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut ret: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret` is never read [INFO] [stdout] --> libstd_buzzos/src/syscalls.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut ret: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret` is never read [INFO] [stdout] --> libstd_buzzos/src/syscalls.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut ret: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret` is never read [INFO] [stdout] --> libstd_buzzos/src/syscalls.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut ret: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> libstd_buzzos/src/stdio/Write.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut res: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library [INFO] [stdout] --> kernel/src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(rustc_attrs)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> kernel/src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `allow_internal_unstable` is internal to the compiler or standard library [INFO] [stdout] --> kernel/src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(allow_internal_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> kernel/src/interrupts/interrupt_handlers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::c_void` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ffi::c_void, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PROCESS_LIST` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | scheduler::{PROCESS_LIST, SCHEDULER}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `print` and `println` [INFO] [stdout] --> kernel/src/memory/mem.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{print, println, x86::helpers::stosb, P2V, ROUND_UP}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> kernel/src/scheduler/process.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | println, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> kernel/src/scheduler/scheduler.rs:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | memory::defs::KERNEL_BASE, memory::vm::KERNEL_PAGE_DIR, println, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> kernel/src/x86/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | println, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> kernel/src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 61 | | print!("{}", _info); [INFO] [stdout] 62 | | loop {} [INFO] [stdout] 63 | | } [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/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.rlib [INFO] [stdout] = note: second definition in the local crate (`buzz_os_kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `buzz-os-kernel` (lib test) due to 2 previous errors; 11 warnings emitted [INFO] [stderr] error: could not compile `stdbuzz` (lib) due to 5 previous errors; 29 warnings emitted [INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library [INFO] [stdout] --> kernel/src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(rustc_attrs)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> kernel/src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `allow_internal_unstable` is internal to the compiler or standard library [INFO] [stdout] --> kernel/src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(allow_internal_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> kernel/src/interrupts/interrupt_handlers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::c_void` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ffi::c_void, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PROCESS_LIST` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | scheduler::{PROCESS_LIST, SCHEDULER}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `print` and `println` [INFO] [stdout] --> kernel/src/memory/mem.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{print, println, x86::helpers::stosb, P2V, ROUND_UP}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> kernel/src/scheduler/process.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | println, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> kernel/src/scheduler/scheduler.rs:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | memory::defs::KERNEL_BASE, memory::vm::KERNEL_PAGE_DIR, println, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> kernel/src/x86/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | println, [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 `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> kernel/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> kernel/src/x86/helpers.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | asm!("pushl {}; \ [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 83 | 1:", in(reg) sel as u32, options(att_syntax)); [INFO] [stdout] | ---------- for this argument [INFO] [stdout] | [INFO] [stdout] = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values) [INFO] [stdout] = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values) [INFO] [stdout] = note: `#[warn(asm_sub_register)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_process` [INFO] [stdout] --> kernel/src/interrupts/interrupt_handlers.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let current_process = SCHEDULER [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_process` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system_call_fn` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let system_call_fn = match number { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_call_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg0` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn handle_system_call(number: usize, arg0: usize, arg1: usize, arg2: usize, arg3: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arg0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg1` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn handle_system_call(number: usize, arg0: usize, arg1: usize, arg2: usize, arg3: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arg1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg2` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:30:68 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn handle_system_call(number: usize, arg0: usize, arg1: usize, arg2: usize, arg3: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arg2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg3` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:30:81 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn handle_system_call(number: usize, arg0: usize, arg1: usize, arg2: usize, arg3: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arg3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut res: usize = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut res: usize = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut req_size: usize = trapframe.ecx; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut addr: *mut u8; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `letter` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let letter: *const u8 = trapframe.ecx as *const u8; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_letter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut len: usize = trapframe.edx; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let fd: u8 = trapframe.edi as u8; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut res: usize = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut len: usize = trapframe.edx; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut res: usize = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut len: usize = trapframe.edx; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kernel/src/interrupts/system_call.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut write: &str; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kernel/src/memory/gdt.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut tss = TaskStateSegment::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> kernel/src/scheduler/scheduler.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | context: unsafe { 0x0 as *mut Context }, // TODO: Improve this [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kernel/src/scheduler/scheduler.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut current_process = self.current_process.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kernel/src/scheduler/scheduler.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut process_context = current_process.context.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trapframe` [INFO] [stdout] --> kernel/src/scheduler/scheduler.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let trapframe = process.trapframe.expect("[FATAL] No Trapframe"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trapframe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> kernel/src/x86/helpers.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut value: usize = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> kernel/src/x86/helpers.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `buzz-os-kernel` (lib) due to 1 previous error; 38 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b165a868a4de18cfe8f413d2e72e22d4f4f4c87de9d8cd15d677ee4a9ff84460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b165a868a4de18cfe8f413d2e72e22d4f4f4c87de9d8cd15d677ee4a9ff84460", kill_on_drop: false }` [INFO] [stdout] b165a868a4de18cfe8f413d2e72e22d4f4f4c87de9d8cd15d677ee4a9ff84460