[INFO] cloning repository https://github.com/rishiraj824/mipsinrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rishiraj824/mipsinrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishiraj824%2Fmipsinrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishiraj824%2Fmipsinrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a02e120ad0344c4b12258b26c5fce9705a53a43 [INFO] checking rishiraj824/mipsinrust against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishiraj824%2Fmipsinrust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rishiraj824/mipsinrust [INFO] finished tweaking git repo https://github.com/rishiraj824/mipsinrust [INFO] tweaked toml for git repo https://github.com/rishiraj824/mipsinrust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rishiraj824/mipsinrust on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rishiraj824/mipsinrust 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa630601ec4156d1f6e45af6d09c4245f442cd12aabd6475228e72593adf227a [INFO] running `Command { std: "docker" "start" "-a" "aa630601ec4156d1f6e45af6d09c4245f442cd12aabd6475228e72593adf227a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa630601ec4156d1f6e45af6d09c4245f442cd12aabd6475228e72593adf227a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa630601ec4156d1f6e45af6d09c4245f442cd12aabd6475228e72593adf227a", kill_on_drop: false }` [INFO] [stdout] aa630601ec4156d1f6e45af6d09c4245f442cd12aabd6475228e72593adf227a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 031712927b5449e2fdf44b6eca526c3a9dce66c7d9047a5bee5244600676e079 [INFO] running `Command { std: "docker" "start" "-a" "031712927b5449e2fdf44b6eca526c3a9dce66c7d9047a5bee5244600676e079", kill_on_drop: false }` [INFO] [stderr] Checking mipsinrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found `5` [INFO] [stdout] --> src/main.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | fn ReadWrite(&self. RdReg1: BitSet::with_capacity(5), RdReg2: BitSet::with_capacity(5), WrtReg: BitSet::with_capacity(5), WrtData: Bi... [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)` or `,`, found `.` [INFO] [stdout] --> src/main.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | fn ReadWrite(&self. RdReg1: BitSet::with_capacity(5), RdReg2: BitSet::with_capacity(5), WrtReg: BitSet::with_capacity(5), WrtData: Bi... [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)` or `,` [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `5` [INFO] [stdout] --> src/main.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | fn ReadWrite(&self. RdReg1: BitSet::with_capacity(5), RdReg2: BitSet::with_capacity(5), WrtReg: BitSet::with_capacity(5), WrtData: Bi... [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `5` [INFO] [stdout] --> src/main.rs:17:123 [INFO] [stdout] | [INFO] [stdout] 17 | ...2: BitSet::with_capacity(5), WrtReg: BitSet::with_capacity(5), WrtData: BitSet::with_capacity(32), WrtEnable: BitSet::with_capacity(1)... [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `32` [INFO] [stdout] --> src/main.rs:17:158 [INFO] [stdout] | [INFO] [stdout] 17 | ...: BitSet::with_capacity(5), WrtData: BitSet::with_capacity(32), WrtEnable: BitSet::with_capacity(1) ) { [INFO] [stdout] | ^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `1` [INFO] [stdout] --> src/main.rs:17:196 [INFO] [stdout] | [INFO] [stdout] 17 | ...itSet::with_capacity(32), WrtEnable: BitSet::with_capacity(1) ) { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `5` [INFO] [stdout] --> src/main.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | fn ReadWrite(&self. RdReg1: BitSet::with_capacity(5), RdReg2: BitSet::with_capacity(5), WrtReg: BitSet::with_capacity(5), WrtData: Bi... [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)` or `,`, found `.` [INFO] [stdout] --> src/main.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | fn ReadWrite(&self. RdReg1: BitSet::with_capacity(5), RdReg2: BitSet::with_capacity(5), WrtReg: BitSet::with_capacity(5), WrtData: Bi... [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)` or `,` [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `5` [INFO] [stdout] --> src/main.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | fn ReadWrite(&self. RdReg1: BitSet::with_capacity(5), RdReg2: BitSet::with_capacity(5), WrtReg: BitSet::with_capacity(5), WrtData: Bi... [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `5` [INFO] [stdout] --> src/main.rs:17:123 [INFO] [stdout] | [INFO] [stdout] 17 | ...2: BitSet::with_capacity(5), WrtReg: BitSet::with_capacity(5), WrtData: BitSet::with_capacity(32), WrtEnable: BitSet::with_capacity(1)... [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `32` [INFO] [stdout] --> src/main.rs:17:158 [INFO] [stdout] | [INFO] [stdout] 17 | ...: BitSet::with_capacity(5), WrtData: BitSet::with_capacity(32), WrtEnable: BitSet::with_capacity(1) ) { [INFO] [stdout] | ^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `1` [INFO] [stdout] --> src/main.rs:17:196 [INFO] [stdout] | [INFO] [stdout] 17 | ...itSet::with_capacity(32), WrtEnable: BitSet::with_capacity(1) ) { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::collections::BitSet`, `std::collections::BitVec` [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BitSet, BitVec}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no `BitVec` in `collections` [INFO] [stdout] | | [INFO] [stdout] | no `BitSet` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitset` in this scope [INFO] [stdout] --> src/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | ReadData1: Bitset, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitset` in this scope [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | ReadData2: Bitset [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Registers` in this scope [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 6 | Registers: BitSet, [INFO] [stdout] | --------- a field by that name exists in `Self` [INFO] [stdout] ... [INFO] [stdout] 14 | Registers = BitSet::from_bytes(&[0b00000000]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WrtEnable` in this scope [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if(WrtEnable[0]) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | if(WrtEnable[0]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - if(WrtEnable[0]) { [INFO] [stdout] 18 + if WrtEnable[0] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::collections::BitSet`, `std::collections::BitVec` [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BitSet, BitVec}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no `BitVec` in `collections` [INFO] [stdout] | | [INFO] [stdout] | no `BitSet` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitset` in this scope [INFO] [stdout] --> src/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | ReadData1: Bitset, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitset` in this scope [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | ReadData2: Bitset [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Registers` in this scope [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 6 | Registers: BitSet, [INFO] [stdout] | --------- a field by that name exists in `Self` [INFO] [stdout] ... [INFO] [stdout] 14 | Registers = BitSet::from_bytes(&[0b00000000]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WrtEnable` in this scope [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if(WrtEnable[0]) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | if(WrtEnable[0]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - if(WrtEnable[0]) { [INFO] [stdout] 18 + if WrtEnable[0] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mipsinrust` (bin "mipsinrust" test) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mipsinrust` (bin "mipsinrust") due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "031712927b5449e2fdf44b6eca526c3a9dce66c7d9047a5bee5244600676e079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031712927b5449e2fdf44b6eca526c3a9dce66c7d9047a5bee5244600676e079", kill_on_drop: false }` [INFO] [stdout] 031712927b5449e2fdf44b6eca526c3a9dce66c7d9047a5bee5244600676e079