[INFO] cloning repository https://github.com/shadw3002/lexer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shadw3002/lexer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadw3002%2Flexer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadw3002%2Flexer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce38bb3d88fd886a209cd3a10a6771b780ca59f9 [INFO] documenting shadw3002/lexer 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%2Fshadw3002%2Flexer" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shadw3002/lexer 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/shadw3002/lexer [INFO] removed path dependency unit from git repo https://github.com/shadw3002/lexer [INFO] finished tweaking git repo https://github.com/shadw3002/lexer [INFO] tweaked toml for git repo https://github.com/shadw3002/lexer written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/shadw3002/lexer 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] [stderr] warning: dependency (unit) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (unit) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 1d0c2431d93764785380752803915676e73fb5d6c71d85ccedebf5fb7986e1bd [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" "1d0c2431d93764785380752803915676e73fb5d6c71d85ccedebf5fb7986e1bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d0c2431d93764785380752803915676e73fb5d6c71d85ccedebf5fb7986e1bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d0c2431d93764785380752803915676e73fb5d6c71d85ccedebf5fb7986e1bd", kill_on_drop: false }` [INFO] [stdout] 1d0c2431d93764785380752803915676e73fb5d6c71d85ccedebf5fb7986e1bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] e6b775c65ba27bd39f2f5016fa24683b6bbf9e81103cceeb0542f3e4bd2f1d83 [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" "e6b775c65ba27bd39f2f5016fa24683b6bbf9e81103cceeb0542f3e4bd2f1d83", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: dependency (unit) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking unit v0.1.0 [INFO] [stderr] Documenting lexer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/nfa.rs:268:45 [INFO] [stdout] | [INFO] [stdout] 11 | impl Nfa { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn from_expression(expression: &Vec) -> Nfa { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/dfa.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_move(t: Vec, a: &Char, states: &Vec) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 45 | fn get_move(t: Vec, a: &crate::fastate::Tran, states: &Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 45 | fn get_move(t: Vec, a: &char, states: &Vec) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/dfa.rs:78:63 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn from_nfa(nfa_states: &Vec, chars: HashSet) -> Dfa { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 78 | pub fn from_nfa(nfa_states: &Vec, chars: HashSet) -> Dfa { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 78 | pub fn from_nfa(nfa_states: &Vec, chars: HashSet) -> Dfa { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | impl Dfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/fastate.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Char(Char,usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 6 | Char(crate::fastate::Tran,usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | Char(char,usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/fastate.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add_char_tran(&mut self, ch: Char, to: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add_char_tran(&mut self, ch: crate::fastate::Tran, to: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add_char_tran(&mut self, ch: char, to: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 5 | pub units: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/expression.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_chars(&self) -> HashSet { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_chars(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_chars(&self) -> HashSet { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn str_to_inffix_exp(regex: &String) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:152:40 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn inffix_to_suffix(regex: Vec) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:152:54 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn inffix_to_suffix(regex: Vec) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `lexer`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name lexer 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 unit=/opt/rustwide/target/debug/deps/libunit-7101bbedb24a9633.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "e6b775c65ba27bd39f2f5016fa24683b6bbf9e81103cceeb0542f3e4bd2f1d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6b775c65ba27bd39f2f5016fa24683b6bbf9e81103cceeb0542f3e4bd2f1d83", kill_on_drop: false }` [INFO] [stdout] e6b775c65ba27bd39f2f5016fa24683b6bbf9e81103cceeb0542f3e4bd2f1d83