[INFO] cloning repository https://github.com/BigBadE/ToyBrowser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BigBadE/ToyBrowser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigBadE%2FToyBrowser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigBadE%2FToyBrowser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c856f080c0131bd4d80c7ab34633e7876af7ebf9 [INFO] documenting BigBadE/ToyBrowser against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigBadE%2FToyBrowser" "/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/BigBadE/ToyBrowser on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BigBadE/ToyBrowser [INFO] finished tweaking git repo https://github.com/BigBadE/ToyBrowser [INFO] tweaked toml for git repo https://github.com/BigBadE/ToyBrowser written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/BigBadE/ToyBrowser already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 36f37d8fa85312795419710d0644c0a69a1803766e8abfdbcc8a7d8e4ae68b55 [INFO] running `Command { std: "docker" "start" "-a" "36f37d8fa85312795419710d0644c0a69a1803766e8abfdbcc8a7d8e4ae68b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36f37d8fa85312795419710d0644c0a69a1803766e8abfdbcc8a7d8e4ae68b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36f37d8fa85312795419710d0644c0a69a1803766e8abfdbcc8a7d8e4ae68b55", kill_on_drop: false }` [INFO] [stdout] 36f37d8fa85312795419710d0644c0a69a1803766e8abfdbcc8a7d8e4ae68b55 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bb5fe0960a1bd51bc8ef3b66006ee53ac1d9ed607bbef869f20ca1afd710be80 [INFO] running `Command { std: "docker" "start" "-a" "bb5fe0960a1bd51bc8ef3b66006ee53ac1d9ed607bbef869f20ca1afd710be80", kill_on_drop: false }` [INFO] [stderr] Documenting ToyBrowser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/html/lexer.rs:602:29 [INFO] [stdout] | [INFO] [stdout] 602 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^^^^^ must be the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/html/lexer.rs:645:29 [INFO] [stdout] | [INFO] [stdout] 645 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^^^^^ must be the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/html/lexer.rs:676:29 [INFO] [stdout] | [INFO] [stdout] 676 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^^^^^ must be the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/html/lexer.rs:737:29 [INFO] [stdout] | [INFO] [stdout] 737 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^^^^^ must be the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/html/lexer.rs:784:29 [INFO] [stdout] | [INFO] [stdout] 784 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^^^^^ must be the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/html/lexer.rs:831:29 [INFO] [stdout] | [INFO] [stdout] 831 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^^^^^ must be the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/html/lexer.rs:883:29 [INFO] [stdout] | [INFO] [stdout] 883 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^^^^^ must be the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/html/lexer.rs:922:25 [INFO] [stdout] | [INFO] [stdout] 922 | fn next_token(self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^^^^^ must be the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/html/lexer.rs:930:25 [INFO] [stdout] | [INFO] [stdout] 930 | fn next_token(self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^^^^^ must be the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/html/lexer.rs:938:25 [INFO] [stdout] | [INFO] [stdout] 938 | fn next_token(self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^^^^^ must be the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `self` parameter in function [INFO] [stdout] --> src/html/lexer.rs:946:25 [INFO] [stdout] | [INFO] [stdout] 946 | fn next_token(self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^^^^^ must be the first parameter of an associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::html::tokens::TokenType` [INFO] [stdout] --> src/html/lexer.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::html::tokens::{TagData, Token, TokenType}; [INFO] [stdout] | ^^^^^^^^^ no `TokenType` in `html::tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0415]: identifier `self` is bound more than once in this parameter list [INFO] [stdout] --> src/html/lexer.rs:602:33 [INFO] [stdout] | [INFO] [stdout] 602 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^ used as parameter more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0415]: identifier `self` is bound more than once in this parameter list [INFO] [stdout] --> src/html/lexer.rs:645:33 [INFO] [stdout] | [INFO] [stdout] 645 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^ used as parameter more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0415]: identifier `self` is bound more than once in this parameter list [INFO] [stdout] --> src/html/lexer.rs:676:33 [INFO] [stdout] | [INFO] [stdout] 676 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^ used as parameter more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0415]: identifier `self` is bound more than once in this parameter list [INFO] [stdout] --> src/html/lexer.rs:737:33 [INFO] [stdout] | [INFO] [stdout] 737 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^ used as parameter more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0415]: identifier `self` is bound more than once in this parameter list [INFO] [stdout] --> src/html/lexer.rs:784:33 [INFO] [stdout] | [INFO] [stdout] 784 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^ used as parameter more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0415]: identifier `self` is bound more than once in this parameter list [INFO] [stdout] --> src/html/lexer.rs:831:33 [INFO] [stdout] | [INFO] [stdout] 831 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^ used as parameter more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0415]: identifier `self` is bound more than once in this parameter list [INFO] [stdout] --> src/html/lexer.rs:883:33 [INFO] [stdout] | [INFO] [stdout] 883 | fn next_token(mut self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^ used as parameter more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0415]: identifier `self` is bound more than once in this parameter list [INFO] [stdout] --> src/html/lexer.rs:922:29 [INFO] [stdout] | [INFO] [stdout] 922 | fn next_token(self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^ used as parameter more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0415]: identifier `self` is bound more than once in this parameter list [INFO] [stdout] --> src/html/lexer.rs:930:29 [INFO] [stdout] | [INFO] [stdout] 930 | fn next_token(self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^ used as parameter more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0415]: identifier `self` is bound more than once in this parameter list [INFO] [stdout] --> src/html/lexer.rs:938:29 [INFO] [stdout] | [INFO] [stdout] 938 | fn next_token(self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^ used as parameter more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0415]: identifier `self` is bound more than once in this parameter list [INFO] [stdout] --> src/html/lexer.rs:946:29 [INFO] [stdout] | [INFO] [stdout] 946 | fn next_token(self, mut self: Lexer) -> Option { [INFO] [stdout] | ^^^^ used as parameter more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found enum `LexerState` [INFO] [stdout] --> src/html/lexer.rs:601:6 [INFO] [stdout] | [INFO] [stdout] 601 | impl LexerState for AfterAttributeNameState { [INFO] [stdout] | ^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found enum `LexerState` [INFO] [stdout] --> src/html/lexer.rs:644:6 [INFO] [stdout] | [INFO] [stdout] 644 | impl LexerState for SelfClosingStartTagState { [INFO] [stdout] | ^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found enum `LexerState` [INFO] [stdout] --> src/html/lexer.rs:675:6 [INFO] [stdout] | [INFO] [stdout] 675 | impl LexerState for BeforeAttributeValueState { [INFO] [stdout] | ^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found enum `LexerState` [INFO] [stdout] --> src/html/lexer.rs:736:6 [INFO] [stdout] | [INFO] [stdout] 736 | impl LexerState for AttributeValueDoubleQuotedState { [INFO] [stdout] | ^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found enum `LexerState` [INFO] [stdout] --> src/html/lexer.rs:783:6 [INFO] [stdout] | [INFO] [stdout] 783 | impl LexerState for AttributeValueSingleQuotedState { [INFO] [stdout] | ^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found enum `LexerState` [INFO] [stdout] --> src/html/lexer.rs:830:6 [INFO] [stdout] | [INFO] [stdout] 830 | impl LexerState for AttributeValueUnquotedState { [INFO] [stdout] | ^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found enum `LexerState` [INFO] [stdout] --> src/html/lexer.rs:882:6 [INFO] [stdout] | [INFO] [stdout] 882 | impl LexerState for AfterAttributeValueQuotedState { [INFO] [stdout] | ^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found enum `LexerState` [INFO] [stdout] --> src/html/lexer.rs:921:6 [INFO] [stdout] | [INFO] [stdout] 921 | impl LexerState for NamedCharacterReferenceState { [INFO] [stdout] | ^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found enum `LexerState` [INFO] [stdout] --> src/html/lexer.rs:929:6 [INFO] [stdout] | [INFO] [stdout] 929 | impl LexerState for NumericCharacterReferenceState { [INFO] [stdout] | ^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found enum `LexerState` [INFO] [stdout] --> src/html/lexer.rs:937:6 [INFO] [stdout] | [INFO] [stdout] 937 | impl LexerState for MarkupDeclarationOpenState { [INFO] [stdout] | ^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found enum `LexerState` [INFO] [stdout] --> src/html/lexer.rs:945:6 [INFO] [stdout] | [INFO] [stdout] 945 | impl LexerState for BogusCommentState { [INFO] [stdout] | ^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0415, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: could not document `ToyBrowser` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name ToyBrowser src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=68651812ee0662a1 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "bb5fe0960a1bd51bc8ef3b66006ee53ac1d9ed607bbef869f20ca1afd710be80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5fe0960a1bd51bc8ef3b66006ee53ac1d9ed607bbef869f20ca1afd710be80", kill_on_drop: false }` [INFO] [stdout] bb5fe0960a1bd51bc8ef3b66006ee53ac1d9ed607bbef869f20ca1afd710be80