[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] documenting janogonzalez/rustyboy against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanogonzalez%2Frustyboy" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/janogonzalez/rustyboy on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", 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-12/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: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72d03989bd24349caf14e810c32d850ceaa76195e3b28f05ed6315be613dd524 [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" "72d03989bd24349caf14e810c32d850ceaa76195e3b28f05ed6315be613dd524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72d03989bd24349caf14e810c32d850ceaa76195e3b28f05ed6315be613dd524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72d03989bd24349caf14e810c32d850ceaa76195e3b28f05ed6315be613dd524", kill_on_drop: false }` [INFO] [stdout] 72d03989bd24349caf14e810c32d850ceaa76195e3b28f05ed6315be613dd524 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7ddc2320ac4e27db07703a4db31ffb4c55d700ffc64ffdc096cfb0f25409af9 [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" "e7ddc2320ac4e27db07703a4db31ffb4c55d700ffc64ffdc096cfb0f25409af9", kill_on_drop: false }` [INFO] [stderr] Documenting 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] 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] 9 | ram: [u8, ..0x4000], [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] | help: try shifting the cast value: `(self.read_byte(address + 1) as u16)` [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] [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: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: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[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[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/gpu.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 0x8000..0x9FFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/gpu.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | 0xFE00..0xFE9F => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/gpu.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | 0x8000..0x9FFF => self.vram[address as uint - 0x8000], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/gpu.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | 0xFE00..0xFE9F => self.oam[address as uint - 0xFE00], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | 0x0000..0x7FFF => self.rom.bytes[address as uint], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | 0x8000..0x9FFF => self.gpu.read_byte(address), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | 0xA000..0xBFFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | 0xC000..0xDFFF => self.ram[address as uint - 0xC000], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | 0xE000..0xFDFF => self.ram[address as uint - 0xE000], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 0xFE00..0xFE9F => self.gpu.read_byte(address), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | 0xFEA0..0xFEFF => fail!("0xFEA0..0xFEFF segment is no usable"), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | 0xFF00..0xFF7F => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | 0xFF04..0xFF07 => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | 0xFF40..0xFF4B => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | 0xFF80..0xFFFE => self.hram[address as uint - 0xFF80], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | 0x0000..0x7FFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | 0x8000..0x9FFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | 0xA000..0xBFFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | 0xC000..0xDFFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | 0xE000..0xFDFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | 0xFE00..0xFE9F => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | 0xFEA0..0xFEFF => fail!("0xFEA0..0xFEFF segment is no usable"), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | 0xFF00..0xFF7F => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | 0xFF04..0xFF07 => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | 0xFF40..0xFF4B => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/memory.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | 0xFF80..0xFFFE => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `rustyboy`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name rustyboy src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.0.1` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "e7ddc2320ac4e27db07703a4db31ffb4c55d700ffc64ffdc096cfb0f25409af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7ddc2320ac4e27db07703a4db31ffb4c55d700ffc64ffdc096cfb0f25409af9", kill_on_drop: false }` [INFO] [stdout] e7ddc2320ac4e27db07703a4db31ffb4c55d700ffc64ffdc096cfb0f25409af9