[INFO] cloning repository https://github.com/janogonzalez/rustyboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/janogonzalez/rustyboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanogonzalez%2Frustyboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanogonzalez%2Frustyboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3ac6c640ec7811458ff74c1bfbdc36caa279a5e [INFO] checking janogonzalez/rustyboy against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanogonzalez%2Frustyboy" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/janogonzalez/rustyboy on toolchain 5e7498e6740d105521420ac0ab146e2c7a21596d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/janogonzalez/rustyboy [INFO] finished tweaking git repo https://github.com/janogonzalez/rustyboy [INFO] tweaked toml for git repo https://github.com/janogonzalez/rustyboy written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/janogonzalez/rustyboy 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" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking janogonzalez/rustyboy against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanogonzalez%2Frustyboy" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/janogonzalez/rustyboy on toolchain 5e7498e6740d105521420ac0ab146e2c7a21596d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/janogonzalez/rustyboy [INFO] finished tweaking git repo https://github.com/janogonzalez/rustyboy [INFO] tweaked toml for git repo https://github.com/janogonzalez/rustyboy written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/janogonzalez/rustyboy 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" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking janogonzalez/rustyboy against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanogonzalez%2Frustyboy" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/janogonzalez/rustyboy on toolchain 5e7498e6740d105521420ac0ab146e2c7a21596d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/janogonzalez/rustyboy [INFO] finished tweaking git repo https://github.com/janogonzalez/rustyboy [INFO] tweaked toml for git repo https://github.com/janogonzalez/rustyboy written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/janogonzalez/rustyboy 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" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bca76ad42ab593916c17b37c2bc3d2248c16a7adc1953aa1c31b499bff1681c [INFO] running `Command { std: "docker" "start" "-a" "2bca76ad42ab593916c17b37c2bc3d2248c16a7adc1953aa1c31b499bff1681c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bca76ad42ab593916c17b37c2bc3d2248c16a7adc1953aa1c31b499bff1681c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bca76ad42ab593916c17b37c2bc3d2248c16a7adc1953aa1c31b499bff1681c", kill_on_drop: false }` [INFO] [stdout] 2bca76ad42ab593916c17b37c2bc3d2248c16a7adc1953aa1c31b499bff1681c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95b95bd85a9c2d54e3491fee1607b3026c5ba71ba72adf2011487c34479448d1 [INFO] running `Command { std: "docker" "start" "-a" "95b95bd85a9c2d54e3491fee1607b3026c5ba71ba72adf2011487c34479448d1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rustyboy v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/cpu.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | static CPU_CYCLES: [uint, ..256] = [ [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/gpu.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Gpu { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 2 | vram: [u8, ..0x2000], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/memory.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Memory { [INFO] [stdout] | ------ while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 9 | ram: [u8, ..0x4000], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/cpu.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | static CPU_CYCLES: [uint, ..256] = [ [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/memory.rs:113:48 [INFO] [stdout] | [INFO] [stdout] 113 | self.read_byte(address + 1) as u16 << 8 [INFO] [stdout] | ^^ - interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 113 | (self.read_byte(address + 1) as u16) << 8 [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/gpu.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Gpu { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 2 | vram: [u8, ..0x2000], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/memory.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Memory { [INFO] [stdout] | ------ while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 9 | ram: [u8, ..0x4000], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `c` [INFO] [stdout] --> src/memory.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 87 | println!("SB: {:c}", value as char); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/memory.rs:113:48 [INFO] [stdout] | [INFO] [stdout] 113 | self.read_byte(address + 1) as u16 << 8 [INFO] [stdout] | ^^ - interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 113 | (self.read_byte(address + 1) as u16) << 8 [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown format trait `c` [INFO] [stdout] --> src/memory.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 87 | println!("SB: {:c}", value as char); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the only appropriate formatting traits are: [INFO] [stdout] - ``, which uses the `Display` trait [INFO] [stdout] - `?`, which uses the `Debug` trait [INFO] [stdout] - `e`, which uses the `LowerExp` trait [INFO] [stdout] - `E`, which uses the `UpperExp` trait [INFO] [stdout] - `o`, which uses the `Octal` trait [INFO] [stdout] - `p`, which uses the `Pointer` trait [INFO] [stdout] - `b`, which uses the `Binary` trait [INFO] [stdout] - `x`, which uses the `LowerHex` trait [INFO] [stdout] - `X`, which uses the `UpperHex` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/rom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 - use std::io::File; [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/memory.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | 0xFEA0..0xFEFF => fail!("0xFEA0..0xFEFF segment is no usable"), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/memory.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | 0xFEA0..0xFEFF => fail!("0xFEA0..0xFEFF segment is no usable"), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/rom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 - use std::io::File; [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/memory.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | 0xFEA0..0xFEFF => fail!("0xFEA0..0xFEFF segment is no usable"), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/gpu.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | fail!("DMA transfer not implemented"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/memory.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | fail!("Address not writable in MBC0: {:#06x}", address); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/memory.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | 0xFEA0..0xFEFF => fail!("0xFEA0..0xFEFF segment is no usable"), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/gpu.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | fail!("DMA transfer not implemented"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/memory.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | fail!("Address not writable in MBC0: {:#06x}", address); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gpu.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | self.vram[address as uint - 0x8000] = value; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gpu.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | self.oam[address as uint - 0xFE00] = value; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gpu.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | 0x8000..0x9FFF => self.vram[address as uint - 0x8000], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gpu.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | 0xFE00..0xFE9F => self.oam[address as uint - 0xFE00], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 30 | 0x0000..0x7FFF => self.rom.bytes[address as uint], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | 0xC000..0xDFFF => self.ram[address as uint - 0xC000], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | 0xE000..0xFDFF => self.ram[address as uint - 0xE000], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | 0xFF80..0xFFFE => self.hram[address as uint - 0xFF80], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | self.ram[address as uint - 0xC000] = value; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | self.ram[address as uint - 0xE000] = value; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | self.hram[address as uint - 0xFF80] = value; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/rom.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn from_path(path: &Path) -> Rom { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stdout] --> src/main.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let args = std::os::args(); [INFO] [stdout] | ^^^^ not found in `std::os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - let args = std::os::args(); [INFO] [stdout] 18 + let args = args(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let path = Path::new(args[1].clone()); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gpu.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | self.vram[address as uint - 0x8000] = value; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gpu.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | self.oam[address as uint - 0xFE00] = value; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gpu.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | 0x8000..0x9FFF => self.vram[address as uint - 0x8000], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gpu.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | 0xFE00..0xFE9F => self.oam[address as uint - 0xFE00], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 30 | 0x0000..0x7FFF => self.rom.bytes[address as uint], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | 0xC000..0xDFFF => self.ram[address as uint - 0xC000], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | 0xE000..0xFDFF => self.ram[address as uint - 0xE000], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | 0xFF80..0xFFFE => self.hram[address as uint - 0xFF80], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | self.ram[address as uint - 0xC000] = value; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | self.ram[address as uint - 0xE000] = value; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/memory.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | self.hram[address as uint - 0xFF80] = value; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/rom.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn from_path(path: &Path) -> Rom { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stdout] --> src/main.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let args = std::os::args(); [INFO] [stdout] | ^^^^ not found in `std::os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - let args = std::os::args(); [INFO] [stdout] 18 + let args = args(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let path = Path::new(args[1].clone()); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gpu.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | vram: [0x00, ..0x2000], [INFO] [stdout] | ^^^^^^^^ expected integer, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gpu.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | vram: [0x00, ..0x2000], [INFO] [stdout] | ^^^^^^^^ expected integer, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gpu.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | oam: [0x00, ..0xA0], [INFO] [stdout] | ^^^^^^ expected integer, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/memory.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | ram: [0x00, ..0x4000], [INFO] [stdout] | ^^^^^^^^ expected integer, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/memory.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | hram: [0x00, ..0x79], [INFO] [stdout] | ^^^^^^ expected integer, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gpu.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | oam: [0x00, ..0xA0], [INFO] [stdout] | ^^^^^^ expected integer, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/memory.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | ram: [0x00, ..0x4000], [INFO] [stdout] | ^^^^^^^^ expected integer, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/memory.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | hram: [0x00, ..0x79], [INFO] [stdout] | ^^^^^^ expected integer, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice` found for struct `Vec` in the current scope [INFO] [stdout] --> src/rom.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 17 | let name = self.bytes. [INFO] [stdout] | ____________________- [INFO] [stdout] 18 | | slice(0x134, 0x143). [INFO] [stdout] | |____________-^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `splice` with a similar name [INFO] [stdout] | [INFO] [stdout] 18 | splice(0x134, 0x143). [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice` found for struct `Vec` in the current scope [INFO] [stdout] --> src/rom.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 17 | let name = self.bytes. [INFO] [stdout] | ____________________- [INFO] [stdout] 18 | | slice(0x134, 0x143). [INFO] [stdout] | |____________-^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `splice` with a similar name [INFO] [stdout] | [INFO] [stdout] 18 | splice(0x134, 0x143). [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `increment` [INFO] [stdout] --> src/timer.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn step(&mut self, increment: u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_increment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `increment` [INFO] [stdout] --> src/timer.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn step(&mut self, increment: u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_increment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustyboy` (bin "rustyboy") due to 29 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustyboy` (bin "rustyboy" test) due to 29 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "95b95bd85a9c2d54e3491fee1607b3026c5ba71ba72adf2011487c34479448d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b95bd85a9c2d54e3491fee1607b3026c5ba71ba72adf2011487c34479448d1", kill_on_drop: false }` [INFO] [stdout] 95b95bd85a9c2d54e3491fee1607b3026c5ba71ba72adf2011487c34479448d1