[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] testing BigBadE/ToyBrowser against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigBadE%2FToyBrowser" "/workspace/builds/worker-36/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-36/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BigBadE/ToyBrowser on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-36/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.60.0" "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-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05f505960499a4e1ffdc89b0512069d234073543842988198d92413f0f27a574 [INFO] running `Command { std: "docker" "start" "-a" "05f505960499a4e1ffdc89b0512069d234073543842988198d92413f0f27a574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05f505960499a4e1ffdc89b0512069d234073543842988198d92413f0f27a574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f505960499a4e1ffdc89b0512069d234073543842988198d92413f0f27a574", kill_on_drop: false }` [INFO] [stdout] 05f505960499a4e1ffdc89b0512069d234073543842988198d92413f0f27a574 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 751da80a44999bb6309e771dbd447f58a038e183c18f41de4f9364a055b1208b [INFO] running `Command { std: "docker" "start" "-a" "751da80a44999bb6309e771dbd447f58a038e183c18f41de4f9364a055b1208b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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[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(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(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(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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors; 1 warning emitted [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` due to 46 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "751da80a44999bb6309e771dbd447f58a038e183c18f41de4f9364a055b1208b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "751da80a44999bb6309e771dbd447f58a038e183c18f41de4f9364a055b1208b", kill_on_drop: false }` [INFO] [stdout] 751da80a44999bb6309e771dbd447f58a038e183c18f41de4f9364a055b1208b