[INFO] fetching crate react-rs 1.0.0-alpha.8... [INFO] checking react-rs-1.0.0-alpha.8 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate react-rs 1.0.0-alpha.8 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate react-rs 1.0.0-alpha.8 [INFO] finished tweaking crates.io crate react-rs 1.0.0-alpha.8 [INFO] tweaked toml for crates.io crate react-rs 1.0.0-alpha.8 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate react-rs 1.0.0-alpha.8 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded convert-js-macros v1.0.0-alpha.15 [INFO] [stderr] Downloaded convert-js v1.0.0-alpha.15 [INFO] [stderr] Downloaded react-sys v1.0.0-alpha.23 [INFO] [stderr] Downloaded frender-macros v1.0.0-alpha.8 [INFO] [stderr] Downloaded forgotten v1.2.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 279fe05776a0916a172ee2db2e51d742d49c3245ad888a0009ca400d0358f3b4 [INFO] running `Command { std: "docker" "start" "-a" "279fe05776a0916a172ee2db2e51d742d49c3245ad888a0009ca400d0358f3b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "279fe05776a0916a172ee2db2e51d742d49c3245ad888a0009ca400d0358f3b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "279fe05776a0916a172ee2db2e51d742d49c3245ad888a0009ca400d0358f3b4", kill_on_drop: false }` [INFO] [stdout] 279fe05776a0916a172ee2db2e51d742d49c3245ad888a0009ca400d0358f3b4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e136e22a1b9f4a280a4d72a1b631c5d73ffbd573425b8a284c77e6e85d5e74a [INFO] running `Command { std: "docker" "start" "-a" "0e136e22a1b9f4a280a4d72a1b631c5d73ffbd573425b8a284c77e6e85d5e74a", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking forgotten v1.2.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling shrinkwraprs v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling convert-js-macros v1.0.0-alpha.15 [INFO] [stderr] Compiling frender-macros v1.0.0-alpha.8 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking convert-js v1.0.0-alpha.15 [INFO] [stderr] Checking wasm-bindgen-test v0.3.50 [INFO] [stderr] Checking react-sys v1.0.0-alpha.23 [INFO] [stderr] Checking react-rs v1.0.0-alpha.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `web_sys_unstable_apis` [INFO] [stdout] --> src/event/js/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(web_sys_unstable_apis)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_sys_unstable_apis)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `web_sys_unstable_apis` [INFO] [stdout] --> src/event/js/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(web_sys_unstable_apis))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_sys_unstable_apis)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `web_sys_unstable_apis` [INFO] [stdout] --> src/event/js/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(web_sys_unstable_apis)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_sys_unstable_apis)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `web_sys_unstable_apis` [INFO] [stdout] --> src/event/js/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(web_sys_unstable_apis))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_sys_unstable_apis)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `react_sys::Fragment`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/element/fragment.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | &react_sys::Fragment, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `react_sys::Fragment`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/element/fragment.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | react_sys::create_element_no_children(&react_sys::Fragment, props) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `react_sys::StrictMode`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/strict_mode.rs:17:71 [INFO] [stdout] | [INFO] [stdout] 17 | js_component_type: crate::JsComponentType::Any(react_sys::StrictMode.clone()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `react_sys::StrictMode`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/strict_mode.rs:32:71 [INFO] [stdout] | [INFO] [stdout] 32 | js_component_type: crate::JsComponentType::Any(react_sys::StrictMode.clone()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `react_sys::Fragment`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/element/fragment.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | &react_sys::Fragment, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `react_sys::Fragment`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/element/fragment.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | react_sys::create_element_no_children(&react_sys::Fragment, props) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `react_sys::StrictMode`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/strict_mode.rs:17:71 [INFO] [stdout] | [INFO] [stdout] 17 | js_component_type: crate::JsComponentType::Any(react_sys::StrictMode.clone()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `react_sys::StrictMode`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/strict_mode.rs:32:71 [INFO] [stdout] | [INFO] [stdout] 32 | js_component_type: crate::JsComponentType::Any(react_sys::StrictMode.clone()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/element/js_bridge.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | fn to_node(&self) -> crate::AnyNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 78 | self.clone().to_node() [INFO] [stdout] | ---------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `react_sys::use_effect_on_each_render` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/use_effect.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | react_sys::use_effect_on_each_render(effect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `use_effect` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/use_effect.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | react_sys::use_effect(effect_js, js_sys::Array::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `use_effect` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/use_effect.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | react_sys::use_effect(effect, dep_arr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `react-rs` (lib) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/element/js_bridge.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | fn to_node(&self) -> crate::AnyNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 78 | self.clone().to_node() [INFO] [stdout] | ---------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `react_sys::use_effect_on_each_render` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/use_effect.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | react_sys::use_effect_on_each_render(effect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `use_effect` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/use_effect.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | react_sys::use_effect(effect_js, js_sys::Array::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `use_effect` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/use_effect.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | react_sys::use_effect(effect, dep_arr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `react-rs` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0e136e22a1b9f4a280a4d72a1b631c5d73ffbd573425b8a284c77e6e85d5e74a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e136e22a1b9f4a280a4d72a1b631c5d73ffbd573425b8a284c77e6e85d5e74a", kill_on_drop: false }` [INFO] [stdout] 0e136e22a1b9f4a280a4d72a1b631c5d73ffbd573425b8a284c77e6e85d5e74a