[INFO] fetching crate dioxus-core 0.1.2...
[INFO] checking dioxus-core-0.1.2 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819
[INFO] extracting crate dioxus-core 0.1.2 into /workspace/builds/worker-5/source
[INFO] validating manifest of crates.io crate dioxus-core 0.1.2 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dioxus-core 0.1.2
[INFO] finished tweaking crates.io crate dioxus-core 0.1.2
[INFO] tweaked toml for crates.io crate dioxus-core 0.1.2 written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate crates.io crate dioxus-core 0.1.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 089fc1e908c1c043348242c3df08fb72c11700b3029ff117ba253468c666c392
[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" "089fc1e908c1c043348242c3df08fb72c11700b3029ff117ba253468c666c392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "089fc1e908c1c043348242c3df08fb72c11700b3029ff117ba253468c666c392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "089fc1e908c1c043348242c3df08fb72c11700b3029ff117ba253468c666c392", kill_on_drop: false }`
[INFO] [stdout] 089fc1e908c1c043348242c3df08fb72c11700b3029ff117ba253468c666c392
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8963662421efaee77447f79082a3223689493fc9bd78c35fa10bc432fb849b93
[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" "8963662421efaee77447f79082a3223689493fc9bd78c35fa10bc432fb849b93", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.24
[INFO] [stderr] Compiling unicode-xid v0.2.1
[INFO] [stderr] Compiling libc v0.2.86
[INFO] [stderr] Checking once_cell v1.7.0
[INFO] [stderr] Checking quick-error v1.2.3
[INFO] [stderr] Checking cfg-if v1.0.0
[INFO] [stderr] Checking stable_deref_trait v1.2.0
[INFO] [stderr] Checking cfg-if v0.1.10
[INFO] [stderr] Checking rustc-hash v1.1.0
[INFO] [stderr] Checking bumpalo v3.6.1
[INFO] [stderr] Checking id-arena v2.2.1
[INFO] [stderr] Checking typed-arena v2.0.1
[INFO] [stderr] Checking humantime v1.3.0
[INFO] [stderr] Checking log v0.4.14
[INFO] [stderr] Checking generational-arena v0.2.8
[INFO] [stderr] Checking owning_ref v0.4.1
[INFO] [stderr] Checking toolshed v0.8.1
[INFO] [stderr] Checking thread_local v1.1.3
[INFO] [stderr] Checking regex v1.4.3
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Compiling syn v1.0.60
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking env_logger v0.7.1
[INFO] [stderr] Checking pretty_env_logger v0.4.0
[INFO] [stderr] Compiling fstrings-proc-macro v0.2.3
[INFO] [stderr] Compiling serde_derive v1.0.123
[INFO] [stderr] Compiling thiserror-impl v1.0.24
[INFO] [stderr] Compiling dioxus-core-macro v0.1.1
[INFO] [stderr] Checking fstrings v0.2.3
[INFO] [stderr] Checking thiserror v1.0.24
[INFO] [stderr] Checking serde v1.0.123
[INFO] [stderr] Checking dioxus-core v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr] =>
[INFO] [stderr] format_args ! ("hello world")
[INFO] [stderr] -------------------
[INFO] [stderr]
[INFO] [stderr] =>
[INFO] [stderr] format_args ! ("hello")
[INFO] [stderr] -------------------
[INFO] [stderr]
[INFO] [stderr] =>
[INFO] [stderr] format_args ! ("hello")
[INFO] [stderr] -------------------
[INFO] [stderr]
[INFO] [stdout] warning: unused import: `crate::innerlude::Listener`
[INFO] [stdout] --> src/changelist.rs:24:5
[INFO] [stdout] |
[INFO] [stdout] 24 | use crate::innerlude::Listener;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout] --> src/context.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use log::info;
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `any::TypeId`, `borrow::Borrow`, `marker::PhantomData`
[INFO] [stdout] --> src/context.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | any::TypeId, borrow::Borrow, cell::RefCell, future::Future, marker::PhantomData, ops::Deref,
[INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout] --> src/debug_renderer.rs:26:9
[INFO] [stdout] |
[INFO] [stdout] 26 | use super::*;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Edit`, `Scope`, `virtual_dom::LifecycleEvent`
[INFO] [stdout] --> src/dodriodiff.rs:40:25
[INFO] [stdout] |
[INFO] [stdout] 40 | changelist::{CbIdx, Edit, EditList, EditMachine},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 41 | innerlude::{Attribute, Listener, Scope, VElement, VNode, VText},
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 42 | virtual_dom::LifecycleEvent,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout] --> src/nodebuilder.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::ops::Deref;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `innerlude::VComponent`, `prelude::VElement`
[INFO] [stdout] --> src/nodebuilder.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | innerlude::VComponent,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 | nodes::{Attribute, Listener, NodeKey, VNode},
[INFO] [stdout] 9 | prelude::VElement,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `bumpalo::format`
[INFO] [stdout] --> src/nodebuilder.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 12 | use bumpalo::format;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `DerefMut`, `UnsafeCell`, `any::TypeId`, `future::Future`
[INFO] [stdout] --> src/scope.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | any::TypeId,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 9 | borrow::{Borrow, BorrowMut},
[INFO] [stdout] 10 | cell::{RefCell, UnsafeCell},
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] 11 | future::Future,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 12 | marker::PhantomData,
[INFO] [stdout] 13 | ops::{Deref, DerefMut},
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `hooks::use_ref`
[INFO] [stdout] --> src/scope.rs:311:29
[INFO] [stdout] |
[INFO] [stdout] 311 | use crate::{builder::*, hooks::use_ref};
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout] --> src/virtual_dom.rs:3:18
[INFO] [stdout] |
[INFO] [stdout] 3 | changelist::{self, EditList},
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::innerlude::Listener`
[INFO] [stdout] --> src/changelist.rs:24:5
[INFO] [stdout] |
[INFO] [stdout] 24 | use crate::innerlude::Listener;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `UnsafeCell`, `future::Future`, `marker::PhantomData`, `self`, `sync::atomic::AtomicUsize`, `vec_deque`
[INFO] [stdout] --> src/virtual_dom.rs:12:11
[INFO] [stdout] |
[INFO] [stdout] 12 | any::{self, TypeId},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 13 | borrow::BorrowMut,
[INFO] [stdout] 14 | cell::{RefCell, UnsafeCell},
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] 15 | collections::{vec_deque, VecDeque},
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 16 | future::Future,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 17 | marker::PhantomData,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 18 | rc::Rc,
[INFO] [stdout] 19 | sync::atomic::AtomicUsize,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::virtual_dom::VirtualDom`
[INFO] [stdout] --> src/lib.rs:96:20
[INFO] [stdout] |
[INFO] [stdout] 96 | pub(crate) use crate::virtual_dom::VirtualDom;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout] --> src/context.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use log::info;
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `any::TypeId`, `borrow::Borrow`, `marker::PhantomData`
[INFO] [stdout] --> src/context.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | any::TypeId, borrow::Borrow, cell::RefCell, future::Future, marker::PhantomData, ops::Deref,
[INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Edit`, `Scope`, `virtual_dom::LifecycleEvent`
[INFO] [stdout] --> src/dodriodiff.rs:40:25
[INFO] [stdout] |
[INFO] [stdout] 40 | changelist::{CbIdx, Edit, EditList, EditMachine},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 41 | innerlude::{Attribute, Listener, Scope, VElement, VNode, VText},
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 42 | virtual_dom::LifecycleEvent,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout] --> src/nodebuilder.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::ops::Deref;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `innerlude::VComponent`, `prelude::VElement`
[INFO] [stdout] --> src/nodebuilder.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | innerlude::VComponent,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 | nodes::{Attribute, Listener, NodeKey, VNode},
[INFO] [stdout] 9 | prelude::VElement,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `bumpalo::format`
[INFO] [stdout] --> src/nodebuilder.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 12 | use bumpalo::format;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `DerefMut`, `UnsafeCell`, `any::TypeId`, `future::Future`, `todo`
[INFO] [stdout] --> src/scope.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | any::TypeId,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 9 | borrow::{Borrow, BorrowMut},
[INFO] [stdout] 10 | cell::{RefCell, UnsafeCell},
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] 11 | future::Future,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 12 | marker::PhantomData,
[INFO] [stdout] 13 | ops::{Deref, DerefMut},
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 | todo,
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `hooks::use_ref`
[INFO] [stdout] --> src/scope.rs:311:29
[INFO] [stdout] |
[INFO] [stdout] 311 | use crate::{builder::*, hooks::use_ref};
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout] --> src/virtual_dom.rs:3:18
[INFO] [stdout] |
[INFO] [stdout] 3 | changelist::{self, EditList},
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `UnsafeCell`, `future::Future`, `marker::PhantomData`, `self`, `sync::atomic::AtomicUsize`, `vec_deque`
[INFO] [stdout] --> src/virtual_dom.rs:12:11
[INFO] [stdout] |
[INFO] [stdout] 12 | any::{self, TypeId},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 13 | borrow::BorrowMut,
[INFO] [stdout] 14 | cell::{RefCell, UnsafeCell},
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] 15 | collections::{vec_deque, VecDeque},
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 16 | future::Future,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 17 | marker::PhantomData,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 18 | rc::Rc,
[INFO] [stdout] 19 | sync::atomic::AtomicUsize,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout] --> src/virtual_dom.rs:288:9
[INFO] [stdout] |
[INFO] [stdout] 288 | use super::*;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::virtual_dom::VirtualDom`
[INFO] [stdout] --> src/lib.rs:96:20
[INFO] [stdout] |
[INFO] [stdout] 96 | pub(crate) use crate::virtual_dom::VirtualDom;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout] --> src/scope.rs:9:22
[INFO] [stdout] |
[INFO] [stdout] 9 | borrow::{Borrow, BorrowMut},
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout] --> src/virtual_dom.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | borrow::BorrowMut,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout] --> src/scope.rs:9:22
[INFO] [stdout] |
[INFO] [stdout] 9 | borrow::{Borrow, BorrowMut},
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout] --> src/virtual_dom.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | borrow::BorrowMut,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `props`
[INFO] [stdout] --> src/scope.rs:268:41
[INFO] [stdout] |
[INFO] [stdout] 268 | static ListenerTest: FC<()> = |ctx, props| {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout] --> src/component.rs:41:30
[INFO] [stdout] |
[INFO] [stdout] 41 | fn test_static_fn<'a, P>(b: &'a Bump, r: FC
) -> VNode<'a> {
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout] --> src/component.rs:41:43
[INFO] [stdout] |
[INFO] [stdout] 41 | fn test_static_fn<'a, P>(b: &'a Bump, r: FC
) -> VNode<'a> {
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `props`
[INFO] [stdout] --> src/component.rs:45:42
[INFO] [stdout] |
[INFO] [stdout] 45 | static TestComponent: FC<()> = |ctx, props| {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `bump`
[INFO] [stdout] --> src/component.rs:55:19
[INFO] [stdout] |
[INFO] [stdout] 55 | ctx.view(|bump: &Bump| VNode::text("blah"))
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bump`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `props`
[INFO] [stdout] --> src/component.rs:53:43
[INFO] [stdout] |
[INFO] [stdout] 53 | static TestComponent2: FC<()> = |ctx, props| {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `props`
[INFO] [stdout] --> src/debug_renderer.rs:31:45
[INFO] [stdout] |
[INFO] [stdout] 31 | let mut dom = VirtualDom::new(|ctx, props| {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dom`
[INFO] [stdout] --> src/debug_renderer.rs:31:17
[INFO] [stdout] |
[INFO] [stdout] 31 | let mut dom = VirtualDom::new(|ctx, props| {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dom`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `props`
[INFO] [stdout] --> src/scope.rs:268:41
[INFO] [stdout] |
[INFO] [stdout] 268 | static ListenerTest: FC<()> = |ctx, props| {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `props`
[INFO] [stdout] --> src/scope.rs:289:37
[INFO] [stdout] |
[INFO] [stdout] 289 | let example: FC<()> = |ctx, props| {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `scope`
[INFO] [stdout] --> src/scope.rs:296:13
[INFO] [stdout] |
[INFO] [stdout] 296 | let scope = Scope::new::<(), ()>(example, props, parent);
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout] --> src/scope.rs:374:28
[INFO] [stdout] |
[INFO] [stdout] 374 | ctx.view(move |b| {
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `props`
[INFO] [stdout] --> src/scope.rs:360:45
[INFO] [stdout] |
[INFO] [stdout] 360 | let example: FC = |ctx, props| {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `example`
[INFO] [stdout] --> src/scope.rs:360:13
[INFO] [stdout] |
[INFO] [stdout] 360 | let example: FC = |ctx, props| {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_example`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `props`
[INFO] [stdout] --> src/scope.rs:385:13
[INFO] [stdout] |
[INFO] [stdout] 385 | let props = ExampleProps { name: &source_text };
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `props`
[INFO] [stdout] --> src/virtual_dom.rs:292:45
[INFO] [stdout] |
[INFO] [stdout] 292 | let mut dom = VirtualDom::new(|ctx, props| {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/debug_renderer.rs:31:13
[INFO] [stdout] |
[INFO] [stdout] 31 | let mut dom = VirtualDom::new(|ctx, props| {
[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: function is never used: `blah`
[INFO] [stdout] --> src/context.rs:296:8
[INFO] [stdout] |
[INFO] [stdout] 296 | fn blah() {}
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `vdom`
[INFO] [stdout] --> src/debug_renderer.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 9 | vdom: VirtualDom,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `immediate_queue`
[INFO] [stdout] --> src/dodriodiff.rs:61:5
[INFO] [stdout] |
[INFO] [stdout] 61 | immediate_queue: Vec,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `diffed`
[INFO] [stdout] --> src/dodriodiff.rs:62:5
[INFO] [stdout] |
[INFO] [stdout] 62 | diffed: FxHashSet,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `need_to_diff`
[INFO] [stdout] --> src/dodriodiff.rs:63:5
[INFO] [stdout] |
[INFO] [stdout] 63 | need_to_diff: FxHashSet,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `diff_keyed_children`
[INFO] [stdout] --> src/dodriodiff.rs:437:8
[INFO] [stdout] |
[INFO] [stdout] 437 | fn diff_keyed_children(&mut self, old: &[VNode<'a>], new: &[VNode<'a>]) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `diff_keyed_prefix`
[INFO] [stdout] --> src/dodriodiff.rs:522:8
[INFO] [stdout] |
[INFO] [stdout] 522 | fn diff_keyed_prefix(&mut self, old: &[VNode<'a>], new: &[VNode<'a>]) -> KeyedPrefixResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `diff_keyed_middle`
[INFO] [stdout] --> src/dodriodiff.rs:573:8
[INFO] [stdout] |
[INFO] [stdout] 573 | fn diff_keyed_middle(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `diff_keyed_suffix`
[INFO] [stdout] --> src/dodriodiff.rs:800:8
[INFO] [stdout] |
[INFO] [stdout] 800 | fn diff_keyed_suffix(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: enum is never used: `KeyedPrefixResult`
[INFO] [stdout] --> src/dodriodiff.rs:1023:6
[INFO] [stdout] |
[INFO] [stdout] 1023 | enum KeyedPrefixResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias is never used: `ListenerCallback`
[INFO] [stdout] --> src/nodes.rs:202:5
[INFO] [stdout] |
[INFO] [stdout] 202 | pub(crate) type ListenerCallback<'a> = &'a (dyn Fn(VirtualEvent));
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: union is never used: `CallbackFatPtr`
[INFO] [stdout] --> src/nodes.rs:203:11
[INFO] [stdout] |
[INFO] [stdout] 203 | union CallbackFatPtr<'a> {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `get_callback_parts`
[INFO] [stdout] --> src/nodes.rs:209:23
[INFO] [stdout] |
[INFO] [stdout] 209 | pub(crate) fn get_callback_parts(&self) -> (u32, u32) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `example_fc`
[INFO] [stdout] --> src/scope.rs:313:8
[INFO] [stdout] |
[INFO] [stdout] 313 | fn example_fc<'a>(ctx: Context<'a>, props: &'a EmptyProps) -> DomTree {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `child_example`
[INFO] [stdout] --> src/scope.rs:338:8
[INFO] [stdout] |
[INFO] [stdout] 338 | fn child_example<'b>(ctx: Context<'b>, props: &'b ExampleProps) -> DomTree {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static is never used: `CHILD`
[INFO] [stdout] --> src/scope.rs:347:5
[INFO] [stdout] |
[INFO] [stdout] 347 | / static CHILD: FC = |ctx, props: &'_ ExampleProps| {
[INFO] [stdout] 348 | | // todo!()
[INFO] [stdout] 349 | | ctx.view(move |b| {
[INFO] [stdout] 350 | | div(b)
[INFO] [stdout] ... |
[INFO] [stdout] 354 | | })
[INFO] [stdout] 355 | | };
[INFO] [stdout] | |______^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static is never used: `SELF_CLOSING_TAGS`
[INFO] [stdout] --> src/validation.rs:19:5
[INFO] [stdout] |
[INFO] [stdout] 19 | / static SELF_CLOSING_TAGS: Lazy> = Lazy::new(|| {
[INFO] [stdout] 20 | | [
[INFO] [stdout] 21 | | "area", "base", "br", "col", "hr", "img", "input", "link", "meta", "param", "command",
[INFO] [stdout] 22 | | "keygen", "source",
[INFO] [stdout] ... |
[INFO] [stdout] 26 | | .collect()
[INFO] [stdout] 27 | | });
[INFO] [stdout] | |_______^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `is_self_closing`
[INFO] [stdout] --> src/validation.rs:36:12
[INFO] [stdout] |
[INFO] [stdout] 36 | pub fn is_self_closing(tag: &str) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `process_lifecycle`
[INFO] [stdout] --> src/virtual_dom.rs:203:8
[INFO] [stdout] |
[INFO] [stdout] 203 | fn process_lifecycle(&mut self, LifecycleEvent { event_type }: LifecycleEvent) -> Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `index`
[INFO] [stdout] --> src/virtual_dom.rs:273:8
[INFO] [stdout] |
[INFO] [stdout] 273 | fn index(&self) -> Option {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias is never used: `VirtualNode`
[INFO] [stdout] --> src/lib.rs:114:5
[INFO] [stdout] |
[INFO] [stdout] 114 | pub type VirtualNode<'a> = VNode<'a>;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout] --> src/context.rs:227:36
[INFO] [stdout] |
[INFO] [stdout] 227 | None => panic!(DEREF_ERR_MSG),
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout] = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout] |
[INFO] [stdout] 227 | None => panic!("{}", DEREF_ERR_MSG),
[INFO] [stdout] | ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout] |
[INFO] [stdout] 227 | None => std::panic::panic_any(DEREF_ERR_MSG),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static variable `TestComponent` should have an upper case name
[INFO] [stdout] --> src/component.rs:45:12
[INFO] [stdout] |
[INFO] [stdout] 45 | static TestComponent: FC<()> = |ctx, props| {
[INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEST_COMPONENT`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static variable `TestComponent2` should have an upper case name
[INFO] [stdout] --> src/component.rs:53:12
[INFO] [stdout] |
[INFO] [stdout] 53 | static TestComponent2: FC<()> = |ctx, props| {
[INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEST_COMPONENT2`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static variable `ListenerTest` should have an upper case name
[INFO] [stdout] --> src/scope.rs:268:12
[INFO] [stdout] |
[INFO] [stdout] 268 | static ListenerTest: FC<()> = |ctx, props| {
[INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `LISTENER_TEST`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 56 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `blah`
[INFO] [stdout] --> src/context.rs:296:8
[INFO] [stdout] |
[INFO] [stdout] 296 | fn blah() {}
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `vdom`
[INFO] [stdout] --> src/debug_renderer.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 9 | vdom: VirtualDom,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `immediate_queue`
[INFO] [stdout] --> src/dodriodiff.rs:61:5
[INFO] [stdout] |
[INFO] [stdout] 61 | immediate_queue: Vec,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `diffed`
[INFO] [stdout] --> src/dodriodiff.rs:62:5
[INFO] [stdout] |
[INFO] [stdout] 62 | diffed: FxHashSet,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `need_to_diff`
[INFO] [stdout] --> src/dodriodiff.rs:63:5
[INFO] [stdout] |
[INFO] [stdout] 63 | need_to_diff: FxHashSet,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `diff_keyed_children`
[INFO] [stdout] --> src/dodriodiff.rs:437:8
[INFO] [stdout] |
[INFO] [stdout] 437 | fn diff_keyed_children(&mut self, old: &[VNode<'a>], new: &[VNode<'a>]) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `diff_keyed_prefix`
[INFO] [stdout] --> src/dodriodiff.rs:522:8
[INFO] [stdout] |
[INFO] [stdout] 522 | fn diff_keyed_prefix(&mut self, old: &[VNode<'a>], new: &[VNode<'a>]) -> KeyedPrefixResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `diff_keyed_middle`
[INFO] [stdout] --> src/dodriodiff.rs:573:8
[INFO] [stdout] |
[INFO] [stdout] 573 | fn diff_keyed_middle(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `diff_keyed_suffix`
[INFO] [stdout] --> src/dodriodiff.rs:800:8
[INFO] [stdout] |
[INFO] [stdout] 800 | fn diff_keyed_suffix(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: enum is never used: `KeyedPrefixResult`
[INFO] [stdout] --> src/dodriodiff.rs:1023:6
[INFO] [stdout] |
[INFO] [stdout] 1023 | enum KeyedPrefixResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias is never used: `ListenerCallback`
[INFO] [stdout] --> src/nodes.rs:202:5
[INFO] [stdout] |
[INFO] [stdout] 202 | pub(crate) type ListenerCallback<'a> = &'a (dyn Fn(VirtualEvent));
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: union is never used: `CallbackFatPtr`
[INFO] [stdout] --> src/nodes.rs:203:11
[INFO] [stdout] |
[INFO] [stdout] 203 | union CallbackFatPtr<'a> {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `get_callback_parts`
[INFO] [stdout] --> src/nodes.rs:209:23
[INFO] [stdout] |
[INFO] [stdout] 209 | pub(crate) fn get_callback_parts(&self) -> (u32, u32) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static is never used: `ListenerTest`
[INFO] [stdout] --> src/scope.rs:268:5
[INFO] [stdout] |
[INFO] [stdout] 268 | / static ListenerTest: FC<()> = |ctx, props| {
[INFO] [stdout] 269 | | ctx.view(html! {
[INFO] [stdout] 270 | |
[INFO] [stdout] 271 | | "hello"
[INFO] [stdout] 272 | |
[INFO] [stdout] 273 | | })
[INFO] [stdout] 274 | | };
[INFO] [stdout] | |______^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `example_fc`
[INFO] [stdout] --> src/scope.rs:313:8
[INFO] [stdout] |
[INFO] [stdout] 313 | fn example_fc<'a>(ctx: Context<'a>, props: &'a EmptyProps) -> DomTree {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `child_example`
[INFO] [stdout] --> src/scope.rs:338:8
[INFO] [stdout] |
[INFO] [stdout] 338 | fn child_example<'b>(ctx: Context<'b>, props: &'b ExampleProps) -> DomTree {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static is never used: `CHILD`
[INFO] [stdout] --> src/scope.rs:347:5
[INFO] [stdout] |
[INFO] [stdout] 347 | / static CHILD: FC = |ctx, props: &'_ ExampleProps| {
[INFO] [stdout] 348 | | // todo!()
[INFO] [stdout] 349 | | ctx.view(move |b| {
[INFO] [stdout] 350 | | div(b)
[INFO] [stdout] ... |
[INFO] [stdout] 354 | | })
[INFO] [stdout] 355 | | };
[INFO] [stdout] | |______^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static is never used: `SELF_CLOSING_TAGS`
[INFO] [stdout] --> src/validation.rs:19:5
[INFO] [stdout] |
[INFO] [stdout] 19 | / static SELF_CLOSING_TAGS: Lazy> = Lazy::new(|| {
[INFO] [stdout] 20 | | [
[INFO] [stdout] 21 | | "area", "base", "br", "col", "hr", "img", "input", "link", "meta", "param", "command",
[INFO] [stdout] 22 | | "keygen", "source",
[INFO] [stdout] ... |
[INFO] [stdout] 26 | | .collect()
[INFO] [stdout] 27 | | });
[INFO] [stdout] | |_______^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `is_self_closing`
[INFO] [stdout] --> src/validation.rs:36:12
[INFO] [stdout] |
[INFO] [stdout] 36 | pub fn is_self_closing(tag: &str) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `process_lifecycle`
[INFO] [stdout] --> src/virtual_dom.rs:203:8
[INFO] [stdout] |
[INFO] [stdout] 203 | fn process_lifecycle(&mut self, LifecycleEvent { event_type }: LifecycleEvent) -> Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `index`
[INFO] [stdout] --> src/virtual_dom.rs:273:8
[INFO] [stdout] |
[INFO] [stdout] 273 | fn index(&self) -> Option {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias is never used: `VirtualNode`
[INFO] [stdout] --> src/lib.rs:114:5
[INFO] [stdout] |
[INFO] [stdout] 114 | pub type VirtualNode<'a> = VNode<'a>;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout] --> src/context.rs:227:36
[INFO] [stdout] |
[INFO] [stdout] 227 | None => panic!(DEREF_ERR_MSG),
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout] = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout] |
[INFO] [stdout] 227 | None => panic!("{}", DEREF_ERR_MSG),
[INFO] [stdout] | ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout] |
[INFO] [stdout] 227 | None => std::panic::panic_any(DEREF_ERR_MSG),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static variable `ListenerTest` should have an upper case name
[INFO] [stdout] --> src/scope.rs:268:12
[INFO] [stdout] |
[INFO] [stdout] 268 | static ListenerTest: FC<()> = |ctx, props| {
[INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `LISTENER_TEST`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 40 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `text`
[INFO] [stdout] --> examples/props.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | text: &'p str,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `OutputNode`
[INFO] [stdout] --> examples/props.rs:13:8
[INFO] [stdout] |
[INFO] [stdout] 13 | struct OutputNode<'a> {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `something`
[INFO] [stdout] --> examples/props.rs:28:4
[INFO] [stdout] |
[INFO] [stdout] 28 | fn something<'s>(_props: &'s SomeProps<'s>) -> OutputNode<'s> {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `get`
[INFO] [stdout] --> examples/dummy.rs:28:8
[INFO] [stdout] |
[INFO] [stdout] 28 | fn get<'a>(&'a self) -> ContextLock<'a, T> {
[INFO] [stdout] | ^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `Context`
[INFO] [stdout] --> examples/dummy.rs:47:8
[INFO] [stdout] |
[INFO] [stdout] 47 | struct Context<'a> {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `use_context`
[INFO] [stdout] --> examples/dummy.rs:52:8
[INFO] [stdout] |
[INFO] [stdout] 52 | fn use_context<'b, I, O: 'b>(&self, _f: fn(&'b I) -> O) -> ContextGuard2 {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `add_listener`
[INFO] [stdout] --> examples/dummy.rs:55:8
[INFO] [stdout] |
[INFO] [stdout] 55 | fn add_listener(&self, _f: impl Fn(()) + 'a) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `view`
[INFO] [stdout] --> examples/dummy.rs:59:8
[INFO] [stdout] |
[INFO] [stdout] 59 | fn view(self, _f: impl FnOnce(&'a String) + 'a) {}
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `Example`
[INFO] [stdout] --> examples/dummy.rs:64:8
[INFO] [stdout] |
[INFO] [stdout] 64 | struct Example {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `t`
[INFO] [stdout] --> examples/dummy.rs:70:4
[INFO] [stdout] |
[INFO] [stdout] 70 | fn t<'a>(ctx: Context<'a>) {
[INFO] [stdout] | ^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static variable `Example` should have an upper case name
[INFO] [stdout] --> examples/contextapi.rs:14:8
[INFO] [stdout] |
[INFO] [stdout] 14 | static Example: FC = |ctx, props| {
[INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `EXAMPLE`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `bumpalo::collections::String`
[INFO] [stdout] --> examples/fmter.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use bumpalo::collections::String;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `bumpalo::core_alloc::fmt::Write`
[INFO] [stdout] --> examples/fmter.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | use bumpalo::core_alloc::fmt::Write;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout] --> examples/fmter.rs:12:9
[INFO] [stdout] |
[INFO] [stdout] 12 | let b = ≎
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `world`
[INFO] [stdout] --> examples/fmter.rs:13:9
[INFO] [stdout] |
[INFO] [stdout] 13 | let world = "123";
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] =>
[INFO] [stderr] format_args ! ("Hello, {name}", name = name)
[INFO] [stderr] -------------------
[INFO] [stderr]
[INFO] [stderr] =>
[INFO] [stderr] format_args ! ("jack!")
[INFO] [stderr] -------------------
[INFO] [stderr]
[INFO] [stderr] =>
[INFO] [stderr] format_args ! ("jill!")
[INFO] [stderr] -------------------
[INFO] [stderr]
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] =>
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] format_args ! ("hello world!")
[INFO] [stderr] -------------------
[INFO] [stderr]
[INFO] [stderr] =>
[INFO] [stderr] format_args ! ("hello world!")
[INFO] [stderr] -------------------
[INFO] [stderr]
[INFO] [stderr] =>
[INFO] [stderr] format_args ! ("hello world!")
[INFO] [stderr] -------------------
[INFO] [stderr]
[INFO] [stderr] =>
[INFO] [stderr] format_args ! ("hello world!")
[INFO] [stderr] -------------------
[INFO] [stderr]
[INFO] [stdout] warning: struct is never constructed: `Context2`
[INFO] [stdout] --> examples/alternative.rs:11:8
[INFO] [stdout] |
[INFO] [stdout] 11 | struct Context2<'a, P> {
[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: `view`
[INFO] [stdout] --> examples/alternative.rs:16:8
[INFO] [stdout] |
[INFO] [stdout] 16 | fn view(self, _f: impl FnOnce(&'a Bump) -> VNode<'a>) -> DTree {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `props`
[INFO] [stdout] --> examples/alternative.rs:20:8
[INFO] [stdout] |
[INFO] [stdout] 20 | fn props(&self) -> &'a P {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `use_hook`
[INFO] [stdout] --> examples/alternative.rs:24:12
[INFO] [stdout] |
[INFO] [stdout] 24 | pub fn use_hook<'scope, InternalHookState: 'static, Output: 'a>(
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `DTree`
[INFO] [stdout] --> examples/alternative.rs:36:8
[INFO] [stdout] |
[INFO] [stdout] 36 | struct DTree;
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `virtual_child`
[INFO] [stdout] --> examples/alternative.rs:38:4
[INFO] [stdout] |
[INFO] [stdout] 38 | fn virtual_child<'a, T: 'a>(_bump: &'a Bump, _props: T, _f: FC2) -> VNode<'a> {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `Props`
[INFO] [stdout] --> examples/alternative.rs:42:8
[INFO] [stdout] |
[INFO] [stdout] 42 | struct Props {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `Example`
[INFO] [stdout] --> examples/alternative.rs:46:4
[INFO] [stdout] |
[INFO] [stdout] 46 | fn Example(ctx: Context2) -> DTree {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `Example2`
[INFO] [stdout] --> examples/alternative.rs:59:4
[INFO] [stdout] |
[INFO] [stdout] 59 | fn Example2(ctx: Context2<()>, name: &str, _blah: &str) -> DTree {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias is never used: `FC2`
[INFO] [stdout] --> examples/alternative.rs:70:1
[INFO] [stdout] |
[INFO] [stdout] 70 | type FC2<'a, T> = fn(Context2) -> DTree;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static is never used: `CHILD`
[INFO] [stdout] --> examples/alternative.rs:73:1
[INFO] [stdout] |
[INFO] [stdout] 73 | / static CHILD: FC2 = |_ctx: Context2| {
[INFO] [stdout] 74 | | //
[INFO] [stdout] 75 | | todo!()
[INFO] [stdout] 76 | | };
[INFO] [stdout] | |__^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `a`
[INFO] [stdout] --> examples/alternative.rs:79:5
[INFO] [stdout] |
[INFO] [stdout] 79 | a: &'a String,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `AltChild`
[INFO] [stdout] --> examples/alternative.rs:83:4
[INFO] [stdout] |
[INFO] [stdout] 83 | fn AltChild(ctx: Context2) -> DTree {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `use_state`
[INFO] [stdout] --> examples/alternative.rs:90:4
[INFO] [stdout] |
[INFO] [stdout] 90 | fn use_state<'a, 'c, P, T: 'static, F: FnOnce() -> T>(
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `Example` should have a snake case name
[INFO] [stdout] --> examples/alternative.rs:46:4
[INFO] [stdout] |
[INFO] [stdout] 46 | fn Example(ctx: Context2) -> DTree {
[INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `example`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `Example2` should have a snake case name
[INFO] [stdout] --> examples/alternative.rs:59:4
[INFO] [stdout] |
[INFO] [stdout] 59 | fn Example2(ctx: Context2<()>, name: &str, _blah: &str) -> DTree {
[INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `example2`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `AltChild` should have a snake case name
[INFO] [stdout] --> examples/alternative.rs:83:4
[INFO] [stdout] |
[INFO] [stdout] 83 | fn AltChild(ctx: Context2) -> DTree {
[INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `alt_child`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] =>
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] format_args ! ("bruh 1")
[INFO] [stderr] -------------------
[INFO] [stderr]
[INFO] [stderr] =>
[INFO] [stderr] format_args ! ("bruh 2")
[INFO] [stderr] -------------------
[INFO] [stderr]
[INFO] [stdout] warning: struct is never constructed: `Props`
[INFO] [stdout] --> examples/borrowed.rs:12:8
[INFO] [stdout] |
[INFO] [stdout] 12 | struct Props {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `ListItem`
[INFO] [stdout] --> examples/borrowed.rs:16:8
[INFO] [stdout] |
[INFO] [stdout] 16 | struct ListItem {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `app`
[INFO] [stdout] --> examples/borrowed.rs:21:4
[INFO] [stdout] |
[INFO] [stdout] 21 | fn app(ctx: Context, props: &Props) -> DomTree {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `ChildProps`
[INFO] [stdout] --> examples/borrowed.rs:37:8
[INFO] [stdout] |
[INFO] [stdout] 37 | struct ChildProps<'a> {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `child_item`
[INFO] [stdout] --> examples/borrowed.rs:41:4
[INFO] [stdout] |
[INFO] [stdout] 41 | fn child_item(_ctx: Context, _props: &ChildProps) -> DomTree {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static variable `Example` should have an upper case name
[INFO] [stdout] --> examples/step.rs:32:8
[INFO] [stdout] |
[INFO] [stdout] 32 | static Example: FC = |ctx, _props| {
[INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `EXAMPLE`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static variable `Header` should have an upper case name
[INFO] [stdout] --> examples/nested.rs:10:8
[INFO] [stdout] |
[INFO] [stdout] 10 | static Header: FC<()> = |ctx, props| {
[INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `HEADER`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static variable `Bottom` should have an upper case name
[INFO] [stdout] --> examples/nested.rs:26:8
[INFO] [stdout] |
[INFO] [stdout] 26 | static Bottom: FC<()> = |ctx, props| {
[INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `BOTTOM`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.51s
[INFO] running `Command { std: "docker" "inspect" "8963662421efaee77447f79082a3223689493fc9bd78c35fa10bc432fb849b93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8963662421efaee77447f79082a3223689493fc9bd78c35fa10bc432fb849b93", kill_on_drop: false }`
[INFO] [stdout] 8963662421efaee77447f79082a3223689493fc9bd78c35fa10bc432fb849b93