[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 1.46.0 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-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/janogonzalez/rustyboy on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "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-6/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" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 117c3bdb9d9ec3c645cea84b213d8de14caba6bddb243da593fc54e9c90f9088 [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" "117c3bdb9d9ec3c645cea84b213d8de14caba6bddb243da593fc54e9c90f9088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "117c3bdb9d9ec3c645cea84b213d8de14caba6bddb243da593fc54e9c90f9088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "117c3bdb9d9ec3c645cea84b213d8de14caba6bddb243da593fc54e9c90f9088", kill_on_drop: false }` [INFO] [stdout] 117c3bdb9d9ec3c645cea84b213d8de14caba6bddb243da593fc54e9c90f9088 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cedb25e17c8b3853486028cba1aea9e3a6722bbb4f8b53575de164d18f7e94a [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" "2cedb25e17c8b3853486028cba1aea9e3a6722bbb4f8b53575de164d18f7e94a", 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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [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` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "2cedb25e17c8b3853486028cba1aea9e3a6722bbb4f8b53575de164d18f7e94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cedb25e17c8b3853486028cba1aea9e3a6722bbb4f8b53575de164d18f7e94a", kill_on_drop: false }` [INFO] [stdout] 2cedb25e17c8b3853486028cba1aea9e3a6722bbb4f8b53575de164d18f7e94a