[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] 9ab3d8827f591fe9b5dfd951f5a2f70299ab5c9b [INFO] checking ParadeTo/big-react-wasm/9ab3d8827f591fe9b5dfd951f5a2f70299ab5c9b against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParadeTo%2Fbig-react-wasm" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ParadeTo/big-react-wasm on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-6-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-6-tc1/source/packages/react/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6-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-6-tc1/source/packages/react-dom/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6-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-6-tc1/source/packages/react-reconciler/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6-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-6-tc1/source/packages/react-noop/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-worker-macros v0.1.0 [INFO] [stderr] Downloaded gloo-storage v0.3.0 [INFO] [stderr] Downloaded gloo-console v0.3.0 [INFO] [stderr] Downloaded gloo-dialogs v0.2.0 [INFO] [stderr] Downloaded gloo-history v0.2.2 [INFO] [stderr] Downloaded gloo-file v0.3.0 [INFO] [stderr] Downloaded gloo-net v0.5.0 [INFO] [stderr] Downloaded gloo-worker v0.5.0 [INFO] [stderr] Downloaded gloo-events v0.2.0 [INFO] [stderr] Downloaded gloo-render v0.2.0 [INFO] [stderr] Downloaded gloo v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b5eff2d1b346b29f632c25e7907a6c8e5866100d7c3b5ca8b44b479a18307f4 [INFO] running `Command { std: "docker" "start" "-a" "1b5eff2d1b346b29f632c25e7907a6c8e5866100d7c3b5ca8b44b479a18307f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b5eff2d1b346b29f632c25e7907a6c8e5866100d7c3b5ca8b44b479a18307f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b5eff2d1b346b29f632c25e7907a6c8e5866100d7c3b5ca8b44b479a18307f4", kill_on_drop: false }` [INFO] [stdout] 1b5eff2d1b346b29f632c25e7907a6c8e5866100d7c3b5ca8b44b479a18307f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 027bf9f504aad7e051c3e6e76e5556ed85f9c343a706b82d88005bce88293488 [INFO] running `Command { std: "docker" "start" "-a" "027bf9f504aad7e051c3e6e76e5556ed85f9c343a706b82d88005bce88293488", 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 once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking futures-sink v0.3.30 [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-channel v0.3.30 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.35 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking bincode v1.3.3 [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-render v0.2.0 [INFO] [stderr] Checking gloo-dialogs 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-net v0.5.0 [INFO] [stderr] Checking gloo-worker v0.5.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stdout] warning: unused import: `shared::log` [INFO] [stdout] --> packages/scheduler/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shared::log; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> packages/scheduler/src/lib.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | 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] 111 - sort_index_ordering = (Ordering::Greater) [INFO] [stdout] 111 + 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:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shared::log; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | sort_index_ordering = (Ordering::Greater) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 111 - sort_index_ordering = (Ordering::Greater) [INFO] [stdout] 111 + sort_index_ordering = Ordering::Greater [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:246:34 [INFO] [stdout] | [INFO] [stdout] 246 | let mut timer = peek_mut(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 246 | let mut timer = peek_mut(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | pop(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 250 | pop(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | let t = pop(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 252 | let t = pop(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | push(&mut TASK_QUEUE, task.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 254 | push(addr_of_mut!(TASK_QUEUE), task.clone()); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:258:30 [INFO] [stdout] | [INFO] [stdout] 258 | timer = peek_mut(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 258 | timer = peek_mut(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:310:41 [INFO] [stdout] | [INFO] [stdout] 310 | let mut current_task = peek_mut(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 310 | let mut current_task = peek_mut(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:312:29 [INFO] [stdout] | [INFO] [stdout] 312 | CURRENT_TASK = peek(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 312 | CURRENT_TASK = peek(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:336:35 [INFO] [stdout] | [INFO] [stdout] 336 | if match peek(&TASK_QUEUE) { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 336 | if match peek(addr_of!(TASK_QUEUE)) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:340:29 [INFO] [stdout] | [INFO] [stdout] 340 | pop(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 340 | pop(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | pop(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 346 | pop(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:349:37 [INFO] [stdout] | [INFO] [stdout] 349 | current_task = peek_mut(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 349 | current_task = peek_mut(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:350:33 [INFO] [stdout] | [INFO] [stdout] 350 | CURRENT_TASK = peek(&TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 350 | CURRENT_TASK = peek(addr_of!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:356:36 [INFO] [stdout] | [INFO] [stdout] 356 | let first_timer = peek(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 356 | let first_timer = peek(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | if peek(&mut TASK_QUEUE).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 384 | if peek(addr_of_mut!(TASK_QUEUE)).is_some() { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:388:40 [INFO] [stdout] | [INFO] [stdout] 388 | let first_timer = peek(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 388 | let first_timer = peek(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:415:25 [INFO] [stdout] | [INFO] [stdout] 415 | for mut task in &mut TASK_QUEUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 415 | for mut task in addr_of_mut!(TASK_QUEUE) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | for mut task in &mut TIMER_QUEUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 421 | for mut task in addr_of_mut!(TIMER_QUEUE) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:453:18 [INFO] [stdout] | [INFO] [stdout] 453 | push(&mut TIMER_QUEUE, new_task.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 453 | push(addr_of_mut!(TIMER_QUEUE), new_task.clone()); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:455:21 [INFO] [stdout] | [INFO] [stdout] 455 | if peek(&mut TASK_QUEUE).is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 455 | if peek(addr_of_mut!(TASK_QUEUE)).is_none() { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:456:42 [INFO] [stdout] | [INFO] [stdout] 456 | if let Some(task) = peek(&mut TIMER_QUEUE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 456 | if let Some(task) = peek(addr_of_mut!(TIMER_QUEUE)) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:469:18 [INFO] [stdout] | [INFO] [stdout] 469 | push(&mut TASK_QUEUE, new_task); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 469 | push(addr_of_mut!(TASK_QUEUE), new_task); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/scheduler/src/lib.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | 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:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | 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: variable does not need to be mutable [INFO] [stdout] --> packages/scheduler/src/lib.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | let mut t = current_task.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/scheduler/src/lib.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | for mut task in &mut TASK_QUEUE { [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/lib.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | for mut task in &mut TIMER_QUEUE { [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:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | 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: unused `Result` that must be used [INFO] [stdout] --> packages/scheduler/src/lib.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | 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] 302 | let _ = event_handler.call0(&JsValue::null()); [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:246:34 [INFO] [stdout] | [INFO] [stdout] 246 | let mut timer = peek_mut(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 246 | let mut timer = peek_mut(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | pop(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 250 | pop(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | let t = pop(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 252 | let t = pop(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | push(&mut TASK_QUEUE, task.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 254 | push(addr_of_mut!(TASK_QUEUE), task.clone()); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:258:30 [INFO] [stdout] | [INFO] [stdout] 258 | timer = peek_mut(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 258 | timer = peek_mut(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 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:310:41 [INFO] [stdout] | [INFO] [stdout] 310 | let mut current_task = peek_mut(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 310 | let mut current_task = peek_mut(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | 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] 126 | 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:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | / Reflect::set( [INFO] [stdout] 157 | | &context, [INFO] [stdout] 158 | | &"$$typeof".into(), [INFO] [stdout] 159 | | &JsValue::from_str(REACT_CONTEXT_TYPE), [INFO] [stdout] 160 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | 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:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | 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] 161 | 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:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / Reflect::set( [INFO] [stdout] 164 | | &provider, [INFO] [stdout] 165 | | &"$$typeof".into(), [INFO] [stdout] 166 | | &JsValue::from_str(REACT_PROVIDER_TYPE), [INFO] [stdout] 167 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 163 | 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:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | 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] 168 | 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:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | 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] 169 | 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:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / Reflect::set( [INFO] [stdout] 178 | | &fiber_type, [INFO] [stdout] 179 | | &"$$typeof".into(), [INFO] [stdout] 180 | | &JsValue::from_str(REACT_MEMO_TYPE), [INFO] [stdout] 181 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 177 | 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:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | 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] 182 | 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:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / Reflect::set( [INFO] [stdout] 186 | | &fiber_type, [INFO] [stdout] 187 | | &"compare".into(), [INFO] [stdout] 188 | | if compare.is_undefined() { [INFO] [stdout] ... | [INFO] [stdout] 192 | | }, [INFO] [stdout] 193 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 185 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 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:312:29 [INFO] [stdout] | [INFO] [stdout] 312 | CURRENT_TASK = peek(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 312 | CURRENT_TASK = peek(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:336:35 [INFO] [stdout] | [INFO] [stdout] 336 | if match peek(&TASK_QUEUE) { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 336 | if match peek(addr_of!(TASK_QUEUE)) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:340:29 [INFO] [stdout] | [INFO] [stdout] 340 | pop(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 340 | pop(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | pop(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 346 | pop(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:349:37 [INFO] [stdout] | [INFO] [stdout] 349 | current_task = peek_mut(&mut TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 349 | current_task = peek_mut(addr_of_mut!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:350:33 [INFO] [stdout] | [INFO] [stdout] 350 | CURRENT_TASK = peek(&TASK_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 350 | CURRENT_TASK = peek(addr_of!(TASK_QUEUE)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:356:36 [INFO] [stdout] | [INFO] [stdout] 356 | let first_timer = peek(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 356 | let first_timer = peek(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | if peek(&mut TASK_QUEUE).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 384 | if peek(addr_of_mut!(TASK_QUEUE)).is_some() { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:388:40 [INFO] [stdout] | [INFO] [stdout] 388 | let first_timer = peek(&mut TIMER_QUEUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 388 | let first_timer = peek(addr_of_mut!(TIMER_QUEUE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:415:25 [INFO] [stdout] | [INFO] [stdout] 415 | for mut task in &mut TASK_QUEUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 415 | for mut task in addr_of_mut!(TASK_QUEUE) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | for mut task in &mut TIMER_QUEUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 421 | for mut task in addr_of_mut!(TIMER_QUEUE) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:453:18 [INFO] [stdout] | [INFO] [stdout] 453 | push(&mut TIMER_QUEUE, new_task.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 453 | push(addr_of_mut!(TIMER_QUEUE), new_task.clone()); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:455:21 [INFO] [stdout] | [INFO] [stdout] 455 | if peek(&mut TASK_QUEUE).is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 455 | if peek(addr_of_mut!(TASK_QUEUE)).is_none() { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:456:42 [INFO] [stdout] | [INFO] [stdout] 456 | if let Some(task) = peek(&mut TIMER_QUEUE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 456 | if let Some(task) = peek(addr_of_mut!(TIMER_QUEUE)) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> packages/scheduler/src/lib.rs:469:18 [INFO] [stdout] | [INFO] [stdout] 469 | push(&mut TASK_QUEUE, new_task); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 469 | push(addr_of_mut!(TASK_QUEUE), new_task); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/scheduler/src/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: variable does not need to be mutable [INFO] [stdout] --> packages/scheduler/src/lib.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut sort_index_ordering; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> packages/scheduler/src/lib.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | 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: variable does not need to be mutable [INFO] [stdout] --> packages/scheduler/src/lib.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | let mut t = current_task.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/scheduler/src/lib.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | for mut task in &mut TASK_QUEUE { [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/lib.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | for mut task in &mut TIMER_QUEUE { [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:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | 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: unused `Result` that must be used [INFO] [stdout] --> packages/react/src/lib.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | 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] 126 | 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:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | / Reflect::set( [INFO] [stdout] 157 | | &context, [INFO] [stdout] 158 | | &"$$typeof".into(), [INFO] [stdout] 159 | | &JsValue::from_str(REACT_CONTEXT_TYPE), [INFO] [stdout] 160 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | 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:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | 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] 161 | 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:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / Reflect::set( [INFO] [stdout] 164 | | &provider, [INFO] [stdout] 165 | | &"$$typeof".into(), [INFO] [stdout] 166 | | &JsValue::from_str(REACT_PROVIDER_TYPE), [INFO] [stdout] 167 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 163 | 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:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | 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] 168 | 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:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | 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] 169 | 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:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / Reflect::set( [INFO] [stdout] 178 | | &fiber_type, [INFO] [stdout] 179 | | &"$$typeof".into(), [INFO] [stdout] 180 | | &JsValue::from_str(REACT_MEMO_TYPE), [INFO] [stdout] 181 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 177 | 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:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | 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] 182 | 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:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / Reflect::set( [INFO] [stdout] 186 | | &fiber_type, [INFO] [stdout] 187 | | &"compare".into(), [INFO] [stdout] 188 | | if compare.is_undefined() { [INFO] [stdout] ... | [INFO] [stdout] 192 | | }, [INFO] [stdout] 193 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 185 | let _ = Reflect::set( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/scheduler/src/lib.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | 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] 302 | let _ = event_handler.call0(&JsValue::null()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking react-reconciler v0.1.0 (/opt/rustwide/workdir/packages/react-reconciler) [INFO] [stdout] warning: unused import: `derive_from_js_value` [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use shared::{derive_from_js_value, log, type_of}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: `derive_from_js_value` [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use shared::{derive_from_js_value, is_dev, log}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `basic_state_reducer` [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::fiber_hooks::{basic_state_reducer, Effect}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_from_js_value` [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use shared::{derive_from_js_value, log, type_of}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: `derive_from_js_value` [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use shared::{derive_from_js_value, is_dev, log}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `basic_state_reducer` [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::fiber_hooks::{basic_state_reducer, Effect}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gloo v0.11.0 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:35:56 [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), &PREV_CONTEXT_VALUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), addr_of!(PREV_CONTEXT_VALUE)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:35:56 [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), &PREV_CONTEXT_VALUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), addr_of!(PREV_CONTEXT_VALUE)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:248:35 [INFO] [stdout] | [INFO] [stdout] 248 | next_current_hook = match &CURRENT_HOOK { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 248 | next_current_hook = match addr_of!(CURRENT_HOOK) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:269:44 [INFO] [stdout] | [INFO] [stdout] 269 | next_work_in_progress_hook = match &WORK_IN_PROGRESS_HOOK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 269 | next_work_in_progress_hook = match addr_of!(WORK_IN_PROGRESS_HOOK) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:248:35 [INFO] [stdout] | [INFO] [stdout] 248 | next_current_hook = match &CURRENT_HOOK { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 248 | next_current_hook = match addr_of!(CURRENT_HOOK) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:269:44 [INFO] [stdout] | [INFO] [stdout] 269 | next_work_in_progress_hook = match &WORK_IN_PROGRESS_HOOK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 269 | next_work_in_progress_hook = match addr_of!(WORK_IN_PROGRESS_HOOK) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `props_equal` is never read [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | 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:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | let mut pending; [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: value assigned to `props_equal` is never read [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | 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:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | let mut pending; [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/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: `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: 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: `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:365:27 [INFO] [stdout] | [INFO] [stdout] 365 | 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: unused variable: `next` [INFO] [stdout] --> packages/react-reconciler/src/fiber.rs:365:27 [INFO] [stdout] | [INFO] [stdout] 365 | 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_current_hook` is never read [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | 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:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | 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_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: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | 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:639:15 [INFO] [stdout] | [INFO] [stdout] 639 | 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: value assigned to `next_current_hook` is never read [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | 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:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | 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/update_queue.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | mut update: Update, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_base_queue_first` is assigned to, but never used [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let mut new_base_queue_first: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_new_base_queue_first` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_base_queue_first` is never read [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | new_base_queue_first = Some(clone.clone()); [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/update_queue.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | 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/fiber_hooks.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | 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:639:15 [INFO] [stdout] | [INFO] [stdout] 639 | 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: `did_flush_passive_effects` [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | 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: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | mut update: Update, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_base_queue_first` is assigned to, but never used [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let mut new_base_queue_first: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_new_base_queue_first` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_base_queue_first` is never read [INFO] [stdout] --> packages/react-reconciler/src/update_queue.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | new_base_queue_first = Some(clone.clone()); [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/update_queue.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let mut update = pending.clone().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: 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: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | 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:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | 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:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | Component: JsValue, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / destroy [INFO] [stdout] 85 | | .dyn_ref::() [INFO] [stdout] 86 | | .unwrap() [INFO] [stdout] 87 | | .call0(&JsValue::null()); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = destroy [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | / destroy [INFO] [stdout] 98 | | .dyn_ref::() [INFO] [stdout] 99 | | .unwrap() [INFO] [stdout] 100 | | .call0(&JsValue::null()); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = destroy [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs: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: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | Reflect::set(&_ref, &"current".into(), instance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 288 | let _ = Reflect::set(&_ref, &"current".into(), instance); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Reflect::set(context, &"_currentValue".into(), &new_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = Reflect::set(context, &"_currentValue".into(), &new_value); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), &PREV_CONTEXT_VALUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = Reflect::set(context, &"_currentValue".into(), &PREV_CONTEXT_VALUE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | Component: JsValue, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:633:5 [INFO] [stdout] | [INFO] [stdout] 633 | 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] 633 | let _ = Reflect::set(&ref_obj, &"current".into(), initial_value); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `did_flush_passive_effects` [INFO] [stdout] --> packages/react-reconciler/src/work_loop.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | 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: 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: 39 warnings emitted [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: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/begin_work.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | 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:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | 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:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | Component: JsValue, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / destroy [INFO] [stdout] 85 | | .dyn_ref::() [INFO] [stdout] 86 | | .unwrap() [INFO] [stdout] 87 | | .call0(&JsValue::null()); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = destroy [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | / destroy [INFO] [stdout] 98 | | .dyn_ref::() [INFO] [stdout] 99 | | .unwrap() [INFO] [stdout] 100 | | .call0(&JsValue::null()); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = destroy [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [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 `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: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/commit_work.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | Reflect::set(&_ref, &"current".into(), instance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 288 | let _ = Reflect::set(&_ref, &"current".into(), instance); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Reflect::set(context, &"_currentValue".into(), &new_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = Reflect::set(context, &"_currentValue".into(), &new_value); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_context.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Reflect::set(context, &"_currentValue".into(), &PREV_CONTEXT_VALUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = Reflect::set(context, &"_currentValue".into(), &PREV_CONTEXT_VALUE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Component` should have a snake case name [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | Component: JsValue, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> packages/react-reconciler/src/fiber_hooks.rs:633:5 [INFO] [stdout] | [INFO] [stdout] 633 | 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] 633 | let _ = Reflect::set(&ref_obj, &"current".into(), initial_value); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [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 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: `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: 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: 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 `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: 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: 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 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 `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: function `get_highest_priority` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_highest_priority(lanes: Lane) -> Lane { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_lanes` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn merge_lanes(lane_a: Lane, lane_b: Lane) -> Lane { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_subset_of_lanes` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn is_subset_of_lanes(set: Lane, subset: Lane) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_update_lane` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn request_update_lane() -> Lane { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scheduler_priority_to_lane` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn scheduler_priority_to_lane(scheduler_priority: Priority) -> Lane { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lanes_to_scheduler_priority` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn lanes_to_scheduler_priority(lanes: Lane) -> Priority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `include_some_lanes` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn include_some_lanes(set: Lane, subset: Lane) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_lanes` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn remove_lanes(set: Lane, subset: Lane) -> Lane { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_string` is never used [INFO] [stdout] --> packages/react-noop/src/host_config.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn to_string(js_value: &JsValue) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `childrenChildren` should have a snake case name [INFO] [stdout] --> packages/react-noop/src/renderer.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let childrenChildren = child_to_jsx(children); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `children_children` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> packages/react-reconciler/src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut a = Lane::NoLane | Lane::SyncLane; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: function `get_highest_priority` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_highest_priority(lanes: Lane) -> Lane { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_lanes` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn merge_lanes(lane_a: Lane, lane_b: Lane) -> Lane { [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: function `is_subset_of_lanes` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn is_subset_of_lanes(set: Lane, subset: Lane) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_update_lane` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn request_update_lane() -> Lane { [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: function `scheduler_priority_to_lane` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn scheduler_priority_to_lane(scheduler_priority: Priority) -> Lane { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lanes_to_scheduler_priority` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn lanes_to_scheduler_priority(lanes: Lane) -> Priority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `include_some_lanes` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn include_some_lanes(set: Lane, subset: Lane) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_lanes` is never used [INFO] [stdout] --> packages/react-reconciler/src/fiber_lanes.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn remove_lanes(set: Lane, subset: Lane) -> Lane { [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: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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.70s [INFO] running `Command { std: "docker" "inspect" "027bf9f504aad7e051c3e6e76e5556ed85f9c343a706b82d88005bce88293488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "027bf9f504aad7e051c3e6e76e5556ed85f9c343a706b82d88005bce88293488", kill_on_drop: false }` [INFO] [stdout] 027bf9f504aad7e051c3e6e76e5556ed85f9c343a706b82d88005bce88293488