[INFO] cloning repository https://github.com/bill-zxy/redox-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bill-zxy/redox-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbill-zxy%2Fredox-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbill-zxy%2Fredox-kernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad6035c7de5ccc1cb4c7cc99b3fe4b3751c6a8de [INFO] checking bill-zxy/redox-kernel against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbill-zxy%2Fredox-kernel" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bill-zxy/redox-kernel on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/source/.cargo/config [INFO] started tweaking git repo https://github.com/bill-zxy/redox-kernel [INFO] removed path dependency redox_syscall from git repo https://github.com/bill-zxy/redox-kernel [INFO] removed path dependency slab_allocator from git repo https://github.com/bill-zxy/redox-kernel [INFO] finished tweaking git repo https://github.com/bill-zxy/redox-kernel [INFO] tweaked toml for git repo https://github.com/bill-zxy/redox-kernel written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/bill-zxy/redox-kernel already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (redox_syscall) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (slab_allocator) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (redox_syscall) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (slab_allocator) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f75013d89910aabc31be210a622fdabd60549d60f8b9459c152a61ca78a97f90 [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" "f75013d89910aabc31be210a622fdabd60549d60f8b9459c152a61ca78a97f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f75013d89910aabc31be210a622fdabd60549d60f8b9459c152a61ca78a97f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f75013d89910aabc31be210a622fdabd60549d60f8b9459c152a61ca78a97f90", kill_on_drop: false }` [INFO] [stdout] f75013d89910aabc31be210a622fdabd60549d60f8b9459c152a61ca78a97f90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 310e693980052f331295ac565cb6fa20997db580b6c4e4b87dfb96c5b53ba4eb [INFO] running `Command { std: "docker" "start" "-a" "310e693980052f331295ac565cb6fa20997db580b6c4e4b87dfb96c5b53ba4eb", kill_on_drop: false }` [INFO] [stderr] warning: dependency (redox_syscall) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (slab_allocator) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [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 x86 v0.32.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Compiling kernel v0.1.54 (/opt/rustwide/workdir) [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking spinning_top v0.1.1 [INFO] [stderr] Checking goblin v0.2.3 [INFO] [stderr] Checking redox_syscall v0.2.1 [INFO] [stderr] Checking linked_list_allocator v0.8.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] warning: location not found: environment variable not found, please set proper INITFS_FOLDER. [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Compiling raw-cpuid v8.1.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stdout] error[E0432]: unresolved import `super::data::Map2` [INFO] [stdout] --> src/syscall/debug.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use super::data::{Map, Map2, Stat, TimeSpec}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Map2` in `data` [INFO] [stdout] | help: a similar name exists in the module: `Map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::syscall::data::Map2` [INFO] [stdout] --> src/scheme/memory.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::syscall::data::{Map, Map2, StatVfs}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Map2` in `data` [INFO] [stdout] | help: a similar name exists in the module: `Map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::syscall::data::Map2` [INFO] [stdout] --> src/scheme/user.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::syscall::data::{Map, Map2, Packet, Stat, StatVfs, TimeSpec}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Map2` in `data` [INFO] [stdout] | help: a similar name exists in the module: `Map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::data::Map2` [INFO] [stdout] --> src/syscall/debug.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use super::data::{Map, Map2, Stat, TimeSpec}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Map2` in `data` [INFO] [stdout] | help: a similar name exists in the module: `Map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::syscall::data::Map2` [INFO] [stdout] --> src/scheme/memory.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::syscall::data::{Map, Map2, StatVfs}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Map2` in `data` [INFO] [stdout] | help: a similar name exists in the module: `Map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::syscall::data::Map2` [INFO] [stdout] --> src/scheme/user.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::syscall::data::{Map, Map2, Packet, Stat, StatVfs, TimeSpec}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Map2` in `data` [INFO] [stdout] | help: a similar name exists in the module: `Map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `fmap2` is not a member of trait `Scheme` [INFO] [stdout] --> src/scheme/memory.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / fn fmap2(&self, _id: usize, map: &Map2) -> Result { [INFO] [stdout] 35 | | //TODO: Abstract with other grant creation [INFO] [stdout] 36 | | if map.size == 0 { [INFO] [stdout] 37 | | Ok(0) [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____^ not a member of trait `Scheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `fmap2` is not a member of trait `Scheme` [INFO] [stdout] --> src/scheme/user.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | / fn fmap2(&self, file: usize, map: &Map2) -> Result { [INFO] [stdout] 396 | | let inner = self.inner.upgrade().ok_or(Error::new(ENODEV))?; [INFO] [stdout] 397 | | [INFO] [stdout] 398 | | let (pid, uid, gid, context_lock, desc) = { [INFO] [stdout] ... | [INFO] [stdout] 440 | | result [INFO] [stdout] 441 | | } [INFO] [stdout] | |_____^ not a member of trait `Scheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `fmap2` is not a member of trait `Scheme` [INFO] [stdout] --> src/scheme/memory.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / fn fmap2(&self, _id: usize, map: &Map2) -> Result { [INFO] [stdout] 35 | | //TODO: Abstract with other grant creation [INFO] [stdout] 36 | | if map.size == 0 { [INFO] [stdout] 37 | | Ok(0) [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____^ not a member of trait `Scheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `funmap2` is not a member of trait `Scheme` [INFO] [stdout] --> src/scheme/user.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | / fn funmap2(&self, grant_address: usize, size: usize) -> Result { [INFO] [stdout] 470 | | let inner = self.inner.upgrade().ok_or(Error::new(ENODEV))?; [INFO] [stdout] 471 | | let address_opt = { [INFO] [stdout] 472 | | let mut funmap = inner.funmap.lock(); [INFO] [stdout] ... | [INFO] [stdout] 505 | | } [INFO] [stdout] 506 | | } [INFO] [stdout] | |_____^ not a member of trait `Scheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `fmap2` is not a member of trait `Scheme` [INFO] [stdout] --> src/scheme/user.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | / fn fmap2(&self, file: usize, map: &Map2) -> Result { [INFO] [stdout] 396 | | let inner = self.inner.upgrade().ok_or(Error::new(ENODEV))?; [INFO] [stdout] 397 | | [INFO] [stdout] 398 | | let (pid, uid, gid, context_lock, desc) = { [INFO] [stdout] ... | [INFO] [stdout] 440 | | result [INFO] [stdout] 441 | | } [INFO] [stdout] | |_____^ not a member of trait `Scheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `funmap2` is not a member of trait `Scheme` [INFO] [stdout] --> src/scheme/user.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | / fn funmap2(&self, grant_address: usize, size: usize) -> Result { [INFO] [stdout] 470 | | let inner = self.inner.upgrade().ok_or(Error::new(ENODEV))?; [INFO] [stdout] 471 | | let address_opt = { [INFO] [stdout] 472 | | let mut funmap = inner.funmap.lock(); [INFO] [stdout] ... | [INFO] [stdout] 505 | | } [INFO] [stdout] 506 | | } [INFO] [stdout] | |_____^ not a member of trait `Scheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYS_FMAP2` in this scope [INFO] [stdout] --> src/scheme/user.rs:432:16 [INFO] [stdout] | [INFO] [stdout] 432 | a: SYS_FMAP2, [INFO] [stdout] | ^^^^^^^^^ help: a constant with a similar name exists: `SYS_FMAP` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/redox_syscall-0.2.1/src/number.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub const SYS_FMAP: usize = SYS_CLASS_FILE | SYS_ARG_SLICE | 900; [INFO] [stdout] | ----------------------------------------------------------------------- similarly named constant `SYS_FMAP` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYS_FUNMAP2` in this scope [INFO] [stdout] --> src/scheme/user.rs:502:24 [INFO] [stdout] | [INFO] [stdout] 502 | inner.call(SYS_FUNMAP2, user_address, size, 0) [INFO] [stdout] | ^^^^^^^^^^^ help: a constant with a similar name exists: `SYS_FUNMAP` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/redox_syscall-0.2.1/src/number.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub const SYS_FUNMAP: usize = SYS_CLASS_FILE | 92; [INFO] [stdout] | ------------------------------------------------------ similarly named constant `SYS_FUNMAP` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYS_FMAP2` in this scope [INFO] [stdout] --> src/scheme/user.rs:432:16 [INFO] [stdout] | [INFO] [stdout] 432 | a: SYS_FMAP2, [INFO] [stdout] | ^^^^^^^^^ help: a constant with a similar name exists: `SYS_FMAP` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/redox_syscall-0.2.1/src/number.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub const SYS_FMAP: usize = SYS_CLASS_FILE | SYS_ARG_SLICE | 900; [INFO] [stdout] | ----------------------------------------------------------------------- similarly named constant `SYS_FMAP` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYS_FUNMAP2` in this scope [INFO] [stdout] --> src/scheme/user.rs:502:24 [INFO] [stdout] | [INFO] [stdout] 502 | inner.call(SYS_FUNMAP2, user_address, size, 0) [INFO] [stdout] | ^^^^^^^^^^^ help: a constant with a similar name exists: `SYS_FUNMAP` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/redox_syscall-0.2.1/src/number.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub const SYS_FUNMAP: usize = SYS_CLASS_FILE | 92; [INFO] [stdout] | ------------------------------------------------------ similarly named constant `SYS_FUNMAP` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | 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:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | 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:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | 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:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | 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:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | 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:252:10 [INFO] [stdout] | [INFO] [stdout] 252 | in("r10") (gdt::GDT_USER_DATA << 3 | 3), // Data segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 253 | in("r11") sp, // Stack pointer [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 254 | in("r12") flags, // Flags [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 255 | in("r13") (gdt::GDT_USER_CODE << 3 | 3), // Code segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 256 | in("r14") ip, // IP [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 257 | 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:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | / asm!("push r10 [INFO] [stdout] 247 | | push r11 [INFO] [stdout] 248 | | push r12 [INFO] [stdout] 249 | | push r13 [INFO] [stdout] ... | [INFO] [stdout] 257 | | in("r15") arg, // Argument [INFO] [stdout] 258 | | ); [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:286:10 [INFO] [stdout] | [INFO] [stdout] 286 | in("r14") (gdt::GDT_USER_DATA << 3 | 3), // Data segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 287 | 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:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / pub unsafe fn usermode(ip: usize, sp: usize, arg: usize, singlestep: bool) -> ! { [INFO] [stdout] 241 | | let mut flags = FLAG_INTERRUPTS; [INFO] [stdout] | | -------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 242 | | if singlestep { [INFO] [stdout] | _|_____- [INFO] [stdout] 243 | | | flags |= FLAG_SINGLESTEP; [INFO] [stdout] 244 | | | } [INFO] [stdout] | |_|_____- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 261 | | pti::unmap(); [INFO] [stdout] | | ------------- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 264 | / | asm!("mov ds, r14d [INFO] [stdout] 265 | | | mov es, r14d [INFO] [stdout] 266 | | | mov fs, r15d [INFO] [stdout] 267 | | | mov gs, r14d [INFO] [stdout] ... | | [INFO] [stdout] 288 | | | options(noreturn), [INFO] [stdout] 289 | | | ); [INFO] [stdout] | |_|______- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 290 | | } [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:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | / asm!("push rax [INFO] [stdout] 203 | | push rcx [INFO] [stdout] 204 | | push rdx [INFO] [stdout] 205 | | push rdi [INFO] [stdout] ... | [INFO] [stdout] 209 | | push r10 [INFO] [stdout] 210 | | 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:214:25 [INFO] [stdout] | [INFO] [stdout] 214 | 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:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | 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:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / asm!("pop r11 [INFO] [stdout] 221 | | pop r10 [INFO] [stdout] 222 | | pop r9 [INFO] [stdout] 223 | | pop r8 [INFO] [stdout] ... | [INFO] [stdout] 228 | | pop rax [INFO] [stdout] 229 | | 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:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | / unsafe extern fn signal_handler_wrapper() { [INFO] [stdout] 196 | | #[inline(never)] [INFO] [stdout] 197 | | unsafe fn inner(stack: &SignalHandlerStack) { [INFO] [stdout] 198 | | (stack.handler)(stack.sig); [INFO] [stdout] ... | [INFO] [stdout] 213 | | let rsp: usize; [INFO] [stdout] | | --------------- non-asm is unsupported in naked functions [INFO] [stdout] 214 | | asm!("mov {}, rsp", out(reg) rsp); [INFO] [stdout] | | ---------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 217 | | inner(&*(rsp as *const SignalHandlerStack)); [INFO] [stdout] | | -------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 220 | /| asm!("pop r11 [INFO] [stdout] 221 | || pop r10 [INFO] [stdout] 222 | || pop r9 [INFO] [stdout] 223 | || pop r8 [INFO] [stdout] ... || [INFO] [stdout] 228 | || pop rax [INFO] [stdout] 229 | || add rsp, 16"); [INFO] [stdout] | ||______________________- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 230 | | } [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:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | 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:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | 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:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | 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:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | 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:138:45 [INFO] [stdout] | [INFO] [stdout] 138 | 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:143:39 [INFO] [stdout] | [INFO] [stdout] 143 | 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:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | 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:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | 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:42 [INFO] [stdout] | [INFO] [stdout] 145 | 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:148:43 [INFO] [stdout] | [INFO] [stdout] 148 | 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:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | 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:151:39 [INFO] [stdout] | [INFO] [stdout] 151 | 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:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | 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:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | 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:155:38 [INFO] [stdout] | [INFO] [stdout] 155 | 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:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | 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:158:38 [INFO] [stdout] | [INFO] [stdout] 158 | 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:160:39 [INFO] [stdout] | [INFO] [stdout] 160 | 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:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | 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:163:39 [INFO] [stdout] | [INFO] [stdout] 163 | 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:164:38 [INFO] [stdout] | [INFO] [stdout] 164 | 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:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | 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:167:38 [INFO] [stdout] | [INFO] [stdout] 167 | 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:169:39 [INFO] [stdout] | [INFO] [stdout] 169 | 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:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | 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:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | 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:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | 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:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | 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:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | 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:148:33 [INFO] [stdout] | [INFO] [stdout] 148 | 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:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | 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:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | 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:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | 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:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | 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:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | 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:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | 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:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | 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:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | 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:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | 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:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | 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: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/arch/x86_64/start.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | 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:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | 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] 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, {}", 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/arch/x86_64/start.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | 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:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | 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] warning: only `const` and `sym` operands are supported in naked functions [INFO] [stdout] --> src/context/arch/x86_64.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | 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/arch/x86_64/start.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | 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: asm in naked functions must use `noreturn` option [INFO] [stdout] --> src/context/arch/x86_64.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | 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:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | 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/arch/x86_64/start.rs:252:10 [INFO] [stdout] | [INFO] [stdout] 252 | in("r10") (gdt::GDT_USER_DATA << 3 | 3), // Data segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 253 | in("r11") sp, // Stack pointer [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 254 | in("r12") flags, // Flags [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 255 | in("r13") (gdt::GDT_USER_CODE << 3 | 3), // Code segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 256 | in("r14") ip, // IP [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 257 | 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/context/arch/x86_64.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | 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:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | 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/arch/x86_64/start.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | / asm!("push r10 [INFO] [stdout] 247 | | push r11 [INFO] [stdout] 248 | | push r12 [INFO] [stdout] 249 | | push r13 [INFO] [stdout] ... | [INFO] [stdout] 257 | | in("r15") arg, // Argument [INFO] [stdout] 258 | | ); [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:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | 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/arch/x86_64/start.rs:286:10 [INFO] [stdout] | [INFO] [stdout] 286 | in("r14") (gdt::GDT_USER_DATA << 3 | 3), // Data segment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 287 | 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: 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, {}", 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:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | 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:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | 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:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | 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: naked functions must contain a single asm block [INFO] [stdout] --> src/arch/x86_64/start.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / pub unsafe fn usermode(ip: usize, sp: usize, arg: usize, singlestep: bool) -> ! { [INFO] [stdout] 241 | | let mut flags = FLAG_INTERRUPTS; [INFO] [stdout] | | -------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 242 | | if singlestep { [INFO] [stdout] | _|_____- [INFO] [stdout] 243 | | | flags |= FLAG_SINGLESTEP; [INFO] [stdout] 244 | | | } [INFO] [stdout] | |_|_____- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 261 | | pti::unmap(); [INFO] [stdout] | | ------------- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 264 | / | asm!("mov ds, r14d [INFO] [stdout] 265 | | | mov es, r14d [INFO] [stdout] 266 | | | mov fs, r15d [INFO] [stdout] 267 | | | mov gs, r14d [INFO] [stdout] ... | | [INFO] [stdout] 288 | | | options(noreturn), [INFO] [stdout] 289 | | | ); [INFO] [stdout] | |_|______- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 290 | | } [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, {}", 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:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | 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:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | 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:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | 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:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | 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:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | 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:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | 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:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | 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:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | 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:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | 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:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / pub unsafe fn switch_to(&mut self, next: &mut Context) { [INFO] [stdout] 135 | | asm!("fxsave64 [{}]", in(reg) (self.fx)); [INFO] [stdout] 136 | | self.loadable = true; [INFO] [stdout] | | --------------------- non-asm is unsupported in naked functions [INFO] [stdout] 137 | | if next.loadable { [INFO] [stdout] | _|_________- [INFO] [stdout] 138 | | | asm!("fxrstor64 [{}]", in(reg) (next.fx)); [INFO] [stdout] 139 | | | }else{ [INFO] [stdout] 140 | | | asm!("fninit"); [INFO] [stdout] 141 | | | } [INFO] [stdout] | |_|_________- non-asm is unsupported in naked functions [INFO] [stdout] 142 | | [INFO] [stdout] 143 | | asm!("mov {}, cr3", out(reg) (self.cr3)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 144 | / | if next.cr3 != self.cr3 { [INFO] [stdout] 145 | | | asm!("mov cr3, {}", in(reg) (next.cr3)); [INFO] [stdout] 146 | | | } [INFO] [stdout] | |_|_________- non-asm is unsupported in naked functions [INFO] [stdout] 147 | | [INFO] [stdout] 148 | | asm!("pushfq ; pop {}", out(reg) (self.rflags)); [INFO] [stdout] | | ------------------------------------------------ multiple asm blocks are unsupported in naked functions [INFO] [stdout] 149 | | asm!("push {} ; popfq", in(reg) (next.rflags)); [INFO] [stdout] | | ----------------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 150 | | [INFO] [stdout] 151 | | asm!("mov {}, rbx", out(reg) (self.rbx)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 152 | | asm!("mov rbx, {}", in(reg) (next.rbx)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 153 | | [INFO] [stdout] 154 | | asm!("mov {}, r12", out(reg) (self.r12)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 155 | | asm!("mov r12, {}", in(reg) (next.r12)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 156 | | [INFO] [stdout] 157 | | asm!("mov {}, r13", out(reg) (self.r13)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 158 | | asm!("mov r13, {}", in(reg) (next.r13)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 159 | | [INFO] [stdout] 160 | | asm!("mov {}, r14", out(reg) (self.r14)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 161 | | asm!("mov r14, {}", in(reg) (next.r14)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 162 | | [INFO] [stdout] 163 | | asm!("mov {}, r15", out(reg) (self.r15)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 164 | | asm!("mov r15, {}", in(reg) (next.r15)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 165 | | [INFO] [stdout] 166 | | asm!("mov {}, rsp", out(reg) (self.rsp)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 167 | | asm!("mov rsp, {}", in(reg) (next.rsp)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 168 | | [INFO] [stdout] 169 | | asm!("mov {}, rbp", out(reg) (self.rbp)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 170 | | asm!("mov rbp, {}", in(reg) (next.rbp)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 173 | | CONTEXT_SWITCH_LOCK.store(false, Ordering::SeqCst); [INFO] [stdout] | | --------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 174 | | } [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:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | / asm!("push rax [INFO] [stdout] 203 | | push rcx [INFO] [stdout] 204 | | push rdx [INFO] [stdout] 205 | | push rdi [INFO] [stdout] ... | [INFO] [stdout] 209 | | push r10 [INFO] [stdout] 210 | | 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:214:25 [INFO] [stdout] | [INFO] [stdout] 214 | 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:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | 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:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / asm!("pop r11 [INFO] [stdout] 221 | | pop r10 [INFO] [stdout] 222 | | pop r9 [INFO] [stdout] 223 | | pop r8 [INFO] [stdout] ... | [INFO] [stdout] 228 | | pop rax [INFO] [stdout] 229 | | 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:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | / unsafe extern fn signal_handler_wrapper() { [INFO] [stdout] 196 | | #[inline(never)] [INFO] [stdout] 197 | | unsafe fn inner(stack: &SignalHandlerStack) { [INFO] [stdout] 198 | | (stack.handler)(stack.sig); [INFO] [stdout] ... | [INFO] [stdout] 213 | | let rsp: usize; [INFO] [stdout] | | --------------- non-asm is unsupported in naked functions [INFO] [stdout] 214 | | asm!("mov {}, rsp", out(reg) rsp); [INFO] [stdout] | | ---------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 217 | | inner(&*(rsp as *const SignalHandlerStack)); [INFO] [stdout] | | -------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 220 | /| asm!("pop r11 [INFO] [stdout] 221 | || pop r10 [INFO] [stdout] 222 | || pop r9 [INFO] [stdout] 223 | || pop r8 [INFO] [stdout] ... || [INFO] [stdout] 228 | || pop rax [INFO] [stdout] 229 | || add rsp, 16"); [INFO] [stdout] | ||______________________- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 230 | | } [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:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | 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:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | 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:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | 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:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | 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:138:45 [INFO] [stdout] | [INFO] [stdout] 138 | 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:143:39 [INFO] [stdout] | [INFO] [stdout] 143 | 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:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | 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:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | 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:42 [INFO] [stdout] | [INFO] [stdout] 145 | 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:148:43 [INFO] [stdout] | [INFO] [stdout] 148 | 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:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | 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:151:39 [INFO] [stdout] | [INFO] [stdout] 151 | 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:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | 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:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | 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:155:38 [INFO] [stdout] | [INFO] [stdout] 155 | 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:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | 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:158:38 [INFO] [stdout] | [INFO] [stdout] 158 | 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:160:39 [INFO] [stdout] | [INFO] [stdout] 160 | 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:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | 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:163:39 [INFO] [stdout] | [INFO] [stdout] 163 | 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:164:38 [INFO] [stdout] | [INFO] [stdout] 164 | 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:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | 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:167:38 [INFO] [stdout] | [INFO] [stdout] 167 | 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:169:39 [INFO] [stdout] | [INFO] [stdout] 169 | 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:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | 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:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | 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:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | 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:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | 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:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | 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:148:33 [INFO] [stdout] | [INFO] [stdout] 148 | 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:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | 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:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | 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:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | 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:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | 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:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | 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:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | 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:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | 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:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | 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:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | 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:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | 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:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | 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:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | 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:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | 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:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | 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:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | 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:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | 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:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | 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:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | 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:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | 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:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | 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:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | 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:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | 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:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | 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:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | 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:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | 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:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | 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:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | 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:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | 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:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | 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:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | 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:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | 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:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / pub unsafe fn switch_to(&mut self, next: &mut Context) { [INFO] [stdout] 135 | | asm!("fxsave64 [{}]", in(reg) (self.fx)); [INFO] [stdout] 136 | | self.loadable = true; [INFO] [stdout] | | --------------------- non-asm is unsupported in naked functions [INFO] [stdout] 137 | | if next.loadable { [INFO] [stdout] | _|_________- [INFO] [stdout] 138 | | | asm!("fxrstor64 [{}]", in(reg) (next.fx)); [INFO] [stdout] 139 | | | }else{ [INFO] [stdout] 140 | | | asm!("fninit"); [INFO] [stdout] 141 | | | } [INFO] [stdout] | |_|_________- non-asm is unsupported in naked functions [INFO] [stdout] 142 | | [INFO] [stdout] 143 | | asm!("mov {}, cr3", out(reg) (self.cr3)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 144 | / | if next.cr3 != self.cr3 { [INFO] [stdout] 145 | | | asm!("mov cr3, {}", in(reg) (next.cr3)); [INFO] [stdout] 146 | | | } [INFO] [stdout] | |_|_________- non-asm is unsupported in naked functions [INFO] [stdout] 147 | | [INFO] [stdout] 148 | | asm!("pushfq ; pop {}", out(reg) (self.rflags)); [INFO] [stdout] | | ------------------------------------------------ multiple asm blocks are unsupported in naked functions [INFO] [stdout] 149 | | asm!("push {} ; popfq", in(reg) (next.rflags)); [INFO] [stdout] | | ----------------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 150 | | [INFO] [stdout] 151 | | asm!("mov {}, rbx", out(reg) (self.rbx)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 152 | | asm!("mov rbx, {}", in(reg) (next.rbx)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 153 | | [INFO] [stdout] 154 | | asm!("mov {}, r12", out(reg) (self.r12)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 155 | | asm!("mov r12, {}", in(reg) (next.r12)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 156 | | [INFO] [stdout] 157 | | asm!("mov {}, r13", out(reg) (self.r13)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 158 | | asm!("mov r13, {}", in(reg) (next.r13)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 159 | | [INFO] [stdout] 160 | | asm!("mov {}, r14", out(reg) (self.r14)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 161 | | asm!("mov r14, {}", in(reg) (next.r14)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 162 | | [INFO] [stdout] 163 | | asm!("mov {}, r15", out(reg) (self.r15)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 164 | | asm!("mov r15, {}", in(reg) (next.r15)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 165 | | [INFO] [stdout] 166 | | asm!("mov {}, rsp", out(reg) (self.rsp)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 167 | | asm!("mov rsp, {}", in(reg) (next.rsp)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 168 | | [INFO] [stdout] 169 | | asm!("mov {}, rbp", out(reg) (self.rbp)); [INFO] [stdout] | | ----------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] 170 | | asm!("mov rbp, {}", in(reg) (next.rbp)); [INFO] [stdout] | | ---------------------------------------- multiple asm blocks are unsupported in naked functions [INFO] [stdout] ... | [INFO] [stdout] 173 | | CONTEXT_SWITCH_LOCK.store(false, Ordering::SeqCst); [INFO] [stdout] | | --------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 174 | | } [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[E0050]: method `funmap` has 2 parameters but the declaration in trait `syscall::syscall::Scheme::funmap` has 3 [INFO] [stdout] --> src/scheme/user.rs:443:15 [INFO] [stdout] | [INFO] [stdout] 443 | fn funmap(&self, grant_address: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] = note: `funmap` from trait: `fn(&Self, usize, usize) -> core::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `funmap` has 2 parameters but the declaration in trait `syscall::syscall::Scheme::funmap` has 3 [INFO] [stdout] --> src/scheme/user.rs:443:15 [INFO] [stdout] | [INFO] [stdout] 443 | fn funmap(&self, grant_address: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] = note: `funmap` from trait: `fn(&Self, usize, usize) -> core::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fmap2` found for reference `&MemoryScheme` in the current scope [INFO] [stdout] --> src/scheme/memory.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | self.fmap2(id, &Map2 { [INFO] [stdout] | ^^^^^ method not found in `&MemoryScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fmap2` found for reference `&MemoryScheme` in the current scope [INFO] [stdout] --> src/scheme/memory.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | self.fmap2(id, &Map2 { [INFO] [stdout] | ^^^^^ method not found in `&MemoryScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/scheme/user.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fmap: Mutex::new(BTreeMap::new()), [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/scheme/user.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fmap: Mutex::new(BTreeMap::new()), [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/syscall/fs.rs:478:30 [INFO] [stdout] | [INFO] [stdout] 478 | let res = scheme.funmap(virtual_address); [INFO] [stdout] | ^^^^^^ --------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `funmap2` found for struct `Arc` in the current scope [INFO] [stdout] --> src/syscall/fs.rs:544:26 [INFO] [stdout] | [INFO] [stdout] 544 | let res = scheme.funmap2(intersection.start_address().get(), intersection.size()); [INFO] [stdout] | ^^^^^^^ help: there is an associated function with a similar name: `funmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/syscall/fs.rs:478:30 [INFO] [stdout] | [INFO] [stdout] 478 | let res = scheme.funmap(virtual_address); [INFO] [stdout] | ^^^^^^ --------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `funmap2` found for struct `Arc` in the current scope [INFO] [stdout] --> src/syscall/fs.rs:544:26 [INFO] [stdout] | [INFO] [stdout] 544 | let res = scheme.funmap2(intersection.start_address().get(), intersection.size()); [INFO] [stdout] | ^^^^^^^ help: there is an associated function with a similar name: `funmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0061, E0282, E0407, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [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 41 previous errors; 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0061, E0282, E0407, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [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" "310e693980052f331295ac565cb6fa20997db580b6c4e4b87dfb96c5b53ba4eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "310e693980052f331295ac565cb6fa20997db580b6c4e4b87dfb96c5b53ba4eb", kill_on_drop: false }` [INFO] [stdout] 310e693980052f331295ac565cb6fa20997db580b6c4e4b87dfb96c5b53ba4eb