[INFO] cloning repository https://github.com/anurse/rustboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anurse/rustboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanurse%2Frustboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanurse%2Frustboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 255711690e03926313efe5c81ea4db8443653449 [INFO] documenting anurse/rustboy against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanurse%2Frustboy" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anurse/rustboy on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anurse/rustboy [INFO] finished tweaking git repo https://github.com/anurse/rustboy [INFO] tweaked toml for git repo https://github.com/anurse/rustboy written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/anurse/rustboy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", 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] 2e05e26052e2fb524218e9f0ff56a41f2445f88d82cf5c8d836a74a3299c352f [INFO] running `Command { std: "docker" "start" "-a" "2e05e26052e2fb524218e9f0ff56a41f2445f88d82cf5c8d836a74a3299c352f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e05e26052e2fb524218e9f0ff56a41f2445f88d82cf5c8d836a74a3299c352f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e05e26052e2fb524218e9f0ff56a41f2445f88d82cf5c8d836a74a3299c352f", kill_on_drop: false }` [INFO] [stdout] 2e05e26052e2fb524218e9f0ff56a41f2445f88d82cf5c8d836a74a3299c352f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--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] ea257cc24b6f6d4b4ac9be45c44a77662e79bc617385d48079655d08419b3823 [INFO] running `Command { std: "docker" "start" "-a" "ea257cc24b6f6d4b4ac9be45c44a77662e79bc617385d48079655d08419b3823", kill_on_drop: false }` [INFO] [stderr] Documenting rustboy v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/z80/cpu.rs:307:25 [INFO] [stdout] | [INFO] [stdout] 307 | macro_rules! testcpu( [INFO] [stdout] | _________________________^ [INFO] [stdout] 308 | | ($(on $i:expr, $assert_l:expr is $assert_r: expr ticks $m:expr, $t:expr),+) => ({ [INFO] [stdout] 309 | | let mut cpu = Z80::new(); [INFO] [stdout] 310 | | $( [INFO] [stdout] ... | [INFO] [stdout] 316 | | }); [INFO] [stdout] 317 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 307 ~ macro_rules! testcpu{ [INFO] [stdout] 308 | ($(on $i:expr, $assert_l:expr is $assert_r: expr ticks $m:expr, $t:expr),+) => ({ [INFO] [stdout] 309 | let mut cpu = Z80::new(); [INFO] [stdout] 310 | $( [INFO] [stdout] 311 | cpu.exec($i); [INFO] [stdout] 312 | assert_eq!($assert_l, $assert_r); [INFO] [stdout] ... [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 317 | ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/z80/mmu.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | ram: [u8, ..8192], // 8K RAM [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/z80/mmu.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/z80/mmu.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[phase(plugin, link)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/z80/registers.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[deriving(PartialEq, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/z80/registers.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[deriving(PartialEq, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/z80/cpu.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/z80/cpu.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/z80/cpu.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | debug!("register {} <- {}", r, val); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/z80/cpu.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | _ => fail!("Cannot set {} register using this method", r) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/z80/cpu.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | debug!("register {} ->", r); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/z80/cpu.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | _ => fail!("Cannot get {} register using this method", r) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/z80/cpu.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | debug!("registers {} <- {}", d, val); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/z80/cpu.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | _ => fail!("Invalid Instruction!") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/z80/cpu.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | debug!("registers {} ->", d); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/z80/cpu.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | _ => fail!("Invalid Instruction!") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/z80/cpu.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | machine_cycles: int, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/z80/cpu.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | time_cycles: int, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/z80/cpu.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | fn tick(&mut self, m: int, t: int) { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/z80/cpu.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | fn tick(&mut self, m: int, t: int) { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/z80/cpu.rs:105:46 [INFO] [stdout] | [INFO] [stdout] 105 | fn reset_flags_for_value(&mut self, val: int) { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/z80/cpu.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | impl fmt::Show for Z80 { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(phase)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(macro_rules)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `rustboy` [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463, E0554. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name rustboy src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=eb675663bd711b28 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.0.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "ea257cc24b6f6d4b4ac9be45c44a77662e79bc617385d48079655d08419b3823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea257cc24b6f6d4b4ac9be45c44a77662e79bc617385d48079655d08419b3823", kill_on_drop: false }` [INFO] [stdout] ea257cc24b6f6d4b4ac9be45c44a77662e79bc617385d48079655d08419b3823