[INFO] cloning repository https://github.com/Bleksak/esvega [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bleksak/esvega" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBleksak%2Fesvega", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBleksak%2Fesvega'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7a44431e8adaea3a4df24ea87f91adc708a4c77 [INFO] checking Bleksak/esvega against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBleksak%2Fesvega" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Bleksak/esvega [INFO] finished tweaking git repo https://github.com/Bleksak/esvega [INFO] tweaked toml for git repo https://github.com/Bleksak/esvega written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Bleksak/esvega on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Bleksak/esvega 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07f6b5ea2efd1318b4d65c2d73843ef75322ee082d629dae6f90f1e5c3cf7c4c [INFO] running `Command { std: "docker" "start" "-a" "07f6b5ea2efd1318b4d65c2d73843ef75322ee082d629dae6f90f1e5c3cf7c4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07f6b5ea2efd1318b4d65c2d73843ef75322ee082d629dae6f90f1e5c3cf7c4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f6b5ea2efd1318b4d65c2d73843ef75322ee082d629dae6f90f1e5c3cf7c4c", kill_on_drop: false }` [INFO] [stdout] 07f6b5ea2efd1318b4d65c2d73843ef75322ee082d629dae6f90f1e5c3cf7c4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e830a2c6f51d9512e53d525bf5a572f997ef44085765e1c460efbdb2d39bb498 [INFO] running `Command { std: "docker" "start" "-a" "e830a2c6f51d9512e53d525bf5a572f997ef44085765e1c460efbdb2d39bb498", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Checking esvega v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `discrete` should have an upper camel case name [INFO] [stdout] --> src/element/attributes/animation.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | discrete, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Discrete` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `linear` should have an upper camel case name [INFO] [stdout] --> src/element/attributes/animation.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | linear, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Linear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `slope` should have an upper camel case name [INFO] [stdout] --> src/element/attributes/animation.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | slope, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Slope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `spline` should have an upper camel case name [INFO] [stdout] --> src/element/attributes/animation.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | spline, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Spline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AbsoluteLength` and `Length` [INFO] [stdout] --> src/element/attributes/path.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::element::types::{AbsoluteLength, Length}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::Infallible` [INFO] [stdout] --> src/element/attributes/presentation.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{convert::Infallible, fmt, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AbsoluteLength`, `FontWeight`, and `lang::LanguageTag` [INFO] [stdout] --> src/element/attributes/presentation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | lang::LanguageTag, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | types::{ [INFO] [stdout] 6 | AbsoluteLength, AbsoluteSize, Color, FontWeight, Length, LengthOrPercentage, Paint, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `discrete` should have an upper camel case name [INFO] [stdout] --> src/element/attributes/animation.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | discrete, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Discrete` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `linear` should have an upper camel case name [INFO] [stdout] --> src/element/attributes/animation.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | linear, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Linear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `slope` should have an upper camel case name [INFO] [stdout] --> src/element/attributes/animation.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | slope, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Slope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `spline` should have an upper camel case name [INFO] [stdout] --> src/element/attributes/animation.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | spline, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Spline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AbsoluteLength` and `Length` [INFO] [stdout] --> src/element/attributes/path.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::element::types::{AbsoluteLength, Length}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::Infallible` [INFO] [stdout] --> src/element/attributes/presentation.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{convert::Infallible, fmt, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AbsoluteLength`, `FontWeight`, and `lang::LanguageTag` [INFO] [stdout] --> src/element/attributes/presentation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | lang::LanguageTag, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | types::{ [INFO] [stdout] 6 | AbsoluteLength, AbsoluteSize, Color, FontWeight, Length, LengthOrPercentage, Paint, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Percentage` [INFO] [stdout] --> src/parser/ast.rs:1030:60 [INFO] [stdout] | [INFO] [stdout] 1030 | use crate::element::types::{Color, Paint as TypePaint, Percentage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/ast.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 916 | let mut new_element = Element { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_children_mut` is never used [INFO] [stdout] --> src/parser/ast.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl AST { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 450 | fn get_children_mut(&mut self, id: NodeId) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Angle` is never constructed [INFO] [stdout] --> src/svg/types/angle.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Angle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `unit` are never read [INFO] [stdout] --> src/svg/types/angle.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Angle { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | value: Number, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | unit: Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Boolean` is never constructed [INFO] [stdout] --> src/svg/types/basic.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Boolean(bool); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Integer` is never constructed [INFO] [stdout] --> src/svg/types/basic.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Integer(i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Number` is never constructed [INFO] [stdout] --> src/svg/types/basic.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Number(f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `SvgString` is never constructed [INFO] [stdout] --> src/svg/types/basic.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SvgString(String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/svg/types/basic.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Boolean(bool); [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/svg/types/basic.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Integer(i64); [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/svg/types/basic.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Number(f64); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/svg/types/basic.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SvgString(String); [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Length` is never constructed [INFO] [stdout] --> src/svg/types/length.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Length { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Percentage` is never constructed [INFO] [stdout] --> src/svg/types/length.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Percentage(Number); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `unit` are never read [INFO] [stdout] --> src/svg/types/length.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Length { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | value: Number, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | unit: Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/svg/types/length.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Percentage(Number); [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `esvega` (lib) due to 7 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/ast.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 916 | let mut new_element = Element { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/ast.rs:1243:13 [INFO] [stdout] | [INFO] [stdout] 1243 | let mut ast = build_sample_svg(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `svg_id` [INFO] [stdout] --> src/parser/ast.rs:1274:13 [INFO] [stdout] | [INFO] [stdout] 1274 | let svg_id = ast.children[0]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_svg_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_len` [INFO] [stdout] --> src/parser/ast.rs:1674:13 [INFO] [stdout] | [INFO] [stdout] 1674 | let initial_len = { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_children_mut` is never used [INFO] [stdout] --> src/parser/ast.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl AST { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 450 | fn get_children_mut(&mut self, id: NodeId) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Angle` is never constructed [INFO] [stdout] --> src/svg/types/angle.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Angle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `unit` are never read [INFO] [stdout] --> src/svg/types/angle.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Angle { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | value: Number, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | unit: Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Boolean` is never constructed [INFO] [stdout] --> src/svg/types/basic.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Boolean(bool); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Integer` is never constructed [INFO] [stdout] --> src/svg/types/basic.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Integer(i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Number` is never constructed [INFO] [stdout] --> src/svg/types/basic.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Number(f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `SvgString` is never constructed [INFO] [stdout] --> src/svg/types/basic.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SvgString(String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/svg/types/basic.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Boolean(bool); [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/svg/types/basic.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Integer(i64); [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/svg/types/basic.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Number(f64); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/svg/types/basic.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SvgString(String); [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Length` is never constructed [INFO] [stdout] --> src/svg/types/length.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Length { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Percentage` is never constructed [INFO] [stdout] --> src/svg/types/length.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Percentage(Number); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `unit` are never read [INFO] [stdout] --> src/svg/types/length.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Length { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | value: Number, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | unit: Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/svg/types/length.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Percentage(Number); [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `esvega` (lib test) due to 7 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e830a2c6f51d9512e53d525bf5a572f997ef44085765e1c460efbdb2d39bb498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e830a2c6f51d9512e53d525bf5a572f997ef44085765e1c460efbdb2d39bb498", kill_on_drop: false }` [INFO] [stdout] e830a2c6f51d9512e53d525bf5a572f997ef44085765e1c460efbdb2d39bb498