[INFO] cloning repository https://github.com/yuki0418/os-in-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuki0418/os-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki0418%2Fos-in-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki0418%2Fos-in-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d18ac9298995ee7bea457e6e4e162c68e1c6604a [INFO] testing yuki0418/os-in-rust against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuki0418%2Fos-in-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/yuki0418/os-in-rust [INFO] finished tweaking git repo https://github.com/yuki0418/os-in-rust [INFO] tweaked toml for git repo https://github.com/yuki0418/os-in-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yuki0418/os-in-rust 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/yuki0418/os-in-rust 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] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3c72a2b0ca8ae3097a8f3c9458e15722580a317a0ba5f5b5199a1d245b92626d [INFO] running `Command { std: "docker" "start" "-a" "3c72a2b0ca8ae3097a8f3c9458e15722580a317a0ba5f5b5199a1d245b92626d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c72a2b0ca8ae3097a8f3c9458e15722580a317a0ba5f5b5199a1d245b92626d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c72a2b0ca8ae3097a8f3c9458e15722580a317a0ba5f5b5199a1d245b92626d", kill_on_drop: false }` [INFO] [stdout] 3c72a2b0ca8ae3097a8f3c9458e15722580a317a0ba5f5b5199a1d245b92626d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d52316409373a1f2eb49063ed6c19165c74f2e1b06dec56372f27afc33d13a1a [INFO] running `Command { std: "docker" "start" "-a" "d52316409373a1f2eb49063ed6c19165c74f2e1b06dec56372f27afc33d13a1a", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling wasabi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/x86.rs:420:1 [INFO] [stdout] | [INFO] [stdout] 420 | / extern "sysv64" { [INFO] [stdout] 421 | | fn interrupt_entrypoint3(); [INFO] [stdout] 422 | | fn interrupt_entrypoint6(); [INFO] [stdout] 423 | | fn interrupt_entrypoint8(); [INFO] [stdout] ... | [INFO] [stdout] 426 | | fn interrupt_entrypoint32(); [INFO] [stdout] 427 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/x86.rs:493:3 [INFO] [stdout] | [INFO] [stdout] 493 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 493 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/x86.rs:552:3 [INFO] [stdout] | [INFO] [stdout] 552 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 552 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/x86.rs:865:3 [INFO] [stdout] | [INFO] [stdout] 865 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 865 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::println` [INFO] [stdout] --> src/init.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::println; [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::println` [INFO] [stdout] --> src/x86.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::println; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::write` [INFO] [stdout] --> src/x86.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::fmt::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `offset_of` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(offset_of)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocator.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / header.write(Header { [INFO] [stdout] 70 | | next_header: None, [INFO] [stdout] 71 | | size: 0, [INFO] [stdout] 72 | | is_allocated: false, [INFO] [stdout] 73 | | _reserved: 0, [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocator.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe fn new_from_addr(addr: usize) -> Box
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocator::alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocator.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Box::from_raw(addr as *mut Header) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::sub` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocator.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let header = addr.sub(HEADER_SIZE) as *mut Header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocator.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe fn from_allocated_region(addr: *mut u8) -> Box
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocator::alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocator.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | Box::from_raw(header) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `allocator::Header::from_allocated_region` is unsafe and requires unsafe block [INFO] [stdout] --> src/allocator.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | let mut region = Header::from_allocated_region(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/allocator.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/allocator.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/graphics.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / self.buf_mut() [INFO] [stdout] 16 | | .add(((y * self.pixels_per_line() + x) * self.bytes_per_pixel()) as usize) [INFO] [stdout] | |______________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/graphics.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn unchecked_pixel_at_mut(&mut self, x: i64, y: i64) -> *mut u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/graphics.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | *buf.unchecked_pixel_at_mut(x, y) = color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/graphics.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn unchecked_draw_point(buf: &mut T, color: u32, x: i64, y: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `graphics::Bitmap::unchecked_pixel_at_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/graphics.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | *buf.unchecked_pixel_at_mut(x, y) = color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/x86.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | / asm!( [INFO] [stdout] 225 | | "mov es, ax", in("ax") selector [INFO] [stdout] 226 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x86.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | pub unsafe fn write_es(selector: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/x86.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / asm!( [INFO] [stdout] 235 | | "lea rax, [rip + 2f]", [INFO] [stdout] 236 | | "push cx", [INFO] [stdout] 237 | | "push rax", [INFO] [stdout] 238 | | "ljmp [rsp]", "2:", "add rsp, 8 + 2", [INFO] [stdout] 239 | | in("cx") cs [INFO] [stdout] 240 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x86.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub unsafe fn write_cs(cs: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/x86.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | / asm!( [INFO] [stdout] 247 | | "mov ss, ax", in("ax") selector [INFO] [stdout] 248 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x86.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub unsafe fn write_ss(selector: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/x86.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | / asm!( [INFO] [stdout] 255 | | "mov ds, ax", in("ax") ds [INFO] [stdout] 256 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x86.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | pub unsafe fn write_ds(ds: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/x86.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | / asm!( [INFO] [stdout] 263 | | "mov fs, ax", in("ax") selector [INFO] [stdout] 264 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x86.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | pub unsafe fn write_fs(selector: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/x86.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / asm!( [INFO] [stdout] 271 | | "mov gs, ax", in("ax") selector [INFO] [stdout] 272 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x86.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | pub unsafe fn write_gs(selector: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/x86.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | asm!("mov cr3, rax", in("rax") table) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x86.rs:866:1 [INFO] [stdout] | [INFO] [stdout] 866 | pub unsafe fn write_cr3(table: *const PML4) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasabi` (lib) due to 4 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d52316409373a1f2eb49063ed6c19165c74f2e1b06dec56372f27afc33d13a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d52316409373a1f2eb49063ed6c19165c74f2e1b06dec56372f27afc33d13a1a", kill_on_drop: false }` [INFO] [stdout] d52316409373a1f2eb49063ed6c19165c74f2e1b06dec56372f27afc33d13a1a