[INFO] cloning repository https://github.com/pentla/arts-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pentla/arts-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpentla%2Farts-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpentla%2Farts-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5096da17d86a6f43086d9d5f2b2107ae788c45dc [INFO] checking pentla/arts-parser against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpentla%2Farts-parser" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pentla/arts-parser 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/pentla/arts-parser [INFO] finished tweaking git repo https://github.com/pentla/arts-parser [INFO] tweaked toml for git repo https://github.com/pentla/arts-parser written to /workspace/builds/worker-76/source/Cargo.toml [INFO] crate git repo https://github.com/pentla/arts-parser 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] [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-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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] c55a7435a4b74e43e035c1c77363a17f5ada5ab823c41da709d3d053be78d7ac [INFO] running `Command { std: "docker" "start" "-a" "c55a7435a4b74e43e035c1c77363a17f5ada5ab823c41da709d3d053be78d7ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c55a7435a4b74e43e035c1c77363a17f5ada5ab823c41da709d3d053be78d7ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c55a7435a4b74e43e035c1c77363a17f5ada5ab823c41da709d3d053be78d7ac", kill_on_drop: false }` [INFO] [stdout] c55a7435a4b74e43e035c1c77363a17f5ada5ab823c41da709d3d053be78d7ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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] 0e930b3f5707227678a4a0b5585a21c0ebf9de06c0713a10521a2be962fd3963 [INFO] running `Command { std: "docker" "start" "-a" "0e930b3f5707227678a4a0b5585a21c0ebf9de06c0713a10521a2be962fd3963", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking parser v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/css/parse.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/css/ast.rs (6 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementType` [INFO] [stdout] --> src/css/parse.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | Some(ElementType::A) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ElementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementType` [INFO] [stdout] --> src/css/parse.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | Some(ElementType::Div) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ElementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/css/parse.rs:108:31 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(dec2.property, Property::Padding); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/css/parse.rs:109:47 [INFO] [stdout] | [INFO] [stdout] 109 | assert_eq!(dec2.value, Value::Length(2.0, Unit::Px)); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementType` [INFO] [stdout] --> src/css/parse.rs:114:40 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(selector3.element, Some(ElementType::A)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ElementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/css/parse.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(dec3.property, Property::Margin); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/css/parse.rs:121:47 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(dec3.value, Value::Length(2.0, Unit::Px)); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/css/parse.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(dec4_0.property, Property::Display); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/css/parse.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(dec4_1.property, Property::Width); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/css/parse.rs:132:51 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(dec4_1.value, Value::Length(200.0, Unit::Px)); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementType` [INFO] [stdout] --> src/css/parse.rs:147:40 [INFO] [stdout] | [INFO] [stdout] 147 | assert_eq!(selector1.element, Some(ElementType::H1)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ElementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/css/parse.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(dec1.property, Property::FontSize); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/css/parse.rs:150:48 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(dec1.value, Value::Length(50.0, Unit::Px)); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementType` [INFO] [stdout] --> src/css/parse.rs:163:40 [INFO] [stdout] | [INFO] [stdout] 163 | assert_eq!(selector2.element, Some(ElementType::Span)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ElementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/css/parse.rs:165:33 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(dec2_1.property, Property::Display); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/css/parse.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(dec2_2.property, Property::BackgroundColor); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementType` [INFO] [stdout] --> src/css/parse.rs:185:37 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(sel1_1.element, Some(ElementType::H1)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ElementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementType` [INFO] [stdout] --> src/css/parse.rs:187:37 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(sel1_2.element, Some(ElementType::H2)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ElementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementType` [INFO] [stdout] --> src/css/parse.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(sel1_3.element, Some(ElementType::H3)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ElementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/css/parse.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | assert_eq!(dec1_1.property, Property::Margin); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/css/parse.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(dec1_2.property, Property::Color); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementType` [INFO] [stdout] --> src/css/parse.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(sel2.element, Some(ElementType::Div)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ElementType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/css/parse.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(dec2_1.property, Property::MarginBottom); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/css/parse.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(dec2_1.value, Value::Length(20.0, Unit::Px)); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/css/parse.rs:205:33 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(dec2_2.property, Property::Padding); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/css/parse.rs:206:50 [INFO] [stdout] | [INFO] [stdout] 206 | assert_eq!(dec2_2.value, Value::Length(10.0, Unit::Px)); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/css/parse.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | assert_eq!(dec3.property, Property::Display); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/css/parse.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | assert_eq!(dec2.value, Value::Length(2.0, Unit::Px)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use crate::css::ast::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/css/parse.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(dec3.value, Value::Length(2.0, Unit::Px)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use crate::css::ast::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/css/parse.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(dec4_0.value, Value::Keyword(String::from("block"))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use crate::css::ast::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/css/parse.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(dec4_1.value, Value::Length(200.0, Unit::Px)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use crate::css::ast::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/css/parse.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(dec1.value, Value::Length(50.0, Unit::Px)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use crate::css::ast::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/css/parse.rs:166:30 [INFO] [stdout] | [INFO] [stdout] 166 | assert_eq!(dec2_1.value, Value::Keyword("inline-block".to_string())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use crate::css::ast::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/css/parse.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | assert_eq!(dec2_2.value, Value::Keyword("black".to_string())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use crate::css::ast::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/css/parse.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!(dec1_1.value, Value::Keyword("auto".to_string())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use crate::css::ast::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/css/parse.rs:195:30 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(dec1_2.value, Value::Keyword("#cc0000".to_string())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use crate::css::ast::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/css/parse.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(dec2_1.value, Value::Length(20.0, Unit::Px)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use crate::css::ast::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/css/parse.rs:206:30 [INFO] [stdout] | [INFO] [stdout] 206 | assert_eq!(dec2_2.value, Value::Length(10.0, Unit::Px)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use crate::css::ast::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/css/parse.rs:213:28 [INFO] [stdout] | [INFO] [stdout] 213 | assert_eq!(dec3.value, Value::Keyword("none".to_string())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use crate::css::ast::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/css/parse.rs (1 fix) [INFO] [stdout] error: aborting due to 39 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 `parser` due to 40 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct is never constructed: `StyleSheet` [INFO] [stdout] --> src/css/ast.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StyleSheet { [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: `new` [INFO] [stdout] --> src/css/ast.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> StyleSheet { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append_block` [INFO] [stdout] --> src/css/ast.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn append_block(self: &mut Self, block: Block) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/css/ast.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new() -> Block { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_selector` [INFO] [stdout] --> src/css/ast.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_selector(self: &mut Self, input: Selector) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_declaration` [INFO] [stdout] --> src/css/ast.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn set_declaration(self: &mut Self, declaration: Declaration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Specificity` [INFO] [stdout] --> src/css/ast.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub type Specificity = (usize, usize, usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/css/ast.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new() -> Selector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `specificity` [INFO] [stdout] --> src/css/ast.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn specificity(&self) -> Specificity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_class` [INFO] [stdout] --> src/css/ast.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_class(self: &mut Self, input: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_id` [INFO] [stdout] --> src/css/ast.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn set_id(self: &mut Self, input: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_element` [INFO] [stdout] --> src/css/ast.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn set_element(self: &mut Self, input: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_px` [INFO] [stdout] --> src/css/ast.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn get_px(input: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/css/ast.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new(prop: &str, val: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Color` [INFO] [stdout] --> src/css/ast.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BackgroundColor` [INFO] [stdout] --> src/css/ast.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | BackgroundColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Margin` [INFO] [stdout] --> src/css/ast.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | Margin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MarginTop` [INFO] [stdout] --> src/css/ast.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | MarginTop, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MarginLeft` [INFO] [stdout] --> src/css/ast.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | MarginLeft, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MarginRight` [INFO] [stdout] --> src/css/ast.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | MarginRight, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MarginBottom` [INFO] [stdout] --> src/css/ast.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | MarginBottom, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Padding` [INFO] [stdout] --> src/css/ast.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | Padding, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Width` [INFO] [stdout] --> src/css/ast.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | Width, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Height` [INFO] [stdout] --> src/css/ast.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | Height, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Display` [INFO] [stdout] --> src/css/ast.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | Display, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FontSize` [INFO] [stdout] --> src/css/ast.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | FontSize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Undefined` [INFO] [stdout] --> src/css/ast.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/css/ast.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn to_string(self: &Self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Keyword` [INFO] [stdout] --> src/css/ast.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | Keyword(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Color` [INFO] [stdout] --> src/css/ast.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Length` [INFO] [stdout] --> src/css/ast.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | Length(f32, Unit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Undefined` [INFO] [stdout] --> src/css/ast.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_px` [INFO] [stdout] --> src/css/ast.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn to_px(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Px` [INFO] [stdout] --> src/css/ast.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | Px, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_css` [INFO] [stdout] --> src/css/parse.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_css(input: &str) -> StyleSheet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_block` [INFO] [stdout] --> src/css/parse.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_block(input: &str) -> Block { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_style_block` [INFO] [stdout] --> src/css/parse.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn parse_style_block(rule: Pair) -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `property_type` [INFO] [stdout] --> src/css/property_name.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn property_type(input: &str) -> Property { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `property_to_string` [INFO] [stdout] --> src/css/property_name.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn property_to_string(input: Property) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/html/ast.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(name: String) -> Element { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_attr` [INFO] [stdout] --> src/html/ast.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn set_attr(self: &mut Self, key: &str, value: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Html` [INFO] [stdout] --> src/html/ast.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Html, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Body` [INFO] [stdout] --> src/html/ast.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Body, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Div` [INFO] [stdout] --> src/html/ast.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Span` [INFO] [stdout] --> src/html/ast.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `P` [INFO] [stdout] --> src/html/ast.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | P, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H1` [INFO] [stdout] --> src/html/ast.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | H1, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H2` [INFO] [stdout] --> src/html/ast.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | H2, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H3` [INFO] [stdout] --> src/html/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | H3, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H4` [INFO] [stdout] --> src/html/ast.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | H4, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/html/ast.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | A, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Em` [INFO] [stdout] --> src/html/ast.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Em, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Label` [INFO] [stdout] --> src/html/ast.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Label, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Input` [INFO] [stdout] --> src/html/ast.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Text` [INFO] [stdout] --> src/html/ast.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/html/ast.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/html/ast.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Undefined` [INFO] [stdout] --> src/html/ast.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `element_type` [INFO] [stdout] --> src/html/ast.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn element_type(name: &str) -> ElementType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_nodes` [INFO] [stdout] --> src/html/parse.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_nodes(input: &str) -> Element { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_element` [INFO] [stdout] --> src/html/parse.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn parse_element(rule: Pair) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content` [INFO] [stdout] --> src/layout.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | content: Rect, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `padding` [INFO] [stdout] --> src/layout.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | padding: EdgeSizes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `margin` [INFO] [stdout] --> src/layout.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | margin: EdgeSizes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `border` [INFO] [stdout] --> src/layout.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | border: EdgeSizes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `padding_box` [INFO] [stdout] --> src/layout.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn padding_box(self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `border_box` [INFO] [stdout] --> src/layout.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn border_box(self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `margin_box` [INFO] [stdout] --> src/layout.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn margin_box(self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/layout.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/layout.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/layout.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | width: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/layout.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | height: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expanded_by` [INFO] [stdout] --> src/layout.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn expanded_by(self, edge: EdgeSizes) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left` [INFO] [stdout] --> src/layout.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | left: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/layout.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | right: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `top` [INFO] [stdout] --> src/layout.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | top: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bottom` [INFO] [stdout] --> src/layout.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | bottom: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LayoutBox` [INFO] [stdout] --> src/layout.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct LayoutBox<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/layout.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(box_type: BoxType) -> LayoutBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_inline_container` [INFO] [stdout] --> src/layout.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_inline_container(&mut self) -> &mut LayoutBox<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_style_node` [INFO] [stdout] --> src/layout.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_style_node(&self) -> &'a StyledNode<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `layout` [INFO] [stdout] --> src/layout.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn layout(&mut self, containing_block: Dimensions) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `layout_block` [INFO] [stdout] --> src/layout.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn layout_block(&mut self, containing_block: Dimensions) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_block_width` [INFO] [stdout] --> src/layout.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn calc_block_width(&mut self, container_block: Dimensions) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_block_position` [INFO] [stdout] --> src/layout.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | fn calc_block_position(&mut self, containing_block: Dimensions) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `layout_block_children` [INFO] [stdout] --> src/layout.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | fn layout_block_children(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_block_height` [INFO] [stdout] --> src/layout.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | fn calc_block_height(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `BoxType` [INFO] [stdout] --> src/layout.rs:234:6 [INFO] [stdout] | [INFO] [stdout] 234 | enum BoxType<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_layout_tree` [INFO] [stdout] --> src/layout.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn build_layout_tree<'a>(style_node: &'a StyledNode) -> LayoutBox<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `PropertyMap` [INFO] [stdout] --> src/style.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | type PropertyMap = HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Display` [INFO] [stdout] --> src/style.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Display { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `StyledNode` [INFO] [stdout] --> src/style.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StyledNode<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/style.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn value(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `display` [INFO] [stdout] --> src/style.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn display(&self) -> Display { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lookup` [INFO] [stdout] --> src/style.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn lookup(&self, name: &str, fallback: &str, default: &Value) -> Value { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `matches` [INFO] [stdout] --> src/style.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn matches(elem: &ElementData, selector: &Selector) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MatchedBlock` [INFO] [stdout] --> src/style.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | type MatchedBlock<'a> = (Specificity, &'a Block); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `match_block` [INFO] [stdout] --> src/style.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn match_block<'a>(elem: &ElementData, block: &'a Block) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `matching_blocks` [INFO] [stdout] --> src/style.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn matching_blocks<'a>(elem: &ElementData, style_sheet: &'a StyleSheet) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `specified_values` [INFO] [stdout] --> src/style.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn specified_values(elem: &ElementData, style_sheet: &StyleSheet) -> PropertyMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `style_tree` [INFO] [stdout] --> src/style.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn style_tree<'a>(root: &'a Element, style_sheet: &'a StyleSheet) -> StyledNode<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 101 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0e930b3f5707227678a4a0b5585a21c0ebf9de06c0713a10521a2be962fd3963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e930b3f5707227678a4a0b5585a21c0ebf9de06c0713a10521a2be962fd3963", kill_on_drop: false }` [INFO] [stdout] 0e930b3f5707227678a4a0b5585a21c0ebf9de06c0713a10521a2be962fd3963