[INFO] cloning repository https://github.com/ParadeTo/big-react-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ParadeTo/big-react-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParadeTo%2Fbig-react-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParadeTo%2Fbig-react-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0acb4cb40b4c3200ea1ba03031e4a9447747728e [INFO] checking ParadeTo/big-react-wasm/0acb4cb40b4c3200ea1ba03031e4a9447747728e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParadeTo%2Fbig-react-wasm" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ParadeTo/big-react-wasm on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ParadeTo/big-react-wasm [INFO] finished tweaking git repo https://github.com/ParadeTo/big-react-wasm [INFO] tweaked toml for git repo https://github.com/ParadeTo/big-react-wasm written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ParadeTo/big-react-wasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc1/source/packages/react/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc1/source/packages/react-dom/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc1/source/packages/react-reconciler/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc1/source/packages/react-noop/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-worker v0.5.0 [INFO] [stderr] Downloaded thiserror v1.0.59 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.42 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Downloaded gloo-render v0.2.0 [INFO] [stderr] Downloaded gloo-timers v0.3.0 [INFO] [stderr] Downloaded gloo-console v0.3.0 [INFO] [stderr] Downloaded gloo-dialogs v0.2.0 [INFO] [stderr] Downloaded gloo-events v0.2.0 [INFO] [stderr] Downloaded gloo-storage v0.3.0 [INFO] [stderr] Downloaded serde v1.0.199 [INFO] [stderr] Downloaded gloo-file v0.3.0 [INFO] [stderr] Downloaded gloo-history v0.2.2 [INFO] [stderr] Downloaded getrandom v0.2.14 [INFO] [stderr] Downloaded rustversion v1.0.15 [INFO] [stderr] Downloaded serde_derive v1.0.199 [INFO] [stderr] Downloaded thiserror-impl v1.0.59 [INFO] [stderr] Downloaded gloo-worker-macros v0.1.0 [INFO] [stderr] Downloaded gloo v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74abdaf0a472d32983cfb8064049f2531ebd7857ddd555fb7f94f667cac28522 [INFO] running `Command { std: "docker" "start" "-a" "74abdaf0a472d32983cfb8064049f2531ebd7857ddd555fb7f94f667cac28522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74abdaf0a472d32983cfb8064049f2531ebd7857ddd555fb7f94f667cac28522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74abdaf0a472d32983cfb8064049f2531ebd7857ddd555fb7f94f667cac28522", kill_on_drop: false }` [INFO] [stdout] 74abdaf0a472d32983cfb8064049f2531ebd7857ddd555fb7f94f667cac28522 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45b81b75362709724b00362e964baec909a2c024e5e14207d08bd51c33ad1fcf [INFO] running `Command { std: "docker" "start" "-a" "45b81b75362709724b00362e964baec909a2c024e5e14207d08bd51c33ad1fcf", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/react/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/react-dom/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/react-reconciler/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/react-noop/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/packages/shared) [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking scheduler v0.1.0 (/opt/rustwide/workdir/packages/scheduler) [INFO] [stderr] Checking react v0.1.0 (/opt/rustwide/workdir/packages/react) [INFO] [stderr] Checking gloo-worker v0.5.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-net v0.5.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stdout] warning: unused import: `shared::log` [INFO] [stdout] --> packages/scheduler/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use shared::log; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `peek_mut` [INFO] [stdout] --> packages/scheduler/src/lib.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::heap::{peek, peek_mut, pop, push}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> packages/scheduler/src/lib.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 113 | sort_index_ordering = (Ordering::Greater) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - sort_index_ordering = (Ordering::Greater) [INFO] [stdout] 113 + sort_index_ordering = Ordering::Greater [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::log` [INFO] [stdout] --> packages/scheduler/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use shared::log; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `peek_mut` [INFO] [stdout] --> packages/scheduler/src/lib.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::heap::{peek, peek_mut, pop, push}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> packages/scheduler/src/heap.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | sort_index_ordering = (Ordering::Greater) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 - sort_index_ordering = (Ordering::Greater) [INFO] [stdout] 124 + sort_index_ordering = Ordering::Greater [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> packages/scheduler/src/lib.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 113 | sort_index_ordering = (Ordering::Greater) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - sort_index_ordering = (Ordering::Greater) [INFO] [stdout] 113 + sort_index_ordering = Ordering::Greater [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:248:30 [INFO] [stdout] | [INFO] [stdout] 248 | let mut timer = peek(&TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 248 | let mut timer = peek(addr_of!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | pop(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 252 | pop(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | let t = pop(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 254 | let t = pop(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | push(&mut TASK_QUEUE, task.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 257 | push(addr_of_mut!(TASK_QUEUE), task.clone()); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:261:26 [INFO] [stdout] | [INFO] [stdout] 261 | timer = peek(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 261 | timer = peek(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:315:29 [INFO] [stdout] | [INFO] [stdout] 315 | CURRENT_TASK = peek(&TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 315 | CURRENT_TASK = peek(addr_of!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:338:35 [INFO] [stdout] | [INFO] [stdout] 338 | if match peek(&TASK_QUEUE) { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 338 | if match peek(addr_of!(TASK_QUEUE)) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:342:29 [INFO] [stdout] | [INFO] [stdout] 342 | pop(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 342 | pop(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:348:21 [INFO] [stdout] | [INFO] [stdout] 348 | pop(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 348 | pop(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | CURRENT_TASK = peek(&TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | CURRENT_TASK = peek(addr_of!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:357:36 [INFO] [stdout] | [INFO] [stdout] 357 | let first_timer = peek(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 357 | let first_timer = peek(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | if peek(&mut TASK_QUEUE).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 385 | if peek(addr_of_mut!(TASK_QUEUE)).is_some() { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:389:40 [INFO] [stdout] | [INFO] [stdout] 389 | let first_timer = peek(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 389 | let first_timer = peek(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:417:21 [INFO] [stdout] | [INFO] [stdout] 417 | for task in &TASK_QUEUE { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 417 | for task in addr_of!(TASK_QUEUE) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | for task in &TIMER_QUEUE { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | for task in addr_of!(TIMER_QUEUE) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:455:18 [INFO] [stdout] | [INFO] [stdout] 455 | push(&mut TIMER_QUEUE, new_task.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 455 | push(addr_of_mut!(TIMER_QUEUE), new_task.clone()); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:457:21 [INFO] [stdout] | [INFO] [stdout] 457 | if peek(&mut TASK_QUEUE).is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 457 | if peek(addr_of_mut!(TASK_QUEUE)).is_none() { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:458:42 [INFO] [stdout] | [INFO] [stdout] 458 | if let Some(task) = peek(&mut TIMER_QUEUE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 458 | if let Some(task) = peek(addr_of_mut!(TIMER_QUEUE)) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:471:18 [INFO] [stdout] | [INFO] [stdout] 471 | push(&mut TASK_QUEUE, new_task); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 471 | push(addr_of_mut!(TASK_QUEUE), new_task); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/scheduler/src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut sort_index_ordering; [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: unused variable: `t` [INFO] [stdout] --> packages/scheduler/src/lib.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | let t = pop(&mut TIMER_QUEUE); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | use_effect.call2(&JsValue::null(), create, deps); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 129 | let _ = use_effect.call2(&JsValue::null(), create, deps); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | / Reflect::set( [INFO] [stdout] 172 | | &context, [INFO] [stdout] 173 | | &"$$typeof".into(), [INFO] [stdout] 174 | | &JsValue::from_str(REACT_CONTEXT_TYPE), [INFO] [stdout] 175 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | Reflect::set(&context, &"_currentValue".into(), default_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | let _ = Reflect::set(&context, &"_currentValue".into(), default_value); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / Reflect::set( [INFO] [stdout] 179 | | &provider, [INFO] [stdout] 180 | | &"$$typeof".into(), [INFO] [stdout] 181 | | &JsValue::from_str(REACT_PROVIDER_TYPE), [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | Reflect::set(&provider, &"_context".into(), &context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = Reflect::set(&provider, &"_context".into(), &context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/scheduler/src/lib.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | let mut new_task = Rc::new(RefCell::new(Task::new( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | Reflect::set(&context, &"Provider".into(), &provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 184 | let _ = Reflect::set(&context, &"Provider".into(), &provider); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / Reflect::set( [INFO] [stdout] 193 | | &fiber_type, [INFO] [stdout] 194 | | &"$$typeof".into(), [INFO] [stdout] 195 | | &JsValue::from_str(REACT_MEMO_TYPE), [INFO] [stdout] 196 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 192 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | Reflect::set(&fiber_type, &"type".into(), _type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 197 | let _ = Reflect::set(&fiber_type, &"type".into(), _type); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / Reflect::set( [INFO] [stdout] 201 | | &fiber_type, [INFO] [stdout] 202 | | &"compare".into(), [INFO] [stdout] 203 | | if compare.is_undefined() { [INFO] [stdout] ... | [INFO] [stdout] 207 | | }, [INFO] [stdout] 208 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 200 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | Reflect::set(&payload, &"_status".into(), &JsValue::from(UNINITIALIZED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = Reflect::set(&payload, &"_status".into(), &JsValue::from(UNINITIALIZED)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:248:30 [INFO] [stdout] | [INFO] [stdout] 248 | let mut timer = peek(&TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 248 | let mut timer = peek(addr_of!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | Reflect::set(&payload, &"_result".into(), ctor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 216 | let _ = Reflect::set(&payload, &"_result".into(), ctor); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / Reflect::set( [INFO] [stdout] 221 | | &lazy_type, [INFO] [stdout] 222 | | &"$$typeof".into(), [INFO] [stdout] 223 | | &JsValue::from_str(REACT_LAZY_TYPE), [INFO] [stdout] 224 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 220 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | pop(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 252 | pop(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | Reflect::set(&lazy_type, &"_payload".into(), &payload); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 225 | let _ = Reflect::set(&lazy_type, &"_payload".into(), &payload); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | Reflect::set(&lazy_type, &"_init".into(), &f); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 231 | let _ = Reflect::set(&lazy_type, &"_init".into(), &f); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MESSAGE_CHANNEL` is never used [INFO] [stdout] --> packages/scheduler/src/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | static mut MESSAGE_CHANNEL: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | Reflect::set(&payload1, &"_status".into(), &JsValue::from(RESOLVED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = Reflect::set(&payload1, &"_status".into(), &JsValue::from(RESOLVED)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | let t = pop(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 254 | let t = pop(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_empty` is never used [INFO] [stdout] --> packages/scheduler/src/heap.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn is_empty(heap: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Reflect::set(&payload1, &"_result".into(), &module); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = Reflect::set(&payload1, &"_result".into(), &module); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | Reflect::set(&payload2, &"_status".into(), &JsValue::from(REJECTED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = Reflect::set(&payload2, &"_status".into(), &JsValue::from(REJECTED)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `peek_mut` is never used [INFO] [stdout] --> packages/scheduler/src/heap.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn peek_mut(heap: &mut Vec) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | push(&mut TASK_QUEUE, task.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 257 | push(addr_of_mut!(TASK_QUEUE), task.clone()); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Reflect::set(&payload2, &"_result".into(), &err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = Reflect::set(&payload2, &"_result".into(), &err); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:261:26 [INFO] [stdout] | [INFO] [stdout] 261 | timer = peek(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 261 | timer = peek(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | then.call2(&thenable, &on_resolve, &on_reject); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = then.call2(&thenable, &on_resolve, &on_reject); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Reflect::set(&payload, &"_status".into(), &JsValue::from(PENDING)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = Reflect::set(&payload, &"_status".into(), &JsValue::from(PENDING)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Reflect::set(&payload, &"_result".into(), &thenable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = Reflect::set(&payload, &"_result".into(), &thenable); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:315:29 [INFO] [stdout] | [INFO] [stdout] 315 | CURRENT_TASK = peek(&TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 315 | CURRENT_TASK = peek(addr_of!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:338:35 [INFO] [stdout] | [INFO] [stdout] 338 | if match peek(&TASK_QUEUE) { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 338 | if match peek(addr_of!(TASK_QUEUE)) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:342:29 [INFO] [stdout] | [INFO] [stdout] 342 | pop(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 342 | pop(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:348:21 [INFO] [stdout] | [INFO] [stdout] 348 | pop(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 348 | pop(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | CURRENT_TASK = peek(&TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | CURRENT_TASK = peek(addr_of!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:357:36 [INFO] [stdout] | [INFO] [stdout] 357 | let first_timer = peek(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 357 | let first_timer = peek(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | if peek(&mut TASK_QUEUE).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 385 | if peek(addr_of_mut!(TASK_QUEUE)).is_some() { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:389:40 [INFO] [stdout] | [INFO] [stdout] 389 | let first_timer = peek(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 389 | let first_timer = peek(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:417:21 [INFO] [stdout] | [INFO] [stdout] 417 | for task in &TASK_QUEUE { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 417 | for task in addr_of!(TASK_QUEUE) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | for task in &TIMER_QUEUE { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | for task in addr_of!(TIMER_QUEUE) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:455:18 [INFO] [stdout] | [INFO] [stdout] 455 | push(&mut TIMER_QUEUE, new_task.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 455 | push(addr_of_mut!(TIMER_QUEUE), new_task.clone()); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:457:21 [INFO] [stdout] | [INFO] [stdout] 457 | if peek(&mut TASK_QUEUE).is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 457 | if peek(addr_of_mut!(TASK_QUEUE)).is_none() { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:458:42 [INFO] [stdout] | [INFO] [stdout] 458 | if let Some(task) = peek(&mut TIMER_QUEUE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 458 | if let Some(task) = peek(addr_of_mut!(TIMER_QUEUE)) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:471:18 [INFO] [stdout] | [INFO] [stdout] 471 | push(&mut TASK_QUEUE, new_task); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 471 | push(addr_of_mut!(TASK_QUEUE), new_task); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/scheduler/src/lib.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | event_handler.call0(&JsValue::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 305 | let _ = event_handler.call0(&JsValue::null()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/scheduler/src/heap.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let mut sort_index_ordering; [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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | use_effect.call2(&JsValue::null(), create, deps); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 129 | let _ = use_effect.call2(&JsValue::null(), create, deps); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | / Reflect::set( [INFO] [stdout] 172 | | &context, [INFO] [stdout] 173 | | &"$$typeof".into(), [INFO] [stdout] 174 | | &JsValue::from_str(REACT_CONTEXT_TYPE), [INFO] [stdout] 175 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | Reflect::set(&context, &"_currentValue".into(), default_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | let _ = Reflect::set(&context, &"_currentValue".into(), default_value); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / Reflect::set( [INFO] [stdout] 179 | | &provider, [INFO] [stdout] 180 | | &"$$typeof".into(), [INFO] [stdout] 181 | | &JsValue::from_str(REACT_PROVIDER_TYPE), [INFO] [stdout] 182 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | Reflect::set(&provider, &"_context".into(), &context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = Reflect::set(&provider, &"_context".into(), &context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | Reflect::set(&context, &"Provider".into(), &provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 184 | let _ = Reflect::set(&context, &"Provider".into(), &provider); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / Reflect::set( [INFO] [stdout] 193 | | &fiber_type, [INFO] [stdout] 194 | | &"$$typeof".into(), [INFO] [stdout] 195 | | &JsValue::from_str(REACT_MEMO_TYPE), [INFO] [stdout] 196 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 192 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | Reflect::set(&fiber_type, &"type".into(), _type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 197 | let _ = Reflect::set(&fiber_type, &"type".into(), _type); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / Reflect::set( [INFO] [stdout] 201 | | &fiber_type, [INFO] [stdout] 202 | | &"compare".into(), [INFO] [stdout] 203 | | if compare.is_undefined() { [INFO] [stdout] ... | [INFO] [stdout] 207 | | }, [INFO] [stdout] 208 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 200 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | Reflect::set(&payload, &"_status".into(), &JsValue::from(UNINITIALIZED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = Reflect::set(&payload, &"_status".into(), &JsValue::from(UNINITIALIZED)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | Reflect::set(&payload, &"_result".into(), ctor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 216 | let _ = Reflect::set(&payload, &"_result".into(), ctor); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / Reflect::set( [INFO] [stdout] 221 | | &lazy_type, [INFO] [stdout] 222 | | &"$$typeof".into(), [INFO] [stdout] 223 | | &JsValue::from_str(REACT_LAZY_TYPE), [INFO] [stdout] 224 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 220 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | Reflect::set(&lazy_type, &"_payload".into(), &payload); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 225 | let _ = Reflect::set(&lazy_type, &"_payload".into(), &payload); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | Reflect::set(&lazy_type, &"_init".into(), &f); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 231 | let _ = Reflect::set(&lazy_type, &"_init".into(), &f); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | Reflect::set(&payload1, &"_status".into(), &JsValue::from(RESOLVED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = Reflect::set(&payload1, &"_status".into(), &JsValue::from(RESOLVED)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Reflect::set(&payload1, &"_result".into(), &module); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = Reflect::set(&payload1, &"_result".into(), &module); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | Reflect::set(&payload2, &"_status".into(), &JsValue::from(REJECTED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = Reflect::set(&payload2, &"_status".into(), &JsValue::from(REJECTED)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Reflect::set(&payload2, &"_result".into(), &err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = Reflect::set(&payload2, &"_result".into(), &err); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | then.call2(&thenable, &on_resolve, &on_reject); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = then.call2(&thenable, &on_resolve, &on_reject); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Reflect::set(&payload, &"_status".into(), &JsValue::from(PENDING)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = Reflect::set(&payload, &"_status".into(), &JsValue::from(PENDING)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lazy.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Reflect::set(&payload, &"_result".into(), &thenable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = Reflect::set(&payload, &"_result".into(), &thenable); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/scheduler/src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut sort_index_ordering; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> packages/scheduler/src/lib.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | let t = pop(&mut TIMER_QUEUE); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking react-reconciler v0.1.0 (/opt/rustwide/workdir/packages/react-reconciler) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/scheduler/src/lib.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | let mut new_task = Rc::new(RefCell::new(Task::new( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MESSAGE_CHANNEL` is never used [INFO] [stdout] --> packages/scheduler/src/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | static mut MESSAGE_CHANNEL: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_empty` is never used [INFO] [stdout] --> packages/scheduler/src/heap.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn is_empty(heap: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `peek_mut` is never used [INFO] [stdout] --> packages/scheduler/src/heap.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn peek_mut(heap: &mut Vec) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/scheduler/src/lib.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | event_handler.call0(&JsValue::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 305 | let _ = event_handler.call0(&JsValue::null()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> packages/react-reconciler/src/child_fiber.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use shared::{derive_from_js_value, log, type_of, REACT_ELEMENT_TYPE, REACT_FRAGMENT_TYPE}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::suspense_context::pop_suspense_handler` [INFO] [stdout] --> packages/react-reconciler/src/complete_work.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::suspense_context::pop_suspense_handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use shared::{derive_from_js_value, log}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{write, Debug, Formatter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> packages/react-reconciler/src/child_fiber.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use shared::{derive_from_js_value, log, type_of, REACT_ELEMENT_TYPE, REACT_FRAGMENT_TYPE}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::suspense_context::pop_suspense_handler` [INFO] [stdout] --> packages/react-reconciler/src/complete_work.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::suspense_context::pop_suspense_handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use shared::{derive_from_js_value, log}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{write, Debug, Formatter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gloo v0.11.0 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:35:56 [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), &PREV_CONTEXT_VALUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), addr_of!(PREV_CONTEXT_VALUE)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:35:56 [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), &PREV_CONTEXT_VALUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), addr_of!(PREV_CONTEXT_VALUE)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:271:35 [INFO] [stdout] | [INFO] [stdout] 271 | next_current_hook = match &CURRENT_HOOK { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 271 | next_current_hook = match addr_of!(CURRENT_HOOK) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:292:44 [INFO] [stdout] | [INFO] [stdout] 292 | next_work_in_progress_hook = match &WORK_IN_PROGRESS_HOOK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 292 | next_work_in_progress_hook = match addr_of!(WORK_IN_PROGRESS_HOOK) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:271:35 [INFO] [stdout] | [INFO] [stdout] 271 | next_current_hook = match &CURRENT_HOOK { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 271 | next_current_hook = match addr_of!(CURRENT_HOOK) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:292:44 [INFO] [stdout] | [INFO] [stdout] 292 | next_work_in_progress_hook = match &WORK_IN_PROGRESS_HOOK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 292 | next_work_in_progress_hook = match addr_of!(WORK_IN_PROGRESS_HOOK) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let mut fallback_child_fragment; [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] --> packages/react-reconciler/src/begin_work.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let mut fallback_child_fragment; [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] --> packages/react-reconciler/src/begin_work.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | let mut deletions = { work_in_progress.borrow().deletions.clone() }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | let mut deletions = { work_in_progress.borrow().deletions.clone() }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `props_equal` is never read [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | let mut props_equal = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `props_equal` is never read [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | let mut props_equal = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | let mut pending; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | let mut pending; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut effect_rc = effect.clone().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut effect_rc = effect.clone().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phrase` [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | phrase: Phrase, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_phrase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phrase` [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | phrase: Phrase, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_phrase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | root: Rc>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | root: Rc>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> packages/react-reconciler/src/fiber.rs:401:27 [INFO] [stdout] | [INFO] [stdout] 401 | node: next, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> packages/react-reconciler/src/fiber.rs:401:27 [INFO] [stdout] | [INFO] [stdout] 401 | node: next, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_fiber` is never read [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let mut next_fiber = None; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_fiber` is never read [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let mut next_fiber = None; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_current_hook` is never read [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let mut next_current_hook: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_work_in_progress_hook` is never read [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | let mut next_work_in_progress_hook: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_current_hook` is never read [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let mut next_current_hook: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_work_in_progress_hook` is never read [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | let mut next_work_in_progress_hook: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | let mut effect = Rc::new(RefCell::new(Effect::new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | let mut effect = Rc::new(RefCell::new(Effect::new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_value` [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:661:15 [INFO] [stdout] | [INFO] [stdout] 661 | fn update_ref(initial_value: &JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_value` [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:661:15 [INFO] [stdout] | [INFO] [stdout] 661 | fn update_ref(initial_value: &JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wip` [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:784:30 [INFO] [stdout] | [INFO] [stdout] 784 | pub fn reset_hooks_on_unwind(wip: Rc>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wip` [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:784:30 [INFO] [stdout] | [INFO] [stdout] 784 | pub fn reset_hooks_on_unwind(wip: Rc>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/fiber_throw.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut ping_cache = { root.borrow().ping_cache.clone() }; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/fiber_throw.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut ping_cache_option: Option>>>> = [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/fiber_throw.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut thread_ids = ping_cache.get(&JsValueKey(wakeable.clone())).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/fiber_throw.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut ping_cache = { root.borrow().ping_cache.clone() }; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/fiber_throw.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut ping_cache_option: Option>>>> = [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/fiber_throw.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut thread_ids = ping_cache.get(&JsValueKey(wakeable.clone())).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | mut update: Update, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | mut update: Update, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let mut update = pending.clone().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let mut update = pending.clone().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `did_flush_passive_effects` [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let did_flush_passive_effects = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_did_flush_passive_effects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `did_flush_passive_effects` [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let did_flush_passive_effects = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_did_flush_passive_effects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:506:17 [INFO] [stdout] | [INFO] [stdout] 506 | fn handle_throw(root: Rc>, mut thrown_value: JsValue) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:506:17 [INFO] [stdout] | [INFO] [stdout] 506 | fn handle_throw(root: Rc>, mut thrown_value: JsValue) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Phrase` is more private than the item `commit_effects` [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | / pub fn commit_effects( [INFO] [stdout] 116 | | phrase: Phrase, [INFO] [stdout] 117 | | mask: Flags, [INFO] [stdout] 118 | | callbak: fn(Rc>, Rc>) -> (), [INFO] [stdout] 119 | | ) -> Box>, Rc>) -> ()> { [INFO] [stdout] | |__________________________________________________________________________^ function `commit_effects` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Phrase` is only usable at visibility `pub(self)` [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | enum Phrase { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Phrase` is more private than the item `commit_effects` [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | / pub fn commit_effects( [INFO] [stdout] 116 | | phrase: Phrase, [INFO] [stdout] 117 | | mask: Flags, [INFO] [stdout] 118 | | callbak: fn(Rc>, Rc>) -> (), [INFO] [stdout] 119 | | ) -> Box>, Rc>) -> ()> { [INFO] [stdout] | |__________________________________________________________________________^ function `commit_effects` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Phrase` is only usable at visibility `pub(self)` [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | enum Phrase { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `JsValueKey` is more private than the item `FiberRootNode::ping_cache` [INFO] [stdout] --> packages/react-reconciler/src/fiber.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | pub ping_cache: Option>>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `FiberRootNode::ping_cache` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `JsValueKey` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/react-reconciler/src/lib.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | struct JsValueKey(JsValue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `JsValueKey` is more private than the item `FiberRootNode::ping_cache` [INFO] [stdout] --> packages/react-reconciler/src/fiber.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | pub ping_cache: Option>>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `FiberRootNode::ping_cache` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `JsValueKey` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/react-reconciler/src/lib.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | struct JsValueKey(JsValue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memoized_state` is never read [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ContextItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 20 | context: JsValue, [INFO] [stdout] 21 | memoized_state: JsValue, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memoized_state` is never read [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ContextItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 20 | context: JsValue, [INFO] [stdout] 21 | memoized_state: JsValue, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateAction` is never constructed [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UpdateAction; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateAction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateAction` is never constructed [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UpdateAction; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateAction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let Component = { work_in_progress.borrow()._type.clone() }; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let Component = { work_in_progress.borrow()._type.clone() }; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let Component = init.call1(&JsValue::null(), &payload)?; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let Component = init.call1(&JsValue::null(), &payload)?; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | Reflect::set(&primary_child_props, &"mode".into(), &"hidden".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 146 | let _ = Reflect::set(&primary_child_props, &"mode".into(), &"hidden".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | Reflect::set(&primary_child_props, &"mode".into(), &"hidden".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 146 | let _ = Reflect::set(&primary_child_props, &"mode".into(), &"hidden".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | Reflect::set(&primary_child_props, &"mode".into(), &"hidden".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = Reflect::set(&primary_child_props, &"mode".into(), &"hidden".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | Reflect::set(&primary_child_props, &"mode".into(), &"hidden".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = Reflect::set(&primary_child_props, &"mode".into(), &"hidden".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 179 | let _ = Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 179 | let _ = Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | Reflect::set(&primary_child_props, &"mode".into(), &"visible".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = Reflect::set(&primary_child_props, &"mode".into(), &"visible".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | Reflect::set(&primary_child_props, &"mode".into(), &"visible".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = Reflect::set(&primary_child_props, &"mode".into(), &"visible".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | Reflect::set(&primary_child_props, &"mode".into(), &"visible".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 237 | let _ = Reflect::set(&primary_child_props, &"mode".into(), &"visible".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | Reflect::set(&primary_child_props, &"mode".into(), &"visible".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 237 | let _ = Reflect::set(&primary_child_props, &"mode".into(), &"visible".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 238 | let _ = Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 238 | let _ = Reflect::set(&primary_child_props, &"children".into(), &primary_children); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | let Component = { derive_from_js_value(&work_in_progress.borrow()._type, "type") }; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | Component: JsValue, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | let Component = { derive_from_js_value(&work_in_progress.borrow()._type, "type") }; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | Component: JsValue, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / destroy [INFO] [stdout] 85 | | .dyn_ref::() [INFO] [stdout] 86 | | .unwrap() [INFO] [stdout] 87 | | .call0(&JsValue::null()); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = destroy [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / destroy [INFO] [stdout] 85 | | .dyn_ref::() [INFO] [stdout] 86 | | .unwrap() [INFO] [stdout] 87 | | .call0(&JsValue::null()); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = destroy [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | / destroy [INFO] [stdout] 98 | | .dyn_ref::() [INFO] [stdout] 99 | | .unwrap() [INFO] [stdout] 100 | | .call0(&JsValue::null()); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = destroy [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | / destroy [INFO] [stdout] 98 | | .dyn_ref::() [INFO] [stdout] 99 | | .unwrap() [INFO] [stdout] 100 | | .call0(&JsValue::null()); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = destroy [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | / _ref.dyn_ref::() [INFO] [stdout] 256 | | .unwrap() [INFO] [stdout] 257 | | .call1(&JsValue::null(), &JsValue::null()); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 255 | let _ = _ref.dyn_ref::() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | / _ref.dyn_ref::() [INFO] [stdout] 256 | | .unwrap() [INFO] [stdout] 257 | | .call1(&JsValue::null(), &JsValue::null()); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 255 | let _ = _ref.dyn_ref::() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | Reflect::set(&_ref, &"current".into(), &JsValue::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 259 | let _ = Reflect::set(&_ref, &"current".into(), &JsValue::null()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | Reflect::set(&_ref, &"current".into(), &JsValue::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 259 | let _ = Reflect::set(&_ref, &"current".into(), &JsValue::null()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | / _ref.dyn_ref::() [INFO] [stdout] 285 | | .unwrap() [INFO] [stdout] 286 | | .call1(&JsValue::null(), instance); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 284 | let _ = _ref.dyn_ref::() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | / _ref.dyn_ref::() [INFO] [stdout] 285 | | .unwrap() [INFO] [stdout] 286 | | .call1(&JsValue::null(), instance); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 284 | let _ = _ref.dyn_ref::() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | Reflect::set(&_ref, &"current".into(), instance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 288 | let _ = Reflect::set(&_ref, &"current".into(), instance); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | Reflect::set(&_ref, &"current".into(), instance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 288 | let _ = Reflect::set(&_ref, &"current".into(), instance); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Reflect::set(context, &"_currentValue".into(), &new_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = Reflect::set(context, &"_currentValue".into(), &new_value); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Reflect::set(context, &"_currentValue".into(), &new_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = Reflect::set(context, &"_currentValue".into(), &new_value); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), &PREV_CONTEXT_VALUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = Reflect::set(context, &"_currentValue".into(), &PREV_CONTEXT_VALUE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), &PREV_CONTEXT_VALUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = Reflect::set(context, &"_currentValue".into(), &PREV_CONTEXT_VALUE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | Component: JsValue, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | Component: JsValue, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:655:5 [INFO] [stdout] | [INFO] [stdout] 655 | Reflect::set(&ref_obj, &"current".into(), initial_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 655 | let _ = Reflect::set(&ref_obj, &"current".into(), initial_value); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:655:5 [INFO] [stdout] | [INFO] [stdout] 655 | Reflect::set(&ref_obj, &"current".into(), initial_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 655 | let _ = Reflect::set(&ref_obj, &"current".into(), initial_value); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:827:5 [INFO] [stdout] | [INFO] [stdout] 827 | set_pending.call1(&JsValue::null(), &JsValue::from_bool(true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 827 | let _ = set_pending.call1(&JsValue::null(), &JsValue::from_bool(true)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:827:5 [INFO] [stdout] | [INFO] [stdout] 827 | set_pending.call1(&JsValue::null(), &JsValue::from_bool(true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 827 | let _ = set_pending.call1(&JsValue::null(), &JsValue::from_bool(true)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:832:5 [INFO] [stdout] | [INFO] [stdout] 832 | callback.call0(&JsValue::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 832 | let _ = callback.call0(&JsValue::null()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:832:5 [INFO] [stdout] | [INFO] [stdout] 832 | callback.call0(&JsValue::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 832 | let _ = callback.call0(&JsValue::null()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:833:5 [INFO] [stdout] | [INFO] [stdout] 833 | set_pending.call1(&JsValue::null(), &JsValue::from_bool(false)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 833 | let _ = set_pending.call1(&JsValue::null(), &JsValue::from_bool(false)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:833:5 [INFO] [stdout] | [INFO] [stdout] 833 | set_pending.call1(&JsValue::null(), &JsValue::from_bool(false)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 833 | let _ = set_pending.call1(&JsValue::null(), &JsValue::from_bool(false)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | then.call2(&thenable, &noop, &noop); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = then.call2(&thenable, &noop, &noop); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Reflect::set(&thenable, &"status".into(), &"pending".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = Reflect::set(&thenable, &"status".into(), &"pending".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | Reflect::set(&thenable1, &"status".into(), &"fulfilled".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Reflect::set(&thenable1, &"status".into(), &"fulfilled".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | then.call2(&thenable, &noop, &noop); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = then.call2(&thenable, &noop, &noop); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | Reflect::set(&thenable1, &"value".into(), &val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = Reflect::set(&thenable1, &"value".into(), &val); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Reflect::set(&thenable, &"status".into(), &"pending".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = Reflect::set(&thenable, &"status".into(), &"pending".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | Reflect::set(&thenable2, &"status".into(), &"rejected".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = Reflect::set(&thenable2, &"status".into(), &"rejected".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | Reflect::set(&thenable1, &"status".into(), &"fulfilled".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Reflect::set(&thenable1, &"status".into(), &"fulfilled".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | Reflect::set(&thenable2, &"reason".into(), &err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = Reflect::set(&thenable2, &"reason".into(), &err); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | Reflect::set(&thenable1, &"value".into(), &val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = Reflect::set(&thenable1, &"value".into(), &val); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | then.call2(&thenable, &on_resolve, &on_reject); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = then.call2(&thenable, &on_resolve, &on_reject); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | Reflect::set(&thenable2, &"status".into(), &"rejected".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = Reflect::set(&thenable2, &"status".into(), &"rejected".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | Reflect::set(&thenable2, &"reason".into(), &err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = Reflect::set(&thenable2, &"reason".into(), &err); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | then.call2(&thenable, &on_resolve, &on_reject); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = then.call2(&thenable, &on_resolve, &on_reject); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | / write!( [INFO] [stdout] 100 | | f, [INFO] [stdout] 101 | | "memoized_state:{:?} base_state:{:?}", [INFO] [stdout] 102 | | self.memoized_state, self.base_state [INFO] [stdout] 103 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | / write!( [INFO] [stdout] 100 | | f, [INFO] [stdout] 101 | | "memoized_state:{:?} base_state:{:?}", [INFO] [stdout] 102 | | self.memoized_state, self.base_state [INFO] [stdout] 103 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | write!(f, " base_queue:{:?}", base_queue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | write!(f, "---> {:?}", next); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | write!(f, " base_queue:{:?}", base_queue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | write!(f, "---> {:?}", next); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking react-noop v0.1.0 (/opt/rustwide/workdir/packages/react-noop) [INFO] [stderr] Checking react-dom v0.1.0 (/opt/rustwide/workdir/packages/react-dom) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> packages/react-noop/src/renderer.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | if (!childrenChildren.is_null()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if (!childrenChildren.is_null()) { [INFO] [stdout] 80 + if !childrenChildren.is_null() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::fiber` [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::fiber::FiberRootNode; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `react_reconciler::fiber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> packages/react-noop/src/renderer.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | if (!childrenChildren.is_null()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if (!childrenChildren.is_null()) { [INFO] [stdout] 80 + if !childrenChildren.is_null() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::fiber` [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::fiber::FiberRootNode; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `react_reconciler::fiber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::console::log` [INFO] [stdout] --> packages/react-dom/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array`, `Function`, `Object`, and `Reflect` [INFO] [stdout] --> packages/react-dom/src/lib.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use js_sys::{Array, Function, Object, Reflect}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `react_reconciler::fiber::FiberRootNode` [INFO] [stdout] --> packages/react-dom/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use react_reconciler::fiber::FiberRootNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> packages/react-dom/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::console::log` [INFO] [stdout] --> packages/react-dom/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gloo::console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> packages/react-dom/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash` and `Hasher` [INFO] [stdout] --> packages/react-dom/src/lib.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array`, `Function`, `Object`, and `Reflect` [INFO] [stdout] --> packages/react-dom/src/lib.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use js_sys::{Array, Function, Object, Reflect}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Priority`, `unstable_cancel_callback`, `unstable_schedule_callback as origin_unstable_schedule_callback`, and `unstable_should_yield_to_host` [INFO] [stdout] --> packages/react-dom/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | unstable_cancel_callback, unstable_schedule_callback as origin_unstable_schedule_callback, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | unstable_should_yield_to_host, Priority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::Element` [INFO] [stdout] --> packages/react-dom/src/renderer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use web_sys::Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `react_reconciler::fiber::FiberRootNode` [INFO] [stdout] --> packages/react-dom/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use react_reconciler::fiber::FiberRootNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unstable_cancel_callback` [INFO] [stdout] --> packages/react-dom/src/synthetic_event.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use scheduler::{unstable_cancel_callback, unstable_run_with_priority, Priority}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> packages/react-dom/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> packages/react-dom/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash` and `Hasher` [INFO] [stdout] --> packages/react-dom/src/lib.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Priority`, `unstable_cancel_callback`, `unstable_schedule_callback as origin_unstable_schedule_callback`, and `unstable_should_yield_to_host` [INFO] [stdout] --> packages/react-dom/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | unstable_cancel_callback, unstable_schedule_callback as origin_unstable_schedule_callback, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | unstable_should_yield_to_host, Priority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::Element` [INFO] [stdout] --> packages/react-dom/src/renderer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use web_sys::Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unstable_cancel_callback` [INFO] [stdout] --> packages/react-dom/src/synthetic_event.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use scheduler::{unstable_cancel_callback, unstable_run_with_priority, Priority}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> packages/react-noop/src/renderer.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | .all(|c| type_of(&child, "string") || type_of(&child, "number")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> packages/react-noop/src/renderer.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | .all(|c| type_of(&child, "string") || type_of(&child, "number")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> packages/react-noop/src/host_config.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn type_of(p0: &JsValue, p1: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> packages/react-noop/src/host_config.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | fn type_of(p0: &JsValue, p1: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-noop/src/host_config.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut counter; [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: unused variable: `p0` [INFO] [stdout] --> packages/react-noop/src/host_config.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn type_of(p0: &JsValue, p1: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> packages/react-noop/src/host_config.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | fn type_of(p0: &JsValue, p1: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-noop/src/host_config.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut counter; [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 `to_string` is never used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn to_string(js_value: &JsValue) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_of` is never used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn type_of(p0: &JsValue, p1: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_string` is never used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn to_string(js_value: &JsValue) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_of` is never used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn type_of(p0: &JsValue, p1: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `childrenChildren` should have a snake case name [INFO] [stdout] --> packages/react-noop/src/renderer.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let childrenChildren = child_to_jsx(children); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `children_children` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut a = Lane::NoLane | Lane::SyncLane; [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 `childrenChildren` should have a snake case name [INFO] [stdout] --> packages/react-noop/src/renderer.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let childrenChildren = child_to_jsx(children); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `children_children` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut a = Lane::NoLane | Lane::SyncLane; [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] error: aborting due to 1 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 1 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 `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/renderer.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | Reflect::set(&props, &"children".into(), &childrenChildren); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = Reflect::set(&props, &"children".into(), &childrenChildren); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/renderer.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | Reflect::set(&obj, &"$$typeof".into(), &REACT_ELEMENT_TYPE.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = Reflect::set(&obj, &"$$typeof".into(), &REACT_ELEMENT_TYPE.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/renderer.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | Reflect::set(&obj, &"type".into(), &derive_from_js_value(&child, "type")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = Reflect::set(&obj, &"type".into(), &derive_from_js_value(&child, "type")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/renderer.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Reflect::set(&obj, &"key".into(), &JsValue::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = Reflect::set(&obj, &"key".into(), &JsValue::null()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/renderer.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | Reflect::set(&obj, &"ref".into(), &JsValue::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 88 | let _ = Reflect::set(&obj, &"ref".into(), &JsValue::null()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/renderer.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | Reflect::set(&obj, &"props".into(), &props); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = Reflect::set(&obj, &"props".into(), &props); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getChildrenAsJSX` should have a snake case name [INFO] [stdout] --> packages/react-noop/src/renderer.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn getChildrenAsJSX(&self) -> JsValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_children_as_jsx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getCounter` should have a snake case name [INFO] [stdout] --> packages/react-noop/src/host_config.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn getCounter() -> u32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Reflect::set(&container, &"rootId".into(), &JsValue::from(getCounter())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = Reflect::set(&container, &"rootId".into(), &JsValue::from(getCounter())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | Reflect::set(&container, &"pendingChildren".into(), &**Array::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = Reflect::set(&container, &"pendingChildren".into(), &**Array::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | Reflect::set(&container, &"children".into(), &**Array::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = Reflect::set(&container, &"children".into(), &**Array::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Reflect::set(&text_instance, &"text".into(), content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = Reflect::set(&text_instance, &"text".into(), content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | Reflect::set(&obj, &"id".into(), &getCounter().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = Reflect::set(&obj, &"id".into(), &getCounter().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | Reflect::set(&obj, &"text".into(), &content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = Reflect::set(&obj, &"text".into(), &content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | Reflect::set(&obj, &"parent".into(), &JsValue::from(-1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = Reflect::set(&obj, &"parent".into(), &JsValue::from(-1.0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Reflect::set(&obj, &"id".into(), &getCounter().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = Reflect::set(&obj, &"id".into(), &getCounter().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | Reflect::set(&obj, &"type".into(), &_type.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = Reflect::set(&obj, &"type".into(), &_type.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Reflect::set(&obj, &"children".into(), &**Array::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 94 | let _ = Reflect::set(&obj, &"children".into(), &**Array::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/renderer.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | Reflect::set(&props, &"children".into(), &childrenChildren); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = Reflect::set(&props, &"children".into(), &childrenChildren); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Reflect::set(&obj, &"parent".into(), &JsValue::from(-1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 95 | let _ = Reflect::set(&obj, &"parent".into(), &JsValue::from(-1.0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | / Reflect::set( [INFO] [stdout] 97 | | &obj, [INFO] [stdout] 98 | | &"props".into(), [INFO] [stdout] 99 | | &*props.clone().downcast::().unwrap(), [INFO] [stdout] 100 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/renderer.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | Reflect::set(&obj, &"$$typeof".into(), &REACT_ELEMENT_TYPE.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = Reflect::set(&obj, &"$$typeof".into(), &REACT_ELEMENT_TYPE.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | Reflect::set(&c, &"parent".into(), &parent_id.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = Reflect::set(&c, &"parent".into(), &parent_id.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/renderer.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | Reflect::set(&obj, &"type".into(), &derive_from_js_value(&child, "type")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = Reflect::set(&obj, &"type".into(), &derive_from_js_value(&child, "type")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | Reflect::set(&c, &"parent".into(), &JsValue::from(root_id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 126 | let _ = Reflect::set(&c, &"parent".into(), &JsValue::from(root_id)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/renderer.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Reflect::set(&obj, &"key".into(), &JsValue::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = Reflect::set(&obj, &"key".into(), &JsValue::null()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/renderer.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | Reflect::set(&obj, &"ref".into(), &JsValue::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 88 | let _ = Reflect::set(&obj, &"ref".into(), &JsValue::null()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/renderer.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | Reflect::set(&obj, &"props".into(), &props); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = Reflect::set(&obj, &"props".into(), &props); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getChildrenAsJSX` should have a snake case name [INFO] [stdout] --> packages/react-noop/src/renderer.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn getChildrenAsJSX(&self) -> JsValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_children_as_jsx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getCounter` should have a snake case name [INFO] [stdout] --> packages/react-noop/src/host_config.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn getCounter() -> u32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Reflect::set(&container, &"rootId".into(), &JsValue::from(getCounter())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = Reflect::set(&container, &"rootId".into(), &JsValue::from(getCounter())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | Reflect::set(&container, &"pendingChildren".into(), &**Array::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = Reflect::set(&container, &"pendingChildren".into(), &**Array::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | Reflect::set(&container, &"children".into(), &**Array::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = Reflect::set(&container, &"children".into(), &**Array::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Reflect::set(&text_instance, &"text".into(), content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = Reflect::set(&text_instance, &"text".into(), content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | Reflect::set(&obj, &"id".into(), &getCounter().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = Reflect::set(&obj, &"id".into(), &getCounter().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | Reflect::set(&obj, &"text".into(), &content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = Reflect::set(&obj, &"text".into(), &content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | Reflect::set(&obj, &"parent".into(), &JsValue::from(-1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = Reflect::set(&obj, &"parent".into(), &JsValue::from(-1.0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Reflect::set(&obj, &"id".into(), &getCounter().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = Reflect::set(&obj, &"id".into(), &getCounter().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | Reflect::set(&obj, &"type".into(), &_type.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = Reflect::set(&obj, &"type".into(), &_type.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Reflect::set(&obj, &"children".into(), &**Array::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 94 | let _ = Reflect::set(&obj, &"children".into(), &**Array::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Reflect::set(&obj, &"parent".into(), &JsValue::from(-1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 95 | let _ = Reflect::set(&obj, &"parent".into(), &JsValue::from(-1.0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | / Reflect::set( [INFO] [stdout] 97 | | &obj, [INFO] [stdout] 98 | | &"props".into(), [INFO] [stdout] 99 | | &*props.clone().downcast::().unwrap(), [INFO] [stdout] 100 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | Reflect::set(&c, &"parent".into(), &parent_id.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = Reflect::set(&c, &"parent".into(), &parent_id.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | Reflect::set(&c, &"parent".into(), &JsValue::from(root_id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 126 | let _ = Reflect::set(&c, &"parent".into(), &JsValue::from(root_id)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `react-reconciler` (bin "react-reconciler" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `react-reconciler` (bin "react-reconciler") due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "45b81b75362709724b00362e964baec909a2c024e5e14207d08bd51c33ad1fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b81b75362709724b00362e964baec909a2c024e5e14207d08bd51c33ad1fcf", kill_on_drop: false }` [INFO] [stdout] 45b81b75362709724b00362e964baec909a2c024e5e14207d08bd51c33ad1fcf