[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] checking BigBadE/ToyBrowser against master#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigBadE%2FToyBrowser" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BigBadE/ToyBrowser on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BigBadE/ToyBrowser already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 77b33a17b6dc2223a06d34a077428ad21e4ff1118f9abe15d2b52c873d951b7e
[INFO] running `Command { std: "docker" "start" "-a" "77b33a17b6dc2223a06d34a077428ad21e4ff1118f9abe15d2b52c873d951b7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "77b33a17b6dc2223a06d34a077428ad21e4ff1118f9abe15d2b52c873d951b7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77b33a17b6dc2223a06d34a077428ad21e4ff1118f9abe15d2b52c873d951b7e", kill_on_drop: false }`
[INFO] [stdout] 77b33a17b6dc2223a06d34a077428ad21e4ff1118f9abe15d2b52c873d951b7e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTFLAGS=--cap-lints=forbid" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 939ecdf2564f9c6e77c605ab3aaa64a410353065fb29bd3b09ff2dfb7273b061
[INFO] running `Command { std: "docker" "start" "-a" "939ecdf2564f9c6e77c605ab3aaa64a410353065fb29bd3b09ff2dfb7273b061", kill_on_drop: false }`
[INFO] [stderr]     Checking 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<Token> {
[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:602:29
[INFO] [stdout]     |
[INFO] [stdout] 602 |     fn next_token(mut self, mut self: Lexer) -> Option<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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[E0422]: cannot find struct, variant or union type `DataState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:621:51
[INFO] [stdout]     |
[INFO] [stdout] 621 | ...                   self.State = Box::new(DataState {});
[INFO] [stdout]     |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::DataState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AttributeNameState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:626:51
[INFO] [stdout]     |
[INFO] [stdout] 596 | pub struct AfterAttributeNameState {
[INFO] [stdout]     | ---------------------------------- similarly named struct `AfterAttributeNameState` defined here
[INFO] [stdout] ...
[INFO] [stdout] 626 |                             self.State = Box::new(AttributeNameState { tag: self.tag, attribute: (vec![], vec![]) });
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 626 |                             self.State = Box::new(AfterAttributeNameState { tag: self.tag, attribute: (vec![], vec![]) });
[INFO] [stdout]     |                                                    +++++
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::AttributeNameState;
[INFO] [stdout]     |
[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[E0422]: cannot find struct, variant or union type `DataState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:651:47
[INFO] [stdout]     |
[INFO] [stdout] 651 |                         self.State = Box::new(DataState {});
[INFO] [stdout]     |                                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::DataState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BeforeAttributeNameState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:657:47
[INFO] [stdout]     |
[INFO] [stdout] 657 |                         self.State = Box::new(BeforeAttributeNameState { tag: self.tag });
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 670 | pub struct BeforeAttributeValueState {
[INFO] [stdout]     | ------------------------------------ similarly named struct `BeforeAttributeValueState` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 657 -                         self.State = Box::new(BeforeAttributeNameState { tag: self.tag });
[INFO] [stdout] 657 +                         self.State = Box::new(BeforeAttributeValueState { tag: self.tag });
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::BeforeAttributeNameState;
[INFO] [stdout]     |
[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[E0422]: cannot find struct, variant or union type `DataState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:702:51
[INFO] [stdout]     |
[INFO] [stdout] 702 | ...                   self.State = Box::new(DataState {});
[INFO] [stdout]     |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::DataState;
[INFO] [stdout]     |
[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[E0422]: cannot find struct, variant or union type `CharacterReferenceState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:751:51
[INFO] [stdout]     |
[INFO] [stdout] 751 |                             self.State = Box::new(CharacterReferenceState { return_State: self.State });
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 919 | pub struct NamedCharacterReferenceState {}
[INFO] [stdout]     | --------------------------------------- similarly named struct `NamedCharacterReferenceState` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 751 |                             self.State = Box::new(NamedCharacterReferenceState { return_State: self.State });
[INFO] [stdout]     |                                                   +++++
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::CharacterReferenceState;
[INFO] [stdout]     |
[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[E0422]: cannot find struct, variant or union type `CharacterReferenceState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:798:51
[INFO] [stdout]     |
[INFO] [stdout] 798 |                             self.State = Box::new(CharacterReferenceState { return_State: self.State });
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 919 | pub struct NamedCharacterReferenceState {}
[INFO] [stdout]     | --------------------------------------- similarly named struct `NamedCharacterReferenceState` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 798 |                             self.State = Box::new(NamedCharacterReferenceState { return_State: self.State });
[INFO] [stdout]     |                                                   +++++
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::CharacterReferenceState;
[INFO] [stdout]     |
[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[E0422]: cannot find struct, variant or union type `BeforeAttributeNameState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:837:51
[INFO] [stdout]     |
[INFO] [stdout] 670 | pub struct BeforeAttributeValueState {
[INFO] [stdout]     | ------------------------------------ similarly named struct `BeforeAttributeValueState` defined here
[INFO] [stdout] ...
[INFO] [stdout] 837 |                             self.State = Box::new(BeforeAttributeNameState { tag: self.tag });
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 837 -                             self.State = Box::new(BeforeAttributeNameState { tag: self.tag });
[INFO] [stdout] 837 +                             self.State = Box::new(BeforeAttributeValueState { tag: self.tag });
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::BeforeAttributeNameState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CharacterReferenceState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:841:51
[INFO] [stdout]     |
[INFO] [stdout] 841 |                             self.State = Box::new(CharacterReferenceState { return_State: self.State });
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 919 | pub struct NamedCharacterReferenceState {}
[INFO] [stdout]     | --------------------------------------- similarly named struct `NamedCharacterReferenceState` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 841 |                             self.State = Box::new(NamedCharacterReferenceState { return_State: self.State });
[INFO] [stdout]     |                                                   +++++
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::CharacterReferenceState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DataState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:845:51
[INFO] [stdout]     |
[INFO] [stdout] 845 | ...                   self.State = Box::new(DataState {});
[INFO] [stdout]     |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::DataState;
[INFO] [stdout]     |
[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[E0422]: cannot find struct, variant or union type `BeforeAttributeNameState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:889:51
[INFO] [stdout]     |
[INFO] [stdout] 670 | pub struct BeforeAttributeValueState {
[INFO] [stdout]     | ------------------------------------ similarly named struct `BeforeAttributeValueState` defined here
[INFO] [stdout] ...
[INFO] [stdout] 889 |                             self.State = Box::new(BeforeAttributeNameState { tag: self.tag });
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 889 -                             self.State = Box::new(BeforeAttributeNameState { tag: self.tag });
[INFO] [stdout] 889 +                             self.State = Box::new(BeforeAttributeValueState { tag: self.tag });
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::BeforeAttributeNameState;
[INFO] [stdout]     |
[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[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[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] [stderr] error: could not compile `ToyBrowser` (bin "ToyBrowser" test) due to 45 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] warning: unused import: `Document`
[INFO] [stdout]  --> src/html/parser.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::html::node::{document, Document, Node};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[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<Token> {
[INFO] [stdout]     |                                 ^^^^ used as parameter more than once
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0404, E0415, E0422, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0404`.
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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<Token> {
[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[E0422]: cannot find struct, variant or union type `DataState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:621:51
[INFO] [stdout]     |
[INFO] [stdout] 621 | ...                   self.State = Box::new(DataState {});
[INFO] [stdout]     |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::DataState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AttributeNameState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:626:51
[INFO] [stdout]     |
[INFO] [stdout] 596 | pub struct AfterAttributeNameState {
[INFO] [stdout]     | ---------------------------------- similarly named struct `AfterAttributeNameState` defined here
[INFO] [stdout] ...
[INFO] [stdout] 626 |                             self.State = Box::new(AttributeNameState { tag: self.tag, attribute: (vec![], vec![]) });
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 626 |                             self.State = Box::new(AfterAttributeNameState { tag: self.tag, attribute: (vec![], vec![]) });
[INFO] [stdout]     |                                                    +++++
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::AttributeNameState;
[INFO] [stdout]     |
[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[E0422]: cannot find struct, variant or union type `DataState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:651:47
[INFO] [stdout]     |
[INFO] [stdout] 651 |                         self.State = Box::new(DataState {});
[INFO] [stdout]     |                                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::DataState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BeforeAttributeNameState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:657:47
[INFO] [stdout]     |
[INFO] [stdout] 657 |                         self.State = Box::new(BeforeAttributeNameState { tag: self.tag });
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 670 | pub struct BeforeAttributeValueState {
[INFO] [stdout]     | ------------------------------------ similarly named struct `BeforeAttributeValueState` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 657 -                         self.State = Box::new(BeforeAttributeNameState { tag: self.tag });
[INFO] [stdout] 657 +                         self.State = Box::new(BeforeAttributeValueState { tag: self.tag });
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::BeforeAttributeNameState;
[INFO] [stdout]     |
[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[E0422]: cannot find struct, variant or union type `DataState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:702:51
[INFO] [stdout]     |
[INFO] [stdout] 702 | ...                   self.State = Box::new(DataState {});
[INFO] [stdout]     |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::DataState;
[INFO] [stdout]     |
[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[E0422]: cannot find struct, variant or union type `CharacterReferenceState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:751:51
[INFO] [stdout]     |
[INFO] [stdout] 751 |                             self.State = Box::new(CharacterReferenceState { return_State: self.State });
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 919 | pub struct NamedCharacterReferenceState {}
[INFO] [stdout]     | --------------------------------------- similarly named struct `NamedCharacterReferenceState` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 751 |                             self.State = Box::new(NamedCharacterReferenceState { return_State: self.State });
[INFO] [stdout]     |                                                   +++++
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::CharacterReferenceState;
[INFO] [stdout]     |
[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[E0422]: cannot find struct, variant or union type `CharacterReferenceState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:798:51
[INFO] [stdout]     |
[INFO] [stdout] 798 |                             self.State = Box::new(CharacterReferenceState { return_State: self.State });
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 919 | pub struct NamedCharacterReferenceState {}
[INFO] [stdout]     | --------------------------------------- similarly named struct `NamedCharacterReferenceState` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 798 |                             self.State = Box::new(NamedCharacterReferenceState { return_State: self.State });
[INFO] [stdout]     |                                                   +++++
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::CharacterReferenceState;
[INFO] [stdout]     |
[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[E0422]: cannot find struct, variant or union type `BeforeAttributeNameState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:837:51
[INFO] [stdout]     |
[INFO] [stdout] 670 | pub struct BeforeAttributeValueState {
[INFO] [stdout]     | ------------------------------------ similarly named struct `BeforeAttributeValueState` defined here
[INFO] [stdout] ...
[INFO] [stdout] 837 |                             self.State = Box::new(BeforeAttributeNameState { tag: self.tag });
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 837 -                             self.State = Box::new(BeforeAttributeNameState { tag: self.tag });
[INFO] [stdout] 837 +                             self.State = Box::new(BeforeAttributeValueState { tag: self.tag });
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::BeforeAttributeNameState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CharacterReferenceState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:841:51
[INFO] [stdout]     |
[INFO] [stdout] 841 |                             self.State = Box::new(CharacterReferenceState { return_State: self.State });
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 919 | pub struct NamedCharacterReferenceState {}
[INFO] [stdout]     | --------------------------------------- similarly named struct `NamedCharacterReferenceState` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 841 |                             self.State = Box::new(NamedCharacterReferenceState { return_State: self.State });
[INFO] [stdout]     |                                                   +++++
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::CharacterReferenceState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DataState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:845:51
[INFO] [stdout]     |
[INFO] [stdout] 845 | ...                   self.State = Box::new(DataState {});
[INFO] [stdout]     |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::DataState;
[INFO] [stdout]     |
[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[E0422]: cannot find struct, variant or union type `BeforeAttributeNameState` in this scope
[INFO] [stdout]    --> src/html/lexer.rs:889:51
[INFO] [stdout]     |
[INFO] [stdout] 670 | pub struct BeforeAttributeValueState {
[INFO] [stdout]     | ------------------------------------ similarly named struct `BeforeAttributeValueState` defined here
[INFO] [stdout] ...
[INFO] [stdout] 889 |                             self.State = Box::new(BeforeAttributeNameState { tag: self.tag });
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 889 -                             self.State = Box::new(BeforeAttributeNameState { tag: self.tag });
[INFO] [stdout] 889 +                             self.State = Box::new(BeforeAttributeValueState { tag: self.tag });
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::html::lexer::LexerState::BeforeAttributeNameState;
[INFO] [stdout]     |
[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] warning: unused import: `Document`
[INFO] [stdout]  --> src/html/parser.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::html::node::{document, Document, Node};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0404, E0415, E0422, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0404`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ToyBrowser` (bin "ToyBrowser") due to 45 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "939ecdf2564f9c6e77c605ab3aaa64a410353065fb29bd3b09ff2dfb7273b061", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "939ecdf2564f9c6e77c605ab3aaa64a410353065fb29bd3b09ff2dfb7273b061", kill_on_drop: false }`
[INFO] [stdout] 939ecdf2564f9c6e77c605ab3aaa64a410353065fb29bd3b09ff2dfb7273b061
