[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserxka%2Furiscv" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/serxka/uriscv on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] removed /workspace/builds/worker-5/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-5/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e493862c2eb8e7fa1f9f6c0cbc3ad85921a01bdc137b7764a21aaca96895c75e [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" "e493862c2eb8e7fa1f9f6c0cbc3ad85921a01bdc137b7764a21aaca96895c75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e493862c2eb8e7fa1f9f6c0cbc3ad85921a01bdc137b7764a21aaca96895c75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e493862c2eb8e7fa1f9f6c0cbc3ad85921a01bdc137b7764a21aaca96895c75e", kill_on_drop: false }` [INFO] [stdout] e493862c2eb8e7fa1f9f6c0cbc3ad85921a01bdc137b7764a21aaca96895c75e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--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] c9cbf96ec2bbeb1b39c5c47da8a2d56a5fab64b45db0c045f675eae6e560d7a4 [INFO] running `Command { std: "docker" "start" "-a" "c9cbf96ec2bbeb1b39c5c47da8a2d56a5fab64b45db0c045f675eae6e560d7a4", kill_on_drop: false }` [INFO] [stderr] Compiling uriscv v0.0.0 (/opt/rustwide/workdir) [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 38 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uriscv` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c9cbf96ec2bbeb1b39c5c47da8a2d56a5fab64b45db0c045f675eae6e560d7a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9cbf96ec2bbeb1b39c5c47da8a2d56a5fab64b45db0c045f675eae6e560d7a4", kill_on_drop: false }` [INFO] [stdout] c9cbf96ec2bbeb1b39c5c47da8a2d56a5fab64b45db0c045f675eae6e560d7a4