[INFO] cloning repository https://github.com/visionizer/clecx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/visionizer/clecx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvisionizer%2Fclecx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvisionizer%2Fclecx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af7ced7760862e2a28da087bbec7dcc99d8de40a [INFO] checking visionizer/clecx against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvisionizer%2Fclecx" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/visionizer/clecx [INFO] finished tweaking git repo https://github.com/visionizer/clecx [INFO] tweaked toml for git repo https://github.com/visionizer/clecx written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/visionizer/clecx on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb3a22386311f905cf35b1609d221c9f459331487d6997ad00bb3cdb1e6592e1 [INFO] running `Command { std: "docker" "start" "-a" "fb3a22386311f905cf35b1609d221c9f459331487d6997ad00bb3cdb1e6592e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb3a22386311f905cf35b1609d221c9f459331487d6997ad00bb3cdb1e6592e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb3a22386311f905cf35b1609d221c9f459331487d6997ad00bb3cdb1e6592e1", kill_on_drop: false }` [INFO] [stdout] fb3a22386311f905cf35b1609d221c9f459331487d6997ad00bb3cdb1e6592e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d8eb7a134465516fccbc7ebe83ff310a92c0dc7bc6977ead0d022e4910f7a3f [INFO] running `Command { std: "docker" "start" "-a" "3d8eb7a134465516fccbc7ebe83ff310a92c0dc7bc6977ead0d022e4910f7a3f", kill_on_drop: false }` [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] Checking bkshared v0.1.0 (/opt/rustwide/workdir/crates/bkshared) [INFO] [stderr] Checking kresult v0.1.0 (/opt/rustwide/workdir/crates/kresult) [INFO] [stderr] Checking sync v0.1.0 (/opt/rustwide/workdir/crates/sync) [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking elf v0.1.0 (/opt/rustwide/workdir/crates/elf) [INFO] [stdout] warning: unused imports: `ptr::NonNull` and `write` [INFO] [stdout] --> crates/sync/src/mutex.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | fmt::{self, write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | ptr::NonNull, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bitmap v0.1.0 (/opt/rustwide/workdir/crates/bitmap) [INFO] [stdout] warning: unused imports: `ptr::NonNull` and `write` [INFO] [stdout] --> crates/sync/src/mutex.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | fmt::{self, write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | ptr::NonNull, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RsdpWrapper` [INFO] [stdout] --> crates/bkshared/src/lib.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use rsdp::{RsdpManager, RsdpWrapper}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RsdpWrapper` [INFO] [stdout] --> crates/bkshared/src/lib.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use rsdp::{RsdpManager, RsdpWrapper}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_slice_from_raw_parts` has been stable since 1.64.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/bkshared/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_slice_from_raw_parts` has been stable since 1.64.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/bkshared/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexMut` [INFO] [stdout] --> crates/bitmap/src/lib.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use core::ops::{Index, IndexMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexMut` [INFO] [stdout] --> crates/bitmap/src/lib.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use core::ops::{Index, IndexMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking efi v0.1.0 (/opt/rustwide/workdir/crates/efi) [INFO] [stderr] Checking kernel v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> kernel/src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(concat_idents)] [INFO] [stdout] | ^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in CURRENT_RUSTC_VERSION; see for more information [INFO] [stdout] = note: use the `${concat(..)}` metavariable expression instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> kernel/src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(concat_idents)] [INFO] [stdout] | ^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in CURRENT_RUSTC_VERSION; see for more information [INFO] [stdout] = note: use the `${concat(..)}` metavariable expression instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::concat_idents` [INFO] [stdout] --> kernel/src/prelude.rs:44:49 [INFO] [stdout] | [INFO] [stdout] 44 | assert, cfg, column, compile_error, concat, concat_idents, env, file, format_args, [INFO] [stdout] | ^^^^^^^^^^^^^ no `concat_idents` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `prelude_import` is internal to the compiler or standard library [INFO] [stdout] --> kernel/src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(prelude_import)] [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: unused import: `scoped_color_change` [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:310:39 [INFO] [stdout] | [INFO] [stdout] 310 | use crate::{kprint, kprintln, scoped_color_change}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: kernel/src/arch/x86_64/dumps/mod.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | ... println!(dump: "{:?} [{:?}]: {}mb (at {:#x?})", member.ty, member.complex, member.size * PAGE_SIZE as u64 / 1024 / 1024, member.base); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem::MaybeUninit` [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LINE_WIDTH` [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | Framebuffer, Psf1Font, LINE_HEIGHT, LINE_WIDTH, PSF1_DRAW_MASK, PSF1_PIXELS_PER_CHARACTER, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::Color` [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use super::{color::Color, resolution::Resolution}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memcpy` [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:126:38 [INFO] [stdout] | [INFO] [stdout] 126 | use compiler_builtins::mem::{memcpy, memmove, memset}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | core::slice::from_raw_parts((base as *const u8), PSF1_PIXELS_PER_CHARACTER) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - core::slice::from_raw_parts((base as *const u8), PSF1_PIXELS_PER_CHARACTER) [INFO] [stdout] 161 + core::slice::from_raw_parts(base as *const u8, PSF1_PIXELS_PER_CHARACTER) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> kernel/src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use prelude::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `page::*` [INFO] [stdout] --> kernel/src/mem/mod.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | pub use arch::mem::{addr::*, page::*}; [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] error[E0432]: unresolved import `core::concat_idents` [INFO] [stdout] --> kernel/src/prelude.rs:44:49 [INFO] [stdout] | [INFO] [stdout] 44 | assert, cfg, column, compile_error, concat, concat_idents, env, file, format_args, [INFO] [stdout] | ^^^^^^^^^^^^^ no `concat_idents` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `prelude_import` is internal to the compiler or standard library [INFO] [stdout] --> kernel/src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(prelude_import)] [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: unused import: `scoped_color_change` [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:310:39 [INFO] [stdout] | [INFO] [stdout] 310 | use crate::{kprint, kprintln, scoped_color_change}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: kernel/src/arch/x86_64/dumps/mod.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | ... println!(dump: "{:?} [{:?}]: {}mb (at {:#x?})", member.ty, member.complex, member.size * PAGE_SIZE as u64 / 1024 / 1024, member.base); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem::MaybeUninit` [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LINE_WIDTH` [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | Framebuffer, Psf1Font, LINE_HEIGHT, LINE_WIDTH, PSF1_DRAW_MASK, PSF1_PIXELS_PER_CHARACTER, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::Color` [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use super::{color::Color, resolution::Resolution}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memcpy` [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:126:38 [INFO] [stdout] | [INFO] [stdout] 126 | use compiler_builtins::mem::{memcpy, memmove, memset}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | core::slice::from_raw_parts((base as *const u8), PSF1_PIXELS_PER_CHARACTER) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - core::slice::from_raw_parts((base as *const u8), PSF1_PIXELS_PER_CHARACTER) [INFO] [stdout] 161 + core::slice::from_raw_parts(base as *const u8, PSF1_PIXELS_PER_CHARACTER) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> kernel/src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use prelude::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kernel/src/arch/x86_64/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut handover = unsafe { *handover }; [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: unused import: `page::*` [INFO] [stdout] --> kernel/src/mem/mod.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | pub use arch::mem::{addr::*, page::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> kernel/src/panic.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / fn panic_handler(_: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 3 | | loop {} [INFO] [stdout] 4 | | } [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/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-182371ab76f58e7c.rlib [INFO] [stdout] = note: second definition in the local crate (`kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_row_end` [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let top_row_end = (self.framebuffer.stride as usize * LINE_HEIGHT) * 4; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_row_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> kernel/src/debug/framebuffer.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | for i in 0..12 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (bin "kernel" test) due to 3 previous errors; 9 warnings emitted [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> crates/efi/src/lib.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use core::fmt::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `fmt` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> crates/efi/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use alloc::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> crates/efi/src/lib.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use core::fmt::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> crates/efi/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `alloc` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> crates/efi/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use alloc::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> crates/efi/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debugln` and `println` [INFO] [stdout] --> crates/efi/src/file.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | as_slice, debugln, println, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UInt128` [INFO] [stdout] --> crates/efi/src/raw/file.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{status::Status, Char16, Guid, UInt128, UInt64, UInt8, UIntN, WString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryDescriptor` [INFO] [stdout] --> crates/efi/src/raw/runtime.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use bkshared::mmap::{ComplexMemoryType, MemoryDescriptor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debugln` and `print` [INFO] [stdout] --> crates/efi/src/raw/text.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{debugln, print}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> crates/efi/src/raw/text.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{println, status::Status, Event, Int32, UInt16, UIntN, WString}; [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: private item shadows public glob re-export [INFO] [stdout] --> crates/efi/src/lib.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use core::fmt::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `fmt` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> crates/efi/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use alloc::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> crates/efi/src/lib.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use core::fmt::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> crates/efi/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `alloc` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> crates/efi/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use alloc::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> crates/efi/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debugln` and `println` [INFO] [stdout] --> crates/efi/src/file.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | as_slice, debugln, println, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UInt128` [INFO] [stdout] --> crates/efi/src/raw/file.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{status::Status, Char16, Guid, UInt128, UInt64, UInt8, UIntN, WString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `abi_efiapi` has been stable since 1.68.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/efi/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(abi_efiapi)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `arbitrary_enum_discriminant` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/efi/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(arbitrary_enum_discriminant)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryDescriptor` [INFO] [stdout] --> crates/efi/src/raw/runtime.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use bkshared::mmap::{ComplexMemoryType, MemoryDescriptor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (bin "kernel") due to 3 previous errors; 12 warnings emitted [INFO] [stdout] warning: unused imports: `debugln` and `print` [INFO] [stdout] --> crates/efi/src/raw/text.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{debugln, print}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> crates/efi/src/raw/text.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{println, status::Status, Event, Int32, UInt16, UIntN, WString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> crates/efi/src/panic.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub fn panic_handler(info: &PanicInfo) -> ! { [INFO] [stdout] 7 | | println!("EFI-Panic: {:#?}", info); [INFO] [stdout] 8 | | loop {} [INFO] [stdout] 9 | | } [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/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-182371ab76f58e7c.rlib [INFO] [stdout] = note: second definition in the local crate (`efi`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `efi` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] [stdout] warning: `extern` fn uses type `cstr::WString`, which is not FFI-safe [INFO] [stdout] --> crates/efi/src/raw/file.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | pub open: extern "win64" fn( [INFO] [stdout] | _______________^ [INFO] [stdout] 61 | | &mut RawFile, [INFO] [stdout] 62 | | new: &mut *mut RawFile, [INFO] [stdout] 63 | | filename: WString, [INFO] [stdout] 64 | | mode: u64, [INFO] [stdout] 65 | | attrs: u64, [INFO] [stdout] 66 | | ) -> Status, [INFO] [stdout] | |_______________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> crates/efi/src/cstr.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WString(pub *const u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `cstr::WString`, which is not FFI-safe [INFO] [stdout] --> crates/efi/src/raw/runtime.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub get_variable: extern "win64" fn( [INFO] [stdout] | _______________________^ [INFO] [stdout] 48 | | name: WString, [INFO] [stdout] 49 | | vendor_guid: &Guid, [INFO] [stdout] 50 | | attrs: *mut UInt32, [INFO] [stdout] 51 | | data_sz: &mut UIntN, [INFO] [stdout] 52 | | daza: *mut u8, [INFO] [stdout] 53 | | ) -> Status, [INFO] [stdout] | |_______________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> crates/efi/src/cstr.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WString(pub *const u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `cstr::WString`, which is not FFI-safe [INFO] [stdout] --> crates/efi/src/raw/runtime.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | extern "win64" fn(name_sz: &mut UIntN, name: WString, vendor_guid: &mut Guid) -> Status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> crates/efi/src/cstr.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WString(pub *const u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `cstr::WString`, which is not FFI-safe [INFO] [stdout] --> crates/efi/src/raw/runtime.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | pub set_variable: extern "win64" fn( [INFO] [stdout] | _______________________^ [INFO] [stdout] 59 | | name: WString, [INFO] [stdout] 60 | | vendor_guid: &Guid, [INFO] [stdout] 61 | | attrs: UInt32, [INFO] [stdout] 62 | | size: UIntN, [INFO] [stdout] 63 | | data: *const UInt8, [INFO] [stdout] 64 | | ) -> Status, [INFO] [stdout] | |_______________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> crates/efi/src/cstr.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WString(pub *const u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ResetType`, which is not FFI-safe [INFO] [stdout] --> crates/efi/src/raw/runtime.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | pub reset_system: extern "win64" fn( [INFO] [stdout] | _______________________^ [INFO] [stdout] 69 | | ResetType: ResetType, [INFO] [stdout] 70 | | ResetStatus: Status, [INFO] [stdout] 71 | | DataSize: UIntN, [INFO] [stdout] 72 | | ResetData: *const u8, [INFO] [stdout] 73 | | ) -> !, [INFO] [stdout] | |__________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> crates/efi/src/raw/runtime.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum ResetType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ResetType` should have a snake case name [INFO] [stdout] --> crates/efi/src/raw/runtime.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ResetType: ResetType, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `reset_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ResetStatus` should have a snake case name [INFO] [stdout] --> crates/efi/src/raw/runtime.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ResetStatus: Status, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `reset_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DataSize` should have a snake case name [INFO] [stdout] --> crates/efi/src/raw/runtime.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | DataSize: UIntN, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `data_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ResetData` should have a snake case name [INFO] [stdout] --> crates/efi/src/raw/runtime.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | ResetData: *const u8, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `reset_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `cstr::WString`, which is not FFI-safe [INFO] [stdout] --> crates/efi/src/raw/text.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub output_string: extern "win64" fn(&TextOutput, WString) -> Status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> crates/efi/src/cstr.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WString(pub *const u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `cstr::WString`, which is not FFI-safe [INFO] [stdout] --> crates/efi/src/raw/text.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub test_string: extern "win64" fn(&TextOutput, WString) -> Status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> crates/efi/src/cstr.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WString(pub *const u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3d8eb7a134465516fccbc7ebe83ff310a92c0dc7bc6977ead0d022e4910f7a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d8eb7a134465516fccbc7ebe83ff310a92c0dc7bc6977ead0d022e4910f7a3f", kill_on_drop: false }` [INFO] [stdout] 3d8eb7a134465516fccbc7ebe83ff310a92c0dc7bc6977ead0d022e4910f7a3f