[INFO] fetching crate dioxus-core 0.1.0... [INFO] checking dioxus-core-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate dioxus-core 0.1.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate dioxus-core 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dioxus-core 0.1.0 [INFO] finished tweaking crates.io crate dioxus-core 0.1.0 [INFO] tweaked toml for crates.io crate dioxus-core 0.1.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate dioxus-core 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81ff3572711623b4496e81a98835cc143a6eb2db38aa63358e0d3892131dbbff [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" "81ff3572711623b4496e81a98835cc143a6eb2db38aa63358e0d3892131dbbff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81ff3572711623b4496e81a98835cc143a6eb2db38aa63358e0d3892131dbbff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81ff3572711623b4496e81a98835cc143a6eb2db38aa63358e0d3892131dbbff", kill_on_drop: false }` [INFO] [stdout] 81ff3572711623b4496e81a98835cc143a6eb2db38aa63358e0d3892131dbbff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8230691fc38055bea57475c8b14901db47cd65c2208d67860246ea8747d789e0 [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" "8230691fc38055bea57475c8b14901db47cd65c2208d67860246ea8747d789e0", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking generational-arena v0.2.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling dioxus-html-macro v0.1.0 [INFO] [stderr] Checking dioxus-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:859:13 [INFO] [stdout] | [INFO] [stdout] 859 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/lib.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new_with_props(root: FC) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:448:27 [INFO] [stdout] | [INFO] [stdout] 448 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:465:27 [INFO] [stdout] | [INFO] [stdout] 465 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/lib.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new_with_props(root: FC) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:448:27 [INFO] [stdout] | [INFO] [stdout] 448 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:465:27 [INFO] [stdout] | [INFO] [stdout] 465 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arena` [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | arena: Arena, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:590:17 [INFO] [stdout] | [INFO] [stdout] 590 | let mut text = VNode::Text(VText::new("Hello world")); [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arena` [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | arena: Arena, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dom` [INFO] [stdout] --> tests/integration.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let dom = VirtualDom::new(|_| html! {
Hello World!
}); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> examples/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dom` [INFO] [stdout] --> examples/simple.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let dom = VirtualDom::new_with_props(root); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_node` [INFO] [stdout] --> examples/simple.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(ref mut element_node) = node_0.as_velement_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_3` [INFO] [stdout] --> examples/simple.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let node_3 = VNode::Component(VComponent {}); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> examples/simple.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn root(ctx: &mut Context) -> VNode { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> examples/simple.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | fn Head(ctx: &mut Context) -> VNode { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> examples/simple.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | fn Body(ctx: &mut Context) -> VNode { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> examples/simple.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut v = 10_i32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> examples/simple.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | fn Footer(ctx: &mut Context) -> VNode { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/simple.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut node_2 = VNode::element("button"); [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] --> examples/simple.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut v = 10_i32; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `VirtualNode` [INFO] [stdout] --> examples/simple.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type VirtualNode = VNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> examples/simple.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `Head` [INFO] [stdout] --> examples/simple.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn Head(ctx: &mut Context) -> VNode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `Body` [INFO] [stdout] --> examples/simple.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn Body(ctx: &mut Context) -> VNode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `Footer` [INFO] [stdout] --> examples/simple.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn Footer(ctx: &mut Context) -> VNode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Head` should have a snake case name [INFO] [stdout] --> examples/simple.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn Head(ctx: &mut Context) -> VNode { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `head` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Body` should have a snake case name [INFO] [stdout] --> examples/simple.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn Body(ctx: &mut Context) -> VNode { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Footer` should have a snake case name [INFO] [stdout] --> examples/simple.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn Footer(ctx: &mut Context) -> VNode { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `footer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.74s [INFO] running `Command { std: "docker" "inspect" "8230691fc38055bea57475c8b14901db47cd65c2208d67860246ea8747d789e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8230691fc38055bea57475c8b14901db47cd65c2208d67860246ea8747d789e0", kill_on_drop: false }` [INFO] [stdout] 8230691fc38055bea57475c8b14901db47cd65c2208d67860246ea8747d789e0