[INFO] fetching crate nodex-api 0.2.4... [INFO] checking nodex-api-0.2.4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate nodex-api 0.2.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate nodex-api 0.2.4 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nodex-api 0.2.4 [INFO] finished tweaking crates.io crate nodex-api 0.2.4 [INFO] tweaked toml for crates.io crate nodex-api 0.2.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.69.4 (available: v0.70.1) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d63a4fb2af7b7032850a0b2255ecc3023a944e0d04bf13a151e45994b0b8ce2 [INFO] running `Command { std: "docker" "start" "-a" "1d63a4fb2af7b7032850a0b2255ecc3023a944e0d04bf13a151e45994b0b8ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d63a4fb2af7b7032850a0b2255ecc3023a944e0d04bf13a151e45994b0b8ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d63a4fb2af7b7032850a0b2255ecc3023a944e0d04bf13a151e45994b0b8ce2", kill_on_drop: false }` [INFO] [stdout] 1d63a4fb2af7b7032850a0b2255ecc3023a944e0d04bf13a151e45994b0b8ce2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78f8386c63aba3be9c56b42204b7061a50aed94ca99f09eecf9a1d5b9b42be3a [INFO] running `Command { std: "docker" "start" "-a" "78f8386c63aba3be9c56b42204b7061a50aed94ca99f09eecf9a1d5b9b42be3a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling nodex-api v0.2.4 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `nodex_api` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/mac.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:33:22 [INFO] [stderr] | [INFO] [stderr] 33 | (=$napi:ident, $($args:expr_2021),+ $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:44:22 [INFO] [stderr] | [INFO] [stderr] 44 | (?$napi:ident, $($args:expr_2021),+ $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:52:21 [INFO] [stderr] | [INFO] [stderr] 52 | ($napi:ident, $($args:expr_2021),+ $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:66:6 [INFO] [stderr] | [INFO] [stderr] 66 | ($version:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:106:6 [INFO] [stderr] | [INFO] [stderr] 106 | ($s:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:113:19 [INFO] [stderr] | [INFO] [stderr] 113 | ($env:ident, =$s:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:123:18 [INFO] [stderr] | [INFO] [stderr] 123 | ($env:ident, $s:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:136:26 [INFO] [stderr] | [INFO] [stderr] 136 | ($self:ident, $T:ty, $err:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 159 | | pub fn napi_get_last_error_info( [INFO] [stdout] 160 | | env: NapiEnv, [INFO] [stdout] 161 | | result: *mut *const NapiExtendedErrorInfo, [INFO] [stdout] 162 | | ) -> NapiStatus; [INFO] [stdout] 163 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 165 | | pub fn napi_get_undefined(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 166 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 168 | | pub fn napi_get_null(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 169 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 171 | | pub fn napi_get_global(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 174 | | pub fn napi_get_boolean(env: NapiEnv, value: bool, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 177 | | pub fn napi_create_object(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 180 | | pub fn napi_create_array(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 181 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 183 | | pub fn napi_create_array_with_length( [INFO] [stdout] 184 | | env: NapiEnv, [INFO] [stdout] 185 | | length: size_t, [INFO] [stdout] 186 | | result: *mut napi_value, [INFO] [stdout] 187 | | ) -> NapiStatus; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 190 | | pub fn napi_create_double(env: NapiEnv, value: f64, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 191 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 193 | | pub fn napi_create_int32(env: NapiEnv, value: i32, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 194 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 196 | | pub fn napi_create_uint32(env: NapiEnv, value: u32, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 197 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 199 | | pub fn napi_create_int64(env: NapiEnv, value: i64, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 202 | | pub fn napi_create_string_latin1( [INFO] [stdout] 203 | | env: NapiEnv, [INFO] [stdout] 204 | | str_: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 207 | | ) -> NapiStatus; [INFO] [stdout] 208 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 210 | | pub fn napi_create_string_utf8( [INFO] [stdout] 211 | | env: NapiEnv, [INFO] [stdout] 212 | | str_: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 215 | | ) -> NapiStatus; [INFO] [stdout] 216 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 218 | | pub fn napi_create_string_utf16( [INFO] [stdout] 219 | | env: NapiEnv, [INFO] [stdout] 220 | | str_: *const char16_t, [INFO] [stdout] ... | [INFO] [stdout] 223 | | ) -> NapiStatus; [INFO] [stdout] 224 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 226 | | pub fn napi_create_symbol( [INFO] [stdout] 227 | | env: NapiEnv, [INFO] [stdout] 228 | | description: napi_value, [INFO] [stdout] 229 | | result: *mut napi_value, [INFO] [stdout] 230 | | ) -> NapiStatus; [INFO] [stdout] 231 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 233 | | pub fn napi_create_function( [INFO] [stdout] 234 | | env: NapiEnv, [INFO] [stdout] 235 | | utf8name: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 240 | | ) -> NapiStatus; [INFO] [stdout] 241 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 243 | | pub fn napi_create_error( [INFO] [stdout] 244 | | env: NapiEnv, [INFO] [stdout] 245 | | code: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 248 | | ) -> NapiStatus; [INFO] [stdout] 249 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 251 | | pub fn napi_create_type_error( [INFO] [stdout] 252 | | env: NapiEnv, [INFO] [stdout] 253 | | code: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 256 | | ) -> NapiStatus; [INFO] [stdout] 257 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 259 | | pub fn napi_create_range_error( [INFO] [stdout] 260 | | env: NapiEnv, [INFO] [stdout] 261 | | code: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 264 | | ) -> NapiStatus; [INFO] [stdout] 265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 267 | | pub fn napi_typeof(env: NapiEnv, value: napi_value, result: *mut NapiValuetype) -> NapiStatus; [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 270 | | pub fn napi_get_value_double(env: NapiEnv, value: napi_value, result: *mut f64) -> NapiStatus; [INFO] [stdout] 271 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 273 | | pub fn napi_get_value_int32(env: NapiEnv, value: napi_value, result: *mut i32) -> NapiStatus; [INFO] [stdout] 274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 276 | | pub fn napi_get_value_uint32(env: NapiEnv, value: napi_value, result: *mut u32) -> NapiStatus; [INFO] [stdout] 277 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 279 | | pub fn napi_get_value_int64(env: NapiEnv, value: napi_value, result: *mut i64) -> NapiStatus; [INFO] [stdout] 280 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:281:1 [INFO] [stdout] | [INFO] [stdout] 281 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 282 | | pub fn napi_get_value_bool(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 283 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 285 | | pub fn napi_get_value_string_latin1( [INFO] [stdout] 286 | | env: NapiEnv, [INFO] [stdout] 287 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 291 | | ) -> NapiStatus; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 294 | | pub fn napi_get_value_string_utf8( [INFO] [stdout] 295 | | env: NapiEnv, [INFO] [stdout] 296 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 300 | | ) -> NapiStatus; [INFO] [stdout] 301 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:302:1 [INFO] [stdout] | [INFO] [stdout] 302 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 303 | | pub fn napi_get_value_string_utf16( [INFO] [stdout] 304 | | env: NapiEnv, [INFO] [stdout] 305 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 309 | | ) -> NapiStatus; [INFO] [stdout] 310 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 312 | | pub fn napi_coerce_to_bool( [INFO] [stdout] 313 | | env: NapiEnv, [INFO] [stdout] 314 | | value: napi_value, [INFO] [stdout] 315 | | result: *mut napi_value, [INFO] [stdout] 316 | | ) -> NapiStatus; [INFO] [stdout] 317 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 319 | | pub fn napi_coerce_to_number( [INFO] [stdout] 320 | | env: NapiEnv, [INFO] [stdout] 321 | | value: napi_value, [INFO] [stdout] 322 | | result: *mut napi_value, [INFO] [stdout] 323 | | ) -> NapiStatus; [INFO] [stdout] 324 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 325 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 326 | | pub fn napi_coerce_to_object( [INFO] [stdout] 327 | | env: NapiEnv, [INFO] [stdout] 328 | | value: napi_value, [INFO] [stdout] 329 | | result: *mut napi_value, [INFO] [stdout] 330 | | ) -> NapiStatus; [INFO] [stdout] 331 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 333 | | pub fn napi_coerce_to_string( [INFO] [stdout] 334 | | env: NapiEnv, [INFO] [stdout] 335 | | value: napi_value, [INFO] [stdout] 336 | | result: *mut napi_value, [INFO] [stdout] 337 | | ) -> NapiStatus; [INFO] [stdout] 338 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 340 | | pub fn napi_get_prototype( [INFO] [stdout] 341 | | env: NapiEnv, [INFO] [stdout] 342 | | object: napi_value, [INFO] [stdout] 343 | | result: *mut napi_value, [INFO] [stdout] 344 | | ) -> NapiStatus; [INFO] [stdout] 345 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 346 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 347 | | pub fn napi_get_property_names( [INFO] [stdout] 348 | | env: NapiEnv, [INFO] [stdout] 349 | | object: napi_value, [INFO] [stdout] 350 | | result: *mut napi_value, [INFO] [stdout] 351 | | ) -> NapiStatus; [INFO] [stdout] 352 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 354 | | pub fn napi_set_property( [INFO] [stdout] 355 | | env: NapiEnv, [INFO] [stdout] 356 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 359 | | ) -> NapiStatus; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:361:1 [INFO] [stdout] | [INFO] [stdout] 361 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 362 | | pub fn napi_has_property( [INFO] [stdout] 363 | | env: NapiEnv, [INFO] [stdout] 364 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 367 | | ) -> NapiStatus; [INFO] [stdout] 368 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:369:1 [INFO] [stdout] | [INFO] [stdout] 369 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 370 | | pub fn napi_get_property( [INFO] [stdout] 371 | | env: NapiEnv, [INFO] [stdout] 372 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 375 | | ) -> NapiStatus; [INFO] [stdout] 376 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 378 | | pub fn napi_delete_property( [INFO] [stdout] 379 | | env: NapiEnv, [INFO] [stdout] 380 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 383 | | ) -> NapiStatus; [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 386 | | pub fn napi_has_own_property( [INFO] [stdout] 387 | | env: NapiEnv, [INFO] [stdout] 388 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 391 | | ) -> NapiStatus; [INFO] [stdout] 392 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:393:1 [INFO] [stdout] | [INFO] [stdout] 393 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 394 | | pub fn napi_set_named_property( [INFO] [stdout] 395 | | env: NapiEnv, [INFO] [stdout] 396 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 399 | | ) -> NapiStatus; [INFO] [stdout] 400 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:401:1 [INFO] [stdout] | [INFO] [stdout] 401 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 402 | | pub fn napi_has_named_property( [INFO] [stdout] 403 | | env: NapiEnv, [INFO] [stdout] 404 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 407 | | ) -> NapiStatus; [INFO] [stdout] 408 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 410 | | pub fn napi_get_named_property( [INFO] [stdout] 411 | | env: NapiEnv, [INFO] [stdout] 412 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 415 | | ) -> NapiStatus; [INFO] [stdout] 416 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 417 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 418 | | pub fn napi_set_element( [INFO] [stdout] 419 | | env: NapiEnv, [INFO] [stdout] 420 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 423 | | ) -> NapiStatus; [INFO] [stdout] 424 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:425:1 [INFO] [stdout] | [INFO] [stdout] 425 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 426 | | pub fn napi_has_element( [INFO] [stdout] 427 | | env: NapiEnv, [INFO] [stdout] 428 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 431 | | ) -> NapiStatus; [INFO] [stdout] 432 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 434 | | pub fn napi_get_element( [INFO] [stdout] 435 | | env: NapiEnv, [INFO] [stdout] 436 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 439 | | ) -> NapiStatus; [INFO] [stdout] 440 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:441:1 [INFO] [stdout] | [INFO] [stdout] 441 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 442 | | pub fn napi_delete_element( [INFO] [stdout] 443 | | env: NapiEnv, [INFO] [stdout] 444 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 447 | | ) -> NapiStatus; [INFO] [stdout] 448 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 450 | | pub fn napi_define_properties( [INFO] [stdout] 451 | | env: NapiEnv, [INFO] [stdout] 452 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 455 | | ) -> NapiStatus; [INFO] [stdout] 456 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 458 | | pub fn napi_is_array(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 459 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 460 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 461 | | pub fn napi_get_array_length(env: NapiEnv, value: napi_value, result: *mut u32) -> NapiStatus; [INFO] [stdout] 462 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:463:1 [INFO] [stdout] | [INFO] [stdout] 463 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 464 | | pub fn napi_strict_equals( [INFO] [stdout] 465 | | env: NapiEnv, [INFO] [stdout] 466 | | lhs: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 469 | | ) -> NapiStatus; [INFO] [stdout] 470 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 472 | | pub fn napi_call_function( [INFO] [stdout] 473 | | env: NapiEnv, [INFO] [stdout] 474 | | recv: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 479 | | ) -> NapiStatus; [INFO] [stdout] 480 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 482 | | pub fn napi_new_instance( [INFO] [stdout] 483 | | env: NapiEnv, [INFO] [stdout] 484 | | constructor: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 488 | | ) -> NapiStatus; [INFO] [stdout] 489 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:490:1 [INFO] [stdout] | [INFO] [stdout] 490 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 491 | | pub fn napi_instanceof( [INFO] [stdout] 492 | | env: NapiEnv, [INFO] [stdout] 493 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 496 | | ) -> NapiStatus; [INFO] [stdout] 497 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:498:1 [INFO] [stdout] | [INFO] [stdout] 498 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 499 | | pub fn napi_get_cb_info( [INFO] [stdout] 500 | | env: NapiEnv, [INFO] [stdout] 501 | | cbinfo: napi_callback_info, [INFO] [stdout] ... | [INFO] [stdout] 506 | | ) -> NapiStatus; [INFO] [stdout] 507 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:508:1 [INFO] [stdout] | [INFO] [stdout] 508 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 509 | | pub fn napi_get_new_target( [INFO] [stdout] 510 | | env: NapiEnv, [INFO] [stdout] 511 | | cbinfo: napi_callback_info, [INFO] [stdout] 512 | | result: *mut napi_value, [INFO] [stdout] 513 | | ) -> NapiStatus; [INFO] [stdout] 514 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:515:1 [INFO] [stdout] | [INFO] [stdout] 515 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 516 | | pub fn napi_define_class( [INFO] [stdout] 517 | | env: NapiEnv, [INFO] [stdout] 518 | | utf8name: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 525 | | ) -> NapiStatus; [INFO] [stdout] 526 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 528 | | pub fn napi_wrap( [INFO] [stdout] 529 | | env: NapiEnv, [INFO] [stdout] 530 | | js_object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 535 | | ) -> NapiStatus; [INFO] [stdout] 536 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:537:1 [INFO] [stdout] | [INFO] [stdout] 537 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 538 | | pub fn napi_unwrap( [INFO] [stdout] 539 | | env: NapiEnv, [INFO] [stdout] 540 | | js_object: napi_value, [INFO] [stdout] 541 | | result: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 542 | | ) -> NapiStatus; [INFO] [stdout] 543 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:544:1 [INFO] [stdout] | [INFO] [stdout] 544 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 545 | | pub fn napi_remove_wrap( [INFO] [stdout] 546 | | env: NapiEnv, [INFO] [stdout] 547 | | js_object: napi_value, [INFO] [stdout] 548 | | result: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 549 | | ) -> NapiStatus; [INFO] [stdout] 550 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:551:1 [INFO] [stdout] | [INFO] [stdout] 551 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 552 | | pub fn napi_create_external( [INFO] [stdout] 553 | | env: NapiEnv, [INFO] [stdout] 554 | | data: *mut ::std::os::raw::c_void, [INFO] [stdout] ... | [INFO] [stdout] 558 | | ) -> NapiStatus; [INFO] [stdout] 559 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:560:1 [INFO] [stdout] | [INFO] [stdout] 560 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 561 | | pub fn napi_get_value_external( [INFO] [stdout] 562 | | env: NapiEnv, [INFO] [stdout] 563 | | value: napi_value, [INFO] [stdout] 564 | | result: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 565 | | ) -> NapiStatus; [INFO] [stdout] 566 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 568 | | pub fn napi_create_reference( [INFO] [stdout] 569 | | env: NapiEnv, [INFO] [stdout] 570 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 573 | | ) -> NapiStatus; [INFO] [stdout] 574 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:575:1 [INFO] [stdout] | [INFO] [stdout] 575 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 576 | | pub fn napi_delete_reference(env: NapiEnv, ref_: napi_ref) -> NapiStatus; [INFO] [stdout] 577 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:578:1 [INFO] [stdout] | [INFO] [stdout] 578 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 579 | | pub fn napi_reference_ref(env: NapiEnv, ref_: napi_ref, result: *mut u32) -> NapiStatus; [INFO] [stdout] 580 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:581:1 [INFO] [stdout] | [INFO] [stdout] 581 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 582 | | pub fn napi_reference_unref(env: NapiEnv, ref_: napi_ref, result: *mut u32) -> NapiStatus; [INFO] [stdout] 583 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:584:1 [INFO] [stdout] | [INFO] [stdout] 584 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 585 | | pub fn napi_get_reference_value( [INFO] [stdout] 586 | | env: NapiEnv, [INFO] [stdout] 587 | | ref_: napi_ref, [INFO] [stdout] 588 | | result: *mut napi_value, [INFO] [stdout] 589 | | ) -> NapiStatus; [INFO] [stdout] 590 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:591:1 [INFO] [stdout] | [INFO] [stdout] 591 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 592 | | pub fn napi_open_handle_scope(env: NapiEnv, result: *mut napi_handle_scope) -> NapiStatus; [INFO] [stdout] 593 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:594:1 [INFO] [stdout] | [INFO] [stdout] 594 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 595 | | pub fn napi_close_handle_scope(env: NapiEnv, scope: napi_handle_scope) -> NapiStatus; [INFO] [stdout] 596 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 598 | | pub fn napi_open_escapable_handle_scope( [INFO] [stdout] 599 | | env: NapiEnv, [INFO] [stdout] 600 | | result: *mut napi_escapable_handle_scope, [INFO] [stdout] 601 | | ) -> NapiStatus; [INFO] [stdout] 602 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 604 | | pub fn napi_close_escapable_handle_scope( [INFO] [stdout] 605 | | env: NapiEnv, [INFO] [stdout] 606 | | scope: napi_escapable_handle_scope, [INFO] [stdout] 607 | | ) -> NapiStatus; [INFO] [stdout] 608 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 610 | | pub fn napi_escape_handle( [INFO] [stdout] 611 | | env: NapiEnv, [INFO] [stdout] 612 | | scope: napi_escapable_handle_scope, [INFO] [stdout] ... | [INFO] [stdout] 615 | | ) -> NapiStatus; [INFO] [stdout] 616 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:617:1 [INFO] [stdout] | [INFO] [stdout] 617 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 618 | | pub fn napi_throw(env: NapiEnv, error: napi_value) -> NapiStatus; [INFO] [stdout] 619 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:620:1 [INFO] [stdout] | [INFO] [stdout] 620 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 621 | | pub fn napi_throw_error( [INFO] [stdout] 622 | | env: NapiEnv, [INFO] [stdout] 623 | | code: *const ::std::os::raw::c_char, [INFO] [stdout] 624 | | msg: *const ::std::os::raw::c_char, [INFO] [stdout] 625 | | ) -> NapiStatus; [INFO] [stdout] 626 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:627:1 [INFO] [stdout] | [INFO] [stdout] 627 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 628 | | pub fn napi_throw_type_error( [INFO] [stdout] 629 | | env: NapiEnv, [INFO] [stdout] 630 | | code: *const ::std::os::raw::c_char, [INFO] [stdout] 631 | | msg: *const ::std::os::raw::c_char, [INFO] [stdout] 632 | | ) -> NapiStatus; [INFO] [stdout] 633 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:634:1 [INFO] [stdout] | [INFO] [stdout] 634 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 635 | | pub fn napi_throw_range_error( [INFO] [stdout] 636 | | env: NapiEnv, [INFO] [stdout] 637 | | code: *const ::std::os::raw::c_char, [INFO] [stdout] 638 | | msg: *const ::std::os::raw::c_char, [INFO] [stdout] 639 | | ) -> NapiStatus; [INFO] [stdout] 640 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:641:1 [INFO] [stdout] | [INFO] [stdout] 641 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 642 | | pub fn napi_is_error(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 643 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:644:1 [INFO] [stdout] | [INFO] [stdout] 644 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 645 | | pub fn napi_is_exception_pending(env: NapiEnv, result: *mut bool) -> NapiStatus; [INFO] [stdout] 646 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:647:1 [INFO] [stdout] | [INFO] [stdout] 647 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 648 | | pub fn napi_get_and_clear_last_exception(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 649 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:650:1 [INFO] [stdout] | [INFO] [stdout] 650 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 651 | | pub fn napi_is_arraybuffer(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 652 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:653:1 [INFO] [stdout] | [INFO] [stdout] 653 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 654 | | pub fn napi_create_arraybuffer( [INFO] [stdout] 655 | | env: NapiEnv, [INFO] [stdout] 656 | | byte_length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 659 | | ) -> NapiStatus; [INFO] [stdout] 660 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:661:1 [INFO] [stdout] | [INFO] [stdout] 661 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 662 | | pub fn napi_create_external_arraybuffer( [INFO] [stdout] 663 | | env: NapiEnv, [INFO] [stdout] 664 | | external_data: *mut ::std::os::raw::c_void, [INFO] [stdout] ... | [INFO] [stdout] 669 | | ) -> NapiStatus; [INFO] [stdout] 670 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:671:1 [INFO] [stdout] | [INFO] [stdout] 671 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 672 | | pub fn napi_get_arraybuffer_info( [INFO] [stdout] 673 | | env: NapiEnv, [INFO] [stdout] 674 | | arraybuffer: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 677 | | ) -> NapiStatus; [INFO] [stdout] 678 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:679:1 [INFO] [stdout] | [INFO] [stdout] 679 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 680 | | pub fn napi_is_typedarray(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 681 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:682:1 [INFO] [stdout] | [INFO] [stdout] 682 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 683 | | pub fn napi_create_typedarray( [INFO] [stdout] 684 | | env: NapiEnv, [INFO] [stdout] 685 | | type_: NapiTypedarrayType, [INFO] [stdout] ... | [INFO] [stdout] 690 | | ) -> NapiStatus; [INFO] [stdout] 691 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 693 | | pub fn napi_get_typedarray_info( [INFO] [stdout] 694 | | env: NapiEnv, [INFO] [stdout] 695 | | typedarray: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 701 | | ) -> NapiStatus; [INFO] [stdout] 702 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:703:1 [INFO] [stdout] | [INFO] [stdout] 703 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 704 | | pub fn napi_create_dataview( [INFO] [stdout] 705 | | env: NapiEnv, [INFO] [stdout] 706 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 710 | | ) -> NapiStatus; [INFO] [stdout] 711 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 713 | | pub fn napi_is_dataview(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 714 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:715:1 [INFO] [stdout] | [INFO] [stdout] 715 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 716 | | pub fn napi_get_dataview_info( [INFO] [stdout] 717 | | env: NapiEnv, [INFO] [stdout] 718 | | dataview: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 723 | | ) -> NapiStatus; [INFO] [stdout] 724 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:725:1 [INFO] [stdout] | [INFO] [stdout] 725 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 726 | | pub fn napi_get_version(env: NapiEnv, result: *mut u32) -> NapiStatus; [INFO] [stdout] 727 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:728:1 [INFO] [stdout] | [INFO] [stdout] 728 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 729 | | pub fn napi_create_promise( [INFO] [stdout] 730 | | env: NapiEnv, [INFO] [stdout] 731 | | deferred: *mut napi_deferred, [INFO] [stdout] 732 | | promise: *mut napi_value, [INFO] [stdout] 733 | | ) -> NapiStatus; [INFO] [stdout] 734 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:735:1 [INFO] [stdout] | [INFO] [stdout] 735 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 736 | | pub fn napi_resolve_deferred( [INFO] [stdout] 737 | | env: NapiEnv, [INFO] [stdout] 738 | | deferred: napi_deferred, [INFO] [stdout] 739 | | resolution: napi_value, [INFO] [stdout] 740 | | ) -> NapiStatus; [INFO] [stdout] 741 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:742:1 [INFO] [stdout] | [INFO] [stdout] 742 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 743 | | pub fn napi_reject_deferred( [INFO] [stdout] 744 | | env: NapiEnv, [INFO] [stdout] 745 | | deferred: napi_deferred, [INFO] [stdout] 746 | | rejection: napi_value, [INFO] [stdout] 747 | | ) -> NapiStatus; [INFO] [stdout] 748 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:749:1 [INFO] [stdout] | [INFO] [stdout] 749 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 750 | | pub fn napi_is_promise(env: NapiEnv, value: napi_value, is_promise: *mut bool) -> NapiStatus; [INFO] [stdout] 751 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:752:1 [INFO] [stdout] | [INFO] [stdout] 752 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 753 | | pub fn napi_run_script(env: NapiEnv, script: napi_value, result: *mut napi_value) [INFO] [stdout] 754 | | -> NapiStatus; [INFO] [stdout] 755 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:756:1 [INFO] [stdout] | [INFO] [stdout] 756 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 757 | | pub fn napi_adjust_external_memory( [INFO] [stdout] 758 | | env: NapiEnv, [INFO] [stdout] 759 | | change_in_bytes: i64, [INFO] [stdout] 760 | | adjusted_value: *mut i64, [INFO] [stdout] 761 | | ) -> NapiStatus; [INFO] [stdout] 762 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1009:1 [INFO] [stdout] | [INFO] [stdout] 1009 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1010 | | pub fn napi_module_register(mod_: *mut napi_module); [INFO] [stdout] 1011 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1012:1 [INFO] [stdout] | [INFO] [stdout] 1012 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1013 | | pub fn napi_fatal_error( [INFO] [stdout] 1014 | | location: *const ::std::os::raw::c_char, [INFO] [stdout] 1015 | | location_len: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1018 | | ); [INFO] [stdout] 1019 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1020:1 [INFO] [stdout] | [INFO] [stdout] 1020 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1021 | | pub fn napi_async_init( [INFO] [stdout] 1022 | | env: NapiEnv, [INFO] [stdout] 1023 | | async_resource: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 1026 | | ) -> NapiStatus; [INFO] [stdout] 1027 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1028:1 [INFO] [stdout] | [INFO] [stdout] 1028 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1029 | | pub fn napi_async_destroy(env: NapiEnv, async_context: napi_async_context) -> NapiStatus; [INFO] [stdout] 1030 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1031:1 [INFO] [stdout] | [INFO] [stdout] 1031 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1032 | | pub fn napi_make_callback( [INFO] [stdout] 1033 | | env: NapiEnv, [INFO] [stdout] 1034 | | async_context: napi_async_context, [INFO] [stdout] ... | [INFO] [stdout] 1040 | | ) -> NapiStatus; [INFO] [stdout] 1041 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1042:1 [INFO] [stdout] | [INFO] [stdout] 1042 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1043 | | pub fn napi_create_buffer( [INFO] [stdout] 1044 | | env: NapiEnv, [INFO] [stdout] 1045 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1048 | | ) -> NapiStatus; [INFO] [stdout] 1049 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1050:1 [INFO] [stdout] | [INFO] [stdout] 1050 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1051 | | pub fn napi_create_external_buffer( [INFO] [stdout] 1052 | | env: NapiEnv, [INFO] [stdout] 1053 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1058 | | ) -> NapiStatus; [INFO] [stdout] 1059 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1060:1 [INFO] [stdout] | [INFO] [stdout] 1060 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1061 | | pub fn napi_create_buffer_copy( [INFO] [stdout] 1062 | | env: NapiEnv, [INFO] [stdout] 1063 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1067 | | ) -> NapiStatus; [INFO] [stdout] 1068 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1069:1 [INFO] [stdout] | [INFO] [stdout] 1069 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1070 | | pub fn napi_is_buffer(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 1071 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1072:1 [INFO] [stdout] | [INFO] [stdout] 1072 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1073 | | pub fn napi_get_buffer_info( [INFO] [stdout] 1074 | | env: NapiEnv, [INFO] [stdout] 1075 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 1078 | | ) -> NapiStatus; [INFO] [stdout] 1079 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1080:1 [INFO] [stdout] | [INFO] [stdout] 1080 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1081 | | pub fn napi_create_async_work( [INFO] [stdout] 1082 | | env: NapiEnv, [INFO] [stdout] 1083 | | async_resource: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 1089 | | ) -> NapiStatus; [INFO] [stdout] 1090 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1091:1 [INFO] [stdout] | [INFO] [stdout] 1091 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1092 | | pub fn napi_delete_async_work(env: NapiEnv, work: napi_async_work) -> NapiStatus; [INFO] [stdout] 1093 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1094:1 [INFO] [stdout] | [INFO] [stdout] 1094 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1095 | | pub fn napi_queue_async_work(env: NapiEnv, work: napi_async_work) -> NapiStatus; [INFO] [stdout] 1096 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1097:1 [INFO] [stdout] | [INFO] [stdout] 1097 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1098 | | pub fn napi_cancel_async_work(env: NapiEnv, work: napi_async_work) -> NapiStatus; [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1100:1 [INFO] [stdout] | [INFO] [stdout] 1100 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1101 | | pub fn napi_get_node_version( [INFO] [stdout] 1102 | | env: NapiEnv, [INFO] [stdout] 1103 | | version: *mut *const napi_node_version, [INFO] [stdout] 1104 | | ) -> NapiStatus; [INFO] [stdout] 1105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | (=$napi:ident, $($args:expr),+ $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 33 | (=$napi:ident, $($args:expr_2021),+ $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | (?$napi:ident, $($args:expr),+ $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 44 | (?$napi:ident, $($args:expr_2021),+ $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | ($napi:ident, $($args:expr),+ $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 52 | ($napi:ident, $($args:expr_2021),+ $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | ($version:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 66 | ($version:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | ($s:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 106 | ($s:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | ($env:ident, =$s:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 113 | ($env:ident, =$s:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | ($env:ident, $s:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 123 | ($env:ident, $s:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | ($self:ident, $T:ty, $err:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 136 | ($self:ident, $T:ty, $err:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/mod.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | Box::from_raw(finalizer as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value/mod.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | / unsafe extern "C" fn finalizer_trampoline( [INFO] [stdout] 407 | | env: NapiEnv, [INFO] [stdout] 408 | | data: DataPointer, [INFO] [stdout] 409 | | finalizer: DataPointer, [INFO] [stdout] 410 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/mod.rs:414:24 [INFO] [stdout] | [INFO] [stdout] 414 | let data = Box::::from_raw(data as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/external.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let ext: Box = Box::from_raw(data as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value/external.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe extern "C" fn finalize(env: NapiEnv, data: DataPointer, hint: DataPointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/external.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | let finalizer: Box> = Box::from_raw(hint as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `value::NapiValueT::cast` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/object.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(self.get_property(name)?.cast::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value/object.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub unsafe fn get_unchecked(&self, key: impl AsRef) -> NapiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | let (loc, loc_len) = if let Some(loc) = loc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 192 ~ let (loc, loc_len) = match loc { Some(loc) => { [INFO] [stdout] 193 | (loc.as_ref().as_ptr() as *const _, loc.as_ref().len()) [INFO] [stdout] 194 ~ } _ => { [INFO] [stdout] 195 | (std::ptr::null(), 0) [INFO] [stdout] 196 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | let utf8name = if let Some(name) = self.utf8name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/descriptor.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 191 ~ let utf8name = match self.utf8name { Some(name) => { [INFO] [stdout] 192 | std::ffi::CString::new(name) [INFO] [stdout] 193 | .map_err(|_| NapiStatus::StringExpected)? [INFO] [stdout] 194 | .into_raw() [INFO] [stdout] 195 ~ } _ => { [INFO] [stdout] 196 | std::ptr::null() [INFO] [stdout] 197 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 238 | if let Ok(args) = T::from_js_args(JsArgs(args)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/descriptor.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 238 ~ match T::from_js_args(JsArgs(args)) { Ok(args) => { [INFO] [stdout] 239 | napi_r!(env, =func(this, args)) [INFO] [stdout] 240 ~ } _ => { [INFO] [stdout] 241 | env.throw_error("wrong argument type!").unwrap(); [INFO] [stdout] 242 | env.undefined().unwrap().raw() [INFO] [stdout] 243 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | let data = if let Some(method) = self.method.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/descriptor.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 247 ~ let data = match self.method.take() { Some(method) => { [INFO] [stdout] 248 | Box::into_raw(Box::new(method)) as _ [INFO] [stdout] 249 ~ } _ => { [INFO] [stdout] 250 | return Err(NapiStatus::InvalidArg); [INFO] [stdout] 251 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | let utf8name = if let Some(name) = self.utf8name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/descriptor.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 336 ~ let utf8name = match self.utf8name { Some(name) => { [INFO] [stdout] 337 | std::ffi::CString::new(name) [INFO] [stdout] 338 | .map_err(|_| NapiStatus::StringExpected)? [INFO] [stdout] 339 | .into_raw() [INFO] [stdout] 340 ~ } _ => { [INFO] [stdout] 341 | std::ptr::null() [INFO] [stdout] 342 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor.rs:389:25 [INFO] [stdout] | [INFO] [stdout] 389 | let getter = if let Some(getter) = self.getter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/descriptor.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 389 ~ let getter = match self.getter { Some(getter) => { [INFO] [stdout] 390 | data.0 = Some(getter); [INFO] [stdout] 391 | Some(getter_trampoline:: as _) [INFO] [stdout] 392 ~ } _ => { [INFO] [stdout] 393 | None [INFO] [stdout] 394 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor.rs:429:25 [INFO] [stdout] | [INFO] [stdout] 429 | let setter = if let Some(setter) = self.setter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/descriptor.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 429 ~ let setter = match self.setter { Some(setter) => { [INFO] [stdout] 430 | data.1 = Some(setter); [INFO] [stdout] 431 | Some(setter_trampoline:: as _) [INFO] [stdout] 432 ~ } _ => { [INFO] [stdout] 433 | None [INFO] [stdout] 434 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/mod.rs:415:16 [INFO] [stdout] | [INFO] [stdout] 415 | if let Err(err) = finalizer(env, *data) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/mod.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 415 ~ match finalizer(env, *data) { Err(err) => { [INFO] [stdout] 416 | log::error!("NapiValueT::wrap(): {}", err); [INFO] [stdout] 417 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/class.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | if let Ok(args) = T::from_js_args(JsArgs(args)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/class.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 87 ~ match T::from_js_args(JsArgs(args)) { Ok(args) => { [INFO] [stdout] 88 | napi_r!(env, =func(this, args)) [INFO] [stdout] 89 ~ } _ => { [INFO] [stdout] 90 | env.throw_error("wrong argument type!"); [INFO] [stdout] 91 | env.undefined().unwrap().raw() [INFO] [stdout] 92 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/error.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let code = if let Some(code) = code { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/error.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 19 ~ let code = match code { Some(code) => { [INFO] [stdout] 20 | env.string(code.as_ref())?.raw() [INFO] [stdout] 21 ~ } _ => { [INFO] [stdout] 22 | std::ptr::null_mut() [INFO] [stdout] 23 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/error.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let code = if let Some(code) = code { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/error.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 36 ~ let code = match code { Some(code) => { [INFO] [stdout] 37 | code.value().raw() [INFO] [stdout] 38 ~ } _ => { [INFO] [stdout] 39 | std::ptr::null_mut() [INFO] [stdout] 40 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/error.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | let code = if let Some(code) = code { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/error.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 51 ~ let code = match code { Some(code) => { [INFO] [stdout] 52 | code.value().raw() [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | std::ptr::null_mut() [INFO] [stdout] 55 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/external.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if let Err(e) = finalizer(env, *ext) { [INFO] [stdout] | ^^^^^^^^^^^^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/external.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 27 ~ match finalizer(env, *ext) { Err(e) => { [INFO] [stdout] 28 | log::error!("JsExternal::::finalize: {}", e); [INFO] [stdout] 29 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/function.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | let (name, len) = if let Some(name) = name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/function.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 66 ~ let (name, len) = match name { Some(name) => { [INFO] [stdout] 67 | (name.as_ref().as_ptr() as *const c_char, name.as_ref().len()) [INFO] [stdout] 68 ~ } _ => { [INFO] [stdout] 69 | (std::ptr::null(), 0) [INFO] [stdout] 70 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/function.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | if let Ok(args) = T::from_js_args(JsArgs(args)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/function.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 122 ~ match T::from_js_args(JsArgs(args)) { Ok(args) => { [INFO] [stdout] 123 | napi_r!(env, =func(this, args)) [INFO] [stdout] 124 ~ } _ => { [INFO] [stdout] 125 | env.throw_error("wrong argument type!").unwrap(); [INFO] [stdout] 126 | env.undefined().unwrap().raw() [INFO] [stdout] 127 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 139 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `nodex_api` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/mac.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:33:22 [INFO] [stderr] | [INFO] [stderr] 33 | (=$napi:ident, $($args:expr_2021),+ $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:44:22 [INFO] [stderr] | [INFO] [stderr] 44 | (?$napi:ident, $($args:expr_2021),+ $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:52:21 [INFO] [stderr] | [INFO] [stderr] 52 | ($napi:ident, $($args:expr_2021),+ $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:66:6 [INFO] [stderr] | [INFO] [stderr] 66 | ($version:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:106:6 [INFO] [stderr] | [INFO] [stderr] 106 | ($s:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:113:19 [INFO] [stderr] | [INFO] [stderr] 113 | ($env:ident, =$s:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:123:18 [INFO] [stderr] | [INFO] [stderr] 123 | ($env:ident, $s:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mac.rs:136:26 [INFO] [stderr] | [INFO] [stderr] 136 | ($self:ident, $T:ty, $err:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 159 | | pub fn napi_get_last_error_info( [INFO] [stdout] 160 | | env: NapiEnv, [INFO] [stdout] 161 | | result: *mut *const NapiExtendedErrorInfo, [INFO] [stdout] 162 | | ) -> NapiStatus; [INFO] [stdout] 163 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 165 | | pub fn napi_get_undefined(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 166 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 168 | | pub fn napi_get_null(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 169 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 171 | | pub fn napi_get_global(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 174 | | pub fn napi_get_boolean(env: NapiEnv, value: bool, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 177 | | pub fn napi_create_object(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 180 | | pub fn napi_create_array(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 181 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 183 | | pub fn napi_create_array_with_length( [INFO] [stdout] 184 | | env: NapiEnv, [INFO] [stdout] 185 | | length: size_t, [INFO] [stdout] 186 | | result: *mut napi_value, [INFO] [stdout] 187 | | ) -> NapiStatus; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 190 | | pub fn napi_create_double(env: NapiEnv, value: f64, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 191 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 193 | | pub fn napi_create_int32(env: NapiEnv, value: i32, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 194 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 196 | | pub fn napi_create_uint32(env: NapiEnv, value: u32, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 197 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 199 | | pub fn napi_create_int64(env: NapiEnv, value: i64, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 202 | | pub fn napi_create_string_latin1( [INFO] [stdout] 203 | | env: NapiEnv, [INFO] [stdout] 204 | | str_: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 207 | | ) -> NapiStatus; [INFO] [stdout] 208 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 210 | | pub fn napi_create_string_utf8( [INFO] [stdout] 211 | | env: NapiEnv, [INFO] [stdout] 212 | | str_: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 215 | | ) -> NapiStatus; [INFO] [stdout] 216 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 218 | | pub fn napi_create_string_utf16( [INFO] [stdout] 219 | | env: NapiEnv, [INFO] [stdout] 220 | | str_: *const char16_t, [INFO] [stdout] ... | [INFO] [stdout] 223 | | ) -> NapiStatus; [INFO] [stdout] 224 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 226 | | pub fn napi_create_symbol( [INFO] [stdout] 227 | | env: NapiEnv, [INFO] [stdout] 228 | | description: napi_value, [INFO] [stdout] 229 | | result: *mut napi_value, [INFO] [stdout] 230 | | ) -> NapiStatus; [INFO] [stdout] 231 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 233 | | pub fn napi_create_function( [INFO] [stdout] 234 | | env: NapiEnv, [INFO] [stdout] 235 | | utf8name: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 240 | | ) -> NapiStatus; [INFO] [stdout] 241 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 243 | | pub fn napi_create_error( [INFO] [stdout] 244 | | env: NapiEnv, [INFO] [stdout] 245 | | code: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 248 | | ) -> NapiStatus; [INFO] [stdout] 249 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 251 | | pub fn napi_create_type_error( [INFO] [stdout] 252 | | env: NapiEnv, [INFO] [stdout] 253 | | code: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 256 | | ) -> NapiStatus; [INFO] [stdout] 257 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 259 | | pub fn napi_create_range_error( [INFO] [stdout] 260 | | env: NapiEnv, [INFO] [stdout] 261 | | code: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 264 | | ) -> NapiStatus; [INFO] [stdout] 265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 267 | | pub fn napi_typeof(env: NapiEnv, value: napi_value, result: *mut NapiValuetype) -> NapiStatus; [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 270 | | pub fn napi_get_value_double(env: NapiEnv, value: napi_value, result: *mut f64) -> NapiStatus; [INFO] [stdout] 271 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 273 | | pub fn napi_get_value_int32(env: NapiEnv, value: napi_value, result: *mut i32) -> NapiStatus; [INFO] [stdout] 274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 276 | | pub fn napi_get_value_uint32(env: NapiEnv, value: napi_value, result: *mut u32) -> NapiStatus; [INFO] [stdout] 277 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 279 | | pub fn napi_get_value_int64(env: NapiEnv, value: napi_value, result: *mut i64) -> NapiStatus; [INFO] [stdout] 280 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:281:1 [INFO] [stdout] | [INFO] [stdout] 281 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 282 | | pub fn napi_get_value_bool(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 283 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 285 | | pub fn napi_get_value_string_latin1( [INFO] [stdout] 286 | | env: NapiEnv, [INFO] [stdout] 287 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 291 | | ) -> NapiStatus; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 294 | | pub fn napi_get_value_string_utf8( [INFO] [stdout] 295 | | env: NapiEnv, [INFO] [stdout] 296 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 300 | | ) -> NapiStatus; [INFO] [stdout] 301 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:302:1 [INFO] [stdout] | [INFO] [stdout] 302 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 303 | | pub fn napi_get_value_string_utf16( [INFO] [stdout] 304 | | env: NapiEnv, [INFO] [stdout] 305 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 309 | | ) -> NapiStatus; [INFO] [stdout] 310 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 312 | | pub fn napi_coerce_to_bool( [INFO] [stdout] 313 | | env: NapiEnv, [INFO] [stdout] 314 | | value: napi_value, [INFO] [stdout] 315 | | result: *mut napi_value, [INFO] [stdout] 316 | | ) -> NapiStatus; [INFO] [stdout] 317 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 319 | | pub fn napi_coerce_to_number( [INFO] [stdout] 320 | | env: NapiEnv, [INFO] [stdout] 321 | | value: napi_value, [INFO] [stdout] 322 | | result: *mut napi_value, [INFO] [stdout] 323 | | ) -> NapiStatus; [INFO] [stdout] 324 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 325 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 326 | | pub fn napi_coerce_to_object( [INFO] [stdout] 327 | | env: NapiEnv, [INFO] [stdout] 328 | | value: napi_value, [INFO] [stdout] 329 | | result: *mut napi_value, [INFO] [stdout] 330 | | ) -> NapiStatus; [INFO] [stdout] 331 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 333 | | pub fn napi_coerce_to_string( [INFO] [stdout] 334 | | env: NapiEnv, [INFO] [stdout] 335 | | value: napi_value, [INFO] [stdout] 336 | | result: *mut napi_value, [INFO] [stdout] 337 | | ) -> NapiStatus; [INFO] [stdout] 338 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 340 | | pub fn napi_get_prototype( [INFO] [stdout] 341 | | env: NapiEnv, [INFO] [stdout] 342 | | object: napi_value, [INFO] [stdout] 343 | | result: *mut napi_value, [INFO] [stdout] 344 | | ) -> NapiStatus; [INFO] [stdout] 345 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 346 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 347 | | pub fn napi_get_property_names( [INFO] [stdout] 348 | | env: NapiEnv, [INFO] [stdout] 349 | | object: napi_value, [INFO] [stdout] 350 | | result: *mut napi_value, [INFO] [stdout] 351 | | ) -> NapiStatus; [INFO] [stdout] 352 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 354 | | pub fn napi_set_property( [INFO] [stdout] 355 | | env: NapiEnv, [INFO] [stdout] 356 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 359 | | ) -> NapiStatus; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:361:1 [INFO] [stdout] | [INFO] [stdout] 361 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 362 | | pub fn napi_has_property( [INFO] [stdout] 363 | | env: NapiEnv, [INFO] [stdout] 364 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 367 | | ) -> NapiStatus; [INFO] [stdout] 368 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:369:1 [INFO] [stdout] | [INFO] [stdout] 369 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 370 | | pub fn napi_get_property( [INFO] [stdout] 371 | | env: NapiEnv, [INFO] [stdout] 372 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 375 | | ) -> NapiStatus; [INFO] [stdout] 376 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 378 | | pub fn napi_delete_property( [INFO] [stdout] 379 | | env: NapiEnv, [INFO] [stdout] 380 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 383 | | ) -> NapiStatus; [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 386 | | pub fn napi_has_own_property( [INFO] [stdout] 387 | | env: NapiEnv, [INFO] [stdout] 388 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 391 | | ) -> NapiStatus; [INFO] [stdout] 392 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:393:1 [INFO] [stdout] | [INFO] [stdout] 393 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 394 | | pub fn napi_set_named_property( [INFO] [stdout] 395 | | env: NapiEnv, [INFO] [stdout] 396 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 399 | | ) -> NapiStatus; [INFO] [stdout] 400 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:401:1 [INFO] [stdout] | [INFO] [stdout] 401 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 402 | | pub fn napi_has_named_property( [INFO] [stdout] 403 | | env: NapiEnv, [INFO] [stdout] 404 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 407 | | ) -> NapiStatus; [INFO] [stdout] 408 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 410 | | pub fn napi_get_named_property( [INFO] [stdout] 411 | | env: NapiEnv, [INFO] [stdout] 412 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 415 | | ) -> NapiStatus; [INFO] [stdout] 416 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 417 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 418 | | pub fn napi_set_element( [INFO] [stdout] 419 | | env: NapiEnv, [INFO] [stdout] 420 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 423 | | ) -> NapiStatus; [INFO] [stdout] 424 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:425:1 [INFO] [stdout] | [INFO] [stdout] 425 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 426 | | pub fn napi_has_element( [INFO] [stdout] 427 | | env: NapiEnv, [INFO] [stdout] 428 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 431 | | ) -> NapiStatus; [INFO] [stdout] 432 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 434 | | pub fn napi_get_element( [INFO] [stdout] 435 | | env: NapiEnv, [INFO] [stdout] 436 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 439 | | ) -> NapiStatus; [INFO] [stdout] 440 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:441:1 [INFO] [stdout] | [INFO] [stdout] 441 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 442 | | pub fn napi_delete_element( [INFO] [stdout] 443 | | env: NapiEnv, [INFO] [stdout] 444 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 447 | | ) -> NapiStatus; [INFO] [stdout] 448 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 450 | | pub fn napi_define_properties( [INFO] [stdout] 451 | | env: NapiEnv, [INFO] [stdout] 452 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 455 | | ) -> NapiStatus; [INFO] [stdout] 456 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 458 | | pub fn napi_is_array(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 459 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 460 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 461 | | pub fn napi_get_array_length(env: NapiEnv, value: napi_value, result: *mut u32) -> NapiStatus; [INFO] [stdout] 462 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:463:1 [INFO] [stdout] | [INFO] [stdout] 463 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 464 | | pub fn napi_strict_equals( [INFO] [stdout] 465 | | env: NapiEnv, [INFO] [stdout] 466 | | lhs: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 469 | | ) -> NapiStatus; [INFO] [stdout] 470 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 472 | | pub fn napi_call_function( [INFO] [stdout] 473 | | env: NapiEnv, [INFO] [stdout] 474 | | recv: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 479 | | ) -> NapiStatus; [INFO] [stdout] 480 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 482 | | pub fn napi_new_instance( [INFO] [stdout] 483 | | env: NapiEnv, [INFO] [stdout] 484 | | constructor: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 488 | | ) -> NapiStatus; [INFO] [stdout] 489 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:490:1 [INFO] [stdout] | [INFO] [stdout] 490 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 491 | | pub fn napi_instanceof( [INFO] [stdout] 492 | | env: NapiEnv, [INFO] [stdout] 493 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 496 | | ) -> NapiStatus; [INFO] [stdout] 497 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:498:1 [INFO] [stdout] | [INFO] [stdout] 498 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 499 | | pub fn napi_get_cb_info( [INFO] [stdout] 500 | | env: NapiEnv, [INFO] [stdout] 501 | | cbinfo: napi_callback_info, [INFO] [stdout] ... | [INFO] [stdout] 506 | | ) -> NapiStatus; [INFO] [stdout] 507 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:508:1 [INFO] [stdout] | [INFO] [stdout] 508 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 509 | | pub fn napi_get_new_target( [INFO] [stdout] 510 | | env: NapiEnv, [INFO] [stdout] 511 | | cbinfo: napi_callback_info, [INFO] [stdout] 512 | | result: *mut napi_value, [INFO] [stdout] 513 | | ) -> NapiStatus; [INFO] [stdout] 514 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:515:1 [INFO] [stdout] | [INFO] [stdout] 515 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 516 | | pub fn napi_define_class( [INFO] [stdout] 517 | | env: NapiEnv, [INFO] [stdout] 518 | | utf8name: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 525 | | ) -> NapiStatus; [INFO] [stdout] 526 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 528 | | pub fn napi_wrap( [INFO] [stdout] 529 | | env: NapiEnv, [INFO] [stdout] 530 | | js_object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 535 | | ) -> NapiStatus; [INFO] [stdout] 536 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:537:1 [INFO] [stdout] | [INFO] [stdout] 537 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 538 | | pub fn napi_unwrap( [INFO] [stdout] 539 | | env: NapiEnv, [INFO] [stdout] 540 | | js_object: napi_value, [INFO] [stdout] 541 | | result: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 542 | | ) -> NapiStatus; [INFO] [stdout] 543 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:544:1 [INFO] [stdout] | [INFO] [stdout] 544 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 545 | | pub fn napi_remove_wrap( [INFO] [stdout] 546 | | env: NapiEnv, [INFO] [stdout] 547 | | js_object: napi_value, [INFO] [stdout] 548 | | result: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 549 | | ) -> NapiStatus; [INFO] [stdout] 550 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:551:1 [INFO] [stdout] | [INFO] [stdout] 551 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 552 | | pub fn napi_create_external( [INFO] [stdout] 553 | | env: NapiEnv, [INFO] [stdout] 554 | | data: *mut ::std::os::raw::c_void, [INFO] [stdout] ... | [INFO] [stdout] 558 | | ) -> NapiStatus; [INFO] [stdout] 559 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:560:1 [INFO] [stdout] | [INFO] [stdout] 560 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 561 | | pub fn napi_get_value_external( [INFO] [stdout] 562 | | env: NapiEnv, [INFO] [stdout] 563 | | value: napi_value, [INFO] [stdout] 564 | | result: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 565 | | ) -> NapiStatus; [INFO] [stdout] 566 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 568 | | pub fn napi_create_reference( [INFO] [stdout] 569 | | env: NapiEnv, [INFO] [stdout] 570 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 573 | | ) -> NapiStatus; [INFO] [stdout] 574 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:575:1 [INFO] [stdout] | [INFO] [stdout] 575 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 576 | | pub fn napi_delete_reference(env: NapiEnv, ref_: napi_ref) -> NapiStatus; [INFO] [stdout] 577 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:578:1 [INFO] [stdout] | [INFO] [stdout] 578 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 579 | | pub fn napi_reference_ref(env: NapiEnv, ref_: napi_ref, result: *mut u32) -> NapiStatus; [INFO] [stdout] 580 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:581:1 [INFO] [stdout] | [INFO] [stdout] 581 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 582 | | pub fn napi_reference_unref(env: NapiEnv, ref_: napi_ref, result: *mut u32) -> NapiStatus; [INFO] [stdout] 583 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:584:1 [INFO] [stdout] | [INFO] [stdout] 584 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 585 | | pub fn napi_get_reference_value( [INFO] [stdout] 586 | | env: NapiEnv, [INFO] [stdout] 587 | | ref_: napi_ref, [INFO] [stdout] 588 | | result: *mut napi_value, [INFO] [stdout] 589 | | ) -> NapiStatus; [INFO] [stdout] 590 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:591:1 [INFO] [stdout] | [INFO] [stdout] 591 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 592 | | pub fn napi_open_handle_scope(env: NapiEnv, result: *mut napi_handle_scope) -> NapiStatus; [INFO] [stdout] 593 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:594:1 [INFO] [stdout] | [INFO] [stdout] 594 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 595 | | pub fn napi_close_handle_scope(env: NapiEnv, scope: napi_handle_scope) -> NapiStatus; [INFO] [stdout] 596 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 598 | | pub fn napi_open_escapable_handle_scope( [INFO] [stdout] 599 | | env: NapiEnv, [INFO] [stdout] 600 | | result: *mut napi_escapable_handle_scope, [INFO] [stdout] 601 | | ) -> NapiStatus; [INFO] [stdout] 602 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 604 | | pub fn napi_close_escapable_handle_scope( [INFO] [stdout] 605 | | env: NapiEnv, [INFO] [stdout] 606 | | scope: napi_escapable_handle_scope, [INFO] [stdout] 607 | | ) -> NapiStatus; [INFO] [stdout] 608 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 610 | | pub fn napi_escape_handle( [INFO] [stdout] 611 | | env: NapiEnv, [INFO] [stdout] 612 | | scope: napi_escapable_handle_scope, [INFO] [stdout] ... | [INFO] [stdout] 615 | | ) -> NapiStatus; [INFO] [stdout] 616 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:617:1 [INFO] [stdout] | [INFO] [stdout] 617 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 618 | | pub fn napi_throw(env: NapiEnv, error: napi_value) -> NapiStatus; [INFO] [stdout] 619 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:620:1 [INFO] [stdout] | [INFO] [stdout] 620 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 621 | | pub fn napi_throw_error( [INFO] [stdout] 622 | | env: NapiEnv, [INFO] [stdout] 623 | | code: *const ::std::os::raw::c_char, [INFO] [stdout] 624 | | msg: *const ::std::os::raw::c_char, [INFO] [stdout] 625 | | ) -> NapiStatus; [INFO] [stdout] 626 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:627:1 [INFO] [stdout] | [INFO] [stdout] 627 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 628 | | pub fn napi_throw_type_error( [INFO] [stdout] 629 | | env: NapiEnv, [INFO] [stdout] 630 | | code: *const ::std::os::raw::c_char, [INFO] [stdout] 631 | | msg: *const ::std::os::raw::c_char, [INFO] [stdout] 632 | | ) -> NapiStatus; [INFO] [stdout] 633 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:634:1 [INFO] [stdout] | [INFO] [stdout] 634 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 635 | | pub fn napi_throw_range_error( [INFO] [stdout] 636 | | env: NapiEnv, [INFO] [stdout] 637 | | code: *const ::std::os::raw::c_char, [INFO] [stdout] 638 | | msg: *const ::std::os::raw::c_char, [INFO] [stdout] 639 | | ) -> NapiStatus; [INFO] [stdout] 640 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:641:1 [INFO] [stdout] | [INFO] [stdout] 641 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 642 | | pub fn napi_is_error(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 643 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:644:1 [INFO] [stdout] | [INFO] [stdout] 644 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 645 | | pub fn napi_is_exception_pending(env: NapiEnv, result: *mut bool) -> NapiStatus; [INFO] [stdout] 646 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:647:1 [INFO] [stdout] | [INFO] [stdout] 647 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 648 | | pub fn napi_get_and_clear_last_exception(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 649 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:650:1 [INFO] [stdout] | [INFO] [stdout] 650 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 651 | | pub fn napi_is_arraybuffer(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 652 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:653:1 [INFO] [stdout] | [INFO] [stdout] 653 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 654 | | pub fn napi_create_arraybuffer( [INFO] [stdout] 655 | | env: NapiEnv, [INFO] [stdout] 656 | | byte_length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 659 | | ) -> NapiStatus; [INFO] [stdout] 660 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:661:1 [INFO] [stdout] | [INFO] [stdout] 661 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 662 | | pub fn napi_create_external_arraybuffer( [INFO] [stdout] 663 | | env: NapiEnv, [INFO] [stdout] 664 | | external_data: *mut ::std::os::raw::c_void, [INFO] [stdout] ... | [INFO] [stdout] 669 | | ) -> NapiStatus; [INFO] [stdout] 670 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:671:1 [INFO] [stdout] | [INFO] [stdout] 671 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 672 | | pub fn napi_get_arraybuffer_info( [INFO] [stdout] 673 | | env: NapiEnv, [INFO] [stdout] 674 | | arraybuffer: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 677 | | ) -> NapiStatus; [INFO] [stdout] 678 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:679:1 [INFO] [stdout] | [INFO] [stdout] 679 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 680 | | pub fn napi_is_typedarray(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 681 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:682:1 [INFO] [stdout] | [INFO] [stdout] 682 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 683 | | pub fn napi_create_typedarray( [INFO] [stdout] 684 | | env: NapiEnv, [INFO] [stdout] 685 | | type_: NapiTypedarrayType, [INFO] [stdout] ... | [INFO] [stdout] 690 | | ) -> NapiStatus; [INFO] [stdout] 691 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 693 | | pub fn napi_get_typedarray_info( [INFO] [stdout] 694 | | env: NapiEnv, [INFO] [stdout] 695 | | typedarray: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 701 | | ) -> NapiStatus; [INFO] [stdout] 702 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:703:1 [INFO] [stdout] | [INFO] [stdout] 703 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 704 | | pub fn napi_create_dataview( [INFO] [stdout] 705 | | env: NapiEnv, [INFO] [stdout] 706 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 710 | | ) -> NapiStatus; [INFO] [stdout] 711 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 713 | | pub fn napi_is_dataview(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 714 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:715:1 [INFO] [stdout] | [INFO] [stdout] 715 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 716 | | pub fn napi_get_dataview_info( [INFO] [stdout] 717 | | env: NapiEnv, [INFO] [stdout] 718 | | dataview: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 723 | | ) -> NapiStatus; [INFO] [stdout] 724 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:725:1 [INFO] [stdout] | [INFO] [stdout] 725 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 726 | | pub fn napi_get_version(env: NapiEnv, result: *mut u32) -> NapiStatus; [INFO] [stdout] 727 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:728:1 [INFO] [stdout] | [INFO] [stdout] 728 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 729 | | pub fn napi_create_promise( [INFO] [stdout] 730 | | env: NapiEnv, [INFO] [stdout] 731 | | deferred: *mut napi_deferred, [INFO] [stdout] 732 | | promise: *mut napi_value, [INFO] [stdout] 733 | | ) -> NapiStatus; [INFO] [stdout] 734 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:735:1 [INFO] [stdout] | [INFO] [stdout] 735 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 736 | | pub fn napi_resolve_deferred( [INFO] [stdout] 737 | | env: NapiEnv, [INFO] [stdout] 738 | | deferred: napi_deferred, [INFO] [stdout] 739 | | resolution: napi_value, [INFO] [stdout] 740 | | ) -> NapiStatus; [INFO] [stdout] 741 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:742:1 [INFO] [stdout] | [INFO] [stdout] 742 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 743 | | pub fn napi_reject_deferred( [INFO] [stdout] 744 | | env: NapiEnv, [INFO] [stdout] 745 | | deferred: napi_deferred, [INFO] [stdout] 746 | | rejection: napi_value, [INFO] [stdout] 747 | | ) -> NapiStatus; [INFO] [stdout] 748 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:749:1 [INFO] [stdout] | [INFO] [stdout] 749 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 750 | | pub fn napi_is_promise(env: NapiEnv, value: napi_value, is_promise: *mut bool) -> NapiStatus; [INFO] [stdout] 751 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:752:1 [INFO] [stdout] | [INFO] [stdout] 752 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 753 | | pub fn napi_run_script(env: NapiEnv, script: napi_value, result: *mut napi_value) [INFO] [stdout] 754 | | -> NapiStatus; [INFO] [stdout] 755 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:756:1 [INFO] [stdout] | [INFO] [stdout] 756 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 757 | | pub fn napi_adjust_external_memory( [INFO] [stdout] 758 | | env: NapiEnv, [INFO] [stdout] 759 | | change_in_bytes: i64, [INFO] [stdout] 760 | | adjusted_value: *mut i64, [INFO] [stdout] 761 | | ) -> NapiStatus; [INFO] [stdout] 762 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1009:1 [INFO] [stdout] | [INFO] [stdout] 1009 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1010 | | pub fn napi_module_register(mod_: *mut napi_module); [INFO] [stdout] 1011 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1012:1 [INFO] [stdout] | [INFO] [stdout] 1012 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1013 | | pub fn napi_fatal_error( [INFO] [stdout] 1014 | | location: *const ::std::os::raw::c_char, [INFO] [stdout] 1015 | | location_len: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1018 | | ); [INFO] [stdout] 1019 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1020:1 [INFO] [stdout] | [INFO] [stdout] 1020 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1021 | | pub fn napi_async_init( [INFO] [stdout] 1022 | | env: NapiEnv, [INFO] [stdout] 1023 | | async_resource: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 1026 | | ) -> NapiStatus; [INFO] [stdout] 1027 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1028:1 [INFO] [stdout] | [INFO] [stdout] 1028 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1029 | | pub fn napi_async_destroy(env: NapiEnv, async_context: napi_async_context) -> NapiStatus; [INFO] [stdout] 1030 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1031:1 [INFO] [stdout] | [INFO] [stdout] 1031 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1032 | | pub fn napi_make_callback( [INFO] [stdout] 1033 | | env: NapiEnv, [INFO] [stdout] 1034 | | async_context: napi_async_context, [INFO] [stdout] ... | [INFO] [stdout] 1040 | | ) -> NapiStatus; [INFO] [stdout] 1041 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1042:1 [INFO] [stdout] | [INFO] [stdout] 1042 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1043 | | pub fn napi_create_buffer( [INFO] [stdout] 1044 | | env: NapiEnv, [INFO] [stdout] 1045 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1048 | | ) -> NapiStatus; [INFO] [stdout] 1049 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1050:1 [INFO] [stdout] | [INFO] [stdout] 1050 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1051 | | pub fn napi_create_external_buffer( [INFO] [stdout] 1052 | | env: NapiEnv, [INFO] [stdout] 1053 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1058 | | ) -> NapiStatus; [INFO] [stdout] 1059 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1060:1 [INFO] [stdout] | [INFO] [stdout] 1060 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1061 | | pub fn napi_create_buffer_copy( [INFO] [stdout] 1062 | | env: NapiEnv, [INFO] [stdout] 1063 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1067 | | ) -> NapiStatus; [INFO] [stdout] 1068 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1069:1 [INFO] [stdout] | [INFO] [stdout] 1069 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1070 | | pub fn napi_is_buffer(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 1071 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1072:1 [INFO] [stdout] | [INFO] [stdout] 1072 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1073 | | pub fn napi_get_buffer_info( [INFO] [stdout] 1074 | | env: NapiEnv, [INFO] [stdout] 1075 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 1078 | | ) -> NapiStatus; [INFO] [stdout] 1079 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1080:1 [INFO] [stdout] | [INFO] [stdout] 1080 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1081 | | pub fn napi_create_async_work( [INFO] [stdout] 1082 | | env: NapiEnv, [INFO] [stdout] 1083 | | async_resource: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 1089 | | ) -> NapiStatus; [INFO] [stdout] 1090 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1091:1 [INFO] [stdout] | [INFO] [stdout] 1091 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1092 | | pub fn napi_delete_async_work(env: NapiEnv, work: napi_async_work) -> NapiStatus; [INFO] [stdout] 1093 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1094:1 [INFO] [stdout] | [INFO] [stdout] 1094 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1095 | | pub fn napi_queue_async_work(env: NapiEnv, work: napi_async_work) -> NapiStatus; [INFO] [stdout] 1096 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1097:1 [INFO] [stdout] | [INFO] [stdout] 1097 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1098 | | pub fn napi_cancel_async_work(env: NapiEnv, work: napi_async_work) -> NapiStatus; [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/api.rs:1100:1 [INFO] [stdout] | [INFO] [stdout] 1100 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1101 | | pub fn napi_get_node_version( [INFO] [stdout] 1102 | | env: NapiEnv, [INFO] [stdout] 1103 | | version: *mut *const napi_node_version, [INFO] [stdout] 1104 | | ) -> NapiStatus; [INFO] [stdout] 1105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | (=$napi:ident, $($args:expr),+ $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 33 | (=$napi:ident, $($args:expr_2021),+ $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | (?$napi:ident, $($args:expr),+ $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 44 | (?$napi:ident, $($args:expr_2021),+ $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | ($napi:ident, $($args:expr),+ $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 52 | ($napi:ident, $($args:expr_2021),+ $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | ($version:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 66 | ($version:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | ($s:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 106 | ($s:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | ($env:ident, =$s:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 113 | ($env:ident, =$s:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | ($env:ident, $s:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 123 | ($env:ident, $s:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mac.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | ($self:ident, $T:ty, $err:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 136 | ($self:ident, $T:ty, $err:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/mod.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | Box::from_raw(finalizer as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value/mod.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | / unsafe extern "C" fn finalizer_trampoline( [INFO] [stdout] 407 | | env: NapiEnv, [INFO] [stdout] 408 | | data: DataPointer, [INFO] [stdout] 409 | | finalizer: DataPointer, [INFO] [stdout] 410 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/mod.rs:414:24 [INFO] [stdout] | [INFO] [stdout] 414 | let data = Box::::from_raw(data as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/external.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let ext: Box = Box::from_raw(data as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value/external.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe extern "C" fn finalize(env: NapiEnv, data: DataPointer, hint: DataPointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/external.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | let finalizer: Box> = Box::from_raw(hint as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `value::NapiValueT::cast` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/object.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(self.get_property(name)?.cast::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value/object.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub unsafe fn get_unchecked(&self, key: impl AsRef) -> NapiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | let (loc, loc_len) = if let Some(loc) = loc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 192 ~ let (loc, loc_len) = match loc { Some(loc) => { [INFO] [stdout] 193 | (loc.as_ref().as_ptr() as *const _, loc.as_ref().len()) [INFO] [stdout] 194 ~ } _ => { [INFO] [stdout] 195 | (std::ptr::null(), 0) [INFO] [stdout] 196 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | let utf8name = if let Some(name) = self.utf8name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/descriptor.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 191 ~ let utf8name = match self.utf8name { Some(name) => { [INFO] [stdout] 192 | std::ffi::CString::new(name) [INFO] [stdout] 193 | .map_err(|_| NapiStatus::StringExpected)? [INFO] [stdout] 194 | .into_raw() [INFO] [stdout] 195 ~ } _ => { [INFO] [stdout] 196 | std::ptr::null() [INFO] [stdout] 197 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 238 | if let Ok(args) = T::from_js_args(JsArgs(args)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/descriptor.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 238 ~ match T::from_js_args(JsArgs(args)) { Ok(args) => { [INFO] [stdout] 239 | napi_r!(env, =func(this, args)) [INFO] [stdout] 240 ~ } _ => { [INFO] [stdout] 241 | env.throw_error("wrong argument type!").unwrap(); [INFO] [stdout] 242 | env.undefined().unwrap().raw() [INFO] [stdout] 243 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | let data = if let Some(method) = self.method.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/descriptor.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 247 ~ let data = match self.method.take() { Some(method) => { [INFO] [stdout] 248 | Box::into_raw(Box::new(method)) as _ [INFO] [stdout] 249 ~ } _ => { [INFO] [stdout] 250 | return Err(NapiStatus::InvalidArg); [INFO] [stdout] 251 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | let utf8name = if let Some(name) = self.utf8name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/descriptor.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 336 ~ let utf8name = match self.utf8name { Some(name) => { [INFO] [stdout] 337 | std::ffi::CString::new(name) [INFO] [stdout] 338 | .map_err(|_| NapiStatus::StringExpected)? [INFO] [stdout] 339 | .into_raw() [INFO] [stdout] 340 ~ } _ => { [INFO] [stdout] 341 | std::ptr::null() [INFO] [stdout] 342 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor.rs:389:25 [INFO] [stdout] | [INFO] [stdout] 389 | let getter = if let Some(getter) = self.getter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/descriptor.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 389 ~ let getter = match self.getter { Some(getter) => { [INFO] [stdout] 390 | data.0 = Some(getter); [INFO] [stdout] 391 | Some(getter_trampoline:: as _) [INFO] [stdout] 392 ~ } _ => { [INFO] [stdout] 393 | None [INFO] [stdout] 394 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor.rs:429:25 [INFO] [stdout] | [INFO] [stdout] 429 | let setter = if let Some(setter) = self.setter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/descriptor.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 429 ~ let setter = match self.setter { Some(setter) => { [INFO] [stdout] 430 | data.1 = Some(setter); [INFO] [stdout] 431 | Some(setter_trampoline:: as _) [INFO] [stdout] 432 ~ } _ => { [INFO] [stdout] 433 | None [INFO] [stdout] 434 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/mod.rs:415:16 [INFO] [stdout] | [INFO] [stdout] 415 | if let Err(err) = finalizer(env, *data) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/mod.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 415 ~ match finalizer(env, *data) { Err(err) => { [INFO] [stdout] 416 | log::error!("NapiValueT::wrap(): {}", err); [INFO] [stdout] 417 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/class.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | if let Ok(args) = T::from_js_args(JsArgs(args)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/class.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 87 ~ match T::from_js_args(JsArgs(args)) { Ok(args) => { [INFO] [stdout] 88 | napi_r!(env, =func(this, args)) [INFO] [stdout] 89 ~ } _ => { [INFO] [stdout] 90 | env.throw_error("wrong argument type!"); [INFO] [stdout] 91 | env.undefined().unwrap().raw() [INFO] [stdout] 92 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/error.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let code = if let Some(code) = code { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/error.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 19 ~ let code = match code { Some(code) => { [INFO] [stdout] 20 | env.string(code.as_ref())?.raw() [INFO] [stdout] 21 ~ } _ => { [INFO] [stdout] 22 | std::ptr::null_mut() [INFO] [stdout] 23 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/error.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let code = if let Some(code) = code { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/error.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 36 ~ let code = match code { Some(code) => { [INFO] [stdout] 37 | code.value().raw() [INFO] [stdout] 38 ~ } _ => { [INFO] [stdout] 39 | std::ptr::null_mut() [INFO] [stdout] 40 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/error.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | let code = if let Some(code) = code { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/error.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 51 ~ let code = match code { Some(code) => { [INFO] [stdout] 52 | code.value().raw() [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | std::ptr::null_mut() [INFO] [stdout] 55 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/external.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if let Err(e) = finalizer(env, *ext) { [INFO] [stdout] | ^^^^^^^^^^^^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/external.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 27 ~ match finalizer(env, *ext) { Err(e) => { [INFO] [stdout] 28 | log::error!("JsExternal::::finalize: {}", e); [INFO] [stdout] 29 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/function.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | let (name, len) = if let Some(name) = name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/function.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 66 ~ let (name, len) = match name { Some(name) => { [INFO] [stdout] 67 | (name.as_ref().as_ptr() as *const c_char, name.as_ref().len()) [INFO] [stdout] 68 ~ } _ => { [INFO] [stdout] 69 | (std::ptr::null(), 0) [INFO] [stdout] 70 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/value/function.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | if let Ok(args) = T::from_js_args(JsArgs(args)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/value/function.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 122 ~ match T::from_js_args(JsArgs(args)) { Ok(args) => { [INFO] [stdout] 123 | napi_r!(env, =func(this, args)) [INFO] [stdout] 124 ~ } _ => { [INFO] [stdout] 125 | env.throw_error("wrong argument type!").unwrap(); [INFO] [stdout] 126 | env.undefined().unwrap().raw() [INFO] [stdout] 127 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 139 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling nodex-api v0.2.4 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / extern "C" { [INFO] [stdout] 159 | | pub fn napi_get_last_error_info( [INFO] [stdout] 160 | | env: NapiEnv, [INFO] [stdout] 161 | | result: *mut *const NapiExtendedErrorInfo, [INFO] [stdout] 162 | | ) -> NapiStatus; [INFO] [stdout] 163 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / extern "C" { [INFO] [stdout] 165 | | pub fn napi_get_undefined(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 166 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / extern "C" { [INFO] [stdout] 168 | | pub fn napi_get_null(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 169 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / extern "C" { [INFO] [stdout] 159 | | pub fn napi_get_last_error_info( [INFO] [stdout] 160 | | env: NapiEnv, [INFO] [stdout] 161 | | result: *mut *const NapiExtendedErrorInfo, [INFO] [stdout] 162 | | ) -> NapiStatus; [INFO] [stdout] 163 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | / extern "C" { [INFO] [stdout] 171 | | pub fn napi_get_global(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / extern "C" { [INFO] [stdout] 174 | | pub fn napi_get_boolean(env: NapiEnv, value: bool, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | / extern "C" { [INFO] [stdout] 177 | | pub fn napi_create_object(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / extern "C" { [INFO] [stdout] 165 | | pub fn napi_get_undefined(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 166 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | / extern "C" { [INFO] [stdout] 180 | | pub fn napi_create_array(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 181 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | / extern "C" { [INFO] [stdout] 183 | | pub fn napi_create_array_with_length( [INFO] [stdout] 184 | | env: NapiEnv, [INFO] [stdout] 185 | | length: size_t, [INFO] [stdout] 186 | | result: *mut napi_value, [INFO] [stdout] 187 | | ) -> NapiStatus; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / extern "C" { [INFO] [stdout] 168 | | pub fn napi_get_null(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 169 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / extern "C" { [INFO] [stdout] 190 | | pub fn napi_create_double(env: NapiEnv, value: f64, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 191 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | / extern "C" { [INFO] [stdout] 193 | | pub fn napi_create_int32(env: NapiEnv, value: i32, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 194 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | / extern "C" { [INFO] [stdout] 196 | | pub fn napi_create_uint32(env: NapiEnv, value: u32, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 197 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | / extern "C" { [INFO] [stdout] 171 | | pub fn napi_get_global(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | / extern "C" { [INFO] [stdout] 199 | | pub fn napi_create_int64(env: NapiEnv, value: i64, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / extern "C" { [INFO] [stdout] 174 | | pub fn napi_get_boolean(env: NapiEnv, value: bool, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | / extern "C" { [INFO] [stdout] 202 | | pub fn napi_create_string_latin1( [INFO] [stdout] 203 | | env: NapiEnv, [INFO] [stdout] 204 | | str_: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 207 | | ) -> NapiStatus; [INFO] [stdout] 208 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | / extern "C" { [INFO] [stdout] 210 | | pub fn napi_create_string_utf8( [INFO] [stdout] 211 | | env: NapiEnv, [INFO] [stdout] 212 | | str_: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 215 | | ) -> NapiStatus; [INFO] [stdout] 216 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | / extern "C" { [INFO] [stdout] 177 | | pub fn napi_create_object(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | / extern "C" { [INFO] [stdout] 218 | | pub fn napi_create_string_utf16( [INFO] [stdout] 219 | | env: NapiEnv, [INFO] [stdout] 220 | | str_: *const char16_t, [INFO] [stdout] ... | [INFO] [stdout] 223 | | ) -> NapiStatus; [INFO] [stdout] 224 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | / extern "C" { [INFO] [stdout] 180 | | pub fn napi_create_array(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 181 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / extern "C" { [INFO] [stdout] 226 | | pub fn napi_create_symbol( [INFO] [stdout] 227 | | env: NapiEnv, [INFO] [stdout] 228 | | description: napi_value, [INFO] [stdout] 229 | | result: *mut napi_value, [INFO] [stdout] 230 | | ) -> NapiStatus; [INFO] [stdout] 231 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | / extern "C" { [INFO] [stdout] 183 | | pub fn napi_create_array_with_length( [INFO] [stdout] 184 | | env: NapiEnv, [INFO] [stdout] 185 | | length: size_t, [INFO] [stdout] 186 | | result: *mut napi_value, [INFO] [stdout] 187 | | ) -> NapiStatus; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | / extern "C" { [INFO] [stdout] 233 | | pub fn napi_create_function( [INFO] [stdout] 234 | | env: NapiEnv, [INFO] [stdout] 235 | | utf8name: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 240 | | ) -> NapiStatus; [INFO] [stdout] 241 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / extern "C" { [INFO] [stdout] 190 | | pub fn napi_create_double(env: NapiEnv, value: f64, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 191 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | / extern "C" { [INFO] [stdout] 243 | | pub fn napi_create_error( [INFO] [stdout] 244 | | env: NapiEnv, [INFO] [stdout] 245 | | code: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 248 | | ) -> NapiStatus; [INFO] [stdout] 249 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | / extern "C" { [INFO] [stdout] 251 | | pub fn napi_create_type_error( [INFO] [stdout] 252 | | env: NapiEnv, [INFO] [stdout] 253 | | code: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 256 | | ) -> NapiStatus; [INFO] [stdout] 257 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | / extern "C" { [INFO] [stdout] 193 | | pub fn napi_create_int32(env: NapiEnv, value: i32, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 194 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | / extern "C" { [INFO] [stdout] 196 | | pub fn napi_create_uint32(env: NapiEnv, value: u32, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 197 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | / extern "C" { [INFO] [stdout] 259 | | pub fn napi_create_range_error( [INFO] [stdout] 260 | | env: NapiEnv, [INFO] [stdout] 261 | | code: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 264 | | ) -> NapiStatus; [INFO] [stdout] 265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | / extern "C" { [INFO] [stdout] 199 | | pub fn napi_create_int64(env: NapiEnv, value: i64, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / extern "C" { [INFO] [stdout] 267 | | pub fn napi_typeof(env: NapiEnv, value: napi_value, result: *mut NapiValuetype) -> NapiStatus; [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / extern "C" { [INFO] [stdout] 270 | | pub fn napi_get_value_double(env: NapiEnv, value: napi_value, result: *mut f64) -> NapiStatus; [INFO] [stdout] 271 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | / extern "C" { [INFO] [stdout] 202 | | pub fn napi_create_string_latin1( [INFO] [stdout] 203 | | env: NapiEnv, [INFO] [stdout] 204 | | str_: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 207 | | ) -> NapiStatus; [INFO] [stdout] 208 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | / extern "C" { [INFO] [stdout] 210 | | pub fn napi_create_string_utf8( [INFO] [stdout] 211 | | env: NapiEnv, [INFO] [stdout] 212 | | str_: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 215 | | ) -> NapiStatus; [INFO] [stdout] 216 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / extern "C" { [INFO] [stdout] 273 | | pub fn napi_get_value_int32(env: NapiEnv, value: napi_value, result: *mut i32) -> NapiStatus; [INFO] [stdout] 274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | / extern "C" { [INFO] [stdout] 276 | | pub fn napi_get_value_uint32(env: NapiEnv, value: napi_value, result: *mut u32) -> NapiStatus; [INFO] [stdout] 277 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | / extern "C" { [INFO] [stdout] 218 | | pub fn napi_create_string_utf16( [INFO] [stdout] 219 | | env: NapiEnv, [INFO] [stdout] 220 | | str_: *const char16_t, [INFO] [stdout] ... | [INFO] [stdout] 223 | | ) -> NapiStatus; [INFO] [stdout] 224 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | / extern "C" { [INFO] [stdout] 279 | | pub fn napi_get_value_int64(env: NapiEnv, value: napi_value, result: *mut i64) -> NapiStatus; [INFO] [stdout] 280 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / extern "C" { [INFO] [stdout] 226 | | pub fn napi_create_symbol( [INFO] [stdout] 227 | | env: NapiEnv, [INFO] [stdout] 228 | | description: napi_value, [INFO] [stdout] 229 | | result: *mut napi_value, [INFO] [stdout] 230 | | ) -> NapiStatus; [INFO] [stdout] 231 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:281:1 [INFO] [stdout] | [INFO] [stdout] 281 | / extern "C" { [INFO] [stdout] 282 | | pub fn napi_get_value_bool(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 283 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | / extern "C" { [INFO] [stdout] 233 | | pub fn napi_create_function( [INFO] [stdout] 234 | | env: NapiEnv, [INFO] [stdout] 235 | | utf8name: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 240 | | ) -> NapiStatus; [INFO] [stdout] 241 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | / extern "C" { [INFO] [stdout] 285 | | pub fn napi_get_value_string_latin1( [INFO] [stdout] 286 | | env: NapiEnv, [INFO] [stdout] 287 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 291 | | ) -> NapiStatus; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | / extern "C" { [INFO] [stdout] 243 | | pub fn napi_create_error( [INFO] [stdout] 244 | | env: NapiEnv, [INFO] [stdout] 245 | | code: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 248 | | ) -> NapiStatus; [INFO] [stdout] 249 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | / extern "C" { [INFO] [stdout] 294 | | pub fn napi_get_value_string_utf8( [INFO] [stdout] 295 | | env: NapiEnv, [INFO] [stdout] 296 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 300 | | ) -> NapiStatus; [INFO] [stdout] 301 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | / extern "C" { [INFO] [stdout] 251 | | pub fn napi_create_type_error( [INFO] [stdout] 252 | | env: NapiEnv, [INFO] [stdout] 253 | | code: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 256 | | ) -> NapiStatus; [INFO] [stdout] 257 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:302:1 [INFO] [stdout] | [INFO] [stdout] 302 | / extern "C" { [INFO] [stdout] 303 | | pub fn napi_get_value_string_utf16( [INFO] [stdout] 304 | | env: NapiEnv, [INFO] [stdout] 305 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 309 | | ) -> NapiStatus; [INFO] [stdout] 310 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | / extern "C" { [INFO] [stdout] 259 | | pub fn napi_create_range_error( [INFO] [stdout] 260 | | env: NapiEnv, [INFO] [stdout] 261 | | code: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 264 | | ) -> NapiStatus; [INFO] [stdout] 265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / extern "C" { [INFO] [stdout] 312 | | pub fn napi_coerce_to_bool( [INFO] [stdout] 313 | | env: NapiEnv, [INFO] [stdout] 314 | | value: napi_value, [INFO] [stdout] 315 | | result: *mut napi_value, [INFO] [stdout] 316 | | ) -> NapiStatus; [INFO] [stdout] 317 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / extern "C" { [INFO] [stdout] 267 | | pub fn napi_typeof(env: NapiEnv, value: napi_value, result: *mut NapiValuetype) -> NapiStatus; [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / extern "C" { [INFO] [stdout] 270 | | pub fn napi_get_value_double(env: NapiEnv, value: napi_value, result: *mut f64) -> NapiStatus; [INFO] [stdout] 271 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | / extern "C" { [INFO] [stdout] 319 | | pub fn napi_coerce_to_number( [INFO] [stdout] 320 | | env: NapiEnv, [INFO] [stdout] 321 | | value: napi_value, [INFO] [stdout] 322 | | result: *mut napi_value, [INFO] [stdout] 323 | | ) -> NapiStatus; [INFO] [stdout] 324 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / extern "C" { [INFO] [stdout] 273 | | pub fn napi_get_value_int32(env: NapiEnv, value: napi_value, result: *mut i32) -> NapiStatus; [INFO] [stdout] 274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 325 | / extern "C" { [INFO] [stdout] 326 | | pub fn napi_coerce_to_object( [INFO] [stdout] 327 | | env: NapiEnv, [INFO] [stdout] 328 | | value: napi_value, [INFO] [stdout] 329 | | result: *mut napi_value, [INFO] [stdout] 330 | | ) -> NapiStatus; [INFO] [stdout] 331 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | / extern "C" { [INFO] [stdout] 276 | | pub fn napi_get_value_uint32(env: NapiEnv, value: napi_value, result: *mut u32) -> NapiStatus; [INFO] [stdout] 277 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | / extern "C" { [INFO] [stdout] 333 | | pub fn napi_coerce_to_string( [INFO] [stdout] 334 | | env: NapiEnv, [INFO] [stdout] 335 | | value: napi_value, [INFO] [stdout] 336 | | result: *mut napi_value, [INFO] [stdout] 337 | | ) -> NapiStatus; [INFO] [stdout] 338 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | / extern "C" { [INFO] [stdout] 279 | | pub fn napi_get_value_int64(env: NapiEnv, value: napi_value, result: *mut i64) -> NapiStatus; [INFO] [stdout] 280 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | / extern "C" { [INFO] [stdout] 340 | | pub fn napi_get_prototype( [INFO] [stdout] 341 | | env: NapiEnv, [INFO] [stdout] 342 | | object: napi_value, [INFO] [stdout] 343 | | result: *mut napi_value, [INFO] [stdout] 344 | | ) -> NapiStatus; [INFO] [stdout] 345 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:281:1 [INFO] [stdout] | [INFO] [stdout] 281 | / extern "C" { [INFO] [stdout] 282 | | pub fn napi_get_value_bool(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 283 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 346 | / extern "C" { [INFO] [stdout] 347 | | pub fn napi_get_property_names( [INFO] [stdout] 348 | | env: NapiEnv, [INFO] [stdout] 349 | | object: napi_value, [INFO] [stdout] 350 | | result: *mut napi_value, [INFO] [stdout] 351 | | ) -> NapiStatus; [INFO] [stdout] 352 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | / extern "C" { [INFO] [stdout] 285 | | pub fn napi_get_value_string_latin1( [INFO] [stdout] 286 | | env: NapiEnv, [INFO] [stdout] 287 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 291 | | ) -> NapiStatus; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | / extern "C" { [INFO] [stdout] 354 | | pub fn napi_set_property( [INFO] [stdout] 355 | | env: NapiEnv, [INFO] [stdout] 356 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 359 | | ) -> NapiStatus; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | / extern "C" { [INFO] [stdout] 294 | | pub fn napi_get_value_string_utf8( [INFO] [stdout] 295 | | env: NapiEnv, [INFO] [stdout] 296 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 300 | | ) -> NapiStatus; [INFO] [stdout] 301 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:361:1 [INFO] [stdout] | [INFO] [stdout] 361 | / extern "C" { [INFO] [stdout] 362 | | pub fn napi_has_property( [INFO] [stdout] 363 | | env: NapiEnv, [INFO] [stdout] 364 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 367 | | ) -> NapiStatus; [INFO] [stdout] 368 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:302:1 [INFO] [stdout] | [INFO] [stdout] 302 | / extern "C" { [INFO] [stdout] 303 | | pub fn napi_get_value_string_utf16( [INFO] [stdout] 304 | | env: NapiEnv, [INFO] [stdout] 305 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 309 | | ) -> NapiStatus; [INFO] [stdout] 310 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:369:1 [INFO] [stdout] | [INFO] [stdout] 369 | / extern "C" { [INFO] [stdout] 370 | | pub fn napi_get_property( [INFO] [stdout] 371 | | env: NapiEnv, [INFO] [stdout] 372 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 375 | | ) -> NapiStatus; [INFO] [stdout] 376 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / extern "C" { [INFO] [stdout] 312 | | pub fn napi_coerce_to_bool( [INFO] [stdout] 313 | | env: NapiEnv, [INFO] [stdout] 314 | | value: napi_value, [INFO] [stdout] 315 | | result: *mut napi_value, [INFO] [stdout] 316 | | ) -> NapiStatus; [INFO] [stdout] 317 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | / extern "C" { [INFO] [stdout] 378 | | pub fn napi_delete_property( [INFO] [stdout] 379 | | env: NapiEnv, [INFO] [stdout] 380 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 383 | | ) -> NapiStatus; [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | / extern "C" { [INFO] [stdout] 319 | | pub fn napi_coerce_to_number( [INFO] [stdout] 320 | | env: NapiEnv, [INFO] [stdout] 321 | | value: napi_value, [INFO] [stdout] 322 | | result: *mut napi_value, [INFO] [stdout] 323 | | ) -> NapiStatus; [INFO] [stdout] 324 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | / extern "C" { [INFO] [stdout] 386 | | pub fn napi_has_own_property( [INFO] [stdout] 387 | | env: NapiEnv, [INFO] [stdout] 388 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 391 | | ) -> NapiStatus; [INFO] [stdout] 392 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:393:1 [INFO] [stdout] | [INFO] [stdout] 393 | / extern "C" { [INFO] [stdout] 394 | | pub fn napi_set_named_property( [INFO] [stdout] 395 | | env: NapiEnv, [INFO] [stdout] 396 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 399 | | ) -> NapiStatus; [INFO] [stdout] 400 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 325 | / extern "C" { [INFO] [stdout] 326 | | pub fn napi_coerce_to_object( [INFO] [stdout] 327 | | env: NapiEnv, [INFO] [stdout] 328 | | value: napi_value, [INFO] [stdout] 329 | | result: *mut napi_value, [INFO] [stdout] 330 | | ) -> NapiStatus; [INFO] [stdout] 331 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:401:1 [INFO] [stdout] | [INFO] [stdout] 401 | / extern "C" { [INFO] [stdout] 402 | | pub fn napi_has_named_property( [INFO] [stdout] 403 | | env: NapiEnv, [INFO] [stdout] 404 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 407 | | ) -> NapiStatus; [INFO] [stdout] 408 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | / extern "C" { [INFO] [stdout] 333 | | pub fn napi_coerce_to_string( [INFO] [stdout] 334 | | env: NapiEnv, [INFO] [stdout] 335 | | value: napi_value, [INFO] [stdout] 336 | | result: *mut napi_value, [INFO] [stdout] 337 | | ) -> NapiStatus; [INFO] [stdout] 338 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | / extern "C" { [INFO] [stdout] 340 | | pub fn napi_get_prototype( [INFO] [stdout] 341 | | env: NapiEnv, [INFO] [stdout] 342 | | object: napi_value, [INFO] [stdout] 343 | | result: *mut napi_value, [INFO] [stdout] 344 | | ) -> NapiStatus; [INFO] [stdout] 345 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | / extern "C" { [INFO] [stdout] 410 | | pub fn napi_get_named_property( [INFO] [stdout] 411 | | env: NapiEnv, [INFO] [stdout] 412 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 415 | | ) -> NapiStatus; [INFO] [stdout] 416 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 417 | / extern "C" { [INFO] [stdout] 418 | | pub fn napi_set_element( [INFO] [stdout] 419 | | env: NapiEnv, [INFO] [stdout] 420 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 423 | | ) -> NapiStatus; [INFO] [stdout] 424 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 346 | / extern "C" { [INFO] [stdout] 347 | | pub fn napi_get_property_names( [INFO] [stdout] 348 | | env: NapiEnv, [INFO] [stdout] 349 | | object: napi_value, [INFO] [stdout] 350 | | result: *mut napi_value, [INFO] [stdout] 351 | | ) -> NapiStatus; [INFO] [stdout] 352 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:425:1 [INFO] [stdout] | [INFO] [stdout] 425 | / extern "C" { [INFO] [stdout] 426 | | pub fn napi_has_element( [INFO] [stdout] 427 | | env: NapiEnv, [INFO] [stdout] 428 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 431 | | ) -> NapiStatus; [INFO] [stdout] 432 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | / extern "C" { [INFO] [stdout] 354 | | pub fn napi_set_property( [INFO] [stdout] 355 | | env: NapiEnv, [INFO] [stdout] 356 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 359 | | ) -> NapiStatus; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / extern "C" { [INFO] [stdout] 434 | | pub fn napi_get_element( [INFO] [stdout] 435 | | env: NapiEnv, [INFO] [stdout] 436 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 439 | | ) -> NapiStatus; [INFO] [stdout] 440 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:361:1 [INFO] [stdout] | [INFO] [stdout] 361 | / extern "C" { [INFO] [stdout] 362 | | pub fn napi_has_property( [INFO] [stdout] 363 | | env: NapiEnv, [INFO] [stdout] 364 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 367 | | ) -> NapiStatus; [INFO] [stdout] 368 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:441:1 [INFO] [stdout] | [INFO] [stdout] 441 | / extern "C" { [INFO] [stdout] 442 | | pub fn napi_delete_element( [INFO] [stdout] 443 | | env: NapiEnv, [INFO] [stdout] 444 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 447 | | ) -> NapiStatus; [INFO] [stdout] 448 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:369:1 [INFO] [stdout] | [INFO] [stdout] 369 | / extern "C" { [INFO] [stdout] 370 | | pub fn napi_get_property( [INFO] [stdout] 371 | | env: NapiEnv, [INFO] [stdout] 372 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 375 | | ) -> NapiStatus; [INFO] [stdout] 376 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | / extern "C" { [INFO] [stdout] 378 | | pub fn napi_delete_property( [INFO] [stdout] 379 | | env: NapiEnv, [INFO] [stdout] 380 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 383 | | ) -> NapiStatus; [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | / extern "C" { [INFO] [stdout] 386 | | pub fn napi_has_own_property( [INFO] [stdout] 387 | | env: NapiEnv, [INFO] [stdout] 388 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 391 | | ) -> NapiStatus; [INFO] [stdout] 392 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | / extern "C" { [INFO] [stdout] 450 | | pub fn napi_define_properties( [INFO] [stdout] 451 | | env: NapiEnv, [INFO] [stdout] 452 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 455 | | ) -> NapiStatus; [INFO] [stdout] 456 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:393:1 [INFO] [stdout] | [INFO] [stdout] 393 | / extern "C" { [INFO] [stdout] 394 | | pub fn napi_set_named_property( [INFO] [stdout] 395 | | env: NapiEnv, [INFO] [stdout] 396 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 399 | | ) -> NapiStatus; [INFO] [stdout] 400 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | / extern "C" { [INFO] [stdout] 458 | | pub fn napi_is_array(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 459 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:401:1 [INFO] [stdout] | [INFO] [stdout] 401 | / extern "C" { [INFO] [stdout] 402 | | pub fn napi_has_named_property( [INFO] [stdout] 403 | | env: NapiEnv, [INFO] [stdout] 404 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 407 | | ) -> NapiStatus; [INFO] [stdout] 408 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 460 | / extern "C" { [INFO] [stdout] 461 | | pub fn napi_get_array_length(env: NapiEnv, value: napi_value, result: *mut u32) -> NapiStatus; [INFO] [stdout] 462 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:463:1 [INFO] [stdout] | [INFO] [stdout] 463 | / extern "C" { [INFO] [stdout] 464 | | pub fn napi_strict_equals( [INFO] [stdout] 465 | | env: NapiEnv, [INFO] [stdout] 466 | | lhs: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 469 | | ) -> NapiStatus; [INFO] [stdout] 470 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | / extern "C" { [INFO] [stdout] 410 | | pub fn napi_get_named_property( [INFO] [stdout] 411 | | env: NapiEnv, [INFO] [stdout] 412 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 415 | | ) -> NapiStatus; [INFO] [stdout] 416 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | / extern "C" { [INFO] [stdout] 472 | | pub fn napi_call_function( [INFO] [stdout] 473 | | env: NapiEnv, [INFO] [stdout] 474 | | recv: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 479 | | ) -> NapiStatus; [INFO] [stdout] 480 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 417 | / extern "C" { [INFO] [stdout] 418 | | pub fn napi_set_element( [INFO] [stdout] 419 | | env: NapiEnv, [INFO] [stdout] 420 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 423 | | ) -> NapiStatus; [INFO] [stdout] 424 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:425:1 [INFO] [stdout] | [INFO] [stdout] 425 | / extern "C" { [INFO] [stdout] 426 | | pub fn napi_has_element( [INFO] [stdout] 427 | | env: NapiEnv, [INFO] [stdout] 428 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 431 | | ) -> NapiStatus; [INFO] [stdout] 432 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | / extern "C" { [INFO] [stdout] 482 | | pub fn napi_new_instance( [INFO] [stdout] 483 | | env: NapiEnv, [INFO] [stdout] 484 | | constructor: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 488 | | ) -> NapiStatus; [INFO] [stdout] 489 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:490:1 [INFO] [stdout] | [INFO] [stdout] 490 | / extern "C" { [INFO] [stdout] 491 | | pub fn napi_instanceof( [INFO] [stdout] 492 | | env: NapiEnv, [INFO] [stdout] 493 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 496 | | ) -> NapiStatus; [INFO] [stdout] 497 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / extern "C" { [INFO] [stdout] 434 | | pub fn napi_get_element( [INFO] [stdout] 435 | | env: NapiEnv, [INFO] [stdout] 436 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 439 | | ) -> NapiStatus; [INFO] [stdout] 440 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:498:1 [INFO] [stdout] | [INFO] [stdout] 498 | / extern "C" { [INFO] [stdout] 499 | | pub fn napi_get_cb_info( [INFO] [stdout] 500 | | env: NapiEnv, [INFO] [stdout] 501 | | cbinfo: napi_callback_info, [INFO] [stdout] ... | [INFO] [stdout] 506 | | ) -> NapiStatus; [INFO] [stdout] 507 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:441:1 [INFO] [stdout] | [INFO] [stdout] 441 | / extern "C" { [INFO] [stdout] 442 | | pub fn napi_delete_element( [INFO] [stdout] 443 | | env: NapiEnv, [INFO] [stdout] 444 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 447 | | ) -> NapiStatus; [INFO] [stdout] 448 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:508:1 [INFO] [stdout] | [INFO] [stdout] 508 | / extern "C" { [INFO] [stdout] 509 | | pub fn napi_get_new_target( [INFO] [stdout] 510 | | env: NapiEnv, [INFO] [stdout] 511 | | cbinfo: napi_callback_info, [INFO] [stdout] 512 | | result: *mut napi_value, [INFO] [stdout] 513 | | ) -> NapiStatus; [INFO] [stdout] 514 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | / extern "C" { [INFO] [stdout] 450 | | pub fn napi_define_properties( [INFO] [stdout] 451 | | env: NapiEnv, [INFO] [stdout] 452 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 455 | | ) -> NapiStatus; [INFO] [stdout] 456 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | / extern "C" { [INFO] [stdout] 458 | | pub fn napi_is_array(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 459 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:515:1 [INFO] [stdout] | [INFO] [stdout] 515 | / extern "C" { [INFO] [stdout] 516 | | pub fn napi_define_class( [INFO] [stdout] 517 | | env: NapiEnv, [INFO] [stdout] 518 | | utf8name: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 525 | | ) -> NapiStatus; [INFO] [stdout] 526 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 460 | / extern "C" { [INFO] [stdout] 461 | | pub fn napi_get_array_length(env: NapiEnv, value: napi_value, result: *mut u32) -> NapiStatus; [INFO] [stdout] 462 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | / extern "C" { [INFO] [stdout] 528 | | pub fn napi_wrap( [INFO] [stdout] 529 | | env: NapiEnv, [INFO] [stdout] 530 | | js_object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 535 | | ) -> NapiStatus; [INFO] [stdout] 536 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:537:1 [INFO] [stdout] | [INFO] [stdout] 537 | / extern "C" { [INFO] [stdout] 538 | | pub fn napi_unwrap( [INFO] [stdout] 539 | | env: NapiEnv, [INFO] [stdout] 540 | | js_object: napi_value, [INFO] [stdout] 541 | | result: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 542 | | ) -> NapiStatus; [INFO] [stdout] 543 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:463:1 [INFO] [stdout] | [INFO] [stdout] 463 | / extern "C" { [INFO] [stdout] 464 | | pub fn napi_strict_equals( [INFO] [stdout] 465 | | env: NapiEnv, [INFO] [stdout] 466 | | lhs: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 469 | | ) -> NapiStatus; [INFO] [stdout] 470 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:544:1 [INFO] [stdout] | [INFO] [stdout] 544 | / extern "C" { [INFO] [stdout] 545 | | pub fn napi_remove_wrap( [INFO] [stdout] 546 | | env: NapiEnv, [INFO] [stdout] 547 | | js_object: napi_value, [INFO] [stdout] 548 | | result: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 549 | | ) -> NapiStatus; [INFO] [stdout] 550 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | / extern "C" { [INFO] [stdout] 472 | | pub fn napi_call_function( [INFO] [stdout] 473 | | env: NapiEnv, [INFO] [stdout] 474 | | recv: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 479 | | ) -> NapiStatus; [INFO] [stdout] 480 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:551:1 [INFO] [stdout] | [INFO] [stdout] 551 | / extern "C" { [INFO] [stdout] 552 | | pub fn napi_create_external( [INFO] [stdout] 553 | | env: NapiEnv, [INFO] [stdout] 554 | | data: *mut ::std::os::raw::c_void, [INFO] [stdout] ... | [INFO] [stdout] 558 | | ) -> NapiStatus; [INFO] [stdout] 559 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | / extern "C" { [INFO] [stdout] 482 | | pub fn napi_new_instance( [INFO] [stdout] 483 | | env: NapiEnv, [INFO] [stdout] 484 | | constructor: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 488 | | ) -> NapiStatus; [INFO] [stdout] 489 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:560:1 [INFO] [stdout] | [INFO] [stdout] 560 | / extern "C" { [INFO] [stdout] 561 | | pub fn napi_get_value_external( [INFO] [stdout] 562 | | env: NapiEnv, [INFO] [stdout] 563 | | value: napi_value, [INFO] [stdout] 564 | | result: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 565 | | ) -> NapiStatus; [INFO] [stdout] 566 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:490:1 [INFO] [stdout] | [INFO] [stdout] 490 | / extern "C" { [INFO] [stdout] 491 | | pub fn napi_instanceof( [INFO] [stdout] 492 | | env: NapiEnv, [INFO] [stdout] 493 | | object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 496 | | ) -> NapiStatus; [INFO] [stdout] 497 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | / extern "C" { [INFO] [stdout] 568 | | pub fn napi_create_reference( [INFO] [stdout] 569 | | env: NapiEnv, [INFO] [stdout] 570 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 573 | | ) -> NapiStatus; [INFO] [stdout] 574 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:498:1 [INFO] [stdout] | [INFO] [stdout] 498 | / extern "C" { [INFO] [stdout] 499 | | pub fn napi_get_cb_info( [INFO] [stdout] 500 | | env: NapiEnv, [INFO] [stdout] 501 | | cbinfo: napi_callback_info, [INFO] [stdout] ... | [INFO] [stdout] 506 | | ) -> NapiStatus; [INFO] [stdout] 507 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:575:1 [INFO] [stdout] | [INFO] [stdout] 575 | / extern "C" { [INFO] [stdout] 576 | | pub fn napi_delete_reference(env: NapiEnv, ref_: napi_ref) -> NapiStatus; [INFO] [stdout] 577 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:578:1 [INFO] [stdout] | [INFO] [stdout] 578 | / extern "C" { [INFO] [stdout] 579 | | pub fn napi_reference_ref(env: NapiEnv, ref_: napi_ref, result: *mut u32) -> NapiStatus; [INFO] [stdout] 580 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:508:1 [INFO] [stdout] | [INFO] [stdout] 508 | / extern "C" { [INFO] [stdout] 509 | | pub fn napi_get_new_target( [INFO] [stdout] 510 | | env: NapiEnv, [INFO] [stdout] 511 | | cbinfo: napi_callback_info, [INFO] [stdout] 512 | | result: *mut napi_value, [INFO] [stdout] 513 | | ) -> NapiStatus; [INFO] [stdout] 514 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:581:1 [INFO] [stdout] | [INFO] [stdout] 581 | / extern "C" { [INFO] [stdout] 582 | | pub fn napi_reference_unref(env: NapiEnv, ref_: napi_ref, result: *mut u32) -> NapiStatus; [INFO] [stdout] 583 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:515:1 [INFO] [stdout] | [INFO] [stdout] 515 | / extern "C" { [INFO] [stdout] 516 | | pub fn napi_define_class( [INFO] [stdout] 517 | | env: NapiEnv, [INFO] [stdout] 518 | | utf8name: *const ::std::os::raw::c_char, [INFO] [stdout] ... | [INFO] [stdout] 525 | | ) -> NapiStatus; [INFO] [stdout] 526 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:584:1 [INFO] [stdout] | [INFO] [stdout] 584 | / extern "C" { [INFO] [stdout] 585 | | pub fn napi_get_reference_value( [INFO] [stdout] 586 | | env: NapiEnv, [INFO] [stdout] 587 | | ref_: napi_ref, [INFO] [stdout] 588 | | result: *mut napi_value, [INFO] [stdout] 589 | | ) -> NapiStatus; [INFO] [stdout] 590 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | / extern "C" { [INFO] [stdout] 528 | | pub fn napi_wrap( [INFO] [stdout] 529 | | env: NapiEnv, [INFO] [stdout] 530 | | js_object: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 535 | | ) -> NapiStatus; [INFO] [stdout] 536 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:537:1 [INFO] [stdout] | [INFO] [stdout] 537 | / extern "C" { [INFO] [stdout] 538 | | pub fn napi_unwrap( [INFO] [stdout] 539 | | env: NapiEnv, [INFO] [stdout] 540 | | js_object: napi_value, [INFO] [stdout] 541 | | result: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 542 | | ) -> NapiStatus; [INFO] [stdout] 543 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:591:1 [INFO] [stdout] | [INFO] [stdout] 591 | / extern "C" { [INFO] [stdout] 592 | | pub fn napi_open_handle_scope(env: NapiEnv, result: *mut napi_handle_scope) -> NapiStatus; [INFO] [stdout] 593 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:544:1 [INFO] [stdout] | [INFO] [stdout] 544 | / extern "C" { [INFO] [stdout] 545 | | pub fn napi_remove_wrap( [INFO] [stdout] 546 | | env: NapiEnv, [INFO] [stdout] 547 | | js_object: napi_value, [INFO] [stdout] 548 | | result: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 549 | | ) -> NapiStatus; [INFO] [stdout] 550 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:594:1 [INFO] [stdout] | [INFO] [stdout] 594 | / extern "C" { [INFO] [stdout] 595 | | pub fn napi_close_handle_scope(env: NapiEnv, scope: napi_handle_scope) -> NapiStatus; [INFO] [stdout] 596 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | / extern "C" { [INFO] [stdout] 598 | | pub fn napi_open_escapable_handle_scope( [INFO] [stdout] 599 | | env: NapiEnv, [INFO] [stdout] 600 | | result: *mut napi_escapable_handle_scope, [INFO] [stdout] 601 | | ) -> NapiStatus; [INFO] [stdout] 602 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:551:1 [INFO] [stdout] | [INFO] [stdout] 551 | / extern "C" { [INFO] [stdout] 552 | | pub fn napi_create_external( [INFO] [stdout] 553 | | env: NapiEnv, [INFO] [stdout] 554 | | data: *mut ::std::os::raw::c_void, [INFO] [stdout] ... | [INFO] [stdout] 558 | | ) -> NapiStatus; [INFO] [stdout] 559 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / extern "C" { [INFO] [stdout] 604 | | pub fn napi_close_escapable_handle_scope( [INFO] [stdout] 605 | | env: NapiEnv, [INFO] [stdout] 606 | | scope: napi_escapable_handle_scope, [INFO] [stdout] 607 | | ) -> NapiStatus; [INFO] [stdout] 608 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | / extern "C" { [INFO] [stdout] 610 | | pub fn napi_escape_handle( [INFO] [stdout] 611 | | env: NapiEnv, [INFO] [stdout] 612 | | scope: napi_escapable_handle_scope, [INFO] [stdout] ... | [INFO] [stdout] 615 | | ) -> NapiStatus; [INFO] [stdout] 616 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:560:1 [INFO] [stdout] | [INFO] [stdout] 560 | / extern "C" { [INFO] [stdout] 561 | | pub fn napi_get_value_external( [INFO] [stdout] 562 | | env: NapiEnv, [INFO] [stdout] 563 | | value: napi_value, [INFO] [stdout] 564 | | result: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] 565 | | ) -> NapiStatus; [INFO] [stdout] 566 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:617:1 [INFO] [stdout] | [INFO] [stdout] 617 | / extern "C" { [INFO] [stdout] 618 | | pub fn napi_throw(env: NapiEnv, error: napi_value) -> NapiStatus; [INFO] [stdout] 619 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | / extern "C" { [INFO] [stdout] 568 | | pub fn napi_create_reference( [INFO] [stdout] 569 | | env: NapiEnv, [INFO] [stdout] 570 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 573 | | ) -> NapiStatus; [INFO] [stdout] 574 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:575:1 [INFO] [stdout] | [INFO] [stdout] 575 | / extern "C" { [INFO] [stdout] 576 | | pub fn napi_delete_reference(env: NapiEnv, ref_: napi_ref) -> NapiStatus; [INFO] [stdout] 577 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:620:1 [INFO] [stdout] | [INFO] [stdout] 620 | / extern "C" { [INFO] [stdout] 621 | | pub fn napi_throw_error( [INFO] [stdout] 622 | | env: NapiEnv, [INFO] [stdout] 623 | | code: *const ::std::os::raw::c_char, [INFO] [stdout] 624 | | msg: *const ::std::os::raw::c_char, [INFO] [stdout] 625 | | ) -> NapiStatus; [INFO] [stdout] 626 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:578:1 [INFO] [stdout] | [INFO] [stdout] 578 | / extern "C" { [INFO] [stdout] 579 | | pub fn napi_reference_ref(env: NapiEnv, ref_: napi_ref, result: *mut u32) -> NapiStatus; [INFO] [stdout] 580 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:627:1 [INFO] [stdout] | [INFO] [stdout] 627 | / extern "C" { [INFO] [stdout] 628 | | pub fn napi_throw_type_error( [INFO] [stdout] 629 | | env: NapiEnv, [INFO] [stdout] 630 | | code: *const ::std::os::raw::c_char, [INFO] [stdout] 631 | | msg: *const ::std::os::raw::c_char, [INFO] [stdout] 632 | | ) -> NapiStatus; [INFO] [stdout] 633 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:581:1 [INFO] [stdout] | [INFO] [stdout] 581 | / extern "C" { [INFO] [stdout] 582 | | pub fn napi_reference_unref(env: NapiEnv, ref_: napi_ref, result: *mut u32) -> NapiStatus; [INFO] [stdout] 583 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:634:1 [INFO] [stdout] | [INFO] [stdout] 634 | / extern "C" { [INFO] [stdout] 635 | | pub fn napi_throw_range_error( [INFO] [stdout] 636 | | env: NapiEnv, [INFO] [stdout] 637 | | code: *const ::std::os::raw::c_char, [INFO] [stdout] 638 | | msg: *const ::std::os::raw::c_char, [INFO] [stdout] 639 | | ) -> NapiStatus; [INFO] [stdout] 640 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:584:1 [INFO] [stdout] | [INFO] [stdout] 584 | / extern "C" { [INFO] [stdout] 585 | | pub fn napi_get_reference_value( [INFO] [stdout] 586 | | env: NapiEnv, [INFO] [stdout] 587 | | ref_: napi_ref, [INFO] [stdout] 588 | | result: *mut napi_value, [INFO] [stdout] 589 | | ) -> NapiStatus; [INFO] [stdout] 590 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:641:1 [INFO] [stdout] | [INFO] [stdout] 641 | / extern "C" { [INFO] [stdout] 642 | | pub fn napi_is_error(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 643 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:644:1 [INFO] [stdout] | [INFO] [stdout] 644 | / extern "C" { [INFO] [stdout] 645 | | pub fn napi_is_exception_pending(env: NapiEnv, result: *mut bool) -> NapiStatus; [INFO] [stdout] 646 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:591:1 [INFO] [stdout] | [INFO] [stdout] 591 | / extern "C" { [INFO] [stdout] 592 | | pub fn napi_open_handle_scope(env: NapiEnv, result: *mut napi_handle_scope) -> NapiStatus; [INFO] [stdout] 593 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:647:1 [INFO] [stdout] | [INFO] [stdout] 647 | / extern "C" { [INFO] [stdout] 648 | | pub fn napi_get_and_clear_last_exception(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 649 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:594:1 [INFO] [stdout] | [INFO] [stdout] 594 | / extern "C" { [INFO] [stdout] 595 | | pub fn napi_close_handle_scope(env: NapiEnv, scope: napi_handle_scope) -> NapiStatus; [INFO] [stdout] 596 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:650:1 [INFO] [stdout] | [INFO] [stdout] 650 | / extern "C" { [INFO] [stdout] 651 | | pub fn napi_is_arraybuffer(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 652 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | / extern "C" { [INFO] [stdout] 598 | | pub fn napi_open_escapable_handle_scope( [INFO] [stdout] 599 | | env: NapiEnv, [INFO] [stdout] 600 | | result: *mut napi_escapable_handle_scope, [INFO] [stdout] 601 | | ) -> NapiStatus; [INFO] [stdout] 602 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:653:1 [INFO] [stdout] | [INFO] [stdout] 653 | / extern "C" { [INFO] [stdout] 654 | | pub fn napi_create_arraybuffer( [INFO] [stdout] 655 | | env: NapiEnv, [INFO] [stdout] 656 | | byte_length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 659 | | ) -> NapiStatus; [INFO] [stdout] 660 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / extern "C" { [INFO] [stdout] 604 | | pub fn napi_close_escapable_handle_scope( [INFO] [stdout] 605 | | env: NapiEnv, [INFO] [stdout] 606 | | scope: napi_escapable_handle_scope, [INFO] [stdout] 607 | | ) -> NapiStatus; [INFO] [stdout] 608 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:661:1 [INFO] [stdout] | [INFO] [stdout] 661 | / extern "C" { [INFO] [stdout] 662 | | pub fn napi_create_external_arraybuffer( [INFO] [stdout] 663 | | env: NapiEnv, [INFO] [stdout] 664 | | external_data: *mut ::std::os::raw::c_void, [INFO] [stdout] ... | [INFO] [stdout] 669 | | ) -> NapiStatus; [INFO] [stdout] 670 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | / extern "C" { [INFO] [stdout] 610 | | pub fn napi_escape_handle( [INFO] [stdout] 611 | | env: NapiEnv, [INFO] [stdout] 612 | | scope: napi_escapable_handle_scope, [INFO] [stdout] ... | [INFO] [stdout] 615 | | ) -> NapiStatus; [INFO] [stdout] 616 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:671:1 [INFO] [stdout] | [INFO] [stdout] 671 | / extern "C" { [INFO] [stdout] 672 | | pub fn napi_get_arraybuffer_info( [INFO] [stdout] 673 | | env: NapiEnv, [INFO] [stdout] 674 | | arraybuffer: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 677 | | ) -> NapiStatus; [INFO] [stdout] 678 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:679:1 [INFO] [stdout] | [INFO] [stdout] 679 | / extern "C" { [INFO] [stdout] 680 | | pub fn napi_is_typedarray(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 681 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:617:1 [INFO] [stdout] | [INFO] [stdout] 617 | / extern "C" { [INFO] [stdout] 618 | | pub fn napi_throw(env: NapiEnv, error: napi_value) -> NapiStatus; [INFO] [stdout] 619 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:620:1 [INFO] [stdout] | [INFO] [stdout] 620 | / extern "C" { [INFO] [stdout] 621 | | pub fn napi_throw_error( [INFO] [stdout] 622 | | env: NapiEnv, [INFO] [stdout] 623 | | code: *const ::std::os::raw::c_char, [INFO] [stdout] 624 | | msg: *const ::std::os::raw::c_char, [INFO] [stdout] 625 | | ) -> NapiStatus; [INFO] [stdout] 626 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:682:1 [INFO] [stdout] | [INFO] [stdout] 682 | / extern "C" { [INFO] [stdout] 683 | | pub fn napi_create_typedarray( [INFO] [stdout] 684 | | env: NapiEnv, [INFO] [stdout] 685 | | type_: NapiTypedarrayType, [INFO] [stdout] ... | [INFO] [stdout] 690 | | ) -> NapiStatus; [INFO] [stdout] 691 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:627:1 [INFO] [stdout] | [INFO] [stdout] 627 | / extern "C" { [INFO] [stdout] 628 | | pub fn napi_throw_type_error( [INFO] [stdout] 629 | | env: NapiEnv, [INFO] [stdout] 630 | | code: *const ::std::os::raw::c_char, [INFO] [stdout] 631 | | msg: *const ::std::os::raw::c_char, [INFO] [stdout] 632 | | ) -> NapiStatus; [INFO] [stdout] 633 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | / extern "C" { [INFO] [stdout] 693 | | pub fn napi_get_typedarray_info( [INFO] [stdout] 694 | | env: NapiEnv, [INFO] [stdout] 695 | | typedarray: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 701 | | ) -> NapiStatus; [INFO] [stdout] 702 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:634:1 [INFO] [stdout] | [INFO] [stdout] 634 | / extern "C" { [INFO] [stdout] 635 | | pub fn napi_throw_range_error( [INFO] [stdout] 636 | | env: NapiEnv, [INFO] [stdout] 637 | | code: *const ::std::os::raw::c_char, [INFO] [stdout] 638 | | msg: *const ::std::os::raw::c_char, [INFO] [stdout] 639 | | ) -> NapiStatus; [INFO] [stdout] 640 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:703:1 [INFO] [stdout] | [INFO] [stdout] 703 | / extern "C" { [INFO] [stdout] 704 | | pub fn napi_create_dataview( [INFO] [stdout] 705 | | env: NapiEnv, [INFO] [stdout] 706 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 710 | | ) -> NapiStatus; [INFO] [stdout] 711 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:641:1 [INFO] [stdout] | [INFO] [stdout] 641 | / extern "C" { [INFO] [stdout] 642 | | pub fn napi_is_error(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 643 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:644:1 [INFO] [stdout] | [INFO] [stdout] 644 | / extern "C" { [INFO] [stdout] 645 | | pub fn napi_is_exception_pending(env: NapiEnv, result: *mut bool) -> NapiStatus; [INFO] [stdout] 646 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | / extern "C" { [INFO] [stdout] 713 | | pub fn napi_is_dataview(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 714 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:647:1 [INFO] [stdout] | [INFO] [stdout] 647 | / extern "C" { [INFO] [stdout] 648 | | pub fn napi_get_and_clear_last_exception(env: NapiEnv, result: *mut napi_value) -> NapiStatus; [INFO] [stdout] 649 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:715:1 [INFO] [stdout] | [INFO] [stdout] 715 | / extern "C" { [INFO] [stdout] 716 | | pub fn napi_get_dataview_info( [INFO] [stdout] 717 | | env: NapiEnv, [INFO] [stdout] 718 | | dataview: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 723 | | ) -> NapiStatus; [INFO] [stdout] 724 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:650:1 [INFO] [stdout] | [INFO] [stdout] 650 | / extern "C" { [INFO] [stdout] 651 | | pub fn napi_is_arraybuffer(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 652 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:725:1 [INFO] [stdout] | [INFO] [stdout] 725 | / extern "C" { [INFO] [stdout] 726 | | pub fn napi_get_version(env: NapiEnv, result: *mut u32) -> NapiStatus; [INFO] [stdout] 727 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:653:1 [INFO] [stdout] | [INFO] [stdout] 653 | / extern "C" { [INFO] [stdout] 654 | | pub fn napi_create_arraybuffer( [INFO] [stdout] 655 | | env: NapiEnv, [INFO] [stdout] 656 | | byte_length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 659 | | ) -> NapiStatus; [INFO] [stdout] 660 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:728:1 [INFO] [stdout] | [INFO] [stdout] 728 | / extern "C" { [INFO] [stdout] 729 | | pub fn napi_create_promise( [INFO] [stdout] 730 | | env: NapiEnv, [INFO] [stdout] 731 | | deferred: *mut napi_deferred, [INFO] [stdout] 732 | | promise: *mut napi_value, [INFO] [stdout] 733 | | ) -> NapiStatus; [INFO] [stdout] 734 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:735:1 [INFO] [stdout] | [INFO] [stdout] 735 | / extern "C" { [INFO] [stdout] 736 | | pub fn napi_resolve_deferred( [INFO] [stdout] 737 | | env: NapiEnv, [INFO] [stdout] 738 | | deferred: napi_deferred, [INFO] [stdout] 739 | | resolution: napi_value, [INFO] [stdout] 740 | | ) -> NapiStatus; [INFO] [stdout] 741 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:661:1 [INFO] [stdout] | [INFO] [stdout] 661 | / extern "C" { [INFO] [stdout] 662 | | pub fn napi_create_external_arraybuffer( [INFO] [stdout] 663 | | env: NapiEnv, [INFO] [stdout] 664 | | external_data: *mut ::std::os::raw::c_void, [INFO] [stdout] ... | [INFO] [stdout] 669 | | ) -> NapiStatus; [INFO] [stdout] 670 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:742:1 [INFO] [stdout] | [INFO] [stdout] 742 | / extern "C" { [INFO] [stdout] 743 | | pub fn napi_reject_deferred( [INFO] [stdout] 744 | | env: NapiEnv, [INFO] [stdout] 745 | | deferred: napi_deferred, [INFO] [stdout] 746 | | rejection: napi_value, [INFO] [stdout] 747 | | ) -> NapiStatus; [INFO] [stdout] 748 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:671:1 [INFO] [stdout] | [INFO] [stdout] 671 | / extern "C" { [INFO] [stdout] 672 | | pub fn napi_get_arraybuffer_info( [INFO] [stdout] 673 | | env: NapiEnv, [INFO] [stdout] 674 | | arraybuffer: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 677 | | ) -> NapiStatus; [INFO] [stdout] 678 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:679:1 [INFO] [stdout] | [INFO] [stdout] 679 | / extern "C" { [INFO] [stdout] 680 | | pub fn napi_is_typedarray(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 681 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:749:1 [INFO] [stdout] | [INFO] [stdout] 749 | / extern "C" { [INFO] [stdout] 750 | | pub fn napi_is_promise(env: NapiEnv, value: napi_value, is_promise: *mut bool) -> NapiStatus; [INFO] [stdout] 751 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:752:1 [INFO] [stdout] | [INFO] [stdout] 752 | / extern "C" { [INFO] [stdout] 753 | | pub fn napi_run_script(env: NapiEnv, script: napi_value, result: *mut napi_value) [INFO] [stdout] 754 | | -> NapiStatus; [INFO] [stdout] 755 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:682:1 [INFO] [stdout] | [INFO] [stdout] 682 | / extern "C" { [INFO] [stdout] 683 | | pub fn napi_create_typedarray( [INFO] [stdout] 684 | | env: NapiEnv, [INFO] [stdout] 685 | | type_: NapiTypedarrayType, [INFO] [stdout] ... | [INFO] [stdout] 690 | | ) -> NapiStatus; [INFO] [stdout] 691 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:756:1 [INFO] [stdout] | [INFO] [stdout] 756 | / extern "C" { [INFO] [stdout] 757 | | pub fn napi_adjust_external_memory( [INFO] [stdout] 758 | | env: NapiEnv, [INFO] [stdout] 759 | | change_in_bytes: i64, [INFO] [stdout] 760 | | adjusted_value: *mut i64, [INFO] [stdout] 761 | | ) -> NapiStatus; [INFO] [stdout] 762 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:692:1 [INFO] [stdout] | [INFO] [stdout] 692 | / extern "C" { [INFO] [stdout] 693 | | pub fn napi_get_typedarray_info( [INFO] [stdout] 694 | | env: NapiEnv, [INFO] [stdout] 695 | | typedarray: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 701 | | ) -> NapiStatus; [INFO] [stdout] 702 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1009:1 [INFO] [stdout] | [INFO] [stdout] 1009 | / extern "C" { [INFO] [stdout] 1010 | | pub fn napi_module_register(mod_: *mut napi_module); [INFO] [stdout] 1011 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:703:1 [INFO] [stdout] | [INFO] [stdout] 703 | / extern "C" { [INFO] [stdout] 704 | | pub fn napi_create_dataview( [INFO] [stdout] 705 | | env: NapiEnv, [INFO] [stdout] 706 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 710 | | ) -> NapiStatus; [INFO] [stdout] 711 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1012:1 [INFO] [stdout] | [INFO] [stdout] 1012 | / extern "C" { [INFO] [stdout] 1013 | | pub fn napi_fatal_error( [INFO] [stdout] 1014 | | location: *const ::std::os::raw::c_char, [INFO] [stdout] 1015 | | location_len: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1018 | | ); [INFO] [stdout] 1019 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | / extern "C" { [INFO] [stdout] 713 | | pub fn napi_is_dataview(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 714 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1020:1 [INFO] [stdout] | [INFO] [stdout] 1020 | / extern "C" { [INFO] [stdout] 1021 | | pub fn napi_async_init( [INFO] [stdout] 1022 | | env: NapiEnv, [INFO] [stdout] 1023 | | async_resource: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 1026 | | ) -> NapiStatus; [INFO] [stdout] 1027 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:715:1 [INFO] [stdout] | [INFO] [stdout] 715 | / extern "C" { [INFO] [stdout] 716 | | pub fn napi_get_dataview_info( [INFO] [stdout] 717 | | env: NapiEnv, [INFO] [stdout] 718 | | dataview: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 723 | | ) -> NapiStatus; [INFO] [stdout] 724 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:725:1 [INFO] [stdout] | [INFO] [stdout] 725 | / extern "C" { [INFO] [stdout] 726 | | pub fn napi_get_version(env: NapiEnv, result: *mut u32) -> NapiStatus; [INFO] [stdout] 727 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1028:1 [INFO] [stdout] | [INFO] [stdout] 1028 | / extern "C" { [INFO] [stdout] 1029 | | pub fn napi_async_destroy(env: NapiEnv, async_context: napi_async_context) -> NapiStatus; [INFO] [stdout] 1030 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:728:1 [INFO] [stdout] | [INFO] [stdout] 728 | / extern "C" { [INFO] [stdout] 729 | | pub fn napi_create_promise( [INFO] [stdout] 730 | | env: NapiEnv, [INFO] [stdout] 731 | | deferred: *mut napi_deferred, [INFO] [stdout] 732 | | promise: *mut napi_value, [INFO] [stdout] 733 | | ) -> NapiStatus; [INFO] [stdout] 734 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1031:1 [INFO] [stdout] | [INFO] [stdout] 1031 | / extern "C" { [INFO] [stdout] 1032 | | pub fn napi_make_callback( [INFO] [stdout] 1033 | | env: NapiEnv, [INFO] [stdout] 1034 | | async_context: napi_async_context, [INFO] [stdout] ... | [INFO] [stdout] 1040 | | ) -> NapiStatus; [INFO] [stdout] 1041 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:735:1 [INFO] [stdout] | [INFO] [stdout] 735 | / extern "C" { [INFO] [stdout] 736 | | pub fn napi_resolve_deferred( [INFO] [stdout] 737 | | env: NapiEnv, [INFO] [stdout] 738 | | deferred: napi_deferred, [INFO] [stdout] 739 | | resolution: napi_value, [INFO] [stdout] 740 | | ) -> NapiStatus; [INFO] [stdout] 741 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1042:1 [INFO] [stdout] | [INFO] [stdout] 1042 | / extern "C" { [INFO] [stdout] 1043 | | pub fn napi_create_buffer( [INFO] [stdout] 1044 | | env: NapiEnv, [INFO] [stdout] 1045 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1048 | | ) -> NapiStatus; [INFO] [stdout] 1049 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:742:1 [INFO] [stdout] | [INFO] [stdout] 742 | / extern "C" { [INFO] [stdout] 743 | | pub fn napi_reject_deferred( [INFO] [stdout] 744 | | env: NapiEnv, [INFO] [stdout] 745 | | deferred: napi_deferred, [INFO] [stdout] 746 | | rejection: napi_value, [INFO] [stdout] 747 | | ) -> NapiStatus; [INFO] [stdout] 748 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1050:1 [INFO] [stdout] | [INFO] [stdout] 1050 | / extern "C" { [INFO] [stdout] 1051 | | pub fn napi_create_external_buffer( [INFO] [stdout] 1052 | | env: NapiEnv, [INFO] [stdout] 1053 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1058 | | ) -> NapiStatus; [INFO] [stdout] 1059 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:749:1 [INFO] [stdout] | [INFO] [stdout] 749 | / extern "C" { [INFO] [stdout] 750 | | pub fn napi_is_promise(env: NapiEnv, value: napi_value, is_promise: *mut bool) -> NapiStatus; [INFO] [stdout] 751 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:752:1 [INFO] [stdout] | [INFO] [stdout] 752 | / extern "C" { [INFO] [stdout] 753 | | pub fn napi_run_script(env: NapiEnv, script: napi_value, result: *mut napi_value) [INFO] [stdout] 754 | | -> NapiStatus; [INFO] [stdout] 755 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1060:1 [INFO] [stdout] | [INFO] [stdout] 1060 | / extern "C" { [INFO] [stdout] 1061 | | pub fn napi_create_buffer_copy( [INFO] [stdout] 1062 | | env: NapiEnv, [INFO] [stdout] 1063 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1067 | | ) -> NapiStatus; [INFO] [stdout] 1068 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:756:1 [INFO] [stdout] | [INFO] [stdout] 756 | / extern "C" { [INFO] [stdout] 757 | | pub fn napi_adjust_external_memory( [INFO] [stdout] 758 | | env: NapiEnv, [INFO] [stdout] 759 | | change_in_bytes: i64, [INFO] [stdout] 760 | | adjusted_value: *mut i64, [INFO] [stdout] 761 | | ) -> NapiStatus; [INFO] [stdout] 762 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1069:1 [INFO] [stdout] | [INFO] [stdout] 1069 | / extern "C" { [INFO] [stdout] 1070 | | pub fn napi_is_buffer(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 1071 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1009:1 [INFO] [stdout] | [INFO] [stdout] 1009 | / extern "C" { [INFO] [stdout] 1010 | | pub fn napi_module_register(mod_: *mut napi_module); [INFO] [stdout] 1011 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1072:1 [INFO] [stdout] | [INFO] [stdout] 1072 | / extern "C" { [INFO] [stdout] 1073 | | pub fn napi_get_buffer_info( [INFO] [stdout] 1074 | | env: NapiEnv, [INFO] [stdout] 1075 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 1078 | | ) -> NapiStatus; [INFO] [stdout] 1079 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1080:1 [INFO] [stdout] | [INFO] [stdout] 1080 | / extern "C" { [INFO] [stdout] 1081 | | pub fn napi_create_async_work( [INFO] [stdout] 1082 | | env: NapiEnv, [INFO] [stdout] 1083 | | async_resource: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 1089 | | ) -> NapiStatus; [INFO] [stdout] 1090 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1012:1 [INFO] [stdout] | [INFO] [stdout] 1012 | / extern "C" { [INFO] [stdout] 1013 | | pub fn napi_fatal_error( [INFO] [stdout] 1014 | | location: *const ::std::os::raw::c_char, [INFO] [stdout] 1015 | | location_len: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1018 | | ); [INFO] [stdout] 1019 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1091:1 [INFO] [stdout] | [INFO] [stdout] 1091 | / extern "C" { [INFO] [stdout] 1092 | | pub fn napi_delete_async_work(env: NapiEnv, work: napi_async_work) -> NapiStatus; [INFO] [stdout] 1093 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1094:1 [INFO] [stdout] | [INFO] [stdout] 1094 | / extern "C" { [INFO] [stdout] 1095 | | pub fn napi_queue_async_work(env: NapiEnv, work: napi_async_work) -> NapiStatus; [INFO] [stdout] 1096 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1097:1 [INFO] [stdout] | [INFO] [stdout] 1097 | / extern "C" { [INFO] [stdout] 1098 | | pub fn napi_cancel_async_work(env: NapiEnv, work: napi_async_work) -> NapiStatus; [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1020:1 [INFO] [stdout] | [INFO] [stdout] 1020 | / extern "C" { [INFO] [stdout] 1021 | | pub fn napi_async_init( [INFO] [stdout] 1022 | | env: NapiEnv, [INFO] [stdout] 1023 | | async_resource: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 1026 | | ) -> NapiStatus; [INFO] [stdout] 1027 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1100:1 [INFO] [stdout] | [INFO] [stdout] 1100 | / extern "C" { [INFO] [stdout] 1101 | | pub fn napi_get_node_version( [INFO] [stdout] 1102 | | env: NapiEnv, [INFO] [stdout] 1103 | | version: *mut *const napi_node_version, [INFO] [stdout] 1104 | | ) -> NapiStatus; [INFO] [stdout] 1105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1028:1 [INFO] [stdout] | [INFO] [stdout] 1028 | / extern "C" { [INFO] [stdout] 1029 | | pub fn napi_async_destroy(env: NapiEnv, async_context: napi_async_context) -> NapiStatus; [INFO] [stdout] 1030 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1031:1 [INFO] [stdout] | [INFO] [stdout] 1031 | / extern "C" { [INFO] [stdout] 1032 | | pub fn napi_make_callback( [INFO] [stdout] 1033 | | env: NapiEnv, [INFO] [stdout] 1034 | | async_context: napi_async_context, [INFO] [stdout] ... | [INFO] [stdout] 1040 | | ) -> NapiStatus; [INFO] [stdout] 1041 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1042:1 [INFO] [stdout] | [INFO] [stdout] 1042 | / extern "C" { [INFO] [stdout] 1043 | | pub fn napi_create_buffer( [INFO] [stdout] 1044 | | env: NapiEnv, [INFO] [stdout] 1045 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1048 | | ) -> NapiStatus; [INFO] [stdout] 1049 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1050:1 [INFO] [stdout] | [INFO] [stdout] 1050 | / extern "C" { [INFO] [stdout] 1051 | | pub fn napi_create_external_buffer( [INFO] [stdout] 1052 | | env: NapiEnv, [INFO] [stdout] 1053 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1058 | | ) -> NapiStatus; [INFO] [stdout] 1059 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1060:1 [INFO] [stdout] | [INFO] [stdout] 1060 | / extern "C" { [INFO] [stdout] 1061 | | pub fn napi_create_buffer_copy( [INFO] [stdout] 1062 | | env: NapiEnv, [INFO] [stdout] 1063 | | length: size_t, [INFO] [stdout] ... | [INFO] [stdout] 1067 | | ) -> NapiStatus; [INFO] [stdout] 1068 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1069:1 [INFO] [stdout] | [INFO] [stdout] 1069 | / extern "C" { [INFO] [stdout] 1070 | | pub fn napi_is_buffer(env: NapiEnv, value: napi_value, result: *mut bool) -> NapiStatus; [INFO] [stdout] 1071 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1072:1 [INFO] [stdout] | [INFO] [stdout] 1072 | / extern "C" { [INFO] [stdout] 1073 | | pub fn napi_get_buffer_info( [INFO] [stdout] 1074 | | env: NapiEnv, [INFO] [stdout] 1075 | | value: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 1078 | | ) -> NapiStatus; [INFO] [stdout] 1079 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1080:1 [INFO] [stdout] | [INFO] [stdout] 1080 | / extern "C" { [INFO] [stdout] 1081 | | pub fn napi_create_async_work( [INFO] [stdout] 1082 | | env: NapiEnv, [INFO] [stdout] 1083 | | async_resource: napi_value, [INFO] [stdout] ... | [INFO] [stdout] 1089 | | ) -> NapiStatus; [INFO] [stdout] 1090 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1091:1 [INFO] [stdout] | [INFO] [stdout] 1091 | / extern "C" { [INFO] [stdout] 1092 | | pub fn napi_delete_async_work(env: NapiEnv, work: napi_async_work) -> NapiStatus; [INFO] [stdout] 1093 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1094:1 [INFO] [stdout] | [INFO] [stdout] 1094 | / extern "C" { [INFO] [stdout] 1095 | | pub fn napi_queue_async_work(env: NapiEnv, work: napi_async_work) -> NapiStatus; [INFO] [stdout] 1096 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1097:1 [INFO] [stdout] | [INFO] [stdout] 1097 | / extern "C" { [INFO] [stdout] 1098 | | pub fn napi_cancel_async_work(env: NapiEnv, work: napi_async_work) -> NapiStatus; [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/api.rs:1100:1 [INFO] [stdout] | [INFO] [stdout] 1100 | / extern "C" { [INFO] [stdout] 1101 | | pub fn napi_get_node_version( [INFO] [stdout] 1102 | | env: NapiEnv, [INFO] [stdout] 1103 | | version: *mut *const napi_node_version, [INFO] [stdout] 1104 | | ) -> NapiStatus; [INFO] [stdout] 1105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/mod.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | Box::from_raw(finalizer as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value/mod.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | / unsafe extern "C" fn finalizer_trampoline( [INFO] [stdout] 407 | | env: NapiEnv, [INFO] [stdout] 408 | | data: DataPointer, [INFO] [stdout] 409 | | finalizer: DataPointer, [INFO] [stdout] 410 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/mod.rs:414:24 [INFO] [stdout] | [INFO] [stdout] 414 | let data = Box::::from_raw(data as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/mod.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | Box::from_raw(finalizer as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value/mod.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | / unsafe extern "C" fn finalizer_trampoline( [INFO] [stdout] 407 | | env: NapiEnv, [INFO] [stdout] 408 | | data: DataPointer, [INFO] [stdout] 409 | | finalizer: DataPointer, [INFO] [stdout] 410 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/mod.rs:414:24 [INFO] [stdout] | [INFO] [stdout] 414 | let data = Box::::from_raw(data as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/external.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let ext: Box = Box::from_raw(data as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value/external.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe extern "C" fn finalize(env: NapiEnv, data: DataPointer, hint: DataPointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/external.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | let finalizer: Box> = Box::from_raw(hint as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/external.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let ext: Box = Box::from_raw(data as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value/external.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe extern "C" fn finalize(env: NapiEnv, data: DataPointer, hint: DataPointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/external.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | let finalizer: Box> = Box::from_raw(hint as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `value::NapiValueT::cast` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/object.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(self.get_property(name)?.cast::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value/object.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub unsafe fn get_unchecked(&self, key: impl AsRef) -> NapiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `value::NapiValueT::cast` is unsafe and requires unsafe block [INFO] [stdout] --> src/value/object.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(self.get_property(name)?.cast::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value/object.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub unsafe fn get_unchecked(&self, key: impl AsRef) -> NapiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 111 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 111 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nodex-api` (lib) due to 112 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nodex-api` (lib test) due to 112 previous errors; 5 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "78f8386c63aba3be9c56b42204b7061a50aed94ca99f09eecf9a1d5b9b42be3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f8386c63aba3be9c56b42204b7061a50aed94ca99f09eecf9a1d5b9b42be3a", kill_on_drop: false }` [INFO] [stdout] 78f8386c63aba3be9c56b42204b7061a50aed94ca99f09eecf9a1d5b9b42be3a