[INFO] cloning repository https://github.com/lizhirui/dreamos_rustversion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lizhirui/dreamos_rustversion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flizhirui%2Fdreamos_rustversion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flizhirui%2Fdreamos_rustversion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25e55f653061ac1b7aa8dc920db29144b67a2291 [INFO] testing lizhirui/dreamos_rustversion against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flizhirui%2Fdreamos_rustversion" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/lizhirui/dreamos_rustversion [INFO] finished tweaking git repo https://github.com/lizhirui/dreamos_rustversion [INFO] tweaked toml for git repo https://github.com/lizhirui/dreamos_rustversion written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lizhirui/dreamos_rustversion on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lizhirui/dreamos_rustversion 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ce1ee8fe89e1bf2143ae2f28772cd03b78f7fb0d809ab97c82bc94b1021a1fb [INFO] running `Command { std: "docker" "start" "-a" "7ce1ee8fe89e1bf2143ae2f28772cd03b78f7fb0d809ab97c82bc94b1021a1fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ce1ee8fe89e1bf2143ae2f28772cd03b78f7fb0d809ab97c82bc94b1021a1fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ce1ee8fe89e1bf2143ae2f28772cd03b78f7fb0d809ab97c82bc94b1021a1fb", kill_on_drop: false }` [INFO] [stdout] 7ce1ee8fe89e1bf2143ae2f28772cd03b78f7fb0d809ab97c82bc94b1021a1fb [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba714ea15455714e0844a0441142c6ee876620c4e74a4a80575bd2fccb54d320 [INFO] running `Command { std: "docker" "start" "-a" "ba714ea15455714e0844a0441142c6ee876620c4e74a4a80575bd2fccb54d320", kill_on_drop: false }` [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling dreamos v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> src/common/list.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::{null, null_mut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/memory/allocator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::alloc::Layout` [INFO] [stdout] --> src/task/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_fn_fn_ptr_basics` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_fn_fn_ptr_basics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/kernel/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 51 | / loop [INFO] [stdout] 52 | | { [INFO] [stdout] 53 | | println!("abc"); [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 55 | [INFO] [stdout] 56 | assert!(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/common/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe{&$variable as *const _ as *mut _} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/common/list.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/task/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | list_init!(priority_list[i]); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `get_pointer` which comes from the expansion of the macro `list_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/common/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe{&$variable as *const _ as *mut _} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/common/list.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/task/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | list_init!(priority_list[i]); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `get_pointer` which comes from the expansion of the macro `list_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `task_list` is never used [INFO] [stdout] --> src/task/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | static mut task_list: list_node = list_node::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_task` is never used [INFO] [stdout] --> src/task/mod.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_next_task() -> Option<&'static mut task_t> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task_dispatch` is never used [INFO] [stdout] --> src/task/mod.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn task_dispatch() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/io/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | bsp_helper_func.puts(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/kernel/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe{bsp_helper_func.early_init();} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/kernel/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe{bsp_helper_func.after_heap_init();} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/kernel/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe{bsp_helper_func.after_task_scheduler_init();} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/kernel/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe{bsp_helper_func.interrupt_enable(true);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/memory/phypage.rs:65:139 [INFO] [stdout] | [INFO] [stdout] 65 | ...:#018x}\npage_memory_end = {:#018x}",page_metainfo_start,page_metainfo_end,page_memory_start,page_memory_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/memory/phypage.rs:65:159 [INFO] [stdout] | [INFO] [stdout] 65 | ...y_end = {:#018x}",page_metainfo_start,page_metainfo_end,page_memory_start,page_memory_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/memory/phypage.rs:65:177 [INFO] [stdout] | [INFO] [stdout] 65 | ...page_metainfo_start,page_metainfo_end,page_memory_start,page_memory_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/memory/phypage.rs:65:195 [INFO] [stdout] | [INFO] [stdout] 65 | ...rt,page_metainfo_end,page_memory_start,page_memory_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "ba714ea15455714e0844a0441142c6ee876620c4e74a4a80575bd2fccb54d320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba714ea15455714e0844a0441142c6ee876620c4e74a4a80575bd2fccb54d320", kill_on_drop: false }` [INFO] [stdout] ba714ea15455714e0844a0441142c6ee876620c4e74a4a80575bd2fccb54d320 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26da23c77744d6e6da0e2a41524b9273878fb125a7522eaf5305ab66a30fe350 [INFO] running `Command { std: "docker" "start" "-a" "26da23c77744d6e6da0e2a41524b9273878fb125a7522eaf5305ab66a30fe350", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> src/common/list.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::{null, null_mut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/memory/allocator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::alloc::Layout` [INFO] [stdout] --> src/task/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dreamos v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `const_fn_fn_ptr_basics` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_fn_fn_ptr_basics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/kernel/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 51 | / loop [INFO] [stdout] 52 | | { [INFO] [stdout] 53 | | println!("abc"); [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 55 | [INFO] [stdout] 56 | assert!(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/common/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe{&$variable as *const _ as *mut _} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/common/list.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/task/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | list_init!(priority_list[i]); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `get_pointer` which comes from the expansion of the macro `list_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/common/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe{&$variable as *const _ as *mut _} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/common/list.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/task/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | list_init!(priority_list[i]); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `get_pointer` which comes from the expansion of the macro `list_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `task_list` is never used [INFO] [stdout] --> src/task/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | static mut task_list: list_node = list_node::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_task` is never used [INFO] [stdout] --> src/task/mod.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_next_task() -> Option<&'static mut task_t> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task_dispatch` is never used [INFO] [stdout] --> src/task/mod.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn task_dispatch() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/io/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | bsp_helper_func.puts(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/kernel/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe{bsp_helper_func.early_init();} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/kernel/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe{bsp_helper_func.after_heap_init();} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/kernel/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe{bsp_helper_func.after_task_scheduler_init();} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/kernel/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe{bsp_helper_func.interrupt_enable(true);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/memory/phypage.rs:65:139 [INFO] [stdout] | [INFO] [stdout] 65 | ...:#018x}\npage_memory_end = {:#018x}",page_metainfo_start,page_metainfo_end,page_memory_start,page_memory_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/memory/phypage.rs:65:159 [INFO] [stdout] | [INFO] [stdout] 65 | ...y_end = {:#018x}",page_metainfo_start,page_metainfo_end,page_memory_start,page_memory_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/memory/phypage.rs:65:177 [INFO] [stdout] | [INFO] [stdout] 65 | ...page_metainfo_start,page_metainfo_end,page_memory_start,page_memory_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/memory/phypage.rs:65:195 [INFO] [stdout] | [INFO] [stdout] 65 | ...rt,page_metainfo_end,page_memory_start,page_memory_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dreamos` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> src/common/list.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::{null, null_mut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/memory/allocator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::alloc::Layout` [INFO] [stdout] --> src/task/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lang_items.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / fn panic(info: &PanicInfo) -> ! [INFO] [stdout] 7 | | { [INFO] [stdout] 8 | | terminal_color::set(terminal_color::fg_red,terminal_color::bg_current); [INFO] [stdout] 9 | | println!("[System Panic]"); [INFO] [stdout] ... | [INFO] [stdout] 12 | | loop {} [INFO] [stdout] 13 | | } [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/c2e32f1c9652b13ed99608599c1e855462f421f3/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d73d50f7d7b085f5.so, /opt/rustwide/rustup-home/toolchains/c2e32f1c9652b13ed99608599c1e855462f421f3/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d73d50f7d7b085f5.rlib [INFO] [stdout] = note: second definition in the local crate (`dreamos`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "26da23c77744d6e6da0e2a41524b9273878fb125a7522eaf5305ab66a30fe350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26da23c77744d6e6da0e2a41524b9273878fb125a7522eaf5305ab66a30fe350", kill_on_drop: false }` [INFO] [stdout] 26da23c77744d6e6da0e2a41524b9273878fb125a7522eaf5305ab66a30fe350