[INFO] cloning repository https://github.com/mflinn92/rusty-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mflinn92/rusty-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmflinn92%2Frusty-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmflinn92%2Frusty-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd41b6e8317a29ef8a1bd3cf78c01a2170d568ed [INFO] checking mflinn92/rusty-engine against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmflinn92%2Frusty-engine" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mflinn92/rusty-engine on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mflinn92/rusty-engine [INFO] finished tweaking git repo https://github.com/mflinn92/rusty-engine [INFO] tweaked toml for git repo https://github.com/mflinn92/rusty-engine written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/mflinn92/rusty-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6225ca0fedf27b67cc60402f73772cabd950ae36cd8c9f264369bec91b6178c [INFO] running `Command { std: "docker" "start" "-a" "d6225ca0fedf27b67cc60402f73772cabd950ae36cd8c9f264369bec91b6178c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6225ca0fedf27b67cc60402f73772cabd950ae36cd8c9f264369bec91b6178c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6225ca0fedf27b67cc60402f73772cabd950ae36cd8c9f264369bec91b6178c", kill_on_drop: false }` [INFO] [stdout] d6225ca0fedf27b67cc60402f73772cabd950ae36cd8c9f264369bec91b6178c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ea1db3fcded60944c61a8dadbb18e4a366eb31114311d4bfcc714531ab4bdcf [INFO] running `Command { std: "docker" "start" "-a" "8ea1db3fcded60944c61a8dadbb18e4a366eb31114311d4bfcc714531ab4bdcf", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking rusty-engine v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: struct is never constructed: `Stylesheet` [INFO] [stdout] --> src/parser/css.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Stylesheet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Rule` [INFO] [stdout] --> src/parser/css.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Declaration` [INFO] [stdout] --> src/parser/css.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Declaration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Value` [INFO] [stdout] --> src/parser/css.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Unit` [INFO] [stdout] --> src/parser/css.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | enum Unit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Color` [INFO] [stdout] --> src/parser/css.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `starts_with` [INFO] [stdout] --> src/parser/css.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn starts_with(&self, s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/dom.rs (1 fix) [INFO] [stdout] warning: associated function is never used: `children` [INFO] [stdout] --> src/dom.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn children(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `node_type` [INFO] [stdout] --> src/dom.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn node_type(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_tag` [INFO] [stdout] --> src/dom.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_tag(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_text` [INFO] [stdout] --> src/dom.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_text(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Stylesheet` [INFO] [stdout] --> src/parser/css.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Stylesheet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Rule` [INFO] [stdout] --> src/parser/css.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Simple` [INFO] [stdout] --> src/parser/css.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Simple(SimpleSelector), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Specificity` [INFO] [stdout] --> src/parser/css.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub type Specificity = (usize, usize, usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `specificity` [INFO] [stdout] --> src/parser/css.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn specificity(&self) -> Specificity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/css.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Declaration` [INFO] [stdout] --> src/parser/css.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Declaration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Value` [INFO] [stdout] --> src/parser/css.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Unit` [INFO] [stdout] --> src/parser/css.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | enum Unit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Color` [INFO] [stdout] --> src/parser/css.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Css` [INFO] [stdout] --> src/parser/css.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct Css { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_char` [INFO] [stdout] --> src/parser/css.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn next_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `starts_with` [INFO] [stdout] --> src/parser/css.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn starts_with(&self, s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eof` [INFO] [stdout] --> src/parser/css.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn eof(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_char` [INFO] [stdout] --> src/parser/css.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn consume_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_while` [INFO] [stdout] --> src/parser/css.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn consume_while(&mut self, test: F) -> String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_whitespace` [INFO] [stdout] --> src/parser/css.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn consume_whitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_simple_selector` [INFO] [stdout] --> src/parser/css.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn parse_simple_selector(&mut self) -> SimpleSelector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_identifier` [INFO] [stdout] --> src/parser/css.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn parse_identifier(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_selectors` [INFO] [stdout] --> src/parser/css.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_selectors(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `valid_identifier_char` [INFO] [stdout] --> src/parser/css.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn valid_identifier_char(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.92s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking rusty-engine v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> src/dom.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | if let NodeType::Text(got) = node.node_type { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> src/dom.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | if let NodeType::Element(elem) = node.node_type { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> src/dom.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | NodeType::Text(text) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/dom.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | let node = Node::new_text(data.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 75 | use crate::dom::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AttrMap` [INFO] [stdout] --> src/dom.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let mut attrs = AttrMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 75 | use crate::dom::AttrMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/dom.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | let node = Node::new_element(tag_name, attrs.clone(), Vec::new()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 75 | use crate::dom::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/dom.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | let text_node = Node::new_text(data.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 75 | use crate::dom::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AttrMap` [INFO] [stdout] --> src/dom.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | let mut attrs = AttrMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 75 | use crate::dom::AttrMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/dom.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | let node = Node::new_element(tag_name, attrs.clone(), vec![text_node]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 75 | use crate::dom::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `children` [INFO] [stdout] --> src/dom.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn children(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `node_type` [INFO] [stdout] --> src/dom.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn node_type(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_tag` [INFO] [stdout] --> src/dom.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_tag(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_text` [INFO] [stdout] --> src/dom.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_text(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Stylesheet` [INFO] [stdout] --> src/parser/css.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Stylesheet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Rule` [INFO] [stdout] --> src/parser/css.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Simple` [INFO] [stdout] --> src/parser/css.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Simple(SimpleSelector), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Specificity` [INFO] [stdout] --> src/parser/css.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub type Specificity = (usize, usize, usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `specificity` [INFO] [stdout] --> src/parser/css.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn specificity(&self) -> Specificity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/css.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Declaration` [INFO] [stdout] --> src/parser/css.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Declaration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Value` [INFO] [stdout] --> src/parser/css.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Unit` [INFO] [stdout] --> src/parser/css.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | enum Unit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Color` [INFO] [stdout] --> src/parser/css.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Css` [INFO] [stdout] --> src/parser/css.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct Css { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_char` [INFO] [stdout] --> src/parser/css.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn next_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `starts_with` [INFO] [stdout] --> src/parser/css.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn starts_with(&self, s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eof` [INFO] [stdout] --> src/parser/css.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn eof(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_char` [INFO] [stdout] --> src/parser/css.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn consume_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_while` [INFO] [stdout] --> src/parser/css.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn consume_while(&mut self, test: F) -> String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_whitespace` [INFO] [stdout] --> src/parser/css.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn consume_whitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_simple_selector` [INFO] [stdout] --> src/parser/css.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn parse_simple_selector(&mut self) -> SimpleSelector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_identifier` [INFO] [stdout] --> src/parser/css.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn parse_identifier(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_selectors` [INFO] [stdout] --> src/parser/css.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_selectors(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `valid_identifier_char` [INFO] [stdout] --> src/parser/css.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn valid_identifier_char(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-engine` due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8ea1db3fcded60944c61a8dadbb18e4a366eb31114311d4bfcc714531ab4bdcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea1db3fcded60944c61a8dadbb18e4a366eb31114311d4bfcc714531ab4bdcf", kill_on_drop: false }` [INFO] [stdout] 8ea1db3fcded60944c61a8dadbb18e4a366eb31114311d4bfcc714531ab4bdcf