[INFO] fetching crate rdom 0.2.0... [INFO] checking rdom-0.2.0 against master#8c6ce6b91b172f77c795a74bfeaf74b865146b3f for pr-101345 [INFO] extracting crate rdom 0.2.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rdom 0.2.0 on toolchain 8c6ce6b91b172f77c795a74bfeaf74b865146b3f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a51b1e7ab4918e117c7b682dd9f2702e532dad4aba12d7c93e88ea1ab9b7dc4 [INFO] running `Command { std: "docker" "start" "-a" "1a51b1e7ab4918e117c7b682dd9f2702e532dad4aba12d7c93e88ea1ab9b7dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a51b1e7ab4918e117c7b682dd9f2702e532dad4aba12d7c93e88ea1ab9b7dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a51b1e7ab4918e117c7b682dd9f2702e532dad4aba12d7c93e88ea1ab9b7dc4", kill_on_drop: false }` [INFO] [stdout] 1a51b1e7ab4918e117c7b682dd9f2702e532dad4aba12d7c93e88ea1ab9b7dc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f61949c01bade32f38464933d599d41a0d72776a9ee799d93307e6aa11414b0f [INFO] running `Command { std: "docker" "start" "-a" "f61949c01bade32f38464933d599d41a0d72776a9ee799d93307e6aa11414b0f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.33 [INFO] [stderr] Checking thiserror v1.0.33 [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: 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] = note: `#[warn(dead_code)]` on by default [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 function `new` is never used [INFO] [stdout] --> src/named_node_map.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(context: Weak, element: AnyNodeWeak) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `length` is never used [INFO] [stdout] --> src/named_node_map.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `item` is never used [INFO] [stdout] --> src/named_node_map.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn item(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `downgrade` is never used [INFO] [stdout] --> src/node/mod.rs:83:8 [INFO] [stdout] | [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: associated function `to_node_type` is never used [INFO] [stdout] --> src/node/contents.rs:69:31 [INFO] [stdout] | [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: 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: associated function `new_static` is never used [INFO] [stdout] --> src/node_list.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn new_static(context: Weak, elements: Vec) -> Arc { [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: 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] = note: `#[warn(dead_code)]` on by default [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 function `new` is never used [INFO] [stdout] --> src/named_node_map.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(context: Weak, element: AnyNodeWeak) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `length` is never used [INFO] [stdout] --> src/named_node_map.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `item` is never used [INFO] [stdout] --> src/named_node_map.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn item(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `downgrade` is never used [INFO] [stdout] --> src/node/mod.rs:83:8 [INFO] [stdout] | [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: associated function `to_node_type` is never used [INFO] [stdout] --> src/node/contents.rs:69:31 [INFO] [stdout] | [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: 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: associated function `new_static` is never used [INFO] [stdout] --> src/node_list.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn new_static(context: Weak, elements: Vec) -> Arc { [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 [unoptimized + debuginfo] target(s) in 7.62s [INFO] running `Command { std: "docker" "inspect" "f61949c01bade32f38464933d599d41a0d72776a9ee799d93307e6aa11414b0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f61949c01bade32f38464933d599d41a0d72776a9ee799d93307e6aa11414b0f", kill_on_drop: false }` [INFO] [stdout] f61949c01bade32f38464933d599d41a0d72776a9ee799d93307e6aa11414b0f