[INFO] fetching crate viewy 0.4.0... [INFO] testing viewy-0.4.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate viewy 0.4.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate viewy 0.4.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate viewy 0.4.0 [INFO] finished tweaking crates.io crate viewy 0.4.0 [INFO] tweaked toml for crates.io crate viewy 0.4.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dc570048574d0aeb1cf918512e9592d214da2d960ccedcb335477d2da374ee4 [INFO] running `Command { std: "docker" "start" "-a" "9dc570048574d0aeb1cf918512e9592d214da2d960ccedcb335477d2da374ee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dc570048574d0aeb1cf918512e9592d214da2d960ccedcb335477d2da374ee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dc570048574d0aeb1cf918512e9592d214da2d960ccedcb335477d2da374ee4", kill_on_drop: false }` [INFO] [stdout] 9dc570048574d0aeb1cf918512e9592d214da2d960ccedcb335477d2da374ee4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec005c467620106c12fc4366fd39f4ce0b2b7b427cae92e4066f892257f2d6f1 [INFO] running `Command { std: "docker" "start" "-a" "ec005c467620106c12fc4366fd39f4ce0b2b7b427cae92e4066f892257f2d6f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling codemap v0.1.3 [INFO] [stderr] Compiling pipeline v0.5.0 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling utf8-width v0.1.5 [INFO] [stderr] Compiling macro-utils v0.1.3 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling phf_shared v0.9.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling html-escape v0.2.9 [INFO] [stderr] Compiling minifier v0.0.41 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling lasso v0.5.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling phf_generator v0.9.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling markdown v0.3.0 [INFO] [stderr] Compiling phf_macros v0.9.0 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling phf v0.9.0 [INFO] [stderr] Compiling grass v0.10.6 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling viewy v0.4.0 (/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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/page.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | layout: &'a Fn(Box) -> Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Box) -> Box` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/page.rs:105:65 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(name: &str, layout: &'a Fn(Box) -> Box, content: C) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Box) -> Box` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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: `Button` [INFO] [stdout] --> src/components/textfield.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::components::{View, TextStyle, Text, Button}; [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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeType` [INFO] [stdout] --> src/components/checkbox.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::node::{Node, NodeContainer, NodeType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scale` [INFO] [stdout] --> src/components/checkbox.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{DefaultModifiers, scale}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/components/checkbox.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/components/avatar.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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 imports: `Appendable`, `ChildContainer` [INFO] [stdout] --> src/components/file_input.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::components::{Appendable, ChildContainer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::node::Node` [INFO] [stdout] --> src/components/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | 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: 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/file_input.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut file_input = self.clone() [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] [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] [INFO] [stdout] warning: associated function is never used: `append_child` [INFO] [stdout] --> src/components/button.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn append_child<'a, T>(&'a mut self, child: T) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.12s [INFO] running `Command { std: "docker" "inspect" "ec005c467620106c12fc4366fd39f4ce0b2b7b427cae92e4066f892257f2d6f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec005c467620106c12fc4366fd39f4ce0b2b7b427cae92e4066f892257f2d6f1", kill_on_drop: false }` [INFO] [stdout] ec005c467620106c12fc4366fd39f4ce0b2b7b427cae92e4066f892257f2d6f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec2a710945d4392f1d87365b4e66c053aec8a34cbc48882ca8000d19ce7b9c51 [INFO] running `Command { std: "docker" "start" "-a" "ec2a710945d4392f1d87365b4e66c053aec8a34cbc48882ca8000d19ce7b9c51", kill_on_drop: false }` [INFO] [stderr] Compiling viewy v0.4.0 (/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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/page.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | layout: &'a Fn(Box) -> Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Box) -> Box` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/page.rs:105:65 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(name: &str, layout: &'a Fn(Box) -> Box, content: C) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Box) -> Box` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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: `Button` [INFO] [stdout] --> src/components/textfield.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::components::{View, TextStyle, Text, Button}; [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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeType` [INFO] [stdout] --> src/components/checkbox.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::node::{Node, NodeContainer, NodeType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scale` [INFO] [stdout] --> src/components/checkbox.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{DefaultModifiers, scale}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/components/checkbox.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/components/avatar.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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 imports: `Appendable`, `ChildContainer` [INFO] [stdout] --> src/components/file_input.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::components::{Appendable, ChildContainer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::node::Node` [INFO] [stdout] --> src/components/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | 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: 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/file_input.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut file_input = self.clone() [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] [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] [INFO] [stdout] warning: associated function is never used: `append_child` [INFO] [stdout] --> src/components/button.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn append_child<'a, T>(&'a mut self, child: T) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/page.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | layout: &'a Fn(Box) -> Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Box) -> Box` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/page.rs:105:65 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(name: &str, layout: &'a Fn(Box) -> Box, content: C) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Box) -> Box` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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: `Button` [INFO] [stdout] --> src/components/textfield.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::components::{View, TextStyle, Text, Button}; [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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeType` [INFO] [stdout] --> src/components/checkbox.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::node::{Node, NodeContainer, NodeType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scale` [INFO] [stdout] --> src/components/checkbox.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{DefaultModifiers, scale}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/components/checkbox.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/components/avatar.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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 imports: `Appendable`, `ChildContainer` [INFO] [stdout] --> src/components/file_input.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::components::{Appendable, ChildContainer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::node::Node` [INFO] [stdout] --> src/components/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | 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: 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/file_input.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut file_input = self.clone() [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] [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] [INFO] [stdout] warning: associated function is never used: `append_child` [INFO] [stdout] --> src/components/button.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn append_child<'a, T>(&'a mut self, child: T) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.40s [INFO] running `Command { std: "docker" "inspect" "ec2a710945d4392f1d87365b4e66c053aec8a34cbc48882ca8000d19ce7b9c51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec2a710945d4392f1d87365b4e66c053aec8a34cbc48882ca8000d19ce7b9c51", kill_on_drop: false }` [INFO] [stdout] ec2a710945d4392f1d87365b4e66c053aec8a34cbc48882ca8000d19ce7b9c51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f6eb70c1be06a3dcda2db1850b489462dbf2d19d9912e2ac7f60acb5cc3a7cf0 [INFO] running `Command { std: "docker" "start" "-a" "f6eb70c1be06a3dcda2db1850b489462dbf2d19d9912e2ac7f60acb5cc3a7cf0", 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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/page.rs:99:17 [INFO] [stderr] | [INFO] [stderr] 99 | layout: &'a Fn(Box) -> Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Box) -> Box` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/page.rs:105:65 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn new(name: &str, layout: &'a Fn(Box) -> Box, content: C) -> Self [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Box) -> Box` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [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: `Button` [INFO] [stderr] --> src/components/textfield.rs:5:48 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::components::{View, TextStyle, Text, Button}; [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:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NodeType` [INFO] [stderr] --> src/components/checkbox.rs:1:40 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::node::{Node, NodeContainer, NodeType}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `scale` [INFO] [stderr] --> src/components/checkbox.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{DefaultModifiers, scale}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/components/checkbox.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/components/avatar.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | 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 imports: `Appendable`, `ChildContainer` [INFO] [stderr] --> src/components/file_input.rs:5:25 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::components::{Appendable, ChildContainer}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::node::Node` [INFO] [stderr] --> src/components/mod.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | 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: 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/file_input.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let mut file_input = self.clone() [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] [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] warning: associated function is never used: `append_child` [INFO] [stderr] --> src/components/button.rs:108:8 [INFO] [stderr] | [INFO] [stderr] 108 | fn append_child<'a, T>(&'a mut self, child: T) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `viewy` (lib) generated 24 warnings [INFO] [stderr] warning: `viewy` (lib test) generated 24 warnings (24 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/viewy-a1327fccb91c8d56) [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-aca3133e512b20e5) [INFO] [stdout] [INFO] [stderr] Doc-tests viewy [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/components/mod.rs - components::Appendable::append_child (line 61) ... FAILED [INFO] [stdout] test src/engine/assets.rs - engine::assets::Assets (line 80) ... FAILED [INFO] [stdout] test src/components/mod.rs - components::Appendable::prepend_child (line 76) ... FAILED [INFO] [stdout] test src/components/button.rs - components::button::Button (line 17) ... FAILED [INFO] [stdout] test src/page.rs - page::Page (line 88) ... FAILED [INFO] [stdout] test src/components/button.rs - components::button::Button::attach_to_form (line 80) ... FAILED [INFO] [stdout] test src/engine/assets.rs - engine::assets::Assets (line 67) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/components/mod.rs - components::Appendable::append_child (line 61) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `View` [INFO] [stdout] --> src/components/mod.rs:62: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:64: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 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> src/engine/assets.rs:81: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:82: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/mod.rs - components::Appendable::prepend_child (line 76) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `View` [INFO] [stdout] --> src/components/mod.rs:77: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:79: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 (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonStyle` [INFO] [stdout] --> src/components/button.rs:18: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:18: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/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[E0603]: module `page` is private [INFO] [stdout] --> src/page.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 4 | use viewy::page::RenderMode; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `page` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | mod page; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0603. [INFO] [stdout] For more information about an 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 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonStyle` [INFO] [stdout] --> src/components/button.rs:86: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:81: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:83: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:86: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 67) stdout ---- [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/engine/assets.rs:74: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:69: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:70: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:75: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:70: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:71: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:75: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:76: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] [INFO] [stdout] failures: [INFO] [stdout] src/components/button.rs - components::button::Button (line 17) [INFO] [stdout] src/components/button.rs - components::button::Button::attach_to_form (line 80) [INFO] [stdout] src/components/mod.rs - components::Appendable::append_child (line 61) [INFO] [stdout] src/components/mod.rs - components::Appendable::prepend_child (line 76) [INFO] [stdout] src/engine/assets.rs - engine::assets::Assets (line 67) [INFO] [stdout] src/engine/assets.rs - engine::assets::Assets (line 80) [INFO] [stdout] src/page.rs - page::Page (line 88) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f6eb70c1be06a3dcda2db1850b489462dbf2d19d9912e2ac7f60acb5cc3a7cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6eb70c1be06a3dcda2db1850b489462dbf2d19d9912e2ac7f60acb5cc3a7cf0", kill_on_drop: false }` [INFO] [stdout] f6eb70c1be06a3dcda2db1850b489462dbf2d19d9912e2ac7f60acb5cc3a7cf0