[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] 582ced20b0691cd5c07fa875c3acd64fe495182f [INFO] building pentla/arts-parser against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpentla%2Farts-parser" "/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/pentla/arts-parser on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded os_str_bytes v3.1.0 [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.4 [INFO] [stderr] Downloaded clap v3.0.0-beta.4 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 560f7977b66e0d52171fab662e30ed7cf36f016217372afbee46182f2bf0bf1a [INFO] running `Command { std: "docker" "start" "-a" "560f7977b66e0d52171fab662e30ed7cf36f016217372afbee46182f2bf0bf1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "560f7977b66e0d52171fab662e30ed7cf36f016217372afbee46182f2bf0bf1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "560f7977b66e0d52171fab662e30ed7cf36f016217372afbee46182f2bf0bf1a", kill_on_drop: false }` [INFO] [stdout] 560f7977b66e0d52171fab662e30ed7cf36f016217372afbee46182f2bf0bf1a [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba328af5115fbdd1566b9241a0b2adc16668c1d239f5e12f311da57c84e3fac1 [INFO] running `Command { std: "docker" "start" "-a" "ba328af5115fbdd1566b9241a0b2adc16668c1d239f5e12f311da57c84e3fac1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling os_str_bytes v3.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fontdue v0.5.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling clap v3.0.0-beta.4 [INFO] [stderr] Compiling parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/css/parse.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementType`, `Element`, `Unit`, `Value`, `css::color::Color`, `css::property::Property`, and `element_type` [INFO] [stdout] --> src/css/parse.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | css::ast::{Block, Declaration, Selector, StyleSheet, Unit, Value}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 8 | css::color::Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | css::property::Property, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | html::{element_type, Element, ElementType}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Property` and `property_type` [INFO] [stdout] --> src/css/mod.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub use crate::css::property::{property_type, Property}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `build_display_list` [INFO] [stdout] --> src/paint/mod.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub use crate::paint::paint::{build_display_list, paint}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unit` [INFO] [stdout] --> src/style.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::css::{Block, Selector, Specificity, StyleSheet, Unit, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementMockOption` and `gen_mock_element` [INFO] [stdout] --> src/style.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::mock::element::{gen_mock_element, ElementMockOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StyleSheetMockOption` and `gen_mock_stylesheet` [INFO] [stdout] --> src/style.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::mock::stylesheet::{gen_mock_stylesheet, StyleSheetMockOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/css/ast.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | Err(err) => Value::Keyword(val.to_string()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/css/ast.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | Err(err) => Value::Keyword(val.to_string()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/css/ast.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | Err(err) => Value::Keyword(val.to_string()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/css/ast.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | Err(err) => Value::Keyword(val.to_string()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/css/ast.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | Err(err) => Value::Keyword(val.to_string()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/css/ast.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | Err(err) => Value::Keyword(val.to_string()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/paint/canvas.rs:43:42 [INFO] [stdout] | [INFO] [stdout] 43 | DisplayCommand::FontSubpixel(color, metrics, bitmap) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attribute` is never read [INFO] [stdout] --> src/css/ast.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Selector { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | pub attribute: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Selector` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `xmin` is never read [INFO] [stdout] --> src/font/entity.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FontMetrics { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub xmin: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontBounds` is never constructed [INFO] [stdout] --> src/font/entity.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FontBounds { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontBounds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElementMockOption` is never constructed [INFO] [stdout] --> src/mock/element.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ElementMockOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mock/element.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ElementMockOption { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> ElementMockOption { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_mock_element` is never used [INFO] [stdout] --> src/mock/element.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn gen_mock_element(option: ElementMockOption) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StyleSheetMockOption` is never constructed [INFO] [stdout] --> src/mock/stylesheet.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct StyleSheetMockOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mock/stylesheet.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl StyleSheetMockOption { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new() -> StyleSheetMockOption { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_mock_stylesheet` is never used [INFO] [stdout] --> src/mock/stylesheet.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn gen_mock_stylesheet(option: StyleSheetMockOption) -> StyleSheet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_element_data` is never used [INFO] [stdout] --> src/paint/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_element_data(layout_box: &LayoutBox) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.70s [INFO] running `Command { std: "docker" "inspect" "ba328af5115fbdd1566b9241a0b2adc16668c1d239f5e12f311da57c84e3fac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba328af5115fbdd1566b9241a0b2adc16668c1d239f5e12f311da57c84e3fac1", kill_on_drop: false }` [INFO] [stdout] ba328af5115fbdd1566b9241a0b2adc16668c1d239f5e12f311da57c84e3fac1 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1f20a2ac6daf0f046854022702a56d97d328c8e8a87f96c5e2a738c9abcb8b8 [INFO] running `Command { std: "docker" "start" "-a" "b1f20a2ac6daf0f046854022702a56d97d328c8e8a87f96c5e2a738c9abcb8b8", kill_on_drop: false }` [INFO] [stderr] Compiling parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/css/parse.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Element` and `element_type` [INFO] [stdout] --> src/css/parse.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | html::{element_type, Element, ElementType}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Property` and `property_type` [INFO] [stdout] --> src/css/mod.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub use crate::css::property::{property_type, Property}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `build_display_list` [INFO] [stdout] --> src/paint/mod.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub use crate::paint::paint::{build_display_list, paint}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/css/ast.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | Err(err) => Value::Keyword(val.to_string()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/css/ast.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | Err(err) => Value::Keyword(val.to_string()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/css/ast.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | Err(err) => Value::Keyword(val.to_string()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/css/ast.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | Err(err) => Value::Keyword(val.to_string()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/css/ast.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | Err(err) => Value::Keyword(val.to_string()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/css/ast.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | Err(err) => Value::Keyword(val.to_string()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/paint/canvas.rs:43:42 [INFO] [stdout] | [INFO] [stdout] 43 | DisplayCommand::FontSubpixel(color, metrics, bitmap) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attribute` is never read [INFO] [stdout] --> src/css/ast.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Selector { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | pub attribute: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Selector` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `xmin` is never read [INFO] [stdout] --> src/font/entity.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FontMetrics { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub xmin: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontBounds` is never constructed [INFO] [stdout] --> src/font/entity.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FontBounds { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontBounds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_element_data` is never used [INFO] [stdout] --> src/paint/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_element_data(layout_box: &LayoutBox) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "b1f20a2ac6daf0f046854022702a56d97d328c8e8a87f96c5e2a738c9abcb8b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1f20a2ac6daf0f046854022702a56d97d328c8e8a87f96c5e2a738c9abcb8b8", kill_on_drop: false }` [INFO] [stdout] b1f20a2ac6daf0f046854022702a56d97d328c8e8a87f96c5e2a738c9abcb8b8