[INFO] cloning repository https://github.com/fizx/slay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fizx/slay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffizx%2Fslay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffizx%2Fslay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c1331e40b0c54068d27b3f4e69ccdbbb35dec09 [INFO] checking fizx/slay against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffizx%2Fslay" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fizx/slay on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fizx/slay [INFO] finished tweaking git repo https://github.com/fizx/slay [INFO] tweaked toml for git repo https://github.com/fizx/slay written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fizx/slay 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0514e43cb7593ee8526441532d4d33cad93d371745eac3e94ca14da6d72b2b2 [INFO] running `Command { std: "docker" "start" "-a" "b0514e43cb7593ee8526441532d4d33cad93d371745eac3e94ca14da6d72b2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0514e43cb7593ee8526441532d4d33cad93d371745eac3e94ca14da6d72b2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0514e43cb7593ee8526441532d4d33cad93d371745eac3e94ca14da6d72b2b2", kill_on_drop: false }` [INFO] [stdout] b0514e43cb7593ee8526441532d4d33cad93d371745eac3e94ca14da6d72b2b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] befeb825dd55e89c1ceeee027680aa45d30d63ad3512103756fba8f12e268114 [INFO] running `Command { std: "docker" "start" "-a" "befeb825dd55e89c1ceeee027680aa45d30d63ad3512103756fba8f12e268114", kill_on_drop: false }` [INFO] [stderr] Checking slay v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/node.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compute_layout(&mut self, context: &context::Context) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/context.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has a derived impl for the trait `Clone`, 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: associated items `new`, `as_minimum`, `child_context`, `pixelize_width`, and `pixelize_height` are never used [INFO] [stdout] --> src/context.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Context { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 17 | pub fn new(root_width: FixedScalar, root_height: FixedScalar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn as_minimum(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn child_context(&self, node: &Node) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn pixelize_width(&self, value: Scalar) -> FixedScalar { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn pixelize_height(&self, value: Scalar) -> FixedScalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_node_fixture` is never used [INFO] [stdout] --> src/fixtures.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn single_node_fixture() -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vertical_stack_fixture` is never used [INFO] [stdout] --> src/fixtures.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn vertical_stack_fixture() -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `horizontal_stack_fixture` is never used [INFO] [stdout] --> src/fixtures.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn horizontal_stack_fixture() -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nested_layout_fixture` is never used [INFO] [stdout] --> src/fixtures.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn nested_layout_fixture() -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vertical_stretch_layout_fixture` is never used [INFO] [stdout] --> src/fixtures.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn vertical_stretch_layout_fixture() -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `children`, `style`, `computed`, `min_size`, `dirty`, and `measure` are never read [INFO] [stdout] --> src/node.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | pub children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub style: Style, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub computed: Rectangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | min_size: Size, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | dirty: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | measure: Option Size>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compute_layout`, `minimum_size`, `compute_self`, and `compute_size` are never used [INFO] [stdout] --> src/node.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 15 | pub fn compute_layout(&mut self, context: &context::Context) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn minimum_size(&mut self, context: &context::Context) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn compute_self(&mut self) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn compute_size(&mut self, context: context::Context) -> Size { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/node.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn add_child(mut self, child: Node) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn remove_child(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_child(&self, index: usize) -> Option<&Node> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_child_mut(&mut self, index: usize) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn set_style(&mut self, style: Style) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn set_measure(&mut self, measure: Box Size>) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn mark_dirty(&mut self, deep: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/node.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 156 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn width(mut self, width: Scalar) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn height(mut self, height: Scalar) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn min_width(mut self, min_width: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn max_width(mut self, max_width: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn min_height(mut self, min_height: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn max_height(mut self, max_height: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn padding(mut self, padding: FixedScalar) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn gap(mut self, gap: FixedScalar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn align(mut self, align: Align) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn anchor(mut self, anchor: Align) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn direction(mut self, direction: Direction) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/style.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Style { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 4 | pub width: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub height: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub min_width: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub max_width: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pub min_height: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub max_height: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | pub padding: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub gap: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub align: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub anchor: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/style.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Style { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn width(mut self, width: Scalar) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn height(mut self, height: Scalar) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn min_width(mut self, min_width: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn max_width(mut self, max_width: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn min_height(mut self, min_height: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn max_height(mut self, max_height: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn padding(mut self, padding: FixedScalar) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn gap(mut self, gap: FixedScalar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn align(mut self, align: Align) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn anchor(mut self, anchor: Align) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn direction(mut self, direction: Direction) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Px`, `Vh`, `Vw`, and `Percent` are never constructed [INFO] [stdout] --> src/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ScalarUnit { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 3 | Px, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | Vh, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | Vw, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | Percent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarUnit` 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: variants `X` and `Z` are never constructed [INFO] [stdout] --> src/types.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 11 | X, [INFO] [stdout] | ^ [INFO] [stdout] 12 | Y, [INFO] [stdout] 13 | Z, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` 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: variants `Start`, `Center`, `End`, and `Wide` are never constructed [INFO] [stdout] --> src/types.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum HAlign { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 21 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Wide, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HAlign` 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: variants `Top`, `Center`, `Bottom`, and `Tall` are never constructed [INFO] [stdout] --> src/types.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum VAlign { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 29 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | Tall, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VAlign` 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: variants `HAlign`, `VAlign`, and `Both` are never constructed [INFO] [stdout] --> src/types.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum Align { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 37 | HAlign(HAlign), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | VAlign(VAlign), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | Both(HAlign, VAlign), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Align` 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: unused variable: `context` [INFO] [stdout] --> src/node.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compute_layout(&mut self, context: &context::Context) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/types.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Rectangle { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn new(x: FixedScalar, y: FixedScalar, width: FixedScalar, height: FixedScalar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add` are never used [INFO] [stdout] --> src/types.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Size { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn new(width: FixedScalar, height: FixedScalar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn add(self, other: Self, direction: Direction) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `desired_width` and `desired_height` are never read [INFO] [stdout] --> src/context.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) desired_width: FixedScalar, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub(crate) desired_height: FixedScalar, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has a derived impl for the trait `Clone`, 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: function `single_node_fixture` is never used [INFO] [stdout] --> src/fixtures.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn single_node_fixture() -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vertical_stack_fixture` is never used [INFO] [stdout] --> src/fixtures.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn vertical_stack_fixture() -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `horizontal_stack_fixture` is never used [INFO] [stdout] --> src/fixtures.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn horizontal_stack_fixture() -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compute_layout` and `compute_self` are never used [INFO] [stdout] --> src/node.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 15 | pub fn compute_layout(&mut self, context: &context::Context) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn compute_self(&mut self) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_child`, `get_child`, `get_child_mut`, `set_style`, `set_measure`, and `mark_dirty` are never used [INFO] [stdout] --> src/node.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn remove_child(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_child(&self, index: usize) -> Option<&Node> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_child_mut(&mut self, index: usize) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn set_style(&mut self, style: Style) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn set_measure(&mut self, measure: Box Size>) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn mark_dirty(&mut self, deep: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/node.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 156 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn min_width(mut self, min_width: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn max_width(mut self, max_width: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn min_height(mut self, min_height: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn max_height(mut self, max_height: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn padding(mut self, padding: FixedScalar) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn gap(mut self, gap: FixedScalar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn align(mut self, align: Align) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn anchor(mut self, anchor: Align) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn direction(mut self, direction: Direction) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `align` and `anchor` are never read [INFO] [stdout] --> src/style.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Style { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub align: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub anchor: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/style.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Style { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn min_width(mut self, min_width: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn max_width(mut self, max_width: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn min_height(mut self, min_height: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn max_height(mut self, max_height: Scalar) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn padding(mut self, padding: FixedScalar) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn gap(mut self, gap: FixedScalar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn align(mut self, align: Align) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn anchor(mut self, anchor: Align) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn direction(mut self, direction: Direction) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `X` and `Z` are never constructed [INFO] [stdout] --> src/types.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 11 | X, [INFO] [stdout] | ^ [INFO] [stdout] 12 | Y, [INFO] [stdout] 13 | Z, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` 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: variants `Start`, `Center`, `End`, and `Wide` are never constructed [INFO] [stdout] --> src/types.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum HAlign { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 21 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Wide, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HAlign` 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: variants `Top`, `Center`, `Bottom`, and `Tall` are never constructed [INFO] [stdout] --> src/types.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum VAlign { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 29 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | Tall, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VAlign` 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: variants `HAlign`, `VAlign`, and `Both` are never constructed [INFO] [stdout] --> src/types.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum Align { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 37 | HAlign(HAlign), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | VAlign(VAlign), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | Both(HAlign, VAlign), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Align` 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: associated function `new` is never used [INFO] [stdout] --> src/types.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Rectangle { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn new(x: FixedScalar, y: FixedScalar, width: FixedScalar, height: FixedScalar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/types.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Size { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn new(width: FixedScalar, height: FixedScalar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "befeb825dd55e89c1ceeee027680aa45d30d63ad3512103756fba8f12e268114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "befeb825dd55e89c1ceeee027680aa45d30d63ad3512103756fba8f12e268114", kill_on_drop: false }` [INFO] [stdout] befeb825dd55e89c1ceeee027680aa45d30d63ad3512103756fba8f12e268114