[INFO] fetching crate rdom 0.1.8... [INFO] checking rdom-0.1.8 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate rdom 0.1.8 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rdom 0.1.8 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rdom 0.1.8 [INFO] finished tweaking crates.io crate rdom 0.1.8 [INFO] tweaked toml for crates.io crate rdom 0.1.8 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 905f0adf7f89d32e83f4fd33f77d68c540107c0a065470d43d5a2637914fcc14 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "905f0adf7f89d32e83f4fd33f77d68c540107c0a065470d43d5a2637914fcc14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "905f0adf7f89d32e83f4fd33f77d68c540107c0a065470d43d5a2637914fcc14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905f0adf7f89d32e83f4fd33f77d68c540107c0a065470d43d5a2637914fcc14", kill_on_drop: false }` [INFO] [stdout] 905f0adf7f89d32e83f4fd33f77d68c540107c0a065470d43d5a2637914fcc14 [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dd38e436c5b38ce50b3365a20d2677742f275cb97ed289b325ca62b1d58156fa [INFO] running `Command { std: "docker" "start" "-a" "dd38e436c5b38ce50b3365a20d2677742f275cb97ed289b325ca62b1d58156fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking rdom v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::config::ScreenMetrics` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::config::ScreenMetrics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::Window` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::window::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnyRawNode`, `private::PrivateAnyRawNode` [INFO] [stdout] --> src/named_node_map.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::node::raw::{element::AnyRawElement, private::PrivateAnyRawNode, AnyRawNode, AttrNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/named_node_map.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub element: Weak, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyRawElement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/named_node_map.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(context: Weak, element: Weak) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyRawElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `downcast_rs::DowncastSync` [INFO] [stdout] --> src/node/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use downcast_rs::DowncastSync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/node/raw/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::DomError` [INFO] [stdout] --> src/node/raw/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::error::DomError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `downcast_rs::DowncastSync` [INFO] [stdout] --> src/node/wrapped/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use downcast_rs::DowncastSync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `element as raw_element` [INFO] [stdout] --> src/node/wrapped/mod.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::node::raw::{self as raw_node, element as raw_element, AnyRawNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self as raw_node` [INFO] [stdout] --> src/node/wrapped/element.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::node::raw::{self as raw_node, element as raw_element, AnyRawNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sandbox::Sandbox` [INFO] [stdout] --> src/node/wrapped/element.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::sandbox::Sandbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::OnceCell` [INFO] [stdout] --> src/sandbox.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::Sync` [INFO] [stdout] --> src/sandbox.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker::Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::node::Document` [INFO] [stdout] --> src/sandbox.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::node::Document; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HtmlBodyElement` [INFO] [stdout] --> src/tests.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::node::raw::element::{HtmlHtmlElement, HtmlBodyElement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::ScreenMetrics` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::config::ScreenMetrics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::Window` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::window::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnyRawNode`, `private::PrivateAnyRawNode` [INFO] [stdout] --> src/named_node_map.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::node::raw::{element::AnyRawElement, private::PrivateAnyRawNode, AnyRawNode, AttrNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/named_node_map.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub element: Weak, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyRawElement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/named_node_map.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(context: Weak, element: Weak) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyRawElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `downcast_rs::DowncastSync` [INFO] [stdout] --> src/node/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use downcast_rs::DowncastSync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/node/raw/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::DomError` [INFO] [stdout] --> src/node/raw/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::error::DomError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `downcast_rs::DowncastSync` [INFO] [stdout] --> src/node/wrapped/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use downcast_rs::DowncastSync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `element as raw_element` [INFO] [stdout] --> src/node/wrapped/mod.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::node::raw::{self as raw_node, element as raw_element, AnyRawNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self as raw_node` [INFO] [stdout] --> src/node/wrapped/element.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::node::raw::{self as raw_node, element as raw_element, AnyRawNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sandbox::Sandbox` [INFO] [stdout] --> src/node/wrapped/element.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::sandbox::Sandbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::OnceCell` [INFO] [stdout] --> src/sandbox.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::Sync` [INFO] [stdout] --> src/sandbox.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker::Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::node::Document` [INFO] [stdout] --> src/sandbox.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::node::Document; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `private::PrivateAnyRawNode` [INFO] [stdout] --> src/node_list.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::node::raw::{private::PrivateAnyRawNode, AnyRawNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sandbox` [INFO] [stdout] --> src/node/wrapped/mod.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let sandbox = self.get_context().upgrade().ok_or_else(|| DomError::SandboxDropped)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sandbox` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `private::PrivateAnyRawNode` [INFO] [stdout] --> src/node_list.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::node::raw::{private::PrivateAnyRawNode, AnyRawNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sandbox` [INFO] [stdout] --> src/node/wrapped/mod.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let sandbox = self.get_context().upgrade().ok_or_else(|| DomError::SandboxDropped)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sandbox` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let text = doc.create_text_node("Hello, world!".to_string()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/window.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut document: Arc = Document::new( [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: field is never read: `parent_node` [INFO] [stdout] --> src/behavior/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | parent_node: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left_sibling` [INFO] [stdout] --> src/behavior/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | left_sibling: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right_sibling` [INFO] [stdout] --> src/behavior/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | right_sibling: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clone_node` [INFO] [stdout] --> src/behavior/mod.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn clone_node(&self) -> Result, DomError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ElementBehavior` [INFO] [stdout] --> src/behavior/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct ElementBehavior { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/behavior/mod.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn new(element: Weak) -> ElementBehavior { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ParentNodeBehavior` [INFO] [stdout] --> src/behavior/mod.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ParentNodeBehavior { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/behavior/mod.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn new(node: Weak) -> ParentNodeBehavior { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/named_node_map.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(context: Weak, element: Weak) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/named_node_map.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `item` [INFO] [stdout] --> src/named_node_map.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn item(&self, index: usize) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/node/wrapped/element.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn new(context: Weak<$crate::sandbox::Sandbox>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | / impl_wrapped_elements! { [INFO] [stdout] 81 | | ( [INFO] [stdout] 82 | | HtmlHtmlElement, [INFO] [stdout] 83 | | raw_element::HtmlHtmlElement, [INFO] [stdout] ... | [INFO] [stdout] 101 | | ) [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/node/wrapped/mod.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn new(context: Weak<$crate::sandbox::Sandbox>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | / impl_wrapped_nodes! { [INFO] [stdout] 91 | | ( [INFO] [stdout] 92 | | TextNode, [INFO] [stdout] 93 | | raw: raw_node::TextNode, [INFO] [stdout] ... | [INFO] [stdout] 115 | | ) [INFO] [stdout] 116 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query_selector` [INFO] [stdout] --> src/node/wrapped/mod.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | fn query_selector(&self, selectors: &str) -> Result, DomError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_static` [INFO] [stdout] --> src/node_list.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn new_static( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Static` [INFO] [stdout] --> src/node_list.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Static(Vec>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/window.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | context: Weak, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/node/raw/element.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arc_new_cyclic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/node/raw/element.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arc_new_cyclic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/window.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut document: Arc = Document::new( [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: field is never read: `parent_node` [INFO] [stdout] --> src/behavior/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | parent_node: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left_sibling` [INFO] [stdout] --> src/behavior/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | left_sibling: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right_sibling` [INFO] [stdout] --> src/behavior/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | right_sibling: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clone_node` [INFO] [stdout] --> src/behavior/mod.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn clone_node(&self) -> Result, DomError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ElementBehavior` [INFO] [stdout] --> src/behavior/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct ElementBehavior { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/behavior/mod.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn new(element: Weak) -> ElementBehavior { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ParentNodeBehavior` [INFO] [stdout] --> src/behavior/mod.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ParentNodeBehavior { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/behavior/mod.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn new(node: Weak) -> ParentNodeBehavior { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/named_node_map.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(context: Weak, element: Weak) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/named_node_map.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `item` [INFO] [stdout] --> src/named_node_map.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn item(&self, index: usize) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/node/wrapped/element.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn new(context: Weak<$crate::sandbox::Sandbox>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | / impl_wrapped_elements! { [INFO] [stdout] 81 | | ( [INFO] [stdout] 82 | | HtmlHtmlElement, [INFO] [stdout] 83 | | raw_element::HtmlHtmlElement, [INFO] [stdout] ... | [INFO] [stdout] 101 | | ) [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/node/wrapped/mod.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn new(context: Weak<$crate::sandbox::Sandbox>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | / impl_wrapped_nodes! { [INFO] [stdout] 91 | | ( [INFO] [stdout] 92 | | TextNode, [INFO] [stdout] 93 | | raw: raw_node::TextNode, [INFO] [stdout] ... | [INFO] [stdout] 115 | | ) [INFO] [stdout] 116 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query_selector` [INFO] [stdout] --> src/node/wrapped/mod.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | fn query_selector(&self, selectors: &str) -> Result, DomError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_static` [INFO] [stdout] --> src/node_list.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn new_static( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Static` [INFO] [stdout] --> src/node_list.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Static(Vec>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/window.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | context: Weak, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/node/raw/element.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arc_new_cyclic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/node/raw/element.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arc_new_cyclic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.74s [INFO] running `Command { std: "docker" "inspect" "dd38e436c5b38ce50b3365a20d2677742f275cb97ed289b325ca62b1d58156fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd38e436c5b38ce50b3365a20d2677742f275cb97ed289b325ca62b1d58156fa", kill_on_drop: false }` [INFO] [stdout] dd38e436c5b38ce50b3365a20d2677742f275cb97ed289b325ca62b1d58156fa