[INFO] cloning repository https://github.com/piatra/rust-browser-engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/piatra/rust-browser-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiatra%2Frust-browser-engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiatra%2Frust-browser-engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ebb806a5ff41ddf7060e6cfda805d7e7bdf6b034
[INFO] checking piatra/rust-browser-engine/ebb806a5ff41ddf7060e6cfda805d7e7bdf6b034 against master#c8551d3c63c51f290cf1dc9dc4714249ea849fd1 for pr-148946
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiatra%2Frust-browser-engine" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/piatra/rust-browser-engine
[INFO] finished tweaking git repo https://github.com/piatra/rust-browser-engine
[INFO] tweaked toml for git repo https://github.com/piatra/rust-browser-engine written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/piatra/rust-browser-engine on toolchain c8551d3c63c51f290cf1dc9dc4714249ea849fd1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/piatra/rust-browser-engine 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" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d196f12aa9233b1f5623a93be4efa0e7039f41f24733aa32b13fe5eb95617e9f
[INFO] running `Command { std: "docker" "start" "-a" "d196f12aa9233b1f5623a93be4efa0e7039f41f24733aa32b13fe5eb95617e9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d196f12aa9233b1f5623a93be4efa0e7039f41f24733aa32b13fe5eb95617e9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d196f12aa9233b1f5623a93be4efa0e7039f41f24733aa32b13fe5eb95617e9f", kill_on_drop: false }`
[INFO] [stdout] d196f12aa9233b1f5623a93be4efa0e7039f41f24733aa32b13fe5eb95617e9f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e382b9d1e9e95c4cc0bf3ee146e5e5350c1c0e4869ec7e01e0de706cdf29a4f
[INFO] running `Command { std: "docker" "start" "-a" "5e382b9d1e9e95c4cc0bf3ee146e5e5350c1c0e4869ec7e01e0de706cdf29a4f", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking browser v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected type, found `|`
[INFO] [stdout]   --> src/parser.rs:28:39
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn consume_while(&mut self, test: |char| -> bool) -> String {
[INFO] [stdout]    |                                       ^ expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected type, found `|`
[INFO] [stdout]   --> src/parser.rs:28:39
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn consume_while(&mut self, test: |char| -> bool) -> String {
[INFO] [stdout]    |                                       ^ expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `assert`
[INFO] [stdout]   --> src/parser.rs:61:48
[INFO] [stdout]    |
[INFO] [stdout] 61 |             assert!(self.consume_char() == '!')
[INFO] [stdout]    |                                                ^ help: add `;` here
[INFO] [stdout] 62 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |             ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `assert`
[INFO] [stdout]   --> src/parser.rs:61:48
[INFO] [stdout]    |
[INFO] [stdout] 61 |             assert!(self.consume_char() == '!')
[INFO] [stdout]    |                                                ^ help: add `;` here
[INFO] [stdout] 62 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |             ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `assert`
[INFO] [stdout]   --> src/parser.rs:62:48
[INFO] [stdout]    |
[INFO] [stdout] 62 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |                                                ^ help: add `;` here
[INFO] [stdout] 63 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |             ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/parser.rs:63:48
[INFO] [stdout]    |
[INFO] [stdout] 63 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |                                                ^ help: add `;` here
[INFO] [stdout] 64 |             let content = self.parse_text();
[INFO] [stdout]    |             --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `assert`
[INFO] [stdout]   --> src/parser.rs:65:48
[INFO] [stdout]    |
[INFO] [stdout] 65 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |                                                ^ help: add `;` here
[INFO] [stdout] 66 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |             ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `assert`
[INFO] [stdout]   --> src/parser.rs:66:48
[INFO] [stdout]    |
[INFO] [stdout] 66 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |                                                ^ help: add `;` here
[INFO] [stdout] 67 |             assert!(self.consume_char() == '>');
[INFO] [stdout]    |             ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `assert`
[INFO] [stdout]   --> src/parser.rs:62:48
[INFO] [stdout]    |
[INFO] [stdout] 62 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |                                                ^ help: add `;` here
[INFO] [stdout] 63 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |             ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/parser.rs:63:48
[INFO] [stdout]    |
[INFO] [stdout] 63 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |                                                ^ help: add `;` here
[INFO] [stdout] 64 |             let content = self.parse_text();
[INFO] [stdout]    |             --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `assert`
[INFO] [stdout]   --> src/parser.rs:65:48
[INFO] [stdout]    |
[INFO] [stdout] 65 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |                                                ^ help: add `;` here
[INFO] [stdout] 66 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |             ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `assert`
[INFO] [stdout]   --> src/parser.rs:66:48
[INFO] [stdout]    |
[INFO] [stdout] 66 |             assert!(self.consume_char() == '-')
[INFO] [stdout]    |                                                ^ help: add `;` here
[INFO] [stdout] 67 |             assert!(self.consume_char() == '>');
[INFO] [stdout]    |             ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::fmt::Show`
[INFO] [stdout]  --> src/dom.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Show;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ no `Show` in `fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Text` in this scope
[INFO] [stdout]   --> src/dom.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             Text(ref str) => write!(f, "{}", str),
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Text;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Comment` in this scope
[INFO] [stdout]   --> src/dom.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             Comment(ref str) => write!(f, "<!-- {} -->", str),
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Comment;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Element` in this scope
[INFO] [stdout]   --> src/dom.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Element(ref elem_data) => write!(f, "<{}>", elem_data.tag_name)
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Element;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/dom.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |         for i in range(0u, self.children.len()) {
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Element` in this scope
[INFO] [stdout]   --> src/dom.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Element(ref elem_data) => write!(f, "</{}>", elem_data.tag_name),
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Element;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Text` in this scope
[INFO] [stdout]   --> src/dom.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |         node_type: Text(data)
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Text;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Text` in this scope
[INFO] [stdout]   --> src/dom.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         Text(content) => Node {
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Text;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Comment` in this scope
[INFO] [stdout]   --> src/dom.rs:64:24
[INFO] [stdout]    |
[INFO] [stdout] 64 |             node_type: Comment(content)
[INFO] [stdout]    |                        ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Comment;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Text` in this scope
[INFO] [stdout]   --> src/dom.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn text(data: String) -> Node {
[INFO] [stdout]    | --------------------------------- similarly named function `text` defined here
[INFO] [stdout] ...
[INFO] [stdout] 68 |             node_type: Text("comment".to_string())
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 68 -             node_type: Text("comment".to_string())
[INFO] [stdout] 68 +             node_type: text("comment".to_string())
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Text;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Element` in this scope
[INFO] [stdout]   --> src/dom.rs:77:20
[INFO] [stdout]    |
[INFO] [stdout] 77 |         node_type: Element(ElementData{
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Element;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/parser.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pos: uint,
[INFO] [stdout]   |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout]  --> src/dom.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::Formatter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/parser.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 |             'a'...'z' | 'A'...'Z' | '0'...'9' => true,
[INFO] [stdout]    |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/parser.rs:42:28
[INFO] [stdout]    |
[INFO] [stdout] 42 |             'a'...'z' | 'A'...'Z' | '0'...'9' => true,
[INFO] [stdout]    |                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/parser.rs:42:40
[INFO] [stdout]    |
[INFO] [stdout] 42 |             'a'...'z' | 'A'...'Z' | '0'...'9' => true,
[INFO] [stdout]    |                                        ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/dom.rs:39:24
[INFO] [stdout]    |
[INFO] [stdout] 39 |         for i in range(0u, self.children.len()) {
[INFO] [stdout]    |                        ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]    --> src/parser.rs:130:35
[INFO] [stdout]     |
[INFO] [stdout] 130 |     let mut nodes = Parser { pos: 0u, input: source }.parse_nodes();
[INFO] [stdout]     |                                   ^^ invalid suffix `u`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found attribute macro `test`
[INFO] [stdout]   --> src/parser.rs:30:30
[INFO] [stdout]    |
[INFO] [stdout] 30 |         while !self.eof() && test(self.next_char()) {
[INFO] [stdout]    |                              ^^^^ not a function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0531.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::fmt::Show`
[INFO] [stdout]  --> src/dom.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Show;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ no `Show` in `fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Text` in this scope
[INFO] [stdout]   --> src/dom.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             Text(ref str) => write!(f, "{}", str),
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Text;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Comment` in this scope
[INFO] [stdout]   --> src/dom.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             Comment(ref str) => write!(f, "<!-- {} -->", str),
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Comment;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Element` in this scope
[INFO] [stdout]   --> src/dom.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Element(ref elem_data) => write!(f, "<{}>", elem_data.tag_name)
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Element;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/dom.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |         for i in range(0u, self.children.len()) {
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Element` in this scope
[INFO] [stdout]   --> src/dom.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Element(ref elem_data) => write!(f, "</{}>", elem_data.tag_name),
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Element;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Text` in this scope
[INFO] [stdout]   --> src/dom.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |         node_type: Text(data)
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Text;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Text` in this scope
[INFO] [stdout]   --> src/dom.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         Text(content) => Node {
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Text;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Comment` in this scope
[INFO] [stdout]   --> src/dom.rs:64:24
[INFO] [stdout]    |
[INFO] [stdout] 64 |             node_type: Comment(content)
[INFO] [stdout]    |                        ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Comment;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Text` in this scope
[INFO] [stdout]   --> src/dom.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn text(data: String) -> Node {
[INFO] [stdout]    | --------------------------------- similarly named function `text` defined here
[INFO] [stdout] ...
[INFO] [stdout] 68 |             node_type: Text("comment".to_string())
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 68 -             node_type: Text("comment".to_string())
[INFO] [stdout] 68 +             node_type: text("comment".to_string())
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Text;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Element` in this scope
[INFO] [stdout]   --> src/dom.rs:77:20
[INFO] [stdout]    |
[INFO] [stdout] 77 |         node_type: Element(ElementData{
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use dom::NodeType::Element;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `browser` (bin "browser") due to 21 previous errors; 4 warnings emitted
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/parser.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pos: uint,
[INFO] [stdout]   |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout]  --> src/dom.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::Formatter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `browser` (bin "browser" test) due to 21 previous errors; 4 warnings emitted
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/parser.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 |             'a'...'z' | 'A'...'Z' | '0'...'9' => true,
[INFO] [stdout]    |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/parser.rs:42:28
[INFO] [stdout]    |
[INFO] [stdout] 42 |             'a'...'z' | 'A'...'Z' | '0'...'9' => true,
[INFO] [stdout]    |                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/parser.rs:42:40
[INFO] [stdout]    |
[INFO] [stdout] 42 |             'a'...'z' | 'A'...'Z' | '0'...'9' => true,
[INFO] [stdout]    |                                        ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/dom.rs:39:24
[INFO] [stdout]    |
[INFO] [stdout] 39 |         for i in range(0u, self.children.len()) {
[INFO] [stdout]    |                        ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]    --> src/parser.rs:130:35
[INFO] [stdout]     |
[INFO] [stdout] 130 |     let mut nodes = Parser { pos: 0u, input: source }.parse_nodes();
[INFO] [stdout]     |                                   ^^ invalid suffix `u`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found attribute macro `test`
[INFO] [stdout]   --> src/parser.rs:30:30
[INFO] [stdout]    |
[INFO] [stdout] 30 |         while !self.eof() && test(self.next_char()) {
[INFO] [stdout]    |                              ^^^^ not a function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0531.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5e382b9d1e9e95c4cc0bf3ee146e5e5350c1c0e4869ec7e01e0de706cdf29a4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e382b9d1e9e95c4cc0bf3ee146e5e5350c1c0e4869ec7e01e0de706cdf29a4f", kill_on_drop: false }`
[INFO] [stdout] 5e382b9d1e9e95c4cc0bf3ee146e5e5350c1c0e4869ec7e01e0de706cdf29a4f
