[INFO] cloning repository https://github.com/tzolkincz/corrOSion
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tzolkincz/corrOSion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftzolkincz%2FcorrOSion", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftzolkincz%2FcorrOSion'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] edf3243894958742a1fe2dcf01a377f08b309aa5
[INFO] checking tzolkincz/corrOSion against 24e1a22664233bce1f9b5dc6eee7c1f74327e28c for pr-159343-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftzolkincz%2FcorrOSion" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tzolkincz/corrOSion
[INFO] finished tweaking git repo https://github.com/tzolkincz/corrOSion
[INFO] tweaked toml for git repo https://github.com/tzolkincz/corrOSion written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tzolkincz/corrOSion on toolchain 24e1a22664233bce1f9b5dc6eee7c1f74327e28c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tzolkincz/corrOSion 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" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `corrosion` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b90efb505b423356d48fda05da216c9ffdedaa84d535739ecb7b5b92135eb0b3
[INFO] running `Command { std: "docker" "start" "b90efb505b423356d48fda05da216c9ffdedaa84d535739ecb7b5b92135eb0b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b90efb505b423356d48fda05da216c9ffdedaa84d535739ecb7b5b92135eb0b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b90efb505b423356d48fda05da216c9ffdedaa84d535739ecb7b5b92135eb0b3" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b90efb505b423356d48fda05da216c9ffdedaa84d535739ecb7b5b92135eb0b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b90efb505b423356d48fda05da216c9ffdedaa84d535739ecb7b5b92135eb0b3" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `corrosion` (manifest) generated 1 warning
[INFO] [stderr]     Checking rlibc v0.1.5
[INFO] [stderr]     Checking corrosion v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/idt.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         asm!("lidt [rax]" : : "{rax}"(self as *const _ as usize) : : "intel", "volatile");
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  2 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/process.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |         asm!("
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   4 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/process.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |             asm!("
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   4 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/process.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         asm!("
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   4 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/process.rs:244:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |         asm!("
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   4 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]  --> src/programs/program1.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         asm!("
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 3 + use core::arch::asm;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]  --> src/programs/program2.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         asm!("
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 4 + use core::arch::asm;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/memory.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     asm!("
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/syscall.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         asm!("nop"
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  2 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/syscall.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         asm!("nop"
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  2 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/syscall.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         asm!("nop"
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   2 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/idt.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         asm!("lidt [rax]" : : "{rax}"(self as *const _ as usize) : : "intel", "volatile");
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  2 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/syscall.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         asm!("nop"
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   2 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/process.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |         asm!("
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   4 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/scheduler.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         asm!("nop" :::: "intel", "volatile");
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  2 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/process.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |             asm!("
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   4 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     asm!("
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 22 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/lib.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     asm!("
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 22 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/process.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         asm!("
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   4 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     asm!("iretq" :::: "intel");
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 22 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/process.rs:244:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |         asm!("
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   4 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/lib.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         asm!("mov ecx, 0x174 \n rdmsr" : "={eax}"(gdt64_kcode) ::: "intel");
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 22 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]  --> src/programs/program1.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         asm!("
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 3 + use core::arch::asm;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/lib.rs:262:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |             asm!("hlt":::: "intel", "volatile");
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]  22 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]  --> src/programs/program2.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         asm!("
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 4 + use core::arch::asm;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library
[INFO] [stdout]   --> src/lib.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | #![feature(asm, lang_items, naked_functions)]
[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: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
[INFO] [stdout]    --> src/process.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 | #[allow(private_no_mangle_fns)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
[INFO] [stdout]    --> src/process.rs:235:9
[INFO] [stdout]     |
[INFO] [stdout] 235 | #[allow(private_no_mangle_fns)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
[INFO] [stdout]   --> src/syscall.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[allow(private_no_mangle_fns)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/memory.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     asm!("
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[naked]
[INFO] [stdout]    |   ^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[unsafe(naked)]
[INFO] [stdout]    |   +++++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 | #![feature(asm, lang_items, naked_functions)]
[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:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | #![feature(asm, lang_items, naked_functions)]
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions
[INFO] [stdout]    --> src/process.rs:143:1
[INFO] [stdout]     |
[INFO] [stdout] 143 | #[inline(always)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]`
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions
[INFO] [stdout]    --> src/process.rs:234:1
[INFO] [stdout]     |
[INFO] [stdout] 234 | #[inline(always)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/syscall.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         asm!("nop"
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  2 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions
[INFO] [stdout]   --> src/syscall.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[inline(always)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/syscall.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         asm!("nop"
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  2 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/syscall.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         asm!("nop"
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   2 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/syscall.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         asm!("nop"
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   2 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/scheduler.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         asm!("nop" :::: "intel", "volatile");
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  2 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     asm!("
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 22 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/lib.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     asm!("
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 22 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     asm!("iretq" :::: "intel");
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 22 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/lib.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         asm!("mov ecx, 0x174 \n rdmsr" : "={eax}"(gdt64_kcode) ::: "intel");
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 22 + use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/lib.rs:243:13
[INFO] [stdout]     |
[INFO] [stdout] 243 |             asm!("hlt":::: "intel", "volatile");
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]  22 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/lib.rs:262:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |             asm!("hlt":::: "intel", "volatile");
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]  22 + use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library
[INFO] [stdout]   --> src/lib.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | #![feature(asm, lang_items, naked_functions)]
[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: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
[INFO] [stdout]    --> src/process.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 | #[allow(private_no_mangle_fns)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
[INFO] [stdout]    --> src/process.rs:235:9
[INFO] [stdout]     |
[INFO] [stdout] 235 | #[allow(private_no_mangle_fns)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
[INFO] [stdout]   --> src/syscall.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[allow(private_no_mangle_fns)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_fmt`
[INFO] [stdout]    --> src/lib.rs:232:1
[INFO] [stdout]     |
[INFO] [stdout] 232 | / extern "C" fn panic_fmt() -> ! {
[INFO] [stdout] 233 | |     let bg = 0x40;
[INFO] [stdout] 234 | |     let red = 0x0f;
[INFO] [stdout] 235 | |     unsafe {
[INFO] [stdout] ...   |
[INFO] [stdout] 246 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the lang item is first defined in crate `core` (which `corrosion` depends on)
[INFO] [stdout]     = note: first definition in `core` loaded from /opt/rustwide/rustup-home/toolchains/24e1a22664233bce1f9b5dc6eee7c1f74327e28c/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-12f52b5fd4389540.rmeta
[INFO] [stdout]     = note: second definition in the local crate (`corrosion`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation
[INFO] [stdout]   --> src/lib.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub unsafe extern "C" fn kint_zero() -> ! {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     easy_print_line(0, "kint_zero", 0xf4);
[INFO] [stdout]    |     -------------------------------------- not allowed in naked functions
[INFO] [stdout] ...
[INFO] [stdout] 55 |     panic!();
[INFO] [stdout]    |     -------- not allowed in naked functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type annotations needed
[INFO] [stdout]    --> src/lib.rs:140:20
[INFO] [stdout]     |
[INFO] [stdout] 140 |     unsafe { *cell.offset(1) = attr };
[INFO] [stdout]     |                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/tyvar-behind-raw-pointer.html>
[INFO] [stdout]     = note: `#[warn(tyvar_behind_raw_pointer)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned
[INFO] [stdout]    --> src/process.rs:131:68
[INFO] [stdout]     |
[INFO] [stdout] 131 |         let program_current_addr: *const u64 = mem::transmute_copy(&APT[id as usize].entry_addr);
[INFO] [stdout]     |                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this struct is 1-byte aligned, but the type of this field may require higher alignment
[INFO] [stdout]     = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `corrosion` (lib) due to 20 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0787, E0793.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0787`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `corrosion` (lib test) due to 21 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b90efb505b423356d48fda05da216c9ffdedaa84d535739ecb7b5b92135eb0b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b90efb505b423356d48fda05da216c9ffdedaa84d535739ecb7b5b92135eb0b3", kill_on_drop: false }`
[INFO] [stdout] b90efb505b423356d48fda05da216c9ffdedaa84d535739ecb7b5b92135eb0b3
