[INFO] fetching crate viewy 1.4.12... [INFO] testing viewy-1.4.12 against 1.60.0 for beta-1.61-1 [INFO] extracting crate viewy 1.4.12 into /workspace/builds/worker-52/source [INFO] validating manifest of crates.io crate viewy 1.4.12 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate viewy 1.4.12 [INFO] finished tweaking crates.io crate viewy 1.4.12 [INFO] tweaked toml for crates.io crate viewy 1.4.12 written to /workspace/builds/worker-52/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pipeline v0.5.0 [INFO] [stderr] Downloaded phf v0.9.0 [INFO] [stderr] Downloaded macro-utils v0.1.3 [INFO] [stderr] Downloaded find-crate v0.6.3 [INFO] [stderr] Downloaded markdown v0.3.0 [INFO] [stderr] Downloaded grass v0.10.8 [INFO] [stderr] Downloaded lasso v0.5.1 [INFO] [stderr] Downloaded palette_derive v0.6.0 [INFO] [stderr] Downloaded minifier v0.0.43 [INFO] [stderr] Downloaded codemap v0.1.3 [INFO] [stderr] Downloaded phf_generator v0.9.1 [INFO] [stderr] Downloaded phf_macros v0.9.0 [INFO] [stderr] Downloaded phf_shared v0.9.0 [INFO] [stderr] Downloaded palette v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a40447be35bd83dc8f7fbebd33a9a0fe7be3696801c7a282cb0d88d49bd7b383 [INFO] running `Command { std: "docker" "start" "-a" "a40447be35bd83dc8f7fbebd33a9a0fe7be3696801c7a282cb0d88d49bd7b383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a40447be35bd83dc8f7fbebd33a9a0fe7be3696801c7a282cb0d88d49bd7b383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40447be35bd83dc8f7fbebd33a9a0fe7be3696801c7a282cb0d88d49bd7b383", kill_on_drop: false }` [INFO] [stdout] a40447be35bd83dc8f7fbebd33a9a0fe7be3696801c7a282cb0d88d49bd7b383 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c98ec848d1d872f8d50b07ef43283a966fc2955efacc2fe4765f1c716c4ed89a [INFO] running `Command { std: "docker" "start" "-a" "c98ec848d1d872f8d50b07ef43283a966fc2955efacc2fe4765f1c716c4ed89a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling palette v0.6.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling macro-utils v0.1.3 [INFO] [stderr] Compiling utf8-width v0.1.6 [INFO] [stderr] Compiling codemap v0.1.3 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling pipeline v0.5.0 [INFO] [stderr] Compiling dyn-clone v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling phf_shared v0.9.0 [INFO] [stderr] Compiling html-escape v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling minifier v0.0.43 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling lasso v0.5.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling phf_generator v0.9.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling markdown v0.3.0 [INFO] [stderr] Compiling phf_macros v0.9.0 [INFO] [stderr] Compiling palette_derive v0.6.0 [INFO] [stderr] Compiling phf v0.9.0 [INFO] [stderr] Compiling grass v0.10.8 [INFO] [stderr] Compiling viewy v1.4.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::components::*` [INFO] [stdout] --> src/page.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Child` [INFO] [stdout] --> src/components/view.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::Child; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `View` [INFO] [stdout] --> src/components/titlebar.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::components::{TextStyle, Text, View}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scale` [INFO] [stdout] --> src/components/button.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{DefaultModifiers, scale}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeType` [INFO] [stdout] --> src/components/popover.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::node::{Node, NodeContainer, NodeType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/components/menu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/components/checkbox.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scale` [INFO] [stdout] --> src/components/checkbox.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{DefaultModifiers, scale}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeType` [INFO] [stdout] --> src/components/checkbox.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::node::{Node, NodeContainer, NodeType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/components/avatar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp` [INFO] [stdout] --> src/components/avatar.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{DefaultModifiers, sp}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/components/tag.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/components/tag.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `Appendable`, `HStack` [INFO] [stdout] --> src/components/tag.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::components::{Alignment, Appendable, HStack, Icon, Text, TextStyle}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `HStack` [INFO] [stdout] --> src/components/popup.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::components::{Alignment, Appendable, Button, ButtonStyle, ChildContainer, HStack, View}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp` [INFO] [stdout] --> src/components/file_input.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{DefaultModifiers, Overflow, scale, sp}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChildContainer`, `ObjectFit` [INFO] [stdout] --> src/components/file_input.rs:4:86 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::components::{Alignment, Appendable, Button, ButtonStyle, Card, CardStyle, ChildContainer, HStack, Icon, Image, ObjectFit, Text... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChildContainer`, `HStack` [INFO] [stdout] --> src/components/signature_field.rs:7:86 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::components::{Alignment, Appendable, Button, ButtonStyle, Card, CardStyle, ChildContainer, HStack, Popup, Text, TextStyle, View... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/components/snackbar.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/components/badge.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::node::Node` [INFO] [stdout] --> src/components/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use crate::node::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/engine/renderable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grass` [INFO] [stdout] --> src/engine/renderable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use grass; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/theme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_alternate` [INFO] [stdout] --> src/components/table.rs:166:43 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn alternate_row_color(&mut self, is_alternate: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_alternate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/divider.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut view = self.clone() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/tag.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut icon = Icon::new(icon.as_str()) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/color_picker.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | let mut option_list = View::new() [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dark` [INFO] [stdout] --> src/page.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Dark, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/page.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Light` [INFO] [stdout] --> src/page.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/page.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `menu` [INFO] [stdout] --> src/layouts/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | menu: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/layouts/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bottom_item` [INFO] [stdout] --> src/layouts/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | bottom_item: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/layouts/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `top_item` [INFO] [stdout] --> src/layouts/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | top_item: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/layouts/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `main_menu` [INFO] [stdout] --> src/layouts/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn main_menu(&mut self, menu: Menu) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bottom_item` [INFO] [stdout] --> src/layouts/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn bottom_item(&mut self, item: T) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_item` [INFO] [stdout] --> src/layouts/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn top_item(&mut self, item: T) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/components/button.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Button` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/components/button.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append_child` [INFO] [stdout] --> src/components/button.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn append_child<'a, T>(&'a mut self, child: T) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/components/file_input.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileInput` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/components/file_input.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/components/color_picker.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorPicker` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/components/color_picker.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.57s [INFO] running `Command { std: "docker" "inspect" "c98ec848d1d872f8d50b07ef43283a966fc2955efacc2fe4765f1c716c4ed89a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98ec848d1d872f8d50b07ef43283a966fc2955efacc2fe4765f1c716c4ed89a", kill_on_drop: false }` [INFO] [stdout] c98ec848d1d872f8d50b07ef43283a966fc2955efacc2fe4765f1c716c4ed89a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7b3d3423516cc6bd6de3e7fc5271e2cd0a2c7329113ee5f774cfc37fe0362fc [INFO] running `Command { std: "docker" "start" "-a" "e7b3d3423516cc6bd6de3e7fc5271e2cd0a2c7329113ee5f774cfc37fe0362fc", kill_on_drop: false }` [INFO] [stderr] Compiling viewy v1.4.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::components::*` [INFO] [stdout] --> src/page.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Child` [INFO] [stdout] --> src/components/view.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::Child; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `View` [INFO] [stdout] --> src/components/titlebar.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::components::{TextStyle, Text, View}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scale` [INFO] [stdout] --> src/components/button.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{DefaultModifiers, scale}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeType` [INFO] [stdout] --> src/components/popover.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::node::{Node, NodeContainer, NodeType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/components/menu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/components/checkbox.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scale` [INFO] [stdout] --> src/components/checkbox.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{DefaultModifiers, scale}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeType` [INFO] [stdout] --> src/components/checkbox.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::node::{Node, NodeContainer, NodeType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/components/avatar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp` [INFO] [stdout] --> src/components/avatar.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{DefaultModifiers, sp}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/components/tag.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/components/tag.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `Appendable`, `HStack` [INFO] [stdout] --> src/components/tag.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::components::{Alignment, Appendable, HStack, Icon, Text, TextStyle}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `HStack` [INFO] [stdout] --> src/components/popup.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::components::{Alignment, Appendable, Button, ButtonStyle, ChildContainer, HStack, View}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp` [INFO] [stdout] --> src/components/file_input.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{DefaultModifiers, Overflow, scale, sp}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChildContainer`, `ObjectFit` [INFO] [stdout] --> src/components/file_input.rs:4:86 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::components::{Alignment, Appendable, Button, ButtonStyle, Card, CardStyle, ChildContainer, HStack, Icon, Image, ObjectFit, Text... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChildContainer`, `HStack` [INFO] [stdout] --> src/components/signature_field.rs:7:86 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::components::{Alignment, Appendable, Button, ButtonStyle, Card, CardStyle, ChildContainer, HStack, Popup, Text, TextStyle, View... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/components/snackbar.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/components/badge.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::node::Node` [INFO] [stdout] --> src/components/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use crate::node::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/engine/renderable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grass` [INFO] [stdout] --> src/engine/renderable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use grass; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/theme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_alternate` [INFO] [stdout] --> src/components/table.rs:166:43 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn alternate_row_color(&mut self, is_alternate: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_alternate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/divider.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut view = self.clone() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/tag.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut icon = Icon::new(icon.as_str()) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/color_picker.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | let mut option_list = View::new() [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dark` [INFO] [stdout] --> src/page.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Dark, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/page.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Light` [INFO] [stdout] --> src/page.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/page.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `menu` [INFO] [stdout] --> src/layouts/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | menu: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/layouts/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bottom_item` [INFO] [stdout] --> src/layouts/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | bottom_item: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/layouts/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `top_item` [INFO] [stdout] --> src/layouts/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | top_item: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/layouts/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `main_menu` [INFO] [stdout] --> src/layouts/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn main_menu(&mut self, menu: Menu) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bottom_item` [INFO] [stdout] --> src/layouts/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn bottom_item(&mut self, item: T) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_item` [INFO] [stdout] --> src/layouts/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn top_item(&mut self, item: T) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/components/button.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Button` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/components/button.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append_child` [INFO] [stdout] --> src/components/button.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn append_child<'a, T>(&'a mut self, child: T) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/components/file_input.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileInput` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/components/file_input.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/components/color_picker.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorPicker` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/components/color_picker.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::*` [INFO] [stdout] --> src/page.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Child` [INFO] [stdout] --> src/components/view.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::Child; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `View` [INFO] [stdout] --> src/components/titlebar.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::components::{TextStyle, Text, View}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scale` [INFO] [stdout] --> src/components/button.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{DefaultModifiers, scale}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeType` [INFO] [stdout] --> src/components/popover.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::node::{Node, NodeContainer, NodeType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/components/menu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/components/checkbox.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scale` [INFO] [stdout] --> src/components/checkbox.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{DefaultModifiers, scale}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeType` [INFO] [stdout] --> src/components/checkbox.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::node::{Node, NodeContainer, NodeType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/components/avatar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp` [INFO] [stdout] --> src/components/avatar.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{DefaultModifiers, sp}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/components/tag.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/components/tag.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `Appendable`, `HStack` [INFO] [stdout] --> src/components/tag.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::components::{Alignment, Appendable, HStack, Icon, Text, TextStyle}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `HStack` [INFO] [stdout] --> src/components/popup.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::components::{Alignment, Appendable, Button, ButtonStyle, ChildContainer, HStack, View}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp` [INFO] [stdout] --> src/components/file_input.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{DefaultModifiers, Overflow, scale, sp}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChildContainer`, `ObjectFit` [INFO] [stdout] --> src/components/file_input.rs:4:86 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::components::{Alignment, Appendable, Button, ButtonStyle, Card, CardStyle, ChildContainer, HStack, Icon, Image, ObjectFit, Text... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChildContainer`, `HStack` [INFO] [stdout] --> src/components/signature_field.rs:7:86 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::components::{Alignment, Appendable, Button, ButtonStyle, Card, CardStyle, ChildContainer, HStack, Popup, Text, TextStyle, View... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/components/snackbar.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/components/badge.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::node::Node` [INFO] [stdout] --> src/components/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use crate::node::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/engine/renderable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grass` [INFO] [stdout] --> src/engine/renderable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use grass; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/theme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_alternate` [INFO] [stdout] --> src/components/table.rs:166:43 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn alternate_row_color(&mut self, is_alternate: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_alternate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/divider.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut view = self.clone() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/tag.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut icon = Icon::new(icon.as_str()) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/color_picker.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | let mut option_list = View::new() [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dark` [INFO] [stdout] --> src/page.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Dark, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/page.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Light` [INFO] [stdout] --> src/page.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/page.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `menu` [INFO] [stdout] --> src/layouts/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | menu: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/layouts/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bottom_item` [INFO] [stdout] --> src/layouts/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | bottom_item: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/layouts/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `top_item` [INFO] [stdout] --> src/layouts/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | top_item: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/layouts/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `main_menu` [INFO] [stdout] --> src/layouts/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn main_menu(&mut self, menu: Menu) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bottom_item` [INFO] [stdout] --> src/layouts/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn bottom_item(&mut self, item: T) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_item` [INFO] [stdout] --> src/layouts/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn top_item(&mut self, item: T) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/components/button.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Button` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/components/button.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append_child` [INFO] [stdout] --> src/components/button.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn append_child<'a, T>(&'a mut self, child: T) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/components/file_input.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileInput` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/components/file_input.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/components/color_picker.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorPicker` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/components/color_picker.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.07s [INFO] running `Command { std: "docker" "inspect" "e7b3d3423516cc6bd6de3e7fc5271e2cd0a2c7329113ee5f774cfc37fe0362fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7b3d3423516cc6bd6de3e7fc5271e2cd0a2c7329113ee5f774cfc37fe0362fc", kill_on_drop: false }` [INFO] [stdout] e7b3d3423516cc6bd6de3e7fc5271e2cd0a2c7329113ee5f774cfc37fe0362fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a791fd67e3063313f7faadaf055c5bbc26b323eaf47e7dcb361879c53be68964 [INFO] running `Command { std: "docker" "start" "-a" "a791fd67e3063313f7faadaf055c5bbc26b323eaf47e7dcb361879c53be68964", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::components::*` [INFO] [stderr] --> src/page.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::components::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::process::Child` [INFO] [stderr] --> src/components/view.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::process::Child; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `View` [INFO] [stderr] --> src/components/titlebar.rs:5:42 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::components::{TextStyle, Text, View}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `scale` [INFO] [stderr] --> src/components/button.rs:4:31 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::{DefaultModifiers, scale}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NodeType` [INFO] [stderr] --> src/components/popover.rs:2:40 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::node::{Node, NodeContainer, NodeType}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/components/menu.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/components/checkbox.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `scale` [INFO] [stderr] --> src/components/checkbox.rs:6:31 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::{DefaultModifiers, scale}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NodeType` [INFO] [stderr] --> src/components/checkbox.rs:8:40 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::node::{Node, NodeContainer, NodeType}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/components/avatar.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sp` [INFO] [stderr] --> src/components/avatar.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{DefaultModifiers, sp}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Formatter` [INFO] [stderr] --> src/components/tag.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fmt::{Debug, Formatter}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `dyn_clone::DynClone` [INFO] [stderr] --> src/components/tag.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use dyn_clone::DynClone; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Alignment`, `Appendable`, `HStack` [INFO] [stderr] --> src/components/tag.rs:7:25 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::components::{Alignment, Appendable, HStack, Icon, Text, TextStyle}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Alignment`, `HStack` [INFO] [stderr] --> src/components/popup.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::components::{Alignment, Appendable, Button, ButtonStyle, ChildContainer, HStack, View}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sp` [INFO] [stderr] --> src/components/file_input.rs:3:48 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{DefaultModifiers, Overflow, scale, sp}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ChildContainer`, `ObjectFit` [INFO] [stderr] --> src/components/file_input.rs:4:86 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::components::{Alignment, Appendable, Button, ButtonStyle, Card, CardStyle, ChildContainer, HStack, Icon, Image, ObjectFit, Text... [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ChildContainer`, `HStack` [INFO] [stderr] --> src/components/signature_field.rs:7:86 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::components::{Alignment, Appendable, Button, ButtonStyle, Card, CardStyle, ChildContainer, HStack, Popup, Text, TextStyle, View... [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Borrow` [INFO] [stderr] --> src/components/snackbar.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Formatter` [INFO] [stderr] --> src/components/badge.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fmt::{Debug, Formatter}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::node::Node` [INFO] [stderr] --> src/components/mod.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | use crate::node::Node; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/engine/renderable.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `grass` [INFO] [stderr] --> src/engine/renderable.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use grass; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/theme.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_alternate` [INFO] [stderr] --> src/components/table.rs:166:43 [INFO] [stderr] | [INFO] [stderr] 166 | pub fn alternate_row_color(&mut self, is_alternate: bool) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_alternate` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/components/divider.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | let mut view = self.clone() [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/components/tag.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | let mut icon = Icon::new(icon.as_str()) [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/components/color_picker.rs:123:25 [INFO] [stderr] | [INFO] [stderr] 123 | let mut option_list = View::new() [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Dark` [INFO] [stderr] --> src/page.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | Dark, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/page.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Light` [INFO] [stderr] --> src/page.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | Light, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/page.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `menu` [INFO] [stderr] --> src/layouts/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | menu: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/layouts/mod.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bottom_item` [INFO] [stderr] --> src/layouts/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | bottom_item: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/layouts/mod.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `top_item` [INFO] [stderr] --> src/layouts/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | top_item: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppLayout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/layouts/mod.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `main_menu` [INFO] [stderr] --> src/layouts/mod.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn main_menu(&mut self, menu: Menu) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `bottom_item` [INFO] [stderr] --> src/layouts/mod.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn bottom_item(&mut self, item: T) -> Self [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `top_item` [INFO] [stderr] --> src/layouts/mod.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn top_item(&mut self, item: T) -> Self [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `children` [INFO] [stderr] --> src/components/button.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | children: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Button` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/components/button.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `append_child` [INFO] [stderr] --> src/components/button.rs:125:8 [INFO] [stderr] | [INFO] [stderr] 125 | fn append_child<'a, T>(&'a mut self, child: T) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `children` [INFO] [stderr] --> src/components/file_input.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | children: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileInput` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/components/file_input.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `children` [INFO] [stderr] --> src/components/color_picker.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | children: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ColorPicker` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/components/color_picker.rs:46:10 [INFO] [stderr] | [INFO] [stderr] 46 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `viewy` (lib) generated 40 warnings [INFO] [stderr] warning: `viewy` (lib test) generated 40 warnings (40 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/viewy-4b53dc890934e1a6) [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-28b4532697485549) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test components::avatar::tests::test_different_names ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test create_view ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests viewy [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/components/button.rs - components::button::Button (line 19) ... FAILED [INFO] [stdout] test src/components/mod.rs - components::Appendable::append_child (line 74) ... FAILED [INFO] [stdout] test src/components/button.rs - components::button::Button::attach_to_form (line 87) ... FAILED [INFO] [stdout] test src/components/mod.rs - components::Appendable::prepend_child (line 89) ... FAILED [INFO] [stdout] test src/engine/assets.rs - engine::assets::Assets (line 107) ... FAILED [INFO] [stdout] test src/components/picker.rs - components::picker::Picker::attach_to_form (line 75) ... FAILED [INFO] [stdout] test src/engine/assets.rs - engine::assets::Assets (line 94) ... FAILED [INFO] [stdout] test src/page.rs - page::Page (line 88) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/components/button.rs - components::button::Button (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonStyle` [INFO] [stdout] --> src/components/button.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 3 | Button::new("Label", ButtonStyle::Filled) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ButtonStyle` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/components/button.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 3 | Button::new("Label", ButtonStyle::Filled) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use viewy::components::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/mod.rs - components::Appendable::append_child (line 74) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `View` [INFO] [stdout] --> src/components/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 3 | View::new() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use viewy::components::View; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `View` [INFO] [stdout] --> src/components/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 5 | View::new() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use viewy::components::View; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/button.rs - components::button::Button::attach_to_form (line 87) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonStyle` [INFO] [stdout] --> src/components/button.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 8 | Button::new("Submit", ButtonStyle::Filled) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ButtonStyle` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `View` [INFO] [stdout] --> src/components/button.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 3 | View::new() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use viewy::components::View; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Form` [INFO] [stdout] --> src/components/button.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 5 | Form::new("formName", "/") [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use viewy::components::Form; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/components/button.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 8 | Button::new("Submit", ButtonStyle::Filled) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use viewy::components::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/mod.rs - components::Appendable::prepend_child (line 89) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `View` [INFO] [stdout] --> src/components/mod.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 3 | View::new() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use viewy::components::View; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `View` [INFO] [stdout] --> src/components/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 5 | View::new() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use viewy::components::View; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/engine/assets.rs - engine::assets::Assets (line 107) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> src/engine/assets.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 3 | rocket::ignite() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> src/engine/assets.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 4 | .manage(rocket::Assets::new()) [INFO] [stdout] | ^^^^^^ not found in `rocket` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use viewy::engine::Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/picker.rs - components::picker::Picker::attach_to_form (line 75) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonStyle` [INFO] [stdout] --> src/components/picker.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 8 | Button::new("Submit", ButtonStyle::Filled) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ButtonStyle` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `View` [INFO] [stdout] --> src/components/picker.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 3 | View::new() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use viewy::components::View; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Form` [INFO] [stdout] --> src/components/picker.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 5 | Form::new("formName", "/") [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use viewy::components::Form; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/components/picker.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 8 | Button::new("Submit", ButtonStyle::Filled) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use viewy::components::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/engine/assets.rs - engine::assets::Assets (line 94) stdout ---- [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/engine/assets.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[get("/app.js")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/engine/assets.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[get("/app.css")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> src/engine/assets.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 6 | fn get_stylesheet(assets: rocket::State) -> Css { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> src/engine/assets.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_scripts(assets: rocket::State) -> JavaScript { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Css` in this scope [INFO] [stdout] --> src/engine/assets.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 6 | fn get_stylesheet(assets: rocket::State) -> Css { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Css` in this scope [INFO] [stdout] --> src/engine/assets.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 7 | Css(assets.inner().clone().stylesheet) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JavaScript` in this scope [INFO] [stdout] --> src/engine/assets.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_scripts(assets: rocket::State) -> JavaScript { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `JavaScript` in this scope [INFO] [stdout] --> src/engine/assets.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 12 | JavaScript(assets.inner().clone().script) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/page.rs - page::Page (line 88) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `layout` [INFO] [stdout] --> src/page.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 5 | Page::new("Page name", layout::Default, { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `layout` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Page` [INFO] [stdout] --> src/page.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 5 | Page::new("Page name", layout::Default, { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use viewy::Page; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `View` [INFO] [stdout] --> src/page.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 6 | View::new() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use viewy::components::View; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/components/button.rs - components::button::Button (line 19) [INFO] [stdout] src/components/button.rs - components::button::Button::attach_to_form (line 87) [INFO] [stdout] src/components/mod.rs - components::Appendable::append_child (line 74) [INFO] [stdout] src/components/mod.rs - components::Appendable::prepend_child (line 89) [INFO] [stdout] src/components/picker.rs - components::picker::Picker::attach_to_form (line 75) [INFO] [stdout] src/engine/assets.rs - engine::assets::Assets (line 107) [INFO] [stdout] src/engine/assets.rs - engine::assets::Assets (line 94) [INFO] [stdout] src/page.rs - page::Page (line 88) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "a791fd67e3063313f7faadaf055c5bbc26b323eaf47e7dcb361879c53be68964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a791fd67e3063313f7faadaf055c5bbc26b323eaf47e7dcb361879c53be68964", kill_on_drop: false }` [INFO] [stdout] a791fd67e3063313f7faadaf055c5bbc26b323eaf47e7dcb361879c53be68964