[INFO] cloning repository https://github.com/Dr-TSNG/MinotaurOS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dr-TSNG/MinotaurOS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDr-TSNG%2FMinotaurOS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDr-TSNG%2FMinotaurOS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f45568e0cef8648e14ccf05ae4b768c94b24e05 [INFO] checking Dr-TSNG/MinotaurOS against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDr-TSNG%2FMinotaurOS" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dr-TSNG/MinotaurOS on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Dr-TSNG/MinotaurOS [INFO] finished tweaking git repo https://github.com/Dr-TSNG/MinotaurOS [INFO] tweaked toml for git repo https://github.com/Dr-TSNG/MinotaurOS written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Dr-TSNG/MinotaurOS already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Dr-TSNG/riscv` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sbi-spec v0.0.6 [INFO] [stderr] Downloaded virtio-drivers v0.7.1 [INFO] [stderr] Downloaded zero v0.1.3 [INFO] [stderr] Downloaded bitvec-rs v0.2.1 [INFO] [stderr] Downloaded smoltcp v0.10.0 [INFO] [stderr] Downloaded xmas-elf v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e4482352987bd4dbad35698ab5475383388b2ca1adb712f11f8d95034c0c4b6 [INFO] running `Command { std: "docker" "start" "-a" "5e4482352987bd4dbad35698ab5475383388b2ca1adb712f11f8d95034c0c4b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e4482352987bd4dbad35698ab5475383388b2ca1adb712f11f8d95034c0c4b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e4482352987bd4dbad35698ab5475383388b2ca1adb712f11f8d95034c0c4b6", kill_on_drop: false }` [INFO] [stdout] 5e4482352987bd4dbad35698ab5475383388b2ca1adb712f11f8d95034c0c4b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4efbf1a4535a8842acc2e113a37ef843c7e242f0caff0326a4e6e9040b220a7e [INFO] running `Command { std: "docker" "start" "-a" "4efbf1a4535a8842acc2e113a37ef843c7e242f0caff0326a4e6e9040b220a7e", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking buddy_system_allocator v0.9.1 [INFO] [stderr] Compiling smoltcp v0.10.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling riscv v0.11.1 (https://github.com/Dr-TSNG/riscv#78847873) [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking managed v0.8.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking zero v0.1.3 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking xmas-elf v0.7.0 [INFO] [stderr] Checking sbi-spec v0.0.6 [INFO] [stderr] Checking user_lib v0.1.0 (/opt/rustwide/workdir/user) [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking bitvec-rs v0.2.1 [INFO] [stdout] error: invalid register `a7`: unknown register [INFO] [stdout] --> user/src/syscall.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | syscall!(Getcwd, buf, len) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> user/src/syscall.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | syscall!(Getcwd, buf, len) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a1`: unknown register [INFO] [stdout] --> user/src/syscall.rs:140:72 [INFO] [stdout] | [INFO] [stdout] 140 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | syscall!(Getcwd, buf, len) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a7`: unknown register [INFO] [stdout] --> user/src/syscall.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | syscall!(Exit, exit_code) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> user/src/syscall.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | syscall!(Exit, exit_code) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a7`: unknown register [INFO] [stdout] --> user/src/syscall.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | syscall!(Openat, AT_FDCWD as usize, path.as_ptr() as usize, flags.bits, 0) as i32 [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> user/src/syscall.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | syscall!(Openat, AT_FDCWD as usize, path.as_ptr() as usize, flags.bits, 0) as i32 [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a1`: unknown register [INFO] [stdout] --> user/src/syscall.rs:150:72 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | syscall!(Openat, AT_FDCWD as usize, path.as_ptr() as usize, flags.bits, 0) as i32 [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a2`: unknown register [INFO] [stdout] --> user/src/syscall.rs:150:88 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | syscall!(Openat, AT_FDCWD as usize, path.as_ptr() as usize, flags.bits, 0) as i32 [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a3`: unknown register [INFO] [stdout] --> user/src/syscall.rs:150:104 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | syscall!(Openat, AT_FDCWD as usize, path.as_ptr() as usize, flags.bits, 0) as i32 [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a7`: unknown register [INFO] [stdout] --> user/src/syscall.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | syscall!(Read, fd as usize, buf.as_ptr() as usize, buf.len()) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> user/src/syscall.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 145 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | syscall!(Read, fd as usize, buf.as_ptr() as usize, buf.len()) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a1`: unknown register [INFO] [stdout] --> user/src/syscall.rs:145:72 [INFO] [stdout] | [INFO] [stdout] 145 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | syscall!(Read, fd as usize, buf.as_ptr() as usize, buf.len()) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a2`: unknown register [INFO] [stdout] --> user/src/syscall.rs:145:88 [INFO] [stdout] | [INFO] [stdout] 145 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | syscall!(Read, fd as usize, buf.as_ptr() as usize, buf.len()) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a7`: unknown register [INFO] [stdout] --> user/src/syscall.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | syscall!(Write, fd as usize, buf.as_ptr() as usize, buf.len()) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> user/src/syscall.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 145 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | syscall!(Write, fd as usize, buf.as_ptr() as usize, buf.len()) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a1`: unknown register [INFO] [stdout] --> user/src/syscall.rs:145:72 [INFO] [stdout] | [INFO] [stdout] 145 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | syscall!(Write, fd as usize, buf.as_ptr() as usize, buf.len()) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a2`: unknown register [INFO] [stdout] --> user/src/syscall.rs:145:88 [INFO] [stdout] | [INFO] [stdout] 145 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | syscall!(Write, fd as usize, buf.as_ptr() as usize, buf.len()) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a7`: unknown register [INFO] [stdout] --> user/src/syscall.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | asm!("ecall", in("a7") $code, lateout("a0") result); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | syscall!(SchedYield) [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> user/src/syscall.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | asm!("ecall", in("a7") $code, lateout("a0") result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | syscall!(SchedYield) [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stdout] error: invalid register `a7`: unknown register [INFO] [stdout] --> user/src/syscall.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3, in("a4") $arg4); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | syscall!(Clone, 0usize, 0, 0, 0, 0) [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> user/src/syscall.rs:155:39 [INFO] [stdout] | [INFO] [stdout] 155 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3, in("a4") $arg4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | syscall!(Clone, 0usize, 0, 0, 0, 0) [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a1`: unknown register [INFO] [stdout] --> user/src/syscall.rs:155:72 [INFO] [stdout] | [INFO] [stdout] 155 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3, in("a4") $arg4); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | syscall!(Clone, 0usize, 0, 0, 0, 0) [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a2`: unknown register [INFO] [stdout] --> user/src/syscall.rs:155:88 [INFO] [stdout] | [INFO] [stdout] 155 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3, in("a4") $arg4); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | syscall!(Clone, 0usize, 0, 0, 0, 0) [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a3`: unknown register [INFO] [stdout] --> user/src/syscall.rs:155:104 [INFO] [stdout] | [INFO] [stdout] 155 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3, in("a4") $arg4); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | syscall!(Clone, 0usize, 0, 0, 0, 0) [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a4`: unknown register [INFO] [stdout] --> user/src/syscall.rs:155:120 [INFO] [stdout] | [INFO] [stdout] 155 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3, in("a4") $arg4); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | syscall!(Clone, 0usize, 0, 0, 0, 0) [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a7`: unknown register [INFO] [stdout] --> user/src/syscall.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | syscall!(Execve, path.as_ptr() as usize, argv.as_ptr() as usize, envp.as_ptr() as usize) [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> user/src/syscall.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 145 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | syscall!(Execve, path.as_ptr() as usize, argv.as_ptr() as usize, envp.as_ptr() as usize) [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a1`: unknown register [INFO] [stdout] --> user/src/syscall.rs:145:72 [INFO] [stdout] | [INFO] [stdout] 145 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | syscall!(Execve, path.as_ptr() as usize, argv.as_ptr() as usize, envp.as_ptr() as usize) [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a2`: unknown register [INFO] [stdout] --> user/src/syscall.rs:145:88 [INFO] [stdout] | [INFO] [stdout] 145 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | syscall!(Execve, path.as_ptr() as usize, argv.as_ptr() as usize, envp.as_ptr() as usize) [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a7`: unknown register [INFO] [stdout] --> user/src/syscall.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | syscall!(Wait4, pid, status as *mut i32, 0, 0) [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> user/src/syscall.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | syscall!(Wait4, pid, status as *mut i32, 0, 0) [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a1`: unknown register [INFO] [stdout] --> user/src/syscall.rs:150:72 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | syscall!(Wait4, pid, status as *mut i32, 0, 0) [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a2`: unknown register [INFO] [stdout] --> user/src/syscall.rs:150:88 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | syscall!(Wait4, pid, status as *mut i32, 0, 0) [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a3`: unknown register [INFO] [stdout] --> user/src/syscall.rs:150:104 [INFO] [stdout] | [INFO] [stdout] 150 | asm!("ecall", in("a7") $code, inlateout("a0") $arg0 => result, in("a1") $arg1, in("a2") $arg2, in("a3") $arg3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | syscall!(Wait4, pid, status as *mut i32, 0, 0) [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `syscall_asm` which comes from the expansion of the macro `syscall` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> user/src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / fn panic_handler(panic_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 53 | | unreachable!() [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/af4a5a13a15fa0c60e06321077ef452f769b42fd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb900a948ffb2e3b.rlib [INFO] [stdout] = note: second definition in the local crate (`user_lib`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `user_lib` (lib) due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `user_lib` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "4efbf1a4535a8842acc2e113a37ef843c7e242f0caff0326a4e6e9040b220a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4efbf1a4535a8842acc2e113a37ef843c7e242f0caff0326a4e6e9040b220a7e", kill_on_drop: false }` [INFO] [stdout] 4efbf1a4535a8842acc2e113a37ef843c7e242f0caff0326a4e6e9040b220a7e