[INFO] cloning repository https://github.com/karlguy/hcc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/karlguy/hcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarlguy%2Fhcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarlguy%2Fhcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18ef8c6b2ef54e1286b7d5b2544f6c7d64ac360d [INFO] documenting karlguy/hcc 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%2Fkarlguy%2Fhcc" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/karlguy/hcc 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/karlguy/hcc [INFO] finished tweaking git repo https://github.com/karlguy/hcc [INFO] tweaked toml for git repo https://github.com/karlguy/hcc written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/karlguy/hcc 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] warning: unused manifest key: lib.patch [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 0ba4366da6a99917189dbc6297f1846728adcdcad2452878ee466f937640988b [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" "0ba4366da6a99917189dbc6297f1846728adcdcad2452878ee466f937640988b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ba4366da6a99917189dbc6297f1846728adcdcad2452878ee466f937640988b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba4366da6a99917189dbc6297f1846728adcdcad2452878ee466f937640988b", kill_on_drop: false }` [INFO] [stdout] 0ba4366da6a99917189dbc6297f1846728adcdcad2452878ee466f937640988b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 578510c6b6e5e1de129b9311ab45b7dba80cb3bd5268a249e951552fa3454ba6 [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" "578510c6b6e5e1de129b9311ab45b7dba80cb3bd5268a249e951552fa3454ba6", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.patch [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking regex v0.2.6 [INFO] [stderr] Documenting hcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `tok` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod tok; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `tok`, create file "src/tok.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `Init` [INFO] [stdout] --> src/ast.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | UnInit [INFO] [stdout] | - expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | ___________| [INFO] [stdout] | | [INFO] [stdout] 45 | | Init [INFO] [stdout] | | | ^^^^ unexpected token [INFO] [stdout] | |_| [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `Union` [INFO] [stdout] --> src/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | Init [INFO] [stdout] | - expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 46 | | Union(Union [INFO] [stdout] | | | ^^^^^ unexpected token [INFO] [stdout] | |_| [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/ast.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum ValueStmt { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 46 | Union(Union [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 47 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `token`? [INFO] [stdout] --> src/lex.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use token::Direction::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `token`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `token`? [INFO] [stdout] --> src/lex.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use token::Operator::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `token`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `token` [INFO] [stdout] --> src/lex.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use token::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `token`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/lex.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn lex(buf: &Vec) -> Vec { [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[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/lex.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | fn parse_token_at(buf: &Vec, pos: usize) -> Option<(Token, usize)> { [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[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/lex.rs:68:62 [INFO] [stdout] | [INFO] [stdout] 68 | fn tokenize_single_char(buf: &[char], pos: usize) -> Option<(Token,usize)> { [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[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/lex.rs:119:41 [INFO] [stdout] | [INFO] [stdout] 119 | fn tokenize_multi_char(buf: &[char]) -> Token { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/lex.rs:173:54 [INFO] [stdout] | [INFO] [stdout] 173 | fn tokenize_str(buf: &[char], pos: usize) -> Option<(Token,usize)> { [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[E0412]: cannot find type `DefDecl` in this scope [INFO] [stdout] --> src/ast.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Def(DefDecl), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImportDecl` in this scope [INFO] [stdout] --> src/ast.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | Import(ImportDecl), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NullDecl` in this scope [INFO] [stdout] --> src/ast.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Null(NullDecl) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AsmStmt` in this scope [INFO] [stdout] --> src/ast.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Asm(AsmStmt), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BreakStmt` in this scope [INFO] [stdout] --> src/ast.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | Break(BreakStmt), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompoundStmt` in this scope [INFO] [stdout] --> src/ast.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | Compound(CompoundStmt), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForStmt` in this scope [INFO] [stdout] --> src/ast.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | For(ForStmt), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FuncCall` in this scope [INFO] [stdout] --> src/ast.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | FuncCall(FuncCall), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `ast::Stmt::FuncCall`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 21 | FuncCall(ast::Stmt), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IfStmt` in this scope [INFO] [stdout] --> src/ast.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | If(IfStmt), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RetStmt` in this scope [INFO] [stdout] --> src/ast.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Ret(RetStmt), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwitchCase` in this scope [INFO] [stdout] --> src/ast.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | SwitchCase(SwitchCase), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `ast::Stmt::SwitchCase`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 24 | SwitchCase(ast::Stmt), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwitchStmt` in this scope [INFO] [stdout] --> src/ast.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | Switch(SwitchStmt), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WhileStmt` in this scope [INFO] [stdout] --> src/ast.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | While(WhileStmt), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinaryOperator` in this scope [INFO] [stdout] --> src/ast.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | BinaryOperator(BinaryOperator) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `ast::Expr::BinaryOperator`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 32 | BinaryOperator(ast::Expr) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Union` in this scope [INFO] [stdout] --> src/ast.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | Union(Union [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::btree_set::Union; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::hash_set::Union; [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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(io)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0554, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `hcc`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name hcc src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-4cef34d6671a7dde.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-e53260b233a8201c.rmeta --cap-lints=warn --crate-version 0.1.0` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "578510c6b6e5e1de129b9311ab45b7dba80cb3bd5268a249e951552fa3454ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "578510c6b6e5e1de129b9311ab45b7dba80cb3bd5268a249e951552fa3454ba6", kill_on_drop: false }` [INFO] [stdout] 578510c6b6e5e1de129b9311ab45b7dba80cb3bd5268a249e951552fa3454ba6