[INFO] cloning repository https://github.com/Sam-Hobson/Parsnip-Web-Browser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sam-Hobson/Parsnip-Web-Browser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam-Hobson%2FParsnip-Web-Browser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam-Hobson%2FParsnip-Web-Browser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67d7bf339dcd7deb2ef5b9c15ea0f462fde7c012 [INFO] checking Sam-Hobson/Parsnip-Web-Browser/67d7bf339dcd7deb2ef5b9c15ea0f462fde7c012 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam-Hobson%2FParsnip-Web-Browser" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sam-Hobson/Parsnip-Web-Browser on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Sam-Hobson/Parsnip-Web-Browser [INFO] finished tweaking git repo https://github.com/Sam-Hobson/Parsnip-Web-Browser [INFO] tweaked toml for git repo https://github.com/Sam-Hobson/Parsnip-Web-Browser written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Sam-Hobson/Parsnip-Web-Browser 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86b7c94d99455cdb15d3ac4685fc4cfb87cafb10d9342e48985705cef7f5714d [INFO] running `Command { std: "docker" "start" "-a" "86b7c94d99455cdb15d3ac4685fc4cfb87cafb10d9342e48985705cef7f5714d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86b7c94d99455cdb15d3ac4685fc4cfb87cafb10d9342e48985705cef7f5714d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86b7c94d99455cdb15d3ac4685fc4cfb87cafb10d9342e48985705cef7f5714d", kill_on_drop: false }` [INFO] [stdout] 86b7c94d99455cdb15d3ac4685fc4cfb87cafb10d9342e48985705cef7f5714d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 301ec46681756ce4e354d741f5f8c8f17c224cca95d97c5b364874009a4baf5f [INFO] running `Command { std: "docker" "start" "-a" "301ec46681756ce4e354d741f5f8c8f17c224cca95d97c5b364874009a4baf5f", kill_on_drop: false }` [INFO] [stderr] Checking Parsnip-browser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `margin_right` is never read [INFO] [stdout] --> src/box_model.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | margin_right = Value::Length(margin_right.to_px() + underflow, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_right` is never read [INFO] [stdout] --> src/box_model.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | margin_right = Value::Length(underflow, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_left` is never read [INFO] [stdout] --> src/box_model.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | margin_left = Value::Length(underflow, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_left` is never read [INFO] [stdout] --> src/box_model.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | margin_left = Value::Length(0.0, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `width` is never read [INFO] [stdout] --> src/box_model.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | width = Value::Length(underflow, Unit::Px); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `width` is never read [INFO] [stdout] --> src/box_model.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | width = Value::Length(0.0, Unit::Px); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_right` is never read [INFO] [stdout] --> src/box_model.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | margin_right = Value::Length(margin_right.to_px() + underflow, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_left` is never read [INFO] [stdout] --> src/box_model.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | margin_left = Value::Length(underflow / 2.0, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_right` is never read [INFO] [stdout] --> src/box_model.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | margin_right = Value::Length(underflow / 2.0, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `classes` are never used [INFO] [stdout] --> src/dom.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl ElementData { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 48 | /// Returns the Some id of the element, or None. [INFO] [stdout] 49 | pub fn id(&self) -> Option<&String> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn classes(&self) -> HashSet<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `string` and `parse_between` are never used [INFO] [stdout] --> src/parsing/parser.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn string(&mut self, s: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn parse_between(&mut self, c: char) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CssParser` is never constructed [INFO] [stdout] --> src/parsing/css_parser.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CssParser { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/parsing/css_parser.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl CssParser { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 9 | fn parse_simple_selector(&mut self) -> SimpleSelector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn parse_rule(&mut self) -> Rule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn parse_selectors(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn parse_declarations(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn parse_declaration(&mut self) -> Declaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn parse_value(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn parse_length(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn parse_float(&mut self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn parse_unit(&mut self) -> Unit { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn parse_colour(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn parse_hex_pair(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stylesheet` is never constructed [INFO] [stdout] --> src/style/css.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Stylesheet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rule` is never constructed [INFO] [stdout] --> src/style/css.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchedRule` is never constructed [INFO] [stdout] --> src/style/css.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MatchedRule<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/style/css.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'a> MatchedRule<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 24 | pub fn new(specificity: Specificity, rule: &'a Rule) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Selector` is never used [INFO] [stdout] --> src/style/css.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Selector { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleSelector` is never constructed [INFO] [stdout] --> src/style/css.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SimpleSelector { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_right` is never read [INFO] [stdout] --> src/box_model.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | margin_right = Value::Length(margin_right.to_px() + underflow, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Declaration` is never constructed [INFO] [stdout] --> src/style/css.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Declaration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PropertyMap` is never used [INFO] [stdout] --> src/style/css.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub type PropertyMap = HashMap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_right` is never read [INFO] [stdout] --> src/box_model.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | margin_right = Value::Length(underflow, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_left` is never read [INFO] [stdout] --> src/box_model.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | margin_left = Value::Length(underflow, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_left` is never read [INFO] [stdout] --> src/box_model.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | margin_left = Value::Length(0.0, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Keyword`, `Length`, and `ColourValue` are never constructed [INFO] [stdout] --> src/style/css.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 54 | Keyword(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | Length(f32, Unit), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | ColourValue(Colour), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `width` is never read [INFO] [stdout] --> src/box_model.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | width = Value::Length(underflow, Unit::Px); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `width` is never read [INFO] [stdout] --> src/box_model.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | width = Value::Length(0.0, Unit::Px); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_px` is never used [INFO] [stdout] --> src/style/css.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 60 | /// Return the size of a length in px, or zero for non-lengths. [INFO] [stdout] 61 | pub fn to_px(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_right` is never read [INFO] [stdout] --> src/box_model.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | margin_right = Value::Length(margin_right.to_px() + underflow, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_left` is never read [INFO] [stdout] --> src/box_model.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | margin_left = Value::Length(underflow / 2.0, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `margin_right` is never read [INFO] [stdout] --> src/box_model.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | margin_right = Value::Length(underflow / 2.0, Unit::Px); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Px` is never constructed [INFO] [stdout] --> src/style/css.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum Unit { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 71 | Px, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `classes` are never used [INFO] [stdout] --> src/dom.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl ElementData { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 48 | /// Returns the Some id of the element, or None. [INFO] [stdout] 49 | pub fn id(&self) -> Option<&String> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn classes(&self) -> HashSet<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StyledNode` is never constructed [INFO] [stdout] --> src/style/css.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct StyledNode<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `string` and `parse_between` are never used [INFO] [stdout] --> src/parsing/parser.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn string(&mut self, s: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn parse_between(&mut self, c: char) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CssParser` is never constructed [INFO] [stdout] --> src/parsing/css_parser.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CssParser { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value`, `display`, and `lookup` are never used [INFO] [stdout] --> src/style/css.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> StyledNode<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 93 | pub fn value(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn display(&self) -> Display { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn lookup(&self, key: &str, key_2: &str, default_val: &Value) -> Value { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Specificity` is never used [INFO] [stdout] --> src/style/css.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | pub type Specificity = (usize, usize, usize); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/parsing/css_parser.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl CssParser { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 9 | fn parse_simple_selector(&mut self) -> SimpleSelector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn parse_rule(&mut self) -> Rule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn parse_selectors(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn parse_declarations(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn parse_declaration(&mut self) -> Declaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn parse_value(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn parse_length(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn parse_float(&mut self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn parse_unit(&mut self) -> Unit { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn parse_colour(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn parse_hex_pair(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `specificity` is never used [INFO] [stdout] --> src/style/css.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl Selector { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 119 | pub fn specificity(&self) -> Specificity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stylesheet` is never constructed [INFO] [stdout] --> src/style/css.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Stylesheet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rule` is never constructed [INFO] [stdout] --> src/style/css.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matches` is never used [INFO] [stdout] --> src/style/style_tree.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn matches(elem: &ElementData, selector: &Selector) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchedRule` is never constructed [INFO] [stdout] --> src/style/css.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MatchedRule<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/style/css.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'a> MatchedRule<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 24 | pub fn new(specificity: Specificity, rule: &'a Rule) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matches_simple_selector` is never used [INFO] [stdout] --> src/style/style_tree.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn matches_simple_selector(elem: &ElementData, selector: &SimpleSelector) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Selector` is never used [INFO] [stdout] --> src/style/css.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Selector { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleSelector` is never constructed [INFO] [stdout] --> src/style/css.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SimpleSelector { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Declaration` is never constructed [INFO] [stdout] --> src/style/css.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Declaration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_rule` is never used [INFO] [stdout] --> src/style/style_tree.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn match_rule<'a>(elem: &ElementData, rule: &'a Rule) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PropertyMap` is never used [INFO] [stdout] --> src/style/css.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub type PropertyMap = HashMap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Keyword`, `Length`, and `ColourValue` are never constructed [INFO] [stdout] --> src/style/css.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 54 | Keyword(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | Length(f32, Unit), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | ColourValue(Colour), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matching_rules` is never used [INFO] [stdout] --> src/style/style_tree.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn matching_rules<'a>(elem: &ElementData, stylesheet: &'a Stylesheet) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_px` is never used [INFO] [stdout] --> src/style/css.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 60 | /// Return the size of a length in px, or zero for non-lengths. [INFO] [stdout] 61 | pub fn to_px(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `specified_values` is never used [INFO] [stdout] --> src/style/style_tree.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn specified_values(elem: &ElementData, stylesheet: &Stylesheet) -> PropertyMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Px` is never constructed [INFO] [stdout] --> src/style/css.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum Unit { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 71 | Px, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StyledNode` is never constructed [INFO] [stdout] --> src/style/css.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct StyledNode<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `style_tree` is never used [INFO] [stdout] --> src/style/style_tree.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn style_tree<'a>(root: &'a Node, stylesheet: &'a Stylesheet) -> StyledNode<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value`, `display`, and `lookup` are never used [INFO] [stdout] --> src/style/css.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> StyledNode<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 93 | pub fn value(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn display(&self) -> Display { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn lookup(&self, key: &str, key_2: &str, default_val: &Value) -> Value { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dimensions` is never constructed [INFO] [stdout] --> src/box_model.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Dimensions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dimensions` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Specificity` is never used [INFO] [stdout] --> src/style/css.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | pub type Specificity = (usize, usize, usize); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/box_model.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rect` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdgeSizes` is never constructed [INFO] [stdout] --> src/box_model.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct EdgeSizes { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EdgeSizes` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `specificity` is never used [INFO] [stdout] --> src/style/css.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl Selector { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 119 | pub fn specificity(&self) -> Specificity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayoutBox` is never constructed [INFO] [stdout] --> src/box_model.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct LayoutBox<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matches` is never used [INFO] [stdout] --> src/style/style_tree.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn matches(elem: &ElementData, selector: &Selector) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matches_simple_selector` is never used [INFO] [stdout] --> src/style/style_tree.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn matches_simple_selector(elem: &ElementData, selector: &SimpleSelector) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `padding_box`, `border_box`, and `margin_box` are never used [INFO] [stdout] --> src/box_model.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Dimensions { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 43 | // The area covered by the content area & its padding. [INFO] [stdout] 44 | fn padding_box(self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn border_box(self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn margin_box(self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_rule` is never used [INFO] [stdout] --> src/style/style_tree.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn match_rule<'a>(elem: &ElementData, rule: &'a Rule) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expanded_by` is never used [INFO] [stdout] --> src/box_model.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl Rect { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 60 | fn expanded_by(self, edge: EdgeSizes) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matching_rules` is never used [INFO] [stdout] --> src/style/style_tree.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn matching_rules<'a>(elem: &ElementData, stylesheet: &'a Stylesheet) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `specified_values` is never used [INFO] [stdout] --> src/style/style_tree.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn specified_values(elem: &ElementData, stylesheet: &Stylesheet) -> PropertyMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `style_tree` is never used [INFO] [stdout] --> src/style/style_tree.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn style_tree<'a>(root: &'a Node, stylesheet: &'a Stylesheet) -> StyledNode<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/box_model.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'a> LayoutBox<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 71 | fn new(box_type: BoxType<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_style_node(&self) -> &'a StyledNode<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn get_inline_container(&mut self) -> &mut LayoutBox<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn layout(&mut self, containing_block: Dimensions) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn layout_block(&mut self, containing_block: Dimensions) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn calculate_block_width(&mut self, containing_block: Dimensions) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn calculate_block_position(&mut self, containing_block: Dimensions) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn layout_block_children(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn calculate_block_height(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dimensions` is never constructed [INFO] [stdout] --> src/box_model.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Dimensions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dimensions` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BoxType` is never used [INFO] [stdout] --> src/box_model.rs:264:6 [INFO] [stdout] | [INFO] [stdout] 264 | enum BoxType<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Display` is never used [INFO] [stdout] --> src/box_model.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | pub enum Display { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/box_model.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rect` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `node_to_box` is never used [INFO] [stdout] --> src/box_model.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn node_to_box<'a>(n: &'a StyledNode) -> BoxType<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdgeSizes` is never constructed [INFO] [stdout] --> src/box_model.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct EdgeSizes { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EdgeSizes` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_layout_tree` is never used [INFO] [stdout] --> src/box_model.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn build_layout_tree<'a>(style_node: &'a StyledNode) -> LayoutBox<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayoutBox` is never constructed [INFO] [stdout] --> src/box_model.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct LayoutBox<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `padding_box`, `border_box`, and `margin_box` are never used [INFO] [stdout] --> src/box_model.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Dimensions { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 43 | // The area covered by the content area & its padding. [INFO] [stdout] 44 | fn padding_box(self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn border_box(self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn margin_box(self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expanded_by` is never used [INFO] [stdout] --> src/box_model.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl Rect { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 60 | fn expanded_by(self, edge: EdgeSizes) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/box_model.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'a> LayoutBox<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 71 | fn new(box_type: BoxType<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_style_node(&self) -> &'a StyledNode<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn get_inline_container(&mut self) -> &mut LayoutBox<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn layout(&mut self, containing_block: Dimensions) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn layout_block(&mut self, containing_block: Dimensions) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn calculate_block_width(&mut self, containing_block: Dimensions) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn calculate_block_position(&mut self, containing_block: Dimensions) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn layout_block_children(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn calculate_block_height(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BoxType` is never used [INFO] [stdout] --> src/box_model.rs:264:6 [INFO] [stdout] | [INFO] [stdout] 264 | enum BoxType<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/style/style_tree.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | .any(|x| !elem.classes().contains(x.as_str())) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Display` is never used [INFO] [stdout] --> src/box_model.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | pub enum Display { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `node_to_box` is never used [INFO] [stdout] --> src/box_model.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn node_to_box<'a>(n: &'a StyledNode) -> BoxType<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_layout_tree` is never used [INFO] [stdout] --> src/box_model.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn build_layout_tree<'a>(style_node: &'a StyledNode) -> LayoutBox<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/style/style_tree.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | .any(|x| !elem.classes().contains(x.as_str())) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Parsnip-browser` (bin "Parsnip-browser") due to 2 previous errors; 45 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `Parsnip-browser` (bin "Parsnip-browser" test) due to 2 previous errors; 45 warnings emitted [INFO] running `Command { std: "docker" "inspect" "301ec46681756ce4e354d741f5f8c8f17c224cca95d97c5b364874009a4baf5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301ec46681756ce4e354d741f5f8c8f17c224cca95d97c5b364874009a4baf5f", kill_on_drop: false }` [INFO] [stdout] 301ec46681756ce4e354d741f5f8c8f17c224cca95d97c5b364874009a4baf5f