[INFO] cloning repository https://github.com/sepiropht/tiny-compiler-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sepiropht/tiny-compiler-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsepiropht%2Ftiny-compiler-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsepiropht%2Ftiny-compiler-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9447385a0166b11d8f27e36da3eab7a1c40f6b60 [INFO] documenting sepiropht/tiny-compiler-rs 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%2Fsepiropht%2Ftiny-compiler-rs" "/workspace/builds/worker-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sepiropht/tiny-compiler-rs 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/sepiropht/tiny-compiler-rs [INFO] finished tweaking git repo https://github.com/sepiropht/tiny-compiler-rs [INFO] tweaked toml for git repo https://github.com/sepiropht/tiny-compiler-rs written to /workspace/builds/worker-35/source/Cargo.toml [INFO] crate git repo https://github.com/sepiropht/tiny-compiler-rs 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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] [stdout] 1032f8e4ef8a746d7287e2ed7be3c294eb9e124fbf581659f6620107e371b30a [INFO] running `Command { std: "docker" "start" "-a" "1032f8e4ef8a746d7287e2ed7be3c294eb9e124fbf581659f6620107e371b30a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1032f8e4ef8a746d7287e2ed7be3c294eb9e124fbf581659f6620107e371b30a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1032f8e4ef8a746d7287e2ed7be3c294eb9e124fbf581659f6620107e371b30a", kill_on_drop: false }` [INFO] [stdout] 1032f8e4ef8a746d7287e2ed7be3c294eb9e124fbf581659f6620107e371b30a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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] [stdout] 0cb40551d63c5c9e937eb14307a471d9401df5ccd5ee8a331ef8dd4488f41910 [INFO] running `Command { std: "docker" "start" "-a" "0cb40551d63c5c9e937eb14307a471d9401df5ccd5ee8a331ef8dd4488f41910", kill_on_drop: false }` [INFO] [stderr] Documenting tiny-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `{` [INFO] [stdout] --> src/transformer.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | enter(node, parent) { [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `{` [INFO] [stdout] --> src/transformer.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | enter(node, parent) { [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `{` [INFO] [stdout] --> src/transformer.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | enter(node, parent) { [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct literal body without path [INFO] [stdout] --> src/transformer.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | traverser(&mut ast, { [INFO] [stdout] | _______________________^ [INFO] [stdout] 27 | | [INFO] [stdout] 28 | | // The first visitor method accepts any `NumberLiteral` [INFO] [stdout] 29 | | NumberLiteral: { [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] help: you might have forgotten to add the struct literal inside the block [INFO] [stdout] | [INFO] [stdout] 26 ~ traverser(&mut ast, { SomeStruct { [INFO] [stdout] 27 | [INFO] [stdout] 28 | // The first visitor method accepts any `NumberLiteral` [INFO] [stdout] 29 | NumberLiteral: { [INFO] [stdout] 30 | // We"ll visit them on enter. [INFO] [stdout] 31 | enter(node, parent) { [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `...`, `..=`, `..`, `=>`, `if`, or `|`, found `.` [INFO] [stdout] --> src/transformer.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | "Program".to_string() => traverse_array(node.body, node), [INFO] [stdout] | ^ expected one of `...`, `..=`, `..`, `=>`, `if`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::parser::Ast` [INFO] [stdout] --> src/transformer.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::{Ast, Node}; [INFO] [stdout] | ^^^ no `Ast` in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0434]: can't capture dynamic environment in a fn item [INFO] [stdout] --> src/transformer.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | let methods = visitor(node.typ); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use the `|| { ... }` closure form instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | n @ '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | Some('0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | i @ 'a'...'z' | i @ 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | i @ 'a'...'z' | i @ 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | Some('a'...'z') | Some('A'...'Z') | Some('_') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | Some('a'...'z') | Some('A'...'Z') | Some('_') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/transformer.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | if (methods && methods.exit) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - if (methods && methods.exit) { [INFO] [stdout] 147 + if methods && methods.exit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0434. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not document `tiny-compiler` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name tiny_compiler src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=6e92ad10154541a4 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "0cb40551d63c5c9e937eb14307a471d9401df5ccd5ee8a331ef8dd4488f41910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cb40551d63c5c9e937eb14307a471d9401df5ccd5ee8a331ef8dd4488f41910", kill_on_drop: false }` [INFO] [stdout] 0cb40551d63c5c9e937eb14307a471d9401df5ccd5ee8a331ef8dd4488f41910