[INFO] fetching crate dioxus-core 0.1.3... [INFO] testing dioxus-core-0.1.3 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate dioxus-core 0.1.3 into /workspace/builds/worker-63/source [INFO] validating manifest of crates.io crate dioxus-core 0.1.3 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dioxus-core 0.1.3 [INFO] finished tweaking crates.io crate dioxus-core 0.1.3 [INFO] tweaked toml for crates.io crate dioxus-core 0.1.3 written to /workspace/builds/worker-63/source/Cargo.toml [INFO] crate crates.io crate dioxus-core 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dioxus-core-macro v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea27182540ee4a97a2a51c8cd7563e6aaf67a52efbea7720191c06688e3c4ad9 [INFO] running `Command { std: "docker" "start" "-a" "ea27182540ee4a97a2a51c8cd7563e6aaf67a52efbea7720191c06688e3c4ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea27182540ee4a97a2a51c8cd7563e6aaf67a52efbea7720191c06688e3c4ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea27182540ee4a97a2a51c8cd7563e6aaf67a52efbea7720191c06688e3c4ad9", kill_on_drop: false }` [INFO] [stdout] ea27182540ee4a97a2a51c8cd7563e6aaf67a52efbea7720191c06688e3c4ad9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 659c351e9b9cdea46ef53f025c4562342f349b8e007af08a2509ad0b6c266476 [INFO] running `Command { std: "docker" "start" "-a" "659c351e9b9cdea46ef53f025c4562342f349b8e007af08a2509ad0b6c266476", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bumpalo v3.7.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling dioxus-core v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/heuristics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Future`, `pin_mut` [INFO] [stdout] --> src/scheduler.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | use futures_util::{pin_mut, stream::FuturesUnordered, Future, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fxhash::FxHashMap` [INFO] [stdout] --> src/scheduler.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | use fxhash::FxHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::Future` [INFO] [stdout] --> src/virtual_dom.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use futures_util::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/scheduler.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | use futures_util::{pin_mut, stream::FuturesUnordered, Future, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/scheduler.rs:74:74 [INFO] [stdout] | [INFO] [stdout] 74 | use futures_util::{pin_mut, stream::FuturesUnordered, Future, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old` [INFO] [stdout] --> src/diff.rs:1029:9 [INFO] [stdout] | [INFO] [stdout] 1029 | old: &'bump VNode<'bump>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new` [INFO] [stdout] --> src/diff.rs:1030:9 [INFO] [stdout] | [INFO] [stdout] 1030 | new: &'bump [VNode<'bump>], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/heuristics.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let e = self.heuristics.entry(g); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heuristic` [INFO] [stdout] --> src/heuristics.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | fn recommend(&mut self, fc: FC, heuristic: Heuristic) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heuristic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/resources.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn collect_garbage(&self, id: ElementId) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/scheduler.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | let (discrete, priority) = event_meta(&event); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirty_scope` [INFO] [stdout] --> src/scheduler.rs:274:35 [INFO] [stdout] | [INFO] [stdout] 274 | while let Ok(Some(dirty_scope)) = self.receiver.try_next() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirty_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/scheduler.rs:319:32 [INFO] [stdout] | [INFO] [stdout] 319 | SchedulerMsg::Task(msg) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/scheduler.rs:326:32 [INFO] [stdout] | [INFO] [stdout] 326 | let (discrete, priority) = event_meta(&event); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirty_scope` [INFO] [stdout] --> src/scheduler.rs:333:43 [INFO] [stdout] | [INFO] [stdout] 333 | while let Ok(Some(dirty_scope)) = self.receiver.try_next() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirty_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_node` [INFO] [stdout] --> src/scope.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | let new_node: DomTree<'a> = (cb)(cx); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/virtual_dom.rs:366:40 [INFO] [stdout] | [INFO] [stdout] 366 | SchedulerMsg::Task(t) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/virtual_dom.rs:379:36 [INFO] [stdout] | [INFO] [stdout] 379 | SchedulerMsg::Task(t) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scheduler.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | let mut component = self.pool.get_scope_mut(scopeid).unwrap(); [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] --> src/scheduler.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | let mut saved = machine.save(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_and_create_one_with_many` [INFO] [stdout] --> src/diff.rs:1027:8 [INFO] [stdout] | [INFO] [stdout] 1027 | fn replace_and_create_one_with_many( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compare_strs` [INFO] [stdout] --> src/diff.rs:1132:4 [INFO] [stdout] | [INFO] [stdout] 1132 | fn compare_strs(a: &str, b: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `element_id_stack` [INFO] [stdout] --> src/diff_stack.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub element_id_stack: SmallVec<[ElementId; 5]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `heuristics` [INFO] [stdout] --> src/heuristics.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | heuristics: FxHashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hooks` [INFO] [stdout] --> src/heuristics.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | hooks: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bump_size` [INFO] [stdout] --> src/heuristics.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | bump_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recommend` [INFO] [stdout] --> src/heuristics.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn recommend(&mut self, fc: FC, heuristic: Heuristic) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_recommendation` [INFO] [stdout] --> src/heuristics.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_recommendation(&mut self, fc: FC) -> &Heuristic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_scope_vnode` [INFO] [stdout] --> src/resources.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn with_scope_vnode<'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_remove` [INFO] [stdout] --> src/resources.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn try_remove(&self, id: ScopeId) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `borrow_bumpframe` [INFO] [stdout] --> src/resources.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn borrow_bumpframe(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `task_counter` [INFO] [stdout] --> src/scheduler.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub task_counter: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `heuristics` [INFO] [stdout] --> src/scheduler.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub heuristics: HeuristicsEngine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_garbage` [INFO] [stdout] --> src/scheduler.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub pending_garbage: FxHashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_immediates` [INFO] [stdout] --> src/scheduler.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub pending_immediates: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_tasks` [INFO] [stdout] --> src/scheduler.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub pending_tasks: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `batched_events` [INFO] [stdout] --> src/scheduler.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub batched_events: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `garbage_scopes` [INFO] [stdout] --> src/scheduler.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub garbage_scopes: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `in_progress` [INFO] [stdout] --> src/scheduler.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub in_progress: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_ui_event` [INFO] [stdout] --> src/scheduler.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn handle_ui_event(&mut self, event: UserEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `balance_lanes` [INFO] [stdout] --> src/scheduler.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn balance_lanes(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_suspended_node` [INFO] [stdout] --> src/scope.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) fn call_suspended_node<'a>(&'a mut self, task_id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: path statement with no effect [INFO] [stdout] --> src/scheduler.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | discrete; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(path_statements)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "659c351e9b9cdea46ef53f025c4562342f349b8e007af08a2509ad0b6c266476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659c351e9b9cdea46ef53f025c4562342f349b8e007af08a2509ad0b6c266476", kill_on_drop: false }` [INFO] [stdout] 659c351e9b9cdea46ef53f025c4562342f349b8e007af08a2509ad0b6c266476 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 274c53949b482d51535a801a2aa876267d0639a547c19730bd8aa104abb553bf [INFO] running `Command { std: "docker" "start" "-a" "274c53949b482d51535a801a2aa876267d0639a547c19730bd8aa104abb553bf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling dioxus-core-macro v0.1.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/heuristics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Future`, `pin_mut` [INFO] [stdout] --> src/scheduler.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | use futures_util::{pin_mut, stream::FuturesUnordered, Future, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fxhash::FxHashMap` [INFO] [stdout] --> src/scheduler.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | use fxhash::FxHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::Future` [INFO] [stdout] --> src/virtual_dom.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use futures_util::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/scheduler.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | use futures_util::{pin_mut, stream::FuturesUnordered, Future, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/scheduler.rs:74:74 [INFO] [stdout] | [INFO] [stdout] 74 | use futures_util::{pin_mut, stream::FuturesUnordered, Future, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old` [INFO] [stdout] --> src/diff.rs:1029:9 [INFO] [stdout] | [INFO] [stdout] 1029 | old: &'bump VNode<'bump>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new` [INFO] [stdout] --> src/diff.rs:1030:9 [INFO] [stdout] | [INFO] [stdout] 1030 | new: &'bump [VNode<'bump>], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/heuristics.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let e = self.heuristics.entry(g); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heuristic` [INFO] [stdout] --> src/heuristics.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | fn recommend(&mut self, fc: FC, heuristic: Heuristic) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heuristic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/resources.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn collect_garbage(&self, id: ElementId) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/scheduler.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | let (discrete, priority) = event_meta(&event); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirty_scope` [INFO] [stdout] --> src/scheduler.rs:274:35 [INFO] [stdout] | [INFO] [stdout] 274 | while let Ok(Some(dirty_scope)) = self.receiver.try_next() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirty_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/scheduler.rs:319:32 [INFO] [stdout] | [INFO] [stdout] 319 | SchedulerMsg::Task(msg) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/scheduler.rs:326:32 [INFO] [stdout] | [INFO] [stdout] 326 | let (discrete, priority) = event_meta(&event); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirty_scope` [INFO] [stdout] --> src/scheduler.rs:333:43 [INFO] [stdout] | [INFO] [stdout] 333 | while let Ok(Some(dirty_scope)) = self.receiver.try_next() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirty_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_node` [INFO] [stdout] --> src/scope.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | let new_node: DomTree<'a> = (cb)(cx); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/virtual_dom.rs:366:40 [INFO] [stdout] | [INFO] [stdout] 366 | SchedulerMsg::Task(t) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/virtual_dom.rs:379:36 [INFO] [stdout] | [INFO] [stdout] 379 | SchedulerMsg::Task(t) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scheduler.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | let mut component = self.pool.get_scope_mut(scopeid).unwrap(); [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] --> src/scheduler.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | let mut saved = machine.save(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_and_create_one_with_many` [INFO] [stdout] --> src/diff.rs:1027:8 [INFO] [stdout] | [INFO] [stdout] 1027 | fn replace_and_create_one_with_many( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compare_strs` [INFO] [stdout] --> src/diff.rs:1132:4 [INFO] [stdout] | [INFO] [stdout] 1132 | fn compare_strs(a: &str, b: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `element_id_stack` [INFO] [stdout] --> src/diff_stack.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub element_id_stack: SmallVec<[ElementId; 5]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `heuristics` [INFO] [stdout] --> src/heuristics.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | heuristics: FxHashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hooks` [INFO] [stdout] --> src/heuristics.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | hooks: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bump_size` [INFO] [stdout] --> src/heuristics.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | bump_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recommend` [INFO] [stdout] --> src/heuristics.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn recommend(&mut self, fc: FC, heuristic: Heuristic) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_recommendation` [INFO] [stdout] --> src/heuristics.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_recommendation(&mut self, fc: FC) -> &Heuristic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_scope_vnode` [INFO] [stdout] --> src/resources.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn with_scope_vnode<'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_remove` [INFO] [stdout] --> src/resources.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn try_remove(&self, id: ScopeId) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `borrow_bumpframe` [INFO] [stdout] --> src/resources.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn borrow_bumpframe(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `task_counter` [INFO] [stdout] --> src/scheduler.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub task_counter: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `heuristics` [INFO] [stdout] --> src/scheduler.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub heuristics: HeuristicsEngine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_garbage` [INFO] [stdout] --> src/scheduler.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub pending_garbage: FxHashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_immediates` [INFO] [stdout] --> src/scheduler.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub pending_immediates: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_tasks` [INFO] [stdout] --> src/scheduler.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub pending_tasks: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `batched_events` [INFO] [stdout] --> src/scheduler.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub batched_events: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `garbage_scopes` [INFO] [stdout] --> src/scheduler.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub garbage_scopes: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `in_progress` [INFO] [stdout] --> src/scheduler.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub in_progress: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_ui_event` [INFO] [stdout] --> src/scheduler.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn handle_ui_event(&mut self, event: UserEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `balance_lanes` [INFO] [stdout] --> src/scheduler.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn balance_lanes(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_suspended_node` [INFO] [stdout] --> src/scope.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) fn call_suspended_node<'a>(&'a mut self, task_id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: path statement with no effect [INFO] [stdout] --> src/scheduler.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | discrete; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(path_statements)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling fern v0.6.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling simple_logger v1.13.0 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling dioxus-core v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `h1` should have an upper camel case name [INFO] [stdout] --> examples/html.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct h1 {} [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `h2` should have an upper camel case name [INFO] [stdout] --> examples/html.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct h2 {} [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dioxus_html` [INFO] [stdout] --> examples/jsframework.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dioxus_html as dioxus_elements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `dioxus_html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> examples/borrowed.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | fn app<'a>(cx: Context<'a>, props: &AppProps) -> DomTree<'a> { [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: `props` [INFO] [stdout] --> examples/borrowed.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | fn ChildItem<'a>(cx: Context<'a>, props: &'a ChildProps) -> DomTree<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AppProps` [INFO] [stdout] --> examples/borrowed.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct AppProps { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `app` [INFO] [stdout] --> examples/borrowed.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn app<'a>(cx: Context<'a>, props: &AppProps) -> DomTree<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `item` [INFO] [stdout] --> examples/borrowed.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | item: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `item_handler` [INFO] [stdout] --> examples/borrowed.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | item_handler: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ChildItem` [INFO] [stdout] --> examples/borrowed.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn ChildItem<'a>(cx: Context<'a>, props: &'a ChildProps) -> DomTree<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ChildItem` should have a snake case name [INFO] [stdout] --> examples/borrowed.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn ChildItem<'a>(cx: Context<'a>, props: &'a ChildProps) -> DomTree<'a> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `child_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dioxus_html` [INFO] [stdout] --> tests/vdom_rebuild.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use dioxus_html as dioxus_elements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `dioxus_html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dioxus_html` [INFO] [stdout] --> tests/lifecycle.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use dioxus_html as dioxus_elements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `dioxus_html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build` [INFO] [stdout] --> examples/html.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn build(factory: Factory) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dioxus_html` [INFO] [stdout] --> tests/display_vdom.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use dioxus_html as dioxus_elements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `dioxus_html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deadline` [INFO] [stdout] --> examples/vdom_usage.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let deadline = async_std::task::sleep(Duration::from_millis(50)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deadline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `h1` [INFO] [stdout] --> examples/html.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct h1 {} [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `h2` [INFO] [stdout] --> examples/html.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct h2 {} [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `class` [INFO] [stdout] --> examples/html.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn class(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tag` [INFO] [stdout] --> examples/html.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn tag(self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type` [INFO] [stdout] --> examples/html.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn r#type(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bump` [INFO] [stdout] --> examples/html.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | bump: &'a bumpalo::Bump, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> examples/html.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn text(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_el` [INFO] [stdout] --> examples/html.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn new_el(&'a self, tag: &'static str) -> ElementBuilder<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ElementBuilder` [INFO] [stdout] --> examples/html.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | struct ElementBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `TagName` should have an upper case name [INFO] [stdout] --> examples/html.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | const TagName: &'static str; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `TAG_NAME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `TagName` should have an upper case name [INFO] [stdout] --> examples/html.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | const TagName: &'static str = "div"; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `TAG_NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dioxus_html` [INFO] [stdout] --> tests/hooks.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dioxus_html as dioxus_elements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `dioxus_html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> examples/vdom_usage.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | static App: FC<()> = |cx, props| cx.render(LazyNodes::new(|f| f.text(format_args!("hello")))); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `App` should have an upper case name [INFO] [stdout] --> examples/vdom_usage.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | static App: FC<()> = |cx, props| cx.render(LazyNodes::new(|f| f.text(format_args!("hello")))); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `APP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dioxus_html` [INFO] [stdout] --> tests/sharedstate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dioxus_html as dioxus_elements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `dioxus_html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nodes::VSuspended` [INFO] [stdout] --> tests/sharedstate.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::{nodes::VSuspended, prelude::*, DomEdit, TestDom}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Result` [INFO] [stdout] --> tests/lifecycle.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Result` [INFO] [stdout] --> tests/hooks.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dioxus::prelude::*` [INFO] [stdout] --> tests/hooks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell`, `rc::Rc` [INFO] [stdout] --> tests/display_vdom.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Result` [INFO] [stdout] --> tests/display_vdom.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dioxus_html` [INFO] [stdout] --> tests/create_dom.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use dioxus_html as dioxus_elements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `dioxus_html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SomeContext` [INFO] [stdout] --> examples/contextapi.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct SomeContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> examples/fragment_from_iter.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | fn app<'a>(cx: Context<'a>, props: &()) -> DomTree<'a> { [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] error[E0432]: unresolved import `dioxus_html` [INFO] [stdout] --> tests/eventsystem.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dioxus_html as dioxus_elements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `dioxus_html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dioxus_html` [INFO] [stdout] --> tests/borrowedstate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dioxus_html as dioxus_elements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `dioxus_html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-core` due to 2 previous errors; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `DomEdit`, `TestDom`, `nodes::VSuspended` [INFO] [stdout] --> tests/borrowedstate.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::{nodes::VSuspended, prelude::*, DomEdit, TestDom}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Example` should have an upper case name [INFO] [stdout] --> examples/contextapi.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | static Example: FC<()> = |cx, 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: function is never used: `app` [INFO] [stdout] --> examples/fragment_from_iter.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn app<'a>(cx: Context<'a>, props: &()) -> DomTree<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> examples/async.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | let (handle, contents) = use_task(cx, || async { "hello world".to_string() }); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn_local` in module `async_std::task` [INFO] [stdout] --> tests/eventsystem.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | async_std::task::spawn_local(async move { [INFO] [stdout] | ^^^^^^^^^^^ not found in `async_std::task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bumpalo::Bump` [INFO] [stdout] --> tests/eventsystem.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bumpalo::Bump; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Result` [INFO] [stdout] --> tests/eventsystem.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DomEdit` [INFO] [stdout] --> tests/eventsystem.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use dioxus::{prelude::*, DomEdit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> examples/async.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let (handle, contents) = use_task(cx, || async { "hello world".to_string() }); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> examples/async.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | const App: FC<()> = |cx, props| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `App` should have an upper case name [INFO] [stdout] --> examples/async.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const App: FC<()> = |cx, props| { [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `APP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dioxus_html` [INFO] [stdout] --> tests/diffing.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use dioxus_html as dioxus_elements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `dioxus_html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/heuristics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Future`, `pin_mut` [INFO] [stdout] --> src/scheduler.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | use futures_util::{pin_mut, stream::FuturesUnordered, Future, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fxhash::FxHashMap` [INFO] [stdout] --> src/scheduler.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | use fxhash::FxHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::Future` [INFO] [stdout] --> src/virtual_dom.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use futures_util::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/scheduler.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | use futures_util::{pin_mut, stream::FuturesUnordered, Future, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/scheduler.rs:74:74 [INFO] [stdout] | [INFO] [stdout] 74 | use futures_util::{pin_mut, stream::FuturesUnordered, Future, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old` [INFO] [stdout] --> src/diff.rs:1029:9 [INFO] [stdout] | [INFO] [stdout] 1029 | old: &'bump VNode<'bump>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new` [INFO] [stdout] --> src/diff.rs:1030:9 [INFO] [stdout] | [INFO] [stdout] 1030 | new: &'bump [VNode<'bump>], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/heuristics.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let engine = HeuristicsEngine::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/heuristics.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let e = self.heuristics.entry(g); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heuristic` [INFO] [stdout] --> src/heuristics.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | fn recommend(&mut self, fc: FC, heuristic: Heuristic) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heuristic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/resources.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn collect_garbage(&self, id: ElementId) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/scheduler.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | let (discrete, priority) = event_meta(&event); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirty_scope` [INFO] [stdout] --> src/scheduler.rs:274:35 [INFO] [stdout] | [INFO] [stdout] 274 | while let Ok(Some(dirty_scope)) = self.receiver.try_next() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirty_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/scheduler.rs:319:32 [INFO] [stdout] | [INFO] [stdout] 319 | SchedulerMsg::Task(msg) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/scheduler.rs:326:32 [INFO] [stdout] | [INFO] [stdout] 326 | let (discrete, priority) = event_meta(&event); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirty_scope` [INFO] [stdout] --> src/scheduler.rs:333:43 [INFO] [stdout] | [INFO] [stdout] 333 | while let Ok(Some(dirty_scope)) = self.receiver.try_next() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirty_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_node` [INFO] [stdout] --> src/scope.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | let new_node: DomTree<'a> = (cb)(cx); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/virtual_dom.rs:366:40 [INFO] [stdout] | [INFO] [stdout] 366 | SchedulerMsg::Task(t) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/virtual_dom.rs:379:36 [INFO] [stdout] | [INFO] [stdout] 379 | SchedulerMsg::Task(t) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scheduler.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | let mut component = self.pool.get_scope_mut(scopeid).unwrap(); [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] --> src/scheduler.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | let mut saved = machine.save(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_and_create_one_with_many` [INFO] [stdout] --> src/diff.rs:1027:8 [INFO] [stdout] | [INFO] [stdout] 1027 | fn replace_and_create_one_with_many( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compare_strs` [INFO] [stdout] --> src/diff.rs:1132:4 [INFO] [stdout] | [INFO] [stdout] 1132 | fn compare_strs(a: &str, b: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `element_id_stack` [INFO] [stdout] --> src/diff_stack.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub element_id_stack: SmallVec<[ElementId; 5]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `heuristics` [INFO] [stdout] --> src/heuristics.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | heuristics: FxHashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hooks` [INFO] [stdout] --> src/heuristics.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | hooks: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bump_size` [INFO] [stdout] --> src/heuristics.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | bump_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recommend` [INFO] [stdout] --> src/heuristics.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn recommend(&mut self, fc: FC, heuristic: Heuristic) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_recommendation` [INFO] [stdout] --> src/heuristics.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_recommendation(&mut self, fc: FC) -> &Heuristic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_scope_vnode` [INFO] [stdout] --> src/resources.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn with_scope_vnode<'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_remove` [INFO] [stdout] --> src/resources.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn try_remove(&self, id: ScopeId) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `borrow_bumpframe` [INFO] [stdout] --> src/resources.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn borrow_bumpframe(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `task_counter` [INFO] [stdout] --> src/scheduler.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub task_counter: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `heuristics` [INFO] [stdout] --> src/scheduler.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub heuristics: HeuristicsEngine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_garbage` [INFO] [stdout] --> src/scheduler.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub pending_garbage: FxHashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_immediates` [INFO] [stdout] --> src/scheduler.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub pending_immediates: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_tasks` [INFO] [stdout] --> src/scheduler.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub pending_tasks: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `batched_events` [INFO] [stdout] --> src/scheduler.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub batched_events: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `garbage_scopes` [INFO] [stdout] --> src/scheduler.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub garbage_scopes: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `in_progress` [INFO] [stdout] --> src/scheduler.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub in_progress: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_ui_event` [INFO] [stdout] --> src/scheduler.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn handle_ui_event(&mut self, event: UserEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `balance_lanes` [INFO] [stdout] --> src/scheduler.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn balance_lanes(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_suspended_node` [INFO] [stdout] --> src/scope.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) fn call_suspended_node<'a>(&'a mut self, task_id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: path statement with no effect [INFO] [stdout] --> src/scheduler.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | discrete; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(path_statements)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "274c53949b482d51535a801a2aa876267d0639a547c19730bd8aa104abb553bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "274c53949b482d51535a801a2aa876267d0639a547c19730bd8aa104abb553bf", kill_on_drop: false }` [INFO] [stdout] 274c53949b482d51535a801a2aa876267d0639a547c19730bd8aa104abb553bf