[INFO] cloning repository https://github.com/serxka/uriscv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/serxka/uriscv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserxka%2Furiscv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserxka%2Furiscv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c2e7e4ca54666b5df6920b931ac914d372a2060 [INFO] testing serxka/uriscv against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserxka%2Furiscv" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/serxka/uriscv on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-8/source/.cargo/config [INFO] removed /workspace/builds/worker-8/source/rust-toolchain [INFO] started tweaking git repo https://github.com/serxka/uriscv [INFO] finished tweaking git repo https://github.com/serxka/uriscv [INFO] tweaked toml for git repo https://github.com/serxka/uriscv written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/serxka/uriscv already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d0cb4b151d3cc4b45def851967b4476a8409d1ab633976a0c24f359e139b2c5 [INFO] running `Command { std: "docker" "start" "-a" "0d0cb4b151d3cc4b45def851967b4476a8409d1ab633976a0c24f359e139b2c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d0cb4b151d3cc4b45def851967b4476a8409d1ab633976a0c24f359e139b2c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d0cb4b151d3cc4b45def851967b4476a8409d1ab633976a0c24f359e139b2c5", kill_on_drop: false }` [INFO] [stdout] 0d0cb4b151d3cc4b45def851967b4476a8409d1ab633976a0c24f359e139b2c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e062f318b46571cacf8d3e6152b56608d66b416e0a544d3685a1d008827295d1 [INFO] running `Command { std: "docker" "start" "-a" "e062f318b46571cacf8d3e6152b56608d66b416e0a544d3685a1d008827295d1", kill_on_drop: false }` [INFO] [stderr] Compiling uriscv v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid instruction mnemonic 'wfi' [INFO] [stdout] --> src/util.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | asm!("wfi", options(nomem, nostack)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :2:2 [INFO] [stdout] | [INFO] [stdout] 2 | wfi [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :2:1 [INFO] [stdout] | [INFO] [stdout] 2 | .option norvc # Disable instruction compression [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'csrr' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :8:2 [INFO] [stdout] | [INFO] [stdout] 8 | csrr t0, mhartid # Load our hart id [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'bnez' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :9:2 [INFO] [stdout] | [INFO] [stdout] 9 | bnez t0, 3f # If not zero (bootstrap) go wait for a IPI [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'csrw' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :10:2 [INFO] [stdout] | [INFO] [stdout] 10 | csrw satp, zero # Be cautious and disable the MMU for now [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :13:1 [INFO] [stdout] | [INFO] [stdout] 13 | .option push [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :14:1 [INFO] [stdout] | [INFO] [stdout] 14 | .option norelax # Disable assembler instruction relaxing for setting the GP [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'la' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :15:2 [INFO] [stdout] | [INFO] [stdout] 15 | la gp, __global_pointer$ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :16:1 [INFO] [stdout] | [INFO] [stdout] 16 | .option pop [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'la' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :19:2 [INFO] [stdout] | [INFO] [stdout] 19 | la a0, _bss_start # Store the start of the BSS [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'la' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :20:2 [INFO] [stdout] | [INFO] [stdout] 20 | la a1, _bss_end # Store the end of the BSS [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'bgeu' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :21:2 [INFO] [stdout] | [INFO] [stdout] 21 | bgeu a0, a1, 2f # If the size is zero then skip zeroing [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'sd' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :23:2 [INFO] [stdout] | [INFO] [stdout] 23 | sd zero, (a0) # Store zero into the current pointer [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'addi' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :24:2 [INFO] [stdout] | [INFO] [stdout] 24 | addi a0, a0, 8 # Increment the pointer [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'bltu' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :25:2 [INFO] [stdout] | [INFO] [stdout] 25 | bltu a0, a1, 1b # If pointer still hasn't reach _bss_end branch back [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'la' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :27:2 [INFO] [stdout] | [INFO] [stdout] 27 | la sp, _stack_end # Set the stack pointer [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'li' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :28:2 [INFO] [stdout] | [INFO] [stdout] 28 | li t0, 0b11 << 11 # Set the privilege level to 3 (machine) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'csrw' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :29:2 [INFO] [stdout] | [INFO] [stdout] 29 | csrw mstatus, t0 # Write privilege level [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'csrw' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :30:2 [INFO] [stdout] | [INFO] [stdout] 30 | csrw mie, zero # Disable interupts whilst kinit is entered [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'la' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :32:2 [INFO] [stdout] | [INFO] [stdout] 32 | la t0, kinit # Load address of kinit [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'csrw' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :33:2 [INFO] [stdout] | [INFO] [stdout] 33 | csrw mepc, t0 # Load address into machine exception program counter [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'la' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :34:2 [INFO] [stdout] | [INFO] [stdout] 34 | la ra, 4f # Return to next '4' label [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'mret' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :35:2 [INFO] [stdout] | [INFO] [stdout] 35 | mret # Return into kinit [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'wfi' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :39:2 [INFO] [stdout] | [INFO] [stdout] 39 | wfi [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid instruction mnemonic 'j' [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :40:2 [INFO] [stdout] | [INFO] [stdout] 40 | j 4b [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :49:15 [INFO] [stdout] | [INFO] [stdout] 49 | MEMORY_START: .dword _memory_start [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :53:13 [INFO] [stdout] | [INFO] [stdout] 53 | TEXT_START: .dword _text_start [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :54:11 [INFO] [stdout] | [INFO] [stdout] 54 | TEXT_END: .dword _text_end [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :58:15 [INFO] [stdout] | [INFO] [stdout] 58 | RODATA_START: .dword _rodata_start [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :59:13 [INFO] [stdout] | [INFO] [stdout] 59 | RODATA_END: .dword _rodata_end [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :63:13 [INFO] [stdout] | [INFO] [stdout] 63 | DATA_START: .dword _data_start [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :64:11 [INFO] [stdout] | [INFO] [stdout] 64 | DATA_END: .dword _data_end [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :68:12 [INFO] [stdout] | [INFO] [stdout] 68 | BSS_START: .dword _bss_start [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :69:10 [INFO] [stdout] | [INFO] [stdout] 69 | BSS_END: .dword _bss_end [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :73:21 [INFO] [stdout] | [INFO] [stdout] 73 | KERNEL_STACK_START: .dword _stack_start [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :74:19 [INFO] [stdout] | [INFO] [stdout] 74 | KERNEL_STACK_END: .dword _stack_end [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :78:13 [INFO] [stdout] | [INFO] [stdout] 78 | HEAP_START: .dword _heap_start [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :79:12 [INFO] [stdout] | [INFO] [stdout] 79 | HEAP_SIZE: .dword _heap_size [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown directive [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :82:13 [INFO] [stdout] | [INFO] [stdout] 82 | MEMORY_END: .dword _memory_end [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uriscv` due to 40 previous errors [INFO] running `Command { std: "docker" "inspect" "e062f318b46571cacf8d3e6152b56608d66b416e0a544d3685a1d008827295d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e062f318b46571cacf8d3e6152b56608d66b416e0a544d3685a1d008827295d1", kill_on_drop: false }` [INFO] [stdout] e062f318b46571cacf8d3e6152b56608d66b416e0a544d3685a1d008827295d1