[INFO] updating cached repository https://github.com/rkanati/rk-pc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad24983be08ba430ab2a1bf6fee1f82395ee30fd [INFO] documenting rkanati/rk-pc against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Frk-pc" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rkanati/rk-pc on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rkanati/rk-pc [INFO] finished tweaking git repo https://github.com/rkanati/rk-pc [INFO] tweaked toml for git repo https://github.com/rkanati/rk-pc written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/rkanati/rk-pc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1a2c8535c5ef4298f3bd5039cef49b1a895d6f2f173c6e2863025229409f5c5 [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" "d1a2c8535c5ef4298f3bd5039cef49b1a895d6f2f173c6e2863025229409f5c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1a2c8535c5ef4298f3bd5039cef49b1a895d6f2f173c6e2863025229409f5c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a2c8535c5ef4298f3bd5039cef49b1a895d6f2f173c6e2863025229409f5c5", kill_on_drop: false }` [INFO] [stdout] d1a2c8535c5ef4298f3bd5039cef49b1a895d6f2f173c6e2863025229409f5c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fd611bbede86e97787b7fb351e8c3795a2c31e8ab13d63b26a400e1ffd37a43 [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" "0fd611bbede86e97787b7fb351e8c3795a2c31e8ab13d63b26a400e1ffd37a43", kill_on_drop: false }` [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Documenting rk-pc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/cpu/instruction.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 384 | if b0 == 0xa0 { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 385 | Ok((Instruction::MovA_M( [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 386 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `0x06` [INFO] [stdout] --> src/cpu/instruction.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 269 | 0x58 ... 0x5f => Ok((Instruction::PopR(ctx[0] & 7), 1)) [INFO] [stdout] | -- - expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] 270 | 0x06 | 0x0e | 0x16 | 0x1e => Ok((Instruction::PopSR((ctx[0] >> 3) & 3), 1)) [INFO] [stdout] | ^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `0x06` [INFO] [stdout] --> src/cpu/instruction.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 284 | 0x50 ... 0x57 => Ok((Instruction::PushR(ctx[0] & 7), 1)) [INFO] [stdout] | -- - expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] 285 | 0x06 | 0x0e | 0x16 | 0x1e => Ok((Instruction::PushSR((ctx[0] >> 3) & 3), 1)) [INFO] [stdout] | ^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `error` [INFO] [stdout] --> src/cpu/instruction.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | impl error::Error for Error { } [INFO] [stdout] | ^^^^^ use of undeclared type or module `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `result` [INFO] [stdout] --> src/cpu/instruction.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | type Result = result::Result<(Instruction, usize), Error>; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Display` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | impl Display for Error { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use bitfield::fmt::Display; [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::Display; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | type Result = result::Result<(Instruction, usize), Error>; [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `segpfx` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | and, and, and, and, and, and, segpfx, daa, // 20 [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `segpfx` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | sub, sub, sub, sub, sub, sub, segpfx, das, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `segpfx` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:100:53 [INFO] [stdout] | [INFO] [stdout] 100 | xor, xor, xor, xor, xor, xor, segpfx, aaa, // 30 [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `segpfx` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:101:53 [INFO] [stdout] | [INFO] [stdout] 101 | cmp, cmp, cmp, cmp, cmp, cmp, segpfx, aas, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `aas` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:101:61 [INFO] [stdout] | [INFO] [stdout] 101 | cmp, cmp, cmp, cmp, cmp, cmp, segpfx, aas, [INFO] [stdout] | ^^^ help: a function with a similar name exists: `aaa` [INFO] [stdout] ... [INFO] [stdout] 128 | fn aaa (ctx: Ctx) -> Result { [INFO] [stdout] | --------------------------- similarly named function `aaa` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `etc1` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | etc1, etc1, etc1, etc1, test, test, xchg, xchg, // 80 [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `etc` [INFO] [stdout] ... [INFO] [stdout] 191 | fn etc (ctx: Ctx) -> Result { [INFO] [stdout] | --------------------------- similarly named function `etc` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `etc1` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | etc1, etc1, etc1, etc1, test, test, xchg, xchg, // 80 [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `etc` [INFO] [stdout] ... [INFO] [stdout] 191 | fn etc (ctx: Ctx) -> Result { [INFO] [stdout] | --------------------------- similarly named function `etc` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `etc1` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | etc1, etc1, etc1, etc1, test, test, xchg, xchg, // 80 [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `etc` [INFO] [stdout] ... [INFO] [stdout] 191 | fn etc (ctx: Ctx) -> Result { [INFO] [stdout] | --------------------------- similarly named function `etc` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `etc1` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | etc1, etc1, etc1, etc1, test, test, xchg, xchg, // 80 [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `etc` [INFO] [stdout] ... [INFO] [stdout] 191 | fn etc (ctx: Ctx) -> Result { [INFO] [stdout] | --------------------------- similarly named function `etc` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `unk` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | unk, unk, retn, retn, les, lds, mov, mov, // c0 [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `unk` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | unk, unk, retn, retn, les, lds, mov, mov, // c0 [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `unk` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | unk, unk, retf, retf, int, int, into, iret, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `unk` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | unk, unk, retf, retf, int, int, into, iret, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `etc2` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | etc2, etc2, etc2, etc2, aam, aad, salc, xlat, // d0 [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `etc` [INFO] [stdout] ... [INFO] [stdout] 191 | fn etc (ctx: Ctx) -> Result { [INFO] [stdout] | --------------------------- similarly named function `etc` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `etc2` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | etc2, etc2, etc2, etc2, aam, aad, salc, xlat, // d0 [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `etc` [INFO] [stdout] ... [INFO] [stdout] 191 | fn etc (ctx: Ctx) -> Result { [INFO] [stdout] | --------------------------- similarly named function `etc` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `etc2` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | etc2, etc2, etc2, etc2, aam, aad, salc, xlat, // d0 [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `etc` [INFO] [stdout] ... [INFO] [stdout] 191 | fn etc (ctx: Ctx) -> Result { [INFO] [stdout] | --------------------------- similarly named function `etc` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `etc2` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | etc2, etc2, etc2, etc2, aam, aad, salc, xlat, // d0 [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `etc` [INFO] [stdout] ... [INFO] [stdout] 191 | fn etc (ctx: Ctx) -> Result { [INFO] [stdout] | --------------------------- similarly named function `etc` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `salc` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:120:53 [INFO] [stdout] | [INFO] [stdout] 120 | etc2, etc2, etc2, etc2, aam, aad, salc, xlat, // d0 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `unk` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | lock, unk, rep, rep, hlt, cmc, etc3a, etc3b, // f0 [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `etc3a` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:124:53 [INFO] [stdout] | [INFO] [stdout] 124 | lock, unk, rep, rep, hlt, cmc, etc3a, etc3b, // f0 [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `etc3b` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:124:61 [INFO] [stdout] | [INFO] [stdout] 124 | lock, unk, rep, rep, hlt, cmc, etc3a, etc3b, // f0 [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `etc4` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:125:53 [INFO] [stdout] | [INFO] [stdout] 125 | clc, stc, cli, sti, cld, std, etc4, etc5 [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `etc` [INFO] [stdout] ... [INFO] [stdout] 191 | fn etc (ctx: Ctx) -> Result { [INFO] [stdout] | --------------------------- similarly named function `etc` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `etc5` in this scope [INFO] [stdout] --> src/cpu/instruction.rs:125:61 [INFO] [stdout] | [INFO] [stdout] 125 | clc, stc, cli, sti, cld, std, etc4, etc5 [INFO] [stdout] | ^^^^ help: a function with a similar name exists: `etc` [INFO] [stdout] ... [INFO] [stdout] 191 | fn etc (ctx: Ctx) -> Result { [INFO] [stdout] | --------------------------- similarly named function `etc` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: Could not document `rk-pc`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name rk_pc 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 --extern bitfield=/opt/rustwide/target/debug/deps/libbitfield-a4f9904f20caeba3.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "0fd611bbede86e97787b7fb351e8c3795a2c31e8ab13d63b26a400e1ffd37a43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fd611bbede86e97787b7fb351e8c3795a2c31e8ab13d63b26a400e1ffd37a43", kill_on_drop: false }` [INFO] [stdout] 0fd611bbede86e97787b7fb351e8c3795a2c31e8ab13d63b26a400e1ffd37a43