[INFO] cloning repository https://github.com/FANLIYANG-OPS/kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FANLIYANG-OPS/kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFANLIYANG-OPS%2Fkernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFANLIYANG-OPS%2Fkernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5510bb21a8151b877a66dd692fca3081d35739a [INFO] checking FANLIYANG-OPS/kernel against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFANLIYANG-OPS%2Fkernel" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FANLIYANG-OPS/kernel on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/.cargo/config [INFO] started tweaking git repo https://github.com/FANLIYANG-OPS/kernel [INFO] finished tweaking git repo https://github.com/FANLIYANG-OPS/kernel [INFO] tweaked toml for git repo https://github.com/FANLIYANG-OPS/kernel written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/FANLIYANG-OPS/kernel already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linked_list_allocator v0.6.6 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded linked_list_allocator v0.8.11 [INFO] [stderr] Downloaded goblin v0.2.3 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded spinning_top v0.1.1 [INFO] [stderr] Downloaded raw-cpuid v7.0.4 [INFO] [stderr] Downloaded x86 v0.32.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99219c18ceba014afa692699cf3de814f4d3c142d63d85863b11fbecb09ccff2 [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" "99219c18ceba014afa692699cf3de814f4d3c142d63d85863b11fbecb09ccff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99219c18ceba014afa692699cf3de814f4d3c142d63d85863b11fbecb09ccff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99219c18ceba014afa692699cf3de814f4d3c142d63d85863b11fbecb09ccff2", kill_on_drop: false }` [INFO] [stdout] 99219c18ceba014afa692699cf3de814f4d3c142d63d85863b11fbecb09ccff2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48e7246e17bcf8e1267978b47f23ec44f6e87307a91ee7ca56df8f506ede64c1 [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" "48e7246e17bcf8e1267978b47f23ec44f6e87307a91ee7ca56df8f506ede64c1", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling x86 v0.32.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling kernel v0.1.54 (/opt/rustwide/workdir) [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking rmm v0.1.0 (/opt/rustwide/workdir/rmm) [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> rmm/src/allocator/frame/buddy.rs:123:63 [INFO] [stdout] | [INFO] [stdout] 123 | let inserted = if area.base.add(area.size) == entry.base { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` 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 #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> rmm/src/allocator/frame/buddy.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | if base >= entry.base && base.add(size) <= entry.base.add(entry.size) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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 #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> rmm/src/allocator/frame/buddy.rs:251:49 [INFO] [stdout] | [INFO] [stdout] 251 | let start_page = (base.data() - entry.base.data()) >> A::PAGE_SHIFT; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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 #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking goblin v0.2.3 [INFO] [stderr] Checking spinning_top v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking redox_syscall v0.2.4 (/opt/rustwide/workdir/syscall) [INFO] [stderr] Checking linked_list_allocator v0.8.11 [INFO] [stderr] warning: location not found: environment variable not found, please set proper INITFS_FOLDER. [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> syscall/src/io/mmio.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe { read_volatile(self.value.as_ptr()) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` 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 #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> syscall/src/io/mmio.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { write_volatile(self.value.as_mut_ptr(), value) }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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 #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling raw-cpuid v7.0.4 [INFO] [stderr] Compiling raw-cpuid v8.1.2 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stdout] error[E0432]: unresolved imports `self::syscall::FloatRegisters`, `self::syscall::IntRegisters` [INFO] [stdout] --> src/syscall/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | FloatRegisters, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `FloatRegisters` in the root [INFO] [stdout] 9 | IntRegisters, [INFO] [stdout] | ^^^^^^^^^^^^ no `IntRegisters` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `self::syscall::FloatRegisters`, `self::syscall::IntRegisters` [INFO] [stdout] --> src/syscall/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | FloatRegisters, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `FloatRegisters` in the root [INFO] [stdout] 9 | IntRegisters, [INFO] [stdout] | ^^^^^^^^^^^^ no `IntRegisters` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/context/switch.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/context/switch.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:243:15 [INFO] [stdout] | [INFO] [stdout] 243 | pub unsafe fn usermode(ip: usize, sp: usize, arg: usize, singlestep: bool) -> ! { [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | if singlestep { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | in("r11") sp, // Stack pointer [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | in("r14") ip, // IP [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | in("r15") arg, // Argument [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:255:10 [INFO] [stdout] | [INFO] [stdout] 255 | in("r10") (gdt::GDT_USER_DATA << 3 | 3), // Data segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 256 | in("r11") sp, // Stack pointer [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 257 | in("r12") flags, // Flags [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 258 | in("r13") (gdt::GDT_USER_CODE << 3 | 3), // Code segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 259 | in("r14") ip, // IP [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 260 | in("r15") arg, // Argument [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/arch/x86_64/start.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | / asm!("push r10 [INFO] [stdout] 250 | | push r11 [INFO] [stdout] 251 | | push r12 [INFO] [stdout] 252 | | push r13 [INFO] [stdout] ... | [INFO] [stdout] 260 | | in("r15") arg, // Argument [INFO] [stdout] 261 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:289:10 [INFO] [stdout] | [INFO] [stdout] 289 | in("r14") (gdt::GDT_USER_DATA << 3 | 3), // Data segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 290 | in("r15") (gdt::GDT_USER_TLS << 3 | 3), // TLS segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: naked functions must contain a single asm block [INFO] [stdout] --> src/arch/x86_64/start.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | / pub unsafe fn usermode(ip: usize, sp: usize, arg: usize, singlestep: bool) -> ! { [INFO] [stdout] 244 | | let mut flags = FLAG_INTERRUPTS; [INFO] [stdout] | | -------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 245 | | if singlestep { [INFO] [stdout] | _|_____- [INFO] [stdout] 246 | | | flags |= FLAG_SINGLESTEP; [INFO] [stdout] 247 | | | } [INFO] [stdout] | |_|_____- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 264 | | pti::unmap(); [INFO] [stdout] | | ------------- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 267 | / | asm!("mov ds, r14d [INFO] [stdout] 268 | | | mov es, r14d [INFO] [stdout] 269 | | | mov fs, r15d [INFO] [stdout] 270 | | | mov gs, r14d [INFO] [stdout] ... | | [INFO] [stdout] 291 | | | options(noreturn), [INFO] [stdout] 292 | | | ); [INFO] [stdout] | |_|______- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 293 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [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: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:243:15 [INFO] [stdout] | [INFO] [stdout] 243 | pub unsafe fn usermode(ip: usize, sp: usize, arg: usize, singlestep: bool) -> ! { [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | if singlestep { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | in("r11") sp, // Stack pointer [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | in("r14") ip, // IP [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | in("r15") arg, // Argument [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:255:10 [INFO] [stdout] | [INFO] [stdout] 255 | in("r10") (gdt::GDT_USER_DATA << 3 | 3), // Data segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 256 | in("r11") sp, // Stack pointer [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 257 | in("r12") flags, // Flags [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 258 | in("r13") (gdt::GDT_USER_CODE << 3 | 3), // Code segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 259 | in("r14") ip, // IP [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 260 | in("r15") arg, // Argument [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/arch/x86_64/start.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | / asm!("push r10 [INFO] [stdout] 250 | | push r11 [INFO] [stdout] 251 | | push r12 [INFO] [stdout] 252 | | push r13 [INFO] [stdout] ... | [INFO] [stdout] 260 | | in("r15") arg, // Argument [INFO] [stdout] 261 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:289:10 [INFO] [stdout] | [INFO] [stdout] 289 | in("r14") (gdt::GDT_USER_DATA << 3 | 3), // Data segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 290 | in("r15") (gdt::GDT_USER_TLS << 3 | 3), // TLS segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: naked functions must contain a single asm block [INFO] [stdout] --> src/arch/x86_64/start.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | / pub unsafe fn usermode(ip: usize, sp: usize, arg: usize, singlestep: bool) -> ! { [INFO] [stdout] 244 | | let mut flags = FLAG_INTERRUPTS; [INFO] [stdout] | | -------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 245 | | if singlestep { [INFO] [stdout] | _|_____- [INFO] [stdout] 246 | | | flags |= FLAG_SINGLESTEP; [INFO] [stdout] 247 | | | } [INFO] [stdout] | |_|_____- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 264 | | pti::unmap(); [INFO] [stdout] | | ------------- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 267 | / | asm!("mov ds, r14d [INFO] [stdout] 268 | | | mov es, r14d [INFO] [stdout] 269 | | | mov fs, r15d [INFO] [stdout] 270 | | | mov gs, r14d [INFO] [stdout] ... | | [INFO] [stdout] 291 | | | options(noreturn), [INFO] [stdout] 292 | | | ); [INFO] [stdout] | |_|______- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 293 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | / asm!("push rax [INFO] [stdout] 204 | | push rcx [INFO] [stdout] 205 | | push rdx [INFO] [stdout] 206 | | push rdi [INFO] [stdout] ... | [INFO] [stdout] 210 | | push r10 [INFO] [stdout] 211 | | push r11"); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | asm!("mov {}, rsp", out(reg) rsp); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | asm!("mov {}, rsp", out(reg) rsp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / asm!("pop r11 [INFO] [stdout] 222 | | pop r10 [INFO] [stdout] 223 | | pop r9 [INFO] [stdout] 224 | | pop r8 [INFO] [stdout] ... | [INFO] [stdout] 229 | | pop rax [INFO] [stdout] 230 | | add rsp, 16"); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [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: naked functions must contain a single asm block [INFO] [stdout] --> src/context/arch/x86_64.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / unsafe extern fn signal_handler_wrapper() { [INFO] [stdout] 197 | | #[inline(never)] [INFO] [stdout] 198 | | unsafe fn inner(stack: &SignalHandlerStack) { [INFO] [stdout] 199 | | (stack.handler)(stack.sig); [INFO] [stdout] ... | [INFO] [stdout] 214 | | let rsp: usize; [INFO] [stdout] | | --------------- non-asm is unsupported in naked functions [INFO] [stdout] 215 | | asm!("mov {}, rsp", out(reg) rsp); [INFO] [stdout] | | ---------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 218 | | inner(&*(rsp as *const SignalHandlerStack)); [INFO] [stdout] | | -------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 221 | /| asm!("pop r11 [INFO] [stdout] 222 | || pop r10 [INFO] [stdout] 223 | || pop r9 [INFO] [stdout] 224 | || pop r8 [INFO] [stdout] ... || [INFO] [stdout] 229 | || pop rax [INFO] [stdout] 230 | || add rsp, 16"); [INFO] [stdout] | ||______________________- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 231 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [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: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub unsafe fn switch_to(&mut self, next: &mut Context) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | asm!("fxsave64 [{}]", in(reg) (self.fx)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | self.loadable = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | if next.loadable { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | asm!("fxrstor64 [{}]", in(reg) (next.fx)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:144:39 [INFO] [stdout] | [INFO] [stdout] 144 | asm!("mov {}, cr3", out(reg) (self.cr3)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | if next.cr3 != self.cr3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | if next.cr3 != self.cr3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 146 | asm!("mov cr3, {}", in(reg) (next.cr3)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:149:43 [INFO] [stdout] | [INFO] [stdout] 149 | asm!("pushfq ; pop {}", out(reg) (self.rflags)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:150:42 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("push {} ; popfq", in(reg) (next.rflags)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:152:39 [INFO] [stdout] | [INFO] [stdout] 152 | asm!("mov {}, rbx", out(reg) (self.rbx)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | asm!("mov rbx, {}", in(reg) (next.rbx)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:155:39 [INFO] [stdout] | [INFO] [stdout] 155 | asm!("mov {}, r12", out(reg) (self.r12)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | asm!("mov r12, {}", in(reg) (next.r12)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | asm!("mov {}, r13", out(reg) (self.r13)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:159:38 [INFO] [stdout] | [INFO] [stdout] 159 | asm!("mov r13, {}", in(reg) (next.r13)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | asm!("mov {}, r14", out(reg) (self.r14)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | asm!("mov r14, {}", in(reg) (next.r14)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:164:39 [INFO] [stdout] | [INFO] [stdout] 164 | asm!("mov {}, r15", out(reg) (self.r15)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | asm!("mov r15, {}", in(reg) (next.r15)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:167:39 [INFO] [stdout] | [INFO] [stdout] 167 | asm!("mov {}, rsp", out(reg) (self.rsp)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:168:38 [INFO] [stdout] | [INFO] [stdout] 168 | asm!("mov rsp, {}", in(reg) (next.rsp)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | asm!("mov {}, rbp", out(reg) (self.rbp)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | asm!("mov rbp, {}", in(reg) (next.rbp)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | asm!("fxsave64 [{}]", in(reg) (self.fx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | asm!("fxsave64 [{}]", in(reg) (self.fx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | / asm!("push rax [INFO] [stdout] 204 | | push rcx [INFO] [stdout] 205 | | push rdx [INFO] [stdout] 206 | | push rdi [INFO] [stdout] ... | [INFO] [stdout] 210 | | push r10 [INFO] [stdout] 211 | | push r11"); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | asm!("mov {}, cr3", out(reg) (self.cr3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | asm!("mov {}, rsp", out(reg) rsp); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | asm!("mov {}, cr3", out(reg) (self.cr3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | asm!("mov {}, rsp", out(reg) rsp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | asm!("pushfq ; pop {}", out(reg) (self.rflags)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / asm!("pop r11 [INFO] [stdout] 222 | | pop r10 [INFO] [stdout] 223 | | pop r9 [INFO] [stdout] 224 | | pop r8 [INFO] [stdout] ... | [INFO] [stdout] 229 | | pop rax [INFO] [stdout] 230 | | add rsp, 16"); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | asm!("pushfq ; pop {}", out(reg) (self.rflags)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:150:33 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("push {} ; popfq", in(reg) (next.rflags)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("push {} ; popfq", in(reg) (next.rflags)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: naked functions must contain a single asm block [INFO] [stdout] --> src/context/arch/x86_64.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / unsafe extern fn signal_handler_wrapper() { [INFO] [stdout] 197 | | #[inline(never)] [INFO] [stdout] 198 | | unsafe fn inner(stack: &SignalHandlerStack) { [INFO] [stdout] 199 | | (stack.handler)(stack.sig); [INFO] [stdout] ... | [INFO] [stdout] 214 | | let rsp: usize; [INFO] [stdout] | | --------------- non-asm is unsupported in naked functions [INFO] [stdout] 215 | | asm!("mov {}, rsp", out(reg) rsp); [INFO] [stdout] | | ---------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 218 | | inner(&*(rsp as *const SignalHandlerStack)); [INFO] [stdout] | | -------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 221 | /| asm!("pop r11 [INFO] [stdout] 222 | || pop r10 [INFO] [stdout] 223 | || pop r9 [INFO] [stdout] 224 | || pop r8 [INFO] [stdout] ... || [INFO] [stdout] 229 | || pop rax [INFO] [stdout] 230 | || add rsp, 16"); [INFO] [stdout] | ||______________________- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 231 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | asm!("mov {}, rbx", out(reg) (self.rbx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub unsafe fn switch_to(&mut self, next: &mut Context) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | asm!("mov {}, rbx", out(reg) (self.rbx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | asm!("fxsave64 [{}]", in(reg) (self.fx)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | asm!("mov rbx, {}", in(reg) (next.rbx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | self.loadable = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | asm!("mov rbx, {}", in(reg) (next.rbx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | if next.loadable { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | asm!("mov {}, r12", out(reg) (self.r12)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | asm!("fxrstor64 [{}]", in(reg) (next.fx)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:144:39 [INFO] [stdout] | [INFO] [stdout] 144 | asm!("mov {}, cr3", out(reg) (self.cr3)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | asm!("mov {}, r12", out(reg) (self.r12)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | if next.cr3 != self.cr3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | asm!("mov r12, {}", in(reg) (next.r12)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | if next.cr3 != self.cr3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | asm!("mov r12, {}", in(reg) (next.r12)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 146 | asm!("mov cr3, {}", in(reg) (next.cr3)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:149:43 [INFO] [stdout] | [INFO] [stdout] 149 | asm!("pushfq ; pop {}", out(reg) (self.rflags)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | asm!("mov {}, r13", out(reg) (self.r13)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:150:42 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("push {} ; popfq", in(reg) (next.rflags)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | asm!("mov {}, r13", out(reg) (self.r13)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | asm!("mov r13, {}", in(reg) (next.r13)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | asm!("mov r13, {}", in(reg) (next.r13)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | asm!("mov {}, r14", out(reg) (self.r14)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | asm!("mov {}, r14", out(reg) (self.r14)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | asm!("mov r14, {}", in(reg) (next.r14)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | asm!("mov r14, {}", in(reg) (next.r14)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | asm!("mov {}, r15", out(reg) (self.r15)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | asm!("mov {}, r15", out(reg) (self.r15)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | asm!("mov r15, {}", in(reg) (next.r15)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | asm!("mov r15, {}", in(reg) (next.r15)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | asm!("mov {}, rsp", out(reg) (self.rsp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | asm!("mov {}, rsp", out(reg) (self.rsp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | asm!("mov rsp, {}", in(reg) (next.rsp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | asm!("mov rsp, {}", in(reg) (next.rsp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | asm!("mov {}, rbp", out(reg) (self.rbp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | asm!("mov {}, rbp", out(reg) (self.rbp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | asm!("mov rbp, {}", in(reg) (next.rbp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | asm!("mov rbp, {}", in(reg) (next.rbp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:152:39 [INFO] [stdout] | [INFO] [stdout] 152 | asm!("mov {}, rbx", out(reg) (self.rbx)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | asm!("mov rbx, {}", in(reg) (next.rbx)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:155:39 [INFO] [stdout] | [INFO] [stdout] 155 | asm!("mov {}, r12", out(reg) (self.r12)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | asm!("mov r12, {}", in(reg) (next.r12)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | asm!("mov {}, r13", out(reg) (self.r13)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:159:38 [INFO] [stdout] | [INFO] [stdout] 159 | asm!("mov r13, {}", in(reg) (next.r13)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | asm!("mov {}, r14", out(reg) (self.r14)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | asm!("mov r14, {}", in(reg) (next.r14)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:164:39 [INFO] [stdout] | [INFO] [stdout] 164 | asm!("mov {}, r15", out(reg) (self.r15)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | asm!("mov r15, {}", in(reg) (next.r15)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:167:39 [INFO] [stdout] | [INFO] [stdout] 167 | asm!("mov {}, rsp", out(reg) (self.rsp)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/context/arch/x86_64.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / pub unsafe fn switch_to(&mut self, next: &mut Context) { [INFO] [stdout] 136 | | asm!("fxsave64 [{}]", in(reg) (self.fx)); [INFO] [stdout] 137 | | self.loadable = true; [INFO] [stdout] | | --------------------- non-asm is unsupported in naked functions [INFO] [stdout] 138 | | if next.loadable { [INFO] [stdout] | _|_________- [INFO] [stdout] 139 | | | asm!("fxrstor64 [{}]", in(reg) (next.fx)); [INFO] [stdout] 140 | | | }else{ [INFO] [stdout] 141 | | | asm!("fninit"); [INFO] [stdout] 142 | | | } [INFO] [stdout] | |_|_________- non-asm is unsupported in naked functions [INFO] [stdout] 143 | | [INFO] [stdout] 144 | | asm!("mov {}, cr3", out(reg) (self.cr3)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 145 | / | if next.cr3 != self.cr3 { [INFO] [stdout] 146 | | | asm!("mov cr3, {}", in(reg) (next.cr3)); [INFO] [stdout] 147 | | | } [INFO] [stdout] | |_|_________- non-asm is unsupported in naked functions [INFO] [stdout] 148 | | [INFO] [stdout] 149 | | asm!("pushfq ; pop {}", out(reg) (self.rflags)); [INFO] [stdout] | | ------------------------------------------------ multiple asm blocks are unsupported in naked functions [INFO] [stdout] 150 | | asm!("push {} ; popfq", in(reg) (next.rflags)); [INFO] [stdout] | | ----------------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 151 | | [INFO] [stdout] 152 | | asm!("mov {}, rbx", out(reg) (self.rbx)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 153 | | asm!("mov rbx, {}", in(reg) (next.rbx)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 154 | | [INFO] [stdout] 155 | | asm!("mov {}, r12", out(reg) (self.r12)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 156 | | asm!("mov r12, {}", in(reg) (next.r12)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 157 | | [INFO] [stdout] 158 | | asm!("mov {}, r13", out(reg) (self.r13)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 159 | | asm!("mov r13, {}", in(reg) (next.r13)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 160 | | [INFO] [stdout] 161 | | asm!("mov {}, r14", out(reg) (self.r14)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 162 | | asm!("mov r14, {}", in(reg) (next.r14)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 163 | | [INFO] [stdout] 164 | | asm!("mov {}, r15", out(reg) (self.r15)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 165 | | asm!("mov r15, {}", in(reg) (next.r15)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 166 | | [INFO] [stdout] 167 | | asm!("mov {}, rsp", out(reg) (self.rsp)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 168 | | asm!("mov rsp, {}", in(reg) (next.rsp)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | asm!("mov {}, rbp", out(reg) (self.rbp)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 171 | | asm!("mov rbp, {}", in(reg) (next.rbp)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 174 | | CONTEXT_SWITCH_LOCK.store(false, Ordering::SeqCst); [INFO] [stdout] | | --------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:168:38 [INFO] [stdout] | [INFO] [stdout] 168 | asm!("mov rsp, {}", in(reg) (next.rsp)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | asm!("mov {}, rbp", out(reg) (self.rbp)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | asm!("mov rbp, {}", in(reg) (next.rbp)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | asm!("fxsave64 [{}]", in(reg) (self.fx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | asm!("fxsave64 [{}]", in(reg) (self.fx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | asm!("mov {}, cr3", out(reg) (self.cr3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | asm!("mov {}, cr3", out(reg) (self.cr3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | asm!("pushfq ; pop {}", out(reg) (self.rflags)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | asm!("pushfq ; pop {}", out(reg) (self.rflags)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:150:33 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("push {} ; popfq", in(reg) (next.rflags)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("push {} ; popfq", in(reg) (next.rflags)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | asm!("mov {}, rbx", out(reg) (self.rbx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | asm!("mov {}, rbx", out(reg) (self.rbx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | asm!("mov rbx, {}", in(reg) (next.rbx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | asm!("mov rbx, {}", in(reg) (next.rbx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | asm!("mov {}, r12", out(reg) (self.r12)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | asm!("mov {}, r12", out(reg) (self.r12)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | asm!("mov r12, {}", in(reg) (next.r12)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | asm!("mov r12, {}", in(reg) (next.r12)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | asm!("mov {}, r13", out(reg) (self.r13)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | asm!("mov {}, r13", out(reg) (self.r13)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | asm!("mov r13, {}", in(reg) (next.r13)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | asm!("mov r13, {}", in(reg) (next.r13)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | asm!("mov {}, r14", out(reg) (self.r14)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | asm!("mov {}, r14", out(reg) (self.r14)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | asm!("mov r14, {}", in(reg) (next.r14)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | asm!("mov r14, {}", in(reg) (next.r14)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | asm!("mov {}, r15", out(reg) (self.r15)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | asm!("mov {}, r15", out(reg) (self.r15)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | asm!("mov r15, {}", in(reg) (next.r15)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | asm!("mov r15, {}", in(reg) (next.r15)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | asm!("mov {}, rsp", out(reg) (self.rsp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | asm!("mov {}, rsp", out(reg) (self.rsp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | asm!("mov rsp, {}", in(reg) (next.rsp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | asm!("mov rsp, {}", in(reg) (next.rsp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | asm!("mov {}, rbp", out(reg) (self.rbp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | asm!("mov {}, rbp", out(reg) (self.rbp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | asm!("mov rbp, {}", in(reg) (next.rbp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | asm!("mov rbp, {}", in(reg) (next.rbp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: naked functions must contain a single asm block [INFO] [stdout] --> src/context/arch/x86_64.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / pub unsafe fn switch_to(&mut self, next: &mut Context) { [INFO] [stdout] 136 | | asm!("fxsave64 [{}]", in(reg) (self.fx)); [INFO] [stdout] 137 | | self.loadable = true; [INFO] [stdout] | | --------------------- non-asm is unsupported in naked functions [INFO] [stdout] 138 | | if next.loadable { [INFO] [stdout] | _|_________- [INFO] [stdout] 139 | | | asm!("fxrstor64 [{}]", in(reg) (next.fx)); [INFO] [stdout] 140 | | | }else{ [INFO] [stdout] 141 | | | asm!("fninit"); [INFO] [stdout] 142 | | | } [INFO] [stdout] | |_|_________- non-asm is unsupported in naked functions [INFO] [stdout] 143 | | [INFO] [stdout] 144 | | asm!("mov {}, cr3", out(reg) (self.cr3)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 145 | / | if next.cr3 != self.cr3 { [INFO] [stdout] 146 | | | asm!("mov cr3, {}", in(reg) (next.cr3)); [INFO] [stdout] 147 | | | } [INFO] [stdout] | |_|_________- non-asm is unsupported in naked functions [INFO] [stdout] 148 | | [INFO] [stdout] 149 | | asm!("pushfq ; pop {}", out(reg) (self.rflags)); [INFO] [stdout] | | ------------------------------------------------ multiple asm blocks are unsupported in naked functions [INFO] [stdout] 150 | | asm!("push {} ; popfq", in(reg) (next.rflags)); [INFO] [stdout] | | ----------------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 151 | | [INFO] [stdout] 152 | | asm!("mov {}, rbx", out(reg) (self.rbx)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 153 | | asm!("mov rbx, {}", in(reg) (next.rbx)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 154 | | [INFO] [stdout] 155 | | asm!("mov {}, r12", out(reg) (self.r12)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 156 | | asm!("mov r12, {}", in(reg) (next.r12)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 157 | | [INFO] [stdout] 158 | | asm!("mov {}, r13", out(reg) (self.r13)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 159 | | asm!("mov r13, {}", in(reg) (next.r13)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 160 | | [INFO] [stdout] 161 | | asm!("mov {}, r14", out(reg) (self.r14)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 162 | | asm!("mov r14, {}", in(reg) (next.r14)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 163 | | [INFO] [stdout] 164 | | asm!("mov {}, r15", out(reg) (self.r15)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 165 | | asm!("mov r15, {}", in(reg) (next.r15)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 166 | | [INFO] [stdout] 167 | | asm!("mov {}, rsp", out(reg) (self.rsp)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 168 | | asm!("mov rsp, {}", in(reg) (next.rsp)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | asm!("mov {}, rbp", out(reg) (self.rbp)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 171 | | asm!("mov rbp, {}", in(reg) (next.rbp)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 174 | | CONTEXT_SWITCH_LOCK.store(false, Ordering::SeqCst); [INFO] [stdout] | | --------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [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[E0740]: unions may not contain fields that need dropping [INFO] [stdout] --> src/scheme/proc.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | float: FloatRegisters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `std::mem::ManuallyDrop` can be used to wrap the type [INFO] [stdout] --> src/scheme/proc.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | float: FloatRegisters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0740]: unions may not contain fields that need dropping [INFO] [stdout] --> src/scheme/proc.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | float: FloatRegisters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `std::mem::ManuallyDrop` can be used to wrap the type [INFO] [stdout] --> src/scheme/proc.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | float: FloatRegisters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/int_like.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | $new_type_name::from(self.container.compare_and_swap(current.into(), new.into(), order)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/context.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | int_like!(ContextId, AtomicContextId, usize, AtomicUsize); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/int_like.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | $new_type_name::from(self.container.compare_and_swap(current.into(), new.into(), order)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | int_like!(EventQueueId, AtomicEventQueueId, usize, AtomicUsize); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/int_like.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | $new_type_name::from(self.container.compare_and_swap(current.into(), new.into(), order)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scheme/mod.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | int_like!(SchemeNamespace, AtomicSchemeNamespace, usize, AtomicUsize); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/int_like.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | $new_type_name::from(self.container.compare_and_swap(current.into(), new.into(), order)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scheme/mod.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | int_like!(SchemeId, AtomicSchemeId, usize, AtomicUsize); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/int_like.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | $new_type_name::from(self.container.compare_and_swap(current.into(), new.into(), order)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scheme/mod.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | int_like!(FileHandle, AtomicFileHandle, usize, AtomicUsize); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/int_like.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | $new_type_name::from(self.container.compare_and_swap(current.into(), new.into(), order)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | int_like!(UsizeLike2, AtomicUsizeLike, usize, AtomicUsize); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/int_like.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | $new_type_name::from(self.container.compare_and_swap(current.into(), new.into(), order)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/context.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | int_like!(ContextId, AtomicContextId, usize, AtomicUsize); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/int_like.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | $new_type_name::from(self.container.compare_and_swap(current.into(), new.into(), order)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | int_like!(EventQueueId, AtomicEventQueueId, usize, AtomicUsize); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/int_like.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | $new_type_name::from(self.container.compare_and_swap(current.into(), new.into(), order)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scheme/mod.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | int_like!(SchemeNamespace, AtomicSchemeNamespace, usize, AtomicUsize); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/int_like.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | $new_type_name::from(self.container.compare_and_swap(current.into(), new.into(), order)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scheme/mod.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | int_like!(SchemeId, AtomicSchemeId, usize, AtomicUsize); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/int_like.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | $new_type_name::from(self.container.compare_and_swap(current.into(), new.into(), order)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/scheme/mod.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | int_like!(FileHandle, AtomicFileHandle, usize, AtomicUsize); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/context/switch.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | while arch::CONTEXT_SWITCH_LOCK.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/context/switch.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | while arch::CONTEXT_SWITCH_LOCK.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: location not found: environment variable not found, please set proper INITFS_FOLDER. [INFO] [stderr] [INFO] [stderr] error: could not compile `kernel` [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 30 previous errors; 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: location not found: environment variable not found, please set proper INITFS_FOLDER. [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "48e7246e17bcf8e1267978b47f23ec44f6e87307a91ee7ca56df8f506ede64c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48e7246e17bcf8e1267978b47f23ec44f6e87307a91ee7ca56df8f506ede64c1", kill_on_drop: false }` [INFO] [stdout] 48e7246e17bcf8e1267978b47f23ec44f6e87307a91ee7ca56df8f506ede64c1