[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 master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftzolkincz%2FcorrOSion" "/workspace/builds/worker-103/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-103/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tzolkincz/corrOSion on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-103/source/Cargo.toml [INFO] crate git repo https://github.com/tzolkincz/corrOSion already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2619743fff79a4ff1d98f76890e532904e4b478b8b72de1e7cedfd6403937f7 [INFO] running `Command { std: "docker" "start" "-a" "e2619743fff79a4ff1d98f76890e532904e4b478b8b72de1e7cedfd6403937f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2619743fff79a4ff1d98f76890e532904e4b478b8b72de1e7cedfd6403937f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2619743fff79a4ff1d98f76890e532904e4b478b8b72de1e7cedfd6403937f7", kill_on_drop: false }` [INFO] [stdout] e2619743fff79a4ff1d98f76890e532904e4b478b8b72de1e7cedfd6403937f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 490ee23ad740d17f563e7f90446430986a60ef710507a4e0dcb72d306489088e [INFO] running `Command { std: "docker" "start" "-a" "490ee23ad740d17f563e7f90446430986a60ef710507a4e0dcb72d306489088e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rlibc v0.1.5 [INFO] [stderr] Checking corrosion v0.1.0 (/opt/rustwide/workdir) [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] 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] error: the legacy LLVM-style asm! syntax is no longer supported [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: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [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: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/process.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 174 | | mov cr3, rbx //set page table addr [INFO] [stdout] 175 | | " [INFO] [stdout] 176 | | :: [INFO] [stdout] 177 | | "{rbx}"(PCBS[pid as usize].page_table_addr) [INFO] [stdout] 178 | | :"ecx", "edx", "eax": "intel", "volatile" [INFO] [stdout] 179 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/process.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 191 | | mov esp, ecx [INFO] [stdout] 192 | | [INFO] [stdout] 193 | | //pop rbp [INFO] [stdout] ... | [INFO] [stdout] 210 | | :: "intel", "volatile" [INFO] [stdout] 211 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/process.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 217 | | sysexit" :: [INFO] [stdout] 218 | | // registers input registers, program entry point [INFO] [stdout] 219 | | "{rcx}"(PCBS[pid as usize].esp), [INFO] [stdout] 220 | | "{rdx}"(PCBS[pid as usize].eip) [INFO] [stdout] 221 | | :: "intel", "volatile" [INFO] [stdout] 222 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/process.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 245 | | add r14, 2 //set program instruction pointer to next instruction [INFO] [stdout] 246 | | [INFO] [stdout] 247 | | mov rcx, rsp //save kernel stack pointer [INFO] [stdout] ... | [INFO] [stdout] 274 | | "intel", "volatile" [INFO] [stdout] 275 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/programs/program1.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 8 | | mov r10, 0x12345 //test register preservation [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | [INFO] [stdout] ... | [INFO] [stdout] 70 | | hlt //this will be never called [INFO] [stdout] 71 | | "::::"intel", "volatile"); [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/programs/program2.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | //acquire mutex [INFO] [stdout] 11 | | mov r13, 0x04 //syscall number (4 - acquire mutex) [INFO] [stdout] ... | [INFO] [stdout] 31 | | [INFO] [stdout] 32 | | "::::"intel", "volatile"); [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/memory.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 54 | | mov r15, cr3 [INFO] [stdout] 55 | | ":"={r15}" (addr):::"intel", "volatile"); [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/syscall.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | asm!("nop" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 33 | | :"={r13}"(syscall_number): [INFO] [stdout] 34 | | :: "intel", "volatile" [INFO] [stdout] 35 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/syscall.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | asm!("nop" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 72 | | ::"{r13}"(addr): [INFO] [stdout] 73 | | : "intel", "volatile" [INFO] [stdout] 74 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/syscall.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | asm!("nop" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 126 | | :"={r12}"(mutex_id) [INFO] [stdout] 127 | | ::: "intel", "volatile" [INFO] [stdout] 128 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/syscall.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | asm!("nop" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 187 | | :"={r12}"(val) [INFO] [stdout] 188 | | ::: "intel", "volatile" [INFO] [stdout] 189 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/scheduler.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | asm!("nop" :::: "intel", "volatile"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 30 | | push rax [INFO] [stdout] 31 | | push rcx [INFO] [stdout] 32 | | push rdx [INFO] [stdout] ... | [INFO] [stdout] 37 | | push rdi [INFO] [stdout] 38 | | push rsi" :::: "intel", "volatile"); [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 43 | | pop rsi [INFO] [stdout] 44 | | pop rdi [INFO] [stdout] 45 | | pop r11 [INFO] [stdout] ... | [INFO] [stdout] 50 | | pop rcx [INFO] [stdout] 51 | | pop rax" :::: "intel"); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | asm!("iretq" :::: "intel"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [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: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | asm!("hlt":::: "intel", "volatile"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | asm!("hlt":::: "intel", "volatile"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [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: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/process.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 174 | | mov cr3, rbx //set page table addr [INFO] [stdout] 175 | | " [INFO] [stdout] 176 | | :: [INFO] [stdout] 177 | | "{rbx}"(PCBS[pid as usize].page_table_addr) [INFO] [stdout] 178 | | :"ecx", "edx", "eax": "intel", "volatile" [INFO] [stdout] 179 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/process.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 191 | | mov esp, ecx [INFO] [stdout] 192 | | [INFO] [stdout] 193 | | //pop rbp [INFO] [stdout] ... | [INFO] [stdout] 210 | | :: "intel", "volatile" [INFO] [stdout] 211 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/process.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 217 | | sysexit" :: [INFO] [stdout] 218 | | // registers input registers, program entry point [INFO] [stdout] 219 | | "{rcx}"(PCBS[pid as usize].esp), [INFO] [stdout] 220 | | "{rdx}"(PCBS[pid as usize].eip) [INFO] [stdout] 221 | | :: "intel", "volatile" [INFO] [stdout] 222 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/33fdb797f59421c7bbecaa4588ed5d7a31a9494a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib [INFO] [stdout] = note: second definition in the local crate (`corrosion`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/process.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 245 | | add r14, 2 //set program instruction pointer to next instruction [INFO] [stdout] 246 | | [INFO] [stdout] 247 | | mov rcx, rsp //save kernel stack pointer [INFO] [stdout] ... | [INFO] [stdout] 274 | | "intel", "volatile" [INFO] [stdout] 275 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/programs/program1.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 8 | | mov r10, 0x12345 //test register preservation [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | [INFO] [stdout] ... | [INFO] [stdout] 70 | | hlt //this will be never called [INFO] [stdout] 71 | | "::::"intel", "volatile"); [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / pub unsafe extern "C" fn kint_zero() -> ! { [INFO] [stdout] 29 | | asm!(" [INFO] [stdout] 30 | | push rax [INFO] [stdout] 31 | | push rcx [INFO] [stdout] ... | [INFO] [stdout] 40 | | easy_print_line(0, "kint_zero", 0xf4); [INFO] [stdout] | | -------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 55 | | panic!(); [INFO] [stdout] | | --------- non-asm is unsupported in naked functions [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_naked_functions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/programs/program2.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | //acquire mutex [INFO] [stdout] 11 | | mov r13, 0x04 //syscall number (4 - acquire mutex) [INFO] [stdout] ... | [INFO] [stdout] 31 | | [INFO] [stdout] 32 | | "::::"intel", "volatile"); [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/memory.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 54 | | mov r15, cr3 [INFO] [stdout] 55 | | ":"={r15}" (addr):::"intel", "volatile"); [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/syscall.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | asm!("nop" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 33 | | :"={r13}"(syscall_number): [INFO] [stdout] 34 | | :: "intel", "volatile" [INFO] [stdout] 35 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/syscall.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | asm!("nop" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 72 | | ::"{r13}"(addr): [INFO] [stdout] 73 | | : "intel", "volatile" [INFO] [stdout] 74 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/syscall.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | asm!("nop" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 126 | | :"={r12}"(mutex_id) [INFO] [stdout] 127 | | ::: "intel", "volatile" [INFO] [stdout] 128 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/syscall.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | asm!("nop" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 187 | | :"={r12}"(val) [INFO] [stdout] 188 | | ::: "intel", "volatile" [INFO] [stdout] 189 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/scheduler.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | asm!("nop" :::: "intel", "volatile"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 30 | | push rax [INFO] [stdout] 31 | | push rcx [INFO] [stdout] 32 | | push rdx [INFO] [stdout] ... | [INFO] [stdout] 37 | | push rdi [INFO] [stdout] 38 | | push rsi" :::: "intel", "volatile"); [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 43 | | pop rsi [INFO] [stdout] 44 | | pop rdi [INFO] [stdout] 45 | | pop r11 [INFO] [stdout] ... | [INFO] [stdout] 50 | | pop rcx [INFO] [stdout] 51 | | pop rax" :::: "intel"); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | asm!("iretq" :::: "intel"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [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: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | asm!("hlt":::: "intel", "volatile"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / pub unsafe extern "C" fn kint_zero() -> ! { [INFO] [stdout] 29 | | asm!(" [INFO] [stdout] 30 | | push rax [INFO] [stdout] 31 | | push rcx [INFO] [stdout] ... | [INFO] [stdout] 40 | | easy_print_line(0, "kint_zero", 0xf4); [INFO] [stdout] | | -------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 55 | | panic!(); [INFO] [stdout] | | --------- non-asm is unsupported in naked functions [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_naked_functions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [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] = note: `#[warn(tyvar_behind_raw_pointer)]` on by default [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 issue #46906 [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] = note: `#[warn(tyvar_behind_raw_pointer)]` on by default [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 issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `corrosion` due to 22 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 18 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "490ee23ad740d17f563e7f90446430986a60ef710507a4e0dcb72d306489088e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "490ee23ad740d17f563e7f90446430986a60ef710507a4e0dcb72d306489088e", kill_on_drop: false }` [INFO] [stdout] 490ee23ad740d17f563e7f90446430986a60ef710507a4e0dcb72d306489088e