[INFO] fetching crate rdom 0.2.0... [INFO] checking rdom-0.2.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rdom 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate rdom 0.2.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rdom 0.2.0 [INFO] finished tweaking crates.io crate rdom 0.2.0 [INFO] tweaked toml for crates.io crate rdom 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e94853a42f001294adea62239016107ffabdeb61906b9a2daba72948d393b84 [INFO] running `Command { std: "docker" "start" "-a" "7e94853a42f001294adea62239016107ffabdeb61906b9a2daba72948d393b84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e94853a42f001294adea62239016107ffabdeb61906b9a2daba72948d393b84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e94853a42f001294adea62239016107ffabdeb61906b9a2daba72948d393b84", kill_on_drop: false }` [INFO] [stdout] 7e94853a42f001294adea62239016107ffabdeb61906b9a2daba72948d393b84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a625a671600f77cd0eebf160f0ed4983ff51502b5239831995e4c1a8d00f6cc [INFO] running `Command { std: "docker" "start" "-a" "7a625a671600f77cd0eebf160f0ed4983ff51502b5239831995e4c1a8d00f6cc", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rdom v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `arc_new_cyclic` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(arc_new_cyclic)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `arc_new_cyclic` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(arc_new_cyclic)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ElementBehavior` is never used [INFO] [stdout] --> src/behavior/element.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait ElementBehavior {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElementBehaviorStorage` is never constructed [INFO] [stdout] --> src/behavior/element.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ElementBehaviorStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParentBehavior` is never used [INFO] [stdout] --> src/behavior/parent.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait ParentBehavior {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParentBehaviorStorage` is never constructed [INFO] [stdout] --> src/behavior/parent.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ParentBehaviorStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner_width` and `inner_height` are never read [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ScreenMetrics { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | inner_width: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | inner_height: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenMetrics` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `length`, and `item` are never used [INFO] [stdout] --> src/named_node_map.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl NamedNodeMap { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 24 | fn new(context: Weak, element: AnyNodeWeak) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn item(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `downgrade` is never used [INFO] [stdout] --> src/node/mod.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl AnyNodeArc { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 83 | fn downgrade(&self) -> AnyNodeWeak { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_view` is never read [INFO] [stdout] --> src/node/contents.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct DocumentNodeStorage { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 115 | /// Pointer back up to the window [INFO] [stdout] 116 | pub(crate) default_view: Weak, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentNodeStorage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_node_type` is never used [INFO] [stdout] --> src/node/contents.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 68 | impl NodeContentsWeak { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 69 | pub(crate) fn to_node_type(&self) -> NodeType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | / declare_contents! { [INFO] [stdout] 172 | | 1 => Element, [INFO] [stdout] 173 | | 2 => Attribute, [INFO] [stdout] 174 | | 3 => Text, [INFO] [stdout] ... | [INFO] [stdout] 180 | | 9 => DocumentFragment [INFO] [stdout] 181 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `declare_contents` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent_node`, `left_sibling`, and `right_sibling` are never read [INFO] [stdout] --> src/node/graph_storage.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NodeGraphStorage { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | parent_node: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | left_sibling: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | right_sibling: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_static` is never used [INFO] [stdout] --> src/node_list.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl NodeList { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn new_static(context: Weak, elements: Vec) -> Arc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Static` is never constructed [INFO] [stdout] --> src/node_list.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) enum NodeListStorage { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 75 | /// A static list of nodes (e.g. result of Document.query_selector_all(...)) [INFO] [stdout] 76 | Static(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `screen_metrics` is never read [INFO] [stdout] --> src/sandbox.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Sandbox { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 22 | screen_metrics: ScreenMetrics, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sandbox` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ElementBehavior` is never used [INFO] [stdout] --> src/behavior/element.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait ElementBehavior {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElementBehaviorStorage` is never constructed [INFO] [stdout] --> src/behavior/element.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ElementBehaviorStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParentBehavior` is never used [INFO] [stdout] --> src/behavior/parent.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait ParentBehavior {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParentBehaviorStorage` is never constructed [INFO] [stdout] --> src/behavior/parent.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ParentBehaviorStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner_width` and `inner_height` are never read [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ScreenMetrics { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | inner_width: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | inner_height: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenMetrics` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `length`, and `item` are never used [INFO] [stdout] --> src/named_node_map.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl NamedNodeMap { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 24 | fn new(context: Weak, element: AnyNodeWeak) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn item(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `downgrade` is never used [INFO] [stdout] --> src/node/mod.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl AnyNodeArc { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 83 | fn downgrade(&self) -> AnyNodeWeak { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_view` is never read [INFO] [stdout] --> src/node/contents.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct DocumentNodeStorage { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 115 | /// Pointer back up to the window [INFO] [stdout] 116 | pub(crate) default_view: Weak, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentNodeStorage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_node_type` is never used [INFO] [stdout] --> src/node/contents.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 68 | impl NodeContentsWeak { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 69 | pub(crate) fn to_node_type(&self) -> NodeType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | / declare_contents! { [INFO] [stdout] 172 | | 1 => Element, [INFO] [stdout] 173 | | 2 => Attribute, [INFO] [stdout] 174 | | 3 => Text, [INFO] [stdout] ... | [INFO] [stdout] 180 | | 9 => DocumentFragment [INFO] [stdout] 181 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `declare_contents` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent_node`, `left_sibling`, and `right_sibling` are never read [INFO] [stdout] --> src/node/graph_storage.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NodeGraphStorage { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | parent_node: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | left_sibling: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | right_sibling: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_static` is never used [INFO] [stdout] --> src/node_list.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl NodeList { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn new_static(context: Weak, elements: Vec) -> Arc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Static` is never constructed [INFO] [stdout] --> src/node_list.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) enum NodeListStorage { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 75 | /// A static list of nodes (e.g. result of Document.query_selector_all(...)) [INFO] [stdout] 76 | Static(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `screen_metrics` is never read [INFO] [stdout] --> src/sandbox.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Sandbox { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 22 | screen_metrics: ScreenMetrics, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sandbox` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.95s [INFO] running `Command { std: "docker" "inspect" "7a625a671600f77cd0eebf160f0ed4983ff51502b5239831995e4c1a8d00f6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a625a671600f77cd0eebf160f0ed4983ff51502b5239831995e4c1a8d00f6cc", kill_on_drop: false }` [INFO] [stdout] 7a625a671600f77cd0eebf160f0ed4983ff51502b5239831995e4c1a8d00f6cc