[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#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [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 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "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" "+38352b01ae4af9300be03b805d6db68c45e51068" "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] Downloading crates ... [INFO] [stderr] Downloaded gloo-worker v0.5.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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45799f77af9815ae9074296851e35beaee9b075df42a12da9e956b9f2b44aa80 [INFO] running `Command { std: "docker" "start" "-a" "45799f77af9815ae9074296851e35beaee9b075df42a12da9e956b9f2b44aa80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45799f77af9815ae9074296851e35beaee9b075df42a12da9e956b9f2b44aa80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45799f77af9815ae9074296851e35beaee9b075df42a12da9e956b9f2b44aa80", kill_on_drop: false }` [INFO] [stdout] 45799f77af9815ae9074296851e35beaee9b075df42a12da9e956b9f2b44aa80 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 134b2a6d2b99a3e950508f7312882506aba754b10fce63139a90986cf43f75bf [INFO] running `Command { std: "docker" "start" "-a" "134b2a6d2b99a3e950508f7312882506aba754b10fce63139a90986cf43f75bf", 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 proc-macro2 v1.0.79 [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] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [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 gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [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 bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [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-file v0.3.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-worker v0.5.0 [INFO] [stderr] Checking gloo-history v0.2.2 [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: 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] [stderr] Checking gloo-net v0.5.0 [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: 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: 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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | let use_state = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | let use_state = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` 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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 169 | if PORT1.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | / PORT1 [INFO] [stdout] 174 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | / PORT2 [INFO] [stdout] 178 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | if SCHEDULED_HOST_CALLBACK.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 248 | let mut timer = peek(&raw const 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 252 | pop(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 254 | let t = pop(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 257 | push(&raw mut TASK_QUEUE, task.clone()); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gloo-console v0.3.0 [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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 261 | timer = peek(&raw 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:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | let previous_priority_level = CURRENT_PRIORITY_LEVEL.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:302:44 [INFO] [stdout] | [INFO] [stdout] 302 | let previous_priority_level = unsafe { CURRENT_PRIORITY_LEVEL.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | let use_effect = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_effect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | let use_effect = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_effect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: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: 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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let use_ref = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let use_ref = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let use_memo = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_memo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | let use_callback = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_callback; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let use_memo = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_memo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | let use_callback = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_callback; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | let use_context = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let _use = &CURRENT_DISPATCHER.current.as_ref().unwrap()._use; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | let use_context = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | let use_transition = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_transition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let _use = &CURRENT_DISPATCHER.current.as_ref().unwrap()._use; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react/src/lib.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | let use_transition = &CURRENT_DISPATCHER.current.as_ref().unwrap().use_transition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: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: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: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: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: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: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: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: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: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: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: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: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/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/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/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: 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 315 | CURRENT_TASK = peek(&raw const 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:316:15 [INFO] [stdout] | [INFO] [stdout] 316 | while CURRENT_TASK.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 338 | if match peek(&raw const 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 342 | pop(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 348 | pop(&raw 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | CURRENT_TASK = peek(&raw const 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:354:12 [INFO] [stdout] | [INFO] [stdout] 354 | if CURRENT_TASK.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 357 | let first_timer = peek(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 385 | if peek(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 389 | let first_timer = peek(&raw 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: 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 417 | for task in &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | for task in &raw const TIMER_QUEUE { [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: 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 455 | push(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 457 | if peek(&raw mut TASK_QUEUE).is_none() { [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: 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 458 | if let Some(task) = peek(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 471 | push(&raw mut TASK_QUEUE, new_task); [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:491:14 [INFO] [stdout] | [INFO] [stdout] 491 | unsafe { CURRENT_PRIORITY_LEVEL.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: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: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: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: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: 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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [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: 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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 169 | if PORT1.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | / PORT1 [INFO] [stdout] 174 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | / PORT2 [INFO] [stdout] 178 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | if SCHEDULED_HOST_CALLBACK.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 248 | let mut timer = peek(&raw const 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 252 | pop(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 254 | let t = pop(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 257 | push(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 261 | timer = peek(&raw 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:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | let previous_priority_level = CURRENT_PRIORITY_LEVEL.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:302:44 [INFO] [stdout] | [INFO] [stdout] 302 | let previous_priority_level = unsafe { CURRENT_PRIORITY_LEVEL.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 315 | CURRENT_TASK = peek(&raw const 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:316:15 [INFO] [stdout] | [INFO] [stdout] 316 | while CURRENT_TASK.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 338 | if match peek(&raw const 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 342 | pop(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 348 | pop(&raw 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | CURRENT_TASK = peek(&raw const 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:354:12 [INFO] [stdout] | [INFO] [stdout] 354 | if CURRENT_TASK.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 357 | let first_timer = peek(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 385 | if peek(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 389 | let first_timer = peek(&raw 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 417 | for task in &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | for task in &raw const 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 455 | push(&raw mut TIMER_QUEUE, new_task.clone()); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 457 | if peek(&raw mut TASK_QUEUE).is_none() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking react-reconciler v0.1.0 (/opt/rustwide/workdir/packages/react-reconciler) [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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 458 | if let Some(task) = peek(&raw 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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 471 | push(&raw mut TASK_QUEUE, new_task); [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:491:14 [INFO] [stdout] | [INFO] [stdout] 491 | unsafe { CURRENT_PRIORITY_LEVEL.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 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: 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: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: 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: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: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: 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: 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: 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 `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: 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: 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: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: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: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: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: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: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: 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/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/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/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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | while NEXT_EFFECT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | let next_effect = NEXT_EFFECT.clone().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | while NEXT_EFFECT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | ... callbak(NEXT_EFFECT.clone().unwrap(), root.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | ... let sibling = NEXT_EFFECT [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 136 | | ... .clone() [INFO] [stdout] | |__________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:147:43 [INFO] [stdout] | [INFO] [stdout] 147 | ... let _return = NEXT_EFFECT [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 148 | | ... .clone() [INFO] [stdout] | |__________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: 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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | / HOST_CONFIG [INFO] [stdout] 234 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: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: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: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: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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:344:21 [INFO] [stdout] | [INFO] [stdout] 344 | / HOST_CONFIG [INFO] [stdout] 345 | | .as_ref() [INFO] [stdout] | |_________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | while NEXT_EFFECT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | HOST_CONFIG.as_ref().unwrap().insert_child_to_container( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | let next_effect = NEXT_EFFECT.clone().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | / HOST_CONFIG [INFO] [stdout] 451 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | while NEXT_EFFECT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | ... callbak(NEXT_EFFECT.clone().unwrap(), root.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | ... let sibling = NEXT_EFFECT [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 136 | | ... .clone() [INFO] [stdout] | |__________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:147:43 [INFO] [stdout] | [INFO] [stdout] 147 | ... let _return = NEXT_EFFECT [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 148 | | ... .clone() [INFO] [stdout] | |__________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | / HOST_CONFIG [INFO] [stdout] 234 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: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: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | PREV_CONTEXT_VALUE_STACK.push(PREV_CONTEXT_VALUE.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | PREV_CONTEXT_VALUE_STACK.push(PREV_CONTEXT_VALUE.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:344:21 [INFO] [stdout] | [INFO] [stdout] 344 | / HOST_CONFIG [INFO] [stdout] 345 | | .as_ref() [INFO] [stdout] | |_________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | HOST_CONFIG.as_ref().unwrap().insert_child_to_container( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | / HOST_CONFIG [INFO] [stdout] 451 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | PREV_CONTEXT_VALUE_STACK.push(PREV_CONTEXT_VALUE.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [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:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | PREV_CONTEXT_VALUE_STACK.push(PREV_CONTEXT_VALUE.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), &raw const PREV_CONTEXT_VALUE); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let top = PREV_CONTEXT_VALUE_STACK.pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [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:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | if unsafe { LAST_CONTEXT_DEP.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | LAST_CONTEXT_DEP.clone().unwrap().borrow_mut().next = next.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | if WORK_IN_PROGRESS_HOOK.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | if CURRENTLY_RENDERING_FIBER.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | / CURRENTLY_RENDERING_FIBER [INFO] [stdout] 244 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | / WORK_IN_PROGRESS_HOOK [INFO] [stdout] 253 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | WORK_IN_PROGRESS_HOOK.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 271 | next_current_hook = match &raw const CURRENT_HOOK { [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: 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), &raw const PREV_CONTEXT_VALUE); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let top = PREV_CONTEXT_VALUE_STACK.pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [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:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | if unsafe { LAST_CONTEXT_DEP.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | LAST_CONTEXT_DEP.clone().unwrap().borrow_mut().next = next.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | if WORK_IN_PROGRESS_HOOK.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | if CURRENTLY_RENDERING_FIBER.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | / CURRENTLY_RENDERING_FIBER [INFO] [stdout] 244 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | / WORK_IN_PROGRESS_HOOK [INFO] [stdout] 253 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | WORK_IN_PROGRESS_HOOK.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 271 | next_current_hook = match &raw const 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:273:31 [INFO] [stdout] | [INFO] [stdout] 273 | let current = CURRENTLY_RENDERING_FIBER [INFO] [stdout] | _______________________________^ [INFO] [stdout] 274 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 292 | next_work_in_progress_hook = match &raw const 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:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | None => match CURRENTLY_RENDERING_FIBER.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | / CURRENTLY_RENDERING_FIBER [INFO] [stdout] 311 | | .as_ref() [INFO] [stdout] | |_________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:320:26 [INFO] [stdout] | [INFO] [stdout] 320 | let cloned = CURRENT_HOOK.clone().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:330:16 [INFO] [stdout] | [INFO] [stdout] 330 | if WORK_IN_PROGRESS_HOOK.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | / CURRENTLY_RENDERING_FIBER [INFO] [stdout] 333 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:339:32 [INFO] [stdout] | [INFO] [stdout] 339 | let wip_hook = WORK_IN_PROGRESS_HOOK.clone().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | WORK_IN_PROGRESS_HOOK.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | if CURRENTLY_RENDERING_FIBER.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:374:26 [INFO] [stdout] | [INFO] [stdout] 374 | let fiber = unsafe { CURRENTLY_RENDERING_FIBER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:397:35 [INFO] [stdout] | [INFO] [stdout] 397 | let mut base_queue = unsafe { CURRENT_HOOK.clone().unwrap().borrow().base_queue.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:273:31 [INFO] [stdout] | [INFO] [stdout] 273 | let current = CURRENTLY_RENDERING_FIBER [INFO] [stdout] | _______________________________^ [INFO] [stdout] 274 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:420:18 [INFO] [stdout] | [INFO] [stdout] 420 | unsafe { CURRENT_HOOK.clone().unwrap().borrow_mut().base_queue = pending.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:435:22 [INFO] [stdout] | [INFO] [stdout] 435 | unsafe { RENDER_LANE.clone() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:438:38 [INFO] [stdout] | [INFO] [stdout] 438 | let fiber = unsafe { CURRENTLY_RENDERING_FIBER.clone().unwrap().clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:538:26 [INFO] [stdout] | [INFO] [stdout] 538 | let fiber = unsafe { CURRENTLY_RENDERING_FIBER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:572:46 [INFO] [stdout] | [INFO] [stdout] 572 | let currently_rendering_fiber = unsafe { CURRENTLY_RENDERING_FIBER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 292 | next_work_in_progress_hook = match &raw const 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:593:12 [INFO] [stdout] | [INFO] [stdout] 593 | if CURRENT_HOOK.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:594:32 [INFO] [stdout] | [INFO] [stdout] 594 | let current_hook = CURRENT_HOOK.clone().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | / CURRENTLY_RENDERING_FIBER [INFO] [stdout] 618 | | .as_ref() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:769:29 [INFO] [stdout] | [INFO] [stdout] 769 | let consumer = unsafe { CURRENTLY_RENDERING_FIBER.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | None => match CURRENTLY_RENDERING_FIBER.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | / CURRENTLY_RENDERING_FIBER [INFO] [stdout] 311 | | .as_ref() [INFO] [stdout] | |_________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:320:26 [INFO] [stdout] | [INFO] [stdout] 320 | let cloned = CURRENT_HOOK.clone().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:330:16 [INFO] [stdout] | [INFO] [stdout] 330 | if WORK_IN_PROGRESS_HOOK.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | / CURRENTLY_RENDERING_FIBER [INFO] [stdout] 333 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:339:32 [INFO] [stdout] | [INFO] [stdout] 339 | let wip_hook = WORK_IN_PROGRESS_HOOK.clone().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | WORK_IN_PROGRESS_HOOK.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | if CURRENTLY_RENDERING_FIBER.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:374:26 [INFO] [stdout] | [INFO] [stdout] 374 | let fiber = unsafe { CURRENTLY_RENDERING_FIBER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:397:35 [INFO] [stdout] | [INFO] [stdout] 397 | let mut base_queue = unsafe { CURRENT_HOOK.clone().unwrap().borrow().base_queue.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:420:18 [INFO] [stdout] | [INFO] [stdout] 420 | unsafe { CURRENT_HOOK.clone().unwrap().borrow_mut().base_queue = pending.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:435:22 [INFO] [stdout] | [INFO] [stdout] 435 | unsafe { RENDER_LANE.clone() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:438:38 [INFO] [stdout] | [INFO] [stdout] 438 | let fiber = unsafe { CURRENTLY_RENDERING_FIBER.clone().unwrap().clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:538:26 [INFO] [stdout] | [INFO] [stdout] 538 | let fiber = unsafe { CURRENTLY_RENDERING_FIBER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:572:46 [INFO] [stdout] | [INFO] [stdout] 572 | let currently_rendering_fiber = unsafe { CURRENTLY_RENDERING_FIBER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:593:12 [INFO] [stdout] | [INFO] [stdout] 593 | if CURRENT_HOOK.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:594:32 [INFO] [stdout] | [INFO] [stdout] 594 | let current_hook = CURRENT_HOOK.clone().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | / CURRENTLY_RENDERING_FIBER [INFO] [stdout] 618 | | .as_ref() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:769:29 [INFO] [stdout] | [INFO] [stdout] 769 | let consumer = unsafe { CURRENTLY_RENDERING_FIBER.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/suspense_context.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | if SUSPENSE_HANDLER_STACK.len() <= 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/suspense_context.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | return Some(SUSPENSE_HANDLER_STACK[SUSPENSE_HANDLER_STACK.len() - 1].clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/suspense_context.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { SUSPENSE_HANDLER_STACK.push(handler) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/suspense_context.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { SUSPENSE_HANDLER_STACK.pop() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/sync_task_queue.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | unsafe { SYNC_QUEUE.push(callback) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/suspense_context.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | if SUSPENSE_HANDLER_STACK.len() <= 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/sync_task_queue.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | if !IS_FLUSHING_SYNC_QUEUE && !SYNC_QUEUE.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/sync_task_queue.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | for callback in SYNC_QUEUE.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/suspense_context.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | return Some(SUSPENSE_HANDLER_STACK[SUSPENSE_HANDLER_STACK.len() - 1].clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | if unsafe { SUSPENDED_THENABLE.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let thenable = unsafe { SUSPENDED_THENABLE.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/suspense_context.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { SUSPENSE_HANDLER_STACK.push(handler) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/suspense_context.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { SUSPENSE_HANDLER_STACK.pop() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [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: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/sync_task_queue.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | unsafe { SYNC_QUEUE.push(callback) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [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: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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/sync_task_queue.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | if !IS_FLUSHING_SYNC_QUEUE && !SYNC_QUEUE.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/sync_task_queue.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | for callback in SYNC_QUEUE.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | if unsafe { SUSPENDED_THENABLE.is_none() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/thenable.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let thenable = unsafe { SUSPENDED_THENABLE.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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/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/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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | / HOST_CONFIG [INFO] [stdout] 140 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:184:70 [INFO] [stdout] | [INFO] [stdout] 184 | if WORK_IN_PROGRESS_SUSPENDED_REASON != NOT_SUSPENDED && WORK_IN_PROGRESS.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | let thrown_value = WORK_IN_PROGRESS_THROWN_VALUE.clone().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | WORK_IN_PROGRESS.clone().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | WORK_IN_PROGRESS.clone().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:224:33 [INFO] [stdout] | [INFO] [stdout] 224 | if should_time_slice && WORK_IN_PROGRESS.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:228:34 [INFO] [stdout] | [INFO] [stdout] 228 | if !should_time_slice && WORK_IN_PROGRESS.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:436:15 [INFO] [stdout] | [INFO] [stdout] 436 | while WORK_IN_PROGRESS.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:437:34 [INFO] [stdout] | [INFO] [stdout] 437 | perform_unit_of_work(WORK_IN_PROGRESS.clone().unwrap())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 445 | while WORK_IN_PROGRESS.is_some() && !unstable_should_yield_to_host() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:446:34 [INFO] [stdout] | [INFO] [stdout] 446 | perform_unit_of_work(WORK_IN_PROGRESS.clone().unwrap())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | WORK_IN_PROGRESS_ROOT_RENDER_LANE.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:472:24 [INFO] [stdout] | [INFO] [stdout] 472 | let next = COMPLETE_WORK [INFO] [stdout] | ________________________^ [INFO] [stdout] 473 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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: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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | / HOST_CONFIG [INFO] [stdout] 140 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:184:70 [INFO] [stdout] | [INFO] [stdout] 184 | if WORK_IN_PROGRESS_SUSPENDED_REASON != NOT_SUSPENDED && WORK_IN_PROGRESS.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | let thrown_value = WORK_IN_PROGRESS_THROWN_VALUE.clone().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | WORK_IN_PROGRESS.clone().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | WORK_IN_PROGRESS.clone().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:224:33 [INFO] [stdout] | [INFO] [stdout] 224 | if should_time_slice && WORK_IN_PROGRESS.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:228:34 [INFO] [stdout] | [INFO] [stdout] 228 | if !should_time_slice && WORK_IN_PROGRESS.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:436:15 [INFO] [stdout] | [INFO] [stdout] 436 | while WORK_IN_PROGRESS.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:437:34 [INFO] [stdout] | [INFO] [stdout] 437 | perform_unit_of_work(WORK_IN_PROGRESS.clone().unwrap())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 445 | while WORK_IN_PROGRESS.is_some() && !unstable_should_yield_to_host() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:446:34 [INFO] [stdout] | [INFO] [stdout] 446 | perform_unit_of_work(WORK_IN_PROGRESS.clone().unwrap())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | WORK_IN_PROGRESS_ROOT_RENDER_LANE.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:472:24 [INFO] [stdout] | [INFO] [stdout] 472 | let next = COMPLETE_WORK [INFO] [stdout] | ________________________^ [INFO] [stdout] 473 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 130 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 130 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: 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: `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] 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] 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] 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] 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: `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 `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: 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: 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: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: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/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] [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/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] [stdout] warning: 30 warnings emitted [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 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `react-reconciler` (bin "react-reconciler") 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" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "134b2a6d2b99a3e950508f7312882506aba754b10fce63139a90986cf43f75bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134b2a6d2b99a3e950508f7312882506aba754b10fce63139a90986cf43f75bf", kill_on_drop: false }` [INFO] [stdout] 134b2a6d2b99a3e950508f7312882506aba754b10fce63139a90986cf43f75bf