[INFO] cloning repository https://github.com/thaumstrial/rv64gc-iss-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thaumstrial/rv64gc-iss-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaumstrial%2Frv64gc-iss-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaumstrial%2Frv64gc-iss-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaumstrial%2Frv64gc-iss-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/thaumstrial/rv64gc-iss-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thaumstrial/rv64gc-iss-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaumstrial%2Frv64gc-iss-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaumstrial%2Frv64gc-iss-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb3cbf7ba02cf6e5b3562a2891bfe1357fd4f6b1 [INFO] checking thaumstrial/rv64gc-iss-rust against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaumstrial%2Frv64gc-iss-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thaumstrial/rv64gc-iss-rust [INFO] finished tweaking git repo https://github.com/thaumstrial/rv64gc-iss-rust [INFO] tweaked toml for git repo https://github.com/thaumstrial/rv64gc-iss-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thaumstrial/rv64gc-iss-rust on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thaumstrial/rv64gc-iss-rust 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" "+ca77504943887037504c7fc0b9bf06dab3910373" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c4d5b11cf8d21ad3405c505e4ef6327ba4dd16bd224555014ec7a7b22b184b4 [INFO] running `Command { std: "docker" "start" "-a" "7c4d5b11cf8d21ad3405c505e4ef6327ba4dd16bd224555014ec7a7b22b184b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c4d5b11cf8d21ad3405c505e4ef6327ba4dd16bd224555014ec7a7b22b184b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c4d5b11cf8d21ad3405c505e4ef6327ba4dd16bd224555014ec7a7b22b184b4", kill_on_drop: false }` [INFO] [stdout] 7c4d5b11cf8d21ad3405c505e4ef6327ba4dd16bd224555014ec7a7b22b184b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cad73a7dcf18ee5202254326475cb242dd290582823b6e40481dab7db550784 [INFO] running `Command { std: "docker" "start" "-a" "3cad73a7dcf18ee5202254326475cb242dd290582823b6e40481dab7db550784", kill_on_drop: false }` [INFO] [stderr] Checking rust-risc-v v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MTVEC` [INFO] [stdout] --> src/cpu.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::csr::{CSRs, MCAUSE, MEPC, MTVAL, MTVEC}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cpu.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | (imm20 | imm19_12 | imm11 | imm10_1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - (imm20 | imm19_12 | imm11 | imm10_1) [INFO] [stdout] 70 + imm20 | imm19_12 | imm11 | imm10_1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MTVEC` [INFO] [stdout] --> src/cpu.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::csr::{CSRs, MCAUSE, MEPC, MTVAL, MTVEC}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cpu.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | (imm20 | imm19_12 | imm11 | imm10_1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - (imm20 | imm19_12 | imm11 | imm10_1) [INFO] [stdout] 70 + imm20 | imm19_12 | imm11 | imm10_1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[u64]` cannot be indexed by `u16` [INFO] [stdout] --> src/cpu.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | self.csr.0[MCAUSE] = cause; [INFO] [stdout] | ^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[u64]>` is not implemented for `u16` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[u64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[u64]` cannot be indexed by `u16` [INFO] [stdout] --> src/cpu.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | self.csr.0[MEPC] = self.pc; [INFO] [stdout] | ^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[u64]>` is not implemented for `u16` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[u64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[u64]` cannot be indexed by `u16` [INFO] [stdout] --> src/cpu.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | self.csr.0[MTVAL] = 0; [INFO] [stdout] | ^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[u64]>` is not implemented for `u16` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[u64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[u64]` cannot be indexed by `u16` [INFO] [stdout] --> src/cpu.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | self.csr.0[MCAUSE] = cause; [INFO] [stdout] | ^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[u64]>` is not implemented for `u16` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[u64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[u64]` cannot be indexed by `u16` [INFO] [stdout] --> src/cpu.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | self.csr.0[MEPC] = self.pc; [INFO] [stdout] | ^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[u64]>` is not implemented for `u16` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[u64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[u64]` cannot be indexed by `u16` [INFO] [stdout] --> src/cpu.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | self.csr.0[MTVAL] = 0; [INFO] [stdout] | ^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[u64]>` is not implemented for `u16` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[u64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-risc-v` (bin "rust-risc-v") due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-risc-v` (bin "rust-risc-v" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3cad73a7dcf18ee5202254326475cb242dd290582823b6e40481dab7db550784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cad73a7dcf18ee5202254326475cb242dd290582823b6e40481dab7db550784", kill_on_drop: false }` [INFO] [stdout] 3cad73a7dcf18ee5202254326475cb242dd290582823b6e40481dab7db550784