[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftzolkincz%2FcorrOSion" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tzolkincz/corrOSion on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rlibc v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dfbc8bb7f251a7a6229190b055707bda0dc8b322e85cfa177aa9d950ff3c909 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5dfbc8bb7f251a7a6229190b055707bda0dc8b322e85cfa177aa9d950ff3c909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dfbc8bb7f251a7a6229190b055707bda0dc8b322e85cfa177aa9d950ff3c909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dfbc8bb7f251a7a6229190b055707bda0dc8b322e85cfa177aa9d950ff3c909", kill_on_drop: false }` [INFO] [stdout] 5dfbc8bb7f251a7a6229190b055707bda0dc8b322e85cfa177aa9d950ff3c909 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57913cf4e6438960344a63ccac9138fea9f2356308f4772fd3f889732884df3c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "57913cf4e6438960344a63ccac9138fea9f2356308f4772fd3f889732884df3c", kill_on_drop: false }` [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] 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: 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] 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/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] 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/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: 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: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[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stdout] --> src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | #[lang = "panic_fmt"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0522`. [INFO] [stdout] [INFO] [stderr] error: could not compile `corrosion` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 18 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "57913cf4e6438960344a63ccac9138fea9f2356308f4772fd3f889732884df3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57913cf4e6438960344a63ccac9138fea9f2356308f4772fd3f889732884df3c", kill_on_drop: false }` [INFO] [stdout] 57913cf4e6438960344a63ccac9138fea9f2356308f4772fd3f889732884df3c