[INFO] fetching crate javy 3.0.0... [INFO] checking javy-3.0.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate javy 3.0.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate javy 3.0.0 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 javy 3.0.0 [INFO] finished tweaking crates.io crate javy 3.0.0 [INFO] tweaked toml for crates.io crate javy 3.0.0 written to /workspace/builds/worker-6-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 109 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.69.4 (available: v0.70.1) [INFO] [stderr] Adding env_logger v0.8.4 (available: v0.11.5) [INFO] [stderr] Adding float-cmp v0.9.0 (available: v0.10.0) [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 proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding rquickjs v0.6.1 (available: v0.6.2) [INFO] [stderr] Adding rquickjs-core v0.6.1 (available: v0.6.2) [INFO] [stderr] Adding rquickjs-macro v0.6.1 (available: v0.6.2) [INFO] [stderr] Adding rquickjs-sys v0.6.1 (available: v0.6.2) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding simd-json v0.13.11 (available: v0.14.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding value-trait v0.8.1 (available: v0.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4824a661def2c1213156e57a5b2693918be182965b3e6776d346a06dd183f739 [INFO] running `Command { std: "docker" "start" "-a" "4824a661def2c1213156e57a5b2693918be182965b3e6776d346a06dd183f739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4824a661def2c1213156e57a5b2693918be182965b3e6776d346a06dd183f739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4824a661def2c1213156e57a5b2693918be182965b3e6776d346a06dd183f739", kill_on_drop: false }` [INFO] [stdout] 4824a661def2c1213156e57a5b2693918be182965b3e6776d346a06dd183f739 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0e66b7b33a7bff925fb9139b470427168ed429e53ba43e4a7b4add16180499c5 [INFO] running `Command { std: "docker" "start" "-a" "0e66b7b33a7bff925fb9139b470427168ed429e53ba43e4a7b4add16180499c5", 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 (4 fixes) [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling rquickjs-sys v0.6.1 [INFO] [stderr] Checking rquickjs-core v0.6.1 [INFO] [stderr] Checking rquickjs v0.6.1 [INFO] [stderr] Checking javy v3.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `javy` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/apis/console/mod.rs [INFO] [stderr] * src/apis/random/mod.rs [INFO] [stderr] * src/apis/stream_io/mod.rs [INFO] [stderr] * src/apis/text_encoding/mod.rs [INFO] [stderr] * src/lib.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/lib.rs:90:6 [INFO] [stderr] | [INFO] [stderr] 90 | ($cx:expr_2021, $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/lib.rs:90:21 [INFO] [stderr] | [INFO] [stderr] 90 | ($cx:expr_2021, $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/lib.rs:98:6 [INFO] [stderr] | [INFO] [stderr] 98 | ($cx:expr_2021, $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/lib.rs:98:21 [INFO] [stderr] | [INFO] [stderr] 98 | ($cx:expr_2021, $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/apis/console/mod.rs:119:18 [INFO] [stderr] | [INFO] [stderr] 119 | ($js:expr_2021, $expected: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/apis/console/mod.rs:119:33 [INFO] [stderr] | [INFO] [stderr] 119 | ($js:expr_2021, $expected: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] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/apis/console/mod.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | fn test_value_serialization() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stderr] --> src/apis/console/mod.rs:115:18 [INFO] [stderr] | [INFO] [stderr] 115 | this.eval("console.log(\"hello world\");")?; [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/apis/console/mod.rs:189:5 [INFO] [stderr] | [INFO] [stderr] 189 | fn test_console_streams() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stderr] --> src/apis/console/mod.rs:198:18 [INFO] [stderr] | [INFO] [stderr] 198 | this.eval("console.log(\"hello world\");")?; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/apis/random/mod.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | fn test_random() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stderr] --> src/apis/random/mod.rs:34:18 [INFO] [stderr] | [INFO] [stderr] 34 | this.eval_with_options("result = Math.random()", eval_opts)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/apis/stream_io/mod.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | fn register(this: Ctx<'_>) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stderr] --> src/apis/stream_io/mod.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | this.eval(include_str!("io.js"))?; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/apis/text_encoding/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | fn register(this: Ctx<'_>) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stderr] --> src/apis/text_encoding/mod.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | this.eval_with_options(include_str!("./text-encoding.js"), opts)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 5 warnings emitted [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/apis/console/mod.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | ($js:expr, $expected: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] 119 | ($js:expr_2021, $expected:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/apis/console/mod.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | ($js:expr, $expected: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] 119 | ($js:expr, $expected: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/lib.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | ($cx:expr, $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] 90 | ($cx:expr_2021, $args:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | ($cx:expr, $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] 90 | ($cx:expr, $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/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | ($cx:expr, $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] 98 | ($cx:expr_2021, $args:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | ($cx:expr, $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] 98 | ($cx:expr, $args:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/apis/console/mod.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | fn test_value_serialization() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stdout] --> src/apis/console/mod.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | this.eval("console.log(\"hello world\");")?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/apis/console/mod.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | fn test_console_streams() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stdout] --> src/apis/console/mod.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | this.eval("console.log(\"hello world\");")?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/apis/random/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn test_random() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stdout] --> src/apis/random/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | this.eval_with_options("result = Math.random()", eval_opts)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/apis/stream_io/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | fn register(this: Ctx<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stdout] --> src/apis/stream_io/mod.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | this.eval(include_str!("io.js"))?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/apis/text_encoding/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | fn register(this: Ctx<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stdout] --> src/apis/text_encoding/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | this.eval_with_options(include_str!("./text-encoding.js"), opts)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | _ => alloc(Layout::from_size_align(new_size, alignment).unwrap()), [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/alloc.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub unsafe extern "C" fn canonical_abi_realloc( [INFO] [stdout] 35 | | original_ptr: *mut u8, [INFO] [stdout] 36 | | original_size: usize, [INFO] [stdout] 37 | | alignment: usize, [INFO] [stdout] 38 | | new_size: usize, [INFO] [stdout] 39 | | ) -> *mut std::ffi::c_void { [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | copy_nonoverlapping(original_ptr, new_mem, original_size); [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 `alloc::canonical_abi_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | canonical_abi_free(original_ptr, original_size, alignment); [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::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | dealloc(ptr, Layout::from_size_align(size, alignment).unwrap()) [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/alloc.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe extern "C" fn canonical_abi_free(ptr: *mut u8, size: usize, alignment: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/console/mod.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | register(Ctx::from_raw(ctx), stderr(), stderr()).expect("registering console to succeed"); [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/apis/console/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe fn add_intrinsic(ctx: NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/console/mod.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | register(Ctx::from_raw(ctx), stdout(), stderr()).expect("registering console to succeed"); [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/apis/console/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe fn add_intrinsic(ctx: NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/random/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | register(Ctx::from_raw(ctx)).expect("`Random` APIs to succeed") [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/apis/random/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn add_intrinsic(ctx: std::ptr::NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/stream_io/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | register(Ctx::from_raw(ctx)).expect("Registering StreamIO functions to succeed"); [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/apis/stream_io/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe fn add_intrinsic(ctx: std::ptr::NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/text_encoding/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | register(Ctx::from_raw(ctx)).expect("Register TextEncoding APIs to succeed"); [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/apis/text_encoding/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe fn add_intrinsic(ctx: std::ptr::NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(exception) = val.clone().into_exception() { [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:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | } 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] 108 ~ match val.clone().into_exception() { Some(exception) => { [INFO] [stdout] 109 | anyhow!("{exception}") [INFO] [stdout] 110 ~ } _ => { [INFO] [stdout] 111 | anyhow!(val_to_string(&ctx, val).unwrap_or_else(|_| "Internal error".to_string())) [INFO] [stdout] 112 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | if let Some(symbol) = val.as_symbol() { [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:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | } 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] 206 ~ match val.as_symbol() { Some(symbol) => { [INFO] [stdout] 207 | if let Some(description) = symbol.description()?.into_string() { [INFO] [stdout] ... [INFO] [stdout] 214 | } [INFO] [stdout] 215 ~ } _ => { [INFO] [stdout] 216 | let stringified = >::from_js(this, val).map(|string| { [INFO] [stdout] ... [INFO] [stdout] 221 | Ok(stringified) [INFO] [stdout] 222 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(description) = symbol.description()?.into_string() { [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:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | } 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] 207 ~ match symbol.description()?.into_string() { Some(description) => { [INFO] [stdout] 208 | let description = description [INFO] [stdout] ... [INFO] [stdout] 211 | Ok(format!("Symbol({description})")) [INFO] [stdout] 212 ~ } _ => { [INFO] [stdout] 213 | Ok("Symbol()".into()) [INFO] [stdout] 214 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | if let Err(e) = result { [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/runtime.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ match result { Err(e) => { [INFO] [stdout] 167 | bail!("{e}") [INFO] [stdout] 168 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(f) = value_of { [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/serde/de.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 129 ~ match value_of { Some(f) => { [INFO] [stdout] 130 | let v = f.call((This(self.value.clone()),))?; [INFO] [stdout] 131 | self.value = v; [INFO] [stdout] 132 | return self.deserialize_number(visitor); [INFO] [stdout] 133 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(f) = value_of { [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/serde/de.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match value_of { Some(f) => { [INFO] [stdout] 143 | let v = f.call((This(self.value.clone()),))?; [INFO] [stdout] 144 | return visitor.visit_bool(v); [INFO] [stdout] 145 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(f) = value_of { [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/serde/de.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 154 ~ match value_of { Some(f) => { [INFO] [stdout] 155 | let v = f.call(((This(self.value.clone())),))?; [INFO] [stdout] 156 | self.value = v; [INFO] [stdout] 157 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | if let Some(f) = get_to_json(&self.value) { [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/serde/de.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match get_to_json(&self.value) { Some(f) => { [INFO] [stdout] 243 | let v: Value = f.call((This(self.value.clone()),))?; [INFO] [stdout] 244 | self.value = v; [INFO] [stdout] 245 | return self.deserialize_any(visitor); [INFO] [stdout] 246 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:309:16 [INFO] [stdout] | [INFO] [stdout] 309 | if let Some(kv) = self.properties.next() { [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/serde/de.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | } 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] 309 ~ match self.properties.next() { Some(kv) => { [INFO] [stdout] 310 | let (k, v) = kv?; [INFO] [stdout] ... [INFO] [stdout] 345 | return seed.deserialize(&mut *self.de).map(Some); [INFO] [stdout] 346 ~ } _ => { [INFO] [stdout] 347 | return Ok(None); [INFO] [stdout] 348 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:313:28 [INFO] [stdout] | [INFO] [stdout] 313 | let v = if let Some(f) = to_json { [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/serde/de.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | } 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] 313 ~ let v = match to_json { Some(f) => { [INFO] [stdout] 314 | f.call((This(v.clone()), k.clone()))? [INFO] [stdout] 315 ~ } _ => { [INFO] [stdout] 316 | v [INFO] [stdout] 317 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:329:24 [INFO] [stdout] | [INFO] [stdout] 329 | if let Some(f) = value_of { [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/serde/de.rs:332:21 [INFO] [stdout] | [INFO] [stdout] 332 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 329 ~ match value_of { Some(f) => { [INFO] [stdout] 330 | let v = f.call((This(v.clone()),))?; [INFO] [stdout] 331 | self.de.current_kv = Some((k.clone(), v)); [INFO] [stdout] 332 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | if let Some(f) = to_string { [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/serde/de.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 335 ~ match to_string { Some(f) => { [INFO] [stdout] 336 | let v = f.call((This(v.clone()),))?; [INFO] [stdout] 337 | self.de.current_kv = Some((k.clone(), v)); [INFO] [stdout] 338 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:379:16 [INFO] [stdout] | [INFO] [stdout] 379 | if let Some(f) = to_json { [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/serde/de.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | } else if ensure_supported(&el)? { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 379 ~ match to_json { Some(f) => { [INFO] [stdout] 380 | let index_value = JSString::from_str(el.ctx().clone(), &self.index.to_string()); [INFO] [stdout] 381 | self.de.value = f.call((This(el.clone()), index_value))?; [INFO] [stdout] 382 ~ } _ => if ensure_supported(&el)? { [INFO] [stdout] 383 | self.de.value = el [INFO] [stdout] 384 | } else { [INFO] [stdout] 385 | self.de.value = Null.into_value(self.seq.ctx().clone()) [INFO] [stdout] 386 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/ser.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | if let Some(o) = self.value.as_object() { [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/serde/ser.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | } 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] 340 ~ match self.value.as_object() { Some(o) => { [INFO] [stdout] 341 | let prop = Property::from(map_serializer.value.clone()) [INFO] [stdout] ... [INFO] [stdout] 346 | .map_err(|e| Error::custom(e.to_string())) [INFO] [stdout] 347 ~ } _ => { [INFO] [stdout] 348 | Err(Error::custom("Expected to be an object")) [INFO] [stdout] 349 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 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 `javy` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/apis/stream_io/mod.rs [INFO] [stderr] * src/apis/text_encoding/mod.rs [INFO] [stderr] * src/lib.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/lib.rs:90:6 [INFO] [stderr] | [INFO] [stderr] 90 | ($cx:expr_2021, $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/lib.rs:90:21 [INFO] [stderr] | [INFO] [stderr] 90 | ($cx:expr_2021, $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/lib.rs:98:6 [INFO] [stderr] | [INFO] [stderr] 98 | ($cx:expr_2021, $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/lib.rs:98:21 [INFO] [stderr] | [INFO] [stderr] 98 | ($cx:expr_2021, $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] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/apis/stream_io/mod.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | fn register(this: Ctx<'_>) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stderr] --> src/apis/stream_io/mod.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | this.eval(include_str!("io.js"))?; [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/apis/text_encoding/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | fn register(this: Ctx<'_>) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stderr] --> src/apis/text_encoding/mod.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | this.eval_with_options(include_str!("./text-encoding.js"), opts)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 2 warnings emitted [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | ($cx:expr, $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] 90 | ($cx:expr_2021, $args:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | ($cx:expr, $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] 90 | ($cx:expr, $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/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | ($cx:expr, $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] 98 | ($cx:expr_2021, $args:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | ($cx:expr, $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] 98 | ($cx:expr, $args:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/apis/stream_io/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | fn register(this: Ctx<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stdout] --> src/apis/stream_io/mod.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | this.eval(include_str!("io.js"))?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/apis/text_encoding/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | fn register(this: Ctx<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: rquickjs::FromJs<'_>` will fail [INFO] [stdout] --> src/apis/text_encoding/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | this.eval_with_options(include_str!("./text-encoding.js"), opts)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | _ => alloc(Layout::from_size_align(new_size, alignment).unwrap()), [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/alloc.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub unsafe extern "C" fn canonical_abi_realloc( [INFO] [stdout] 35 | | original_ptr: *mut u8, [INFO] [stdout] 36 | | original_size: usize, [INFO] [stdout] 37 | | alignment: usize, [INFO] [stdout] 38 | | new_size: usize, [INFO] [stdout] 39 | | ) -> *mut std::ffi::c_void { [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | copy_nonoverlapping(original_ptr, new_mem, original_size); [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 `alloc::canonical_abi_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | canonical_abi_free(original_ptr, original_size, alignment); [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::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | dealloc(ptr, Layout::from_size_align(size, alignment).unwrap()) [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/alloc.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe extern "C" fn canonical_abi_free(ptr: *mut u8, size: usize, alignment: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/console/mod.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | register(Ctx::from_raw(ctx), stderr(), stderr()).expect("registering console to succeed"); [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/apis/console/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe fn add_intrinsic(ctx: NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/console/mod.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | register(Ctx::from_raw(ctx), stdout(), stderr()).expect("registering console to succeed"); [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/apis/console/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe fn add_intrinsic(ctx: NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/random/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | register(Ctx::from_raw(ctx)).expect("`Random` APIs to succeed") [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/apis/random/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn add_intrinsic(ctx: std::ptr::NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/stream_io/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | register(Ctx::from_raw(ctx)).expect("Registering StreamIO functions to succeed"); [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/apis/stream_io/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe fn add_intrinsic(ctx: std::ptr::NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/text_encoding/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | register(Ctx::from_raw(ctx)).expect("Register TextEncoding APIs to succeed"); [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/apis/text_encoding/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe fn add_intrinsic(ctx: std::ptr::NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(exception) = val.clone().into_exception() { [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:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | } 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] 108 ~ match val.clone().into_exception() { Some(exception) => { [INFO] [stdout] 109 | anyhow!("{exception}") [INFO] [stdout] 110 ~ } _ => { [INFO] [stdout] 111 | anyhow!(val_to_string(&ctx, val).unwrap_or_else(|_| "Internal error".to_string())) [INFO] [stdout] 112 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | if let Some(symbol) = val.as_symbol() { [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:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | } 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] 206 ~ match val.as_symbol() { Some(symbol) => { [INFO] [stdout] 207 | if let Some(description) = symbol.description()?.into_string() { [INFO] [stdout] ... [INFO] [stdout] 214 | } [INFO] [stdout] 215 ~ } _ => { [INFO] [stdout] 216 | let stringified = >::from_js(this, val).map(|string| { [INFO] [stdout] ... [INFO] [stdout] 221 | Ok(stringified) [INFO] [stdout] 222 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(description) = symbol.description()?.into_string() { [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:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | } 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] 207 ~ match symbol.description()?.into_string() { Some(description) => { [INFO] [stdout] 208 | let description = description [INFO] [stdout] ... [INFO] [stdout] 211 | Ok(format!("Symbol({description})")) [INFO] [stdout] 212 ~ } _ => { [INFO] [stdout] 213 | Ok("Symbol()".into()) [INFO] [stdout] 214 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | if let Err(e) = result { [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/runtime.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ match result { Err(e) => { [INFO] [stdout] 167 | bail!("{e}") [INFO] [stdout] 168 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(f) = value_of { [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/serde/de.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 129 ~ match value_of { Some(f) => { [INFO] [stdout] 130 | let v = f.call((This(self.value.clone()),))?; [INFO] [stdout] 131 | self.value = v; [INFO] [stdout] 132 | return self.deserialize_number(visitor); [INFO] [stdout] 133 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(f) = value_of { [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/serde/de.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match value_of { Some(f) => { [INFO] [stdout] 143 | let v = f.call((This(self.value.clone()),))?; [INFO] [stdout] 144 | return visitor.visit_bool(v); [INFO] [stdout] 145 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(f) = value_of { [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/serde/de.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 154 ~ match value_of { Some(f) => { [INFO] [stdout] 155 | let v = f.call(((This(self.value.clone())),))?; [INFO] [stdout] 156 | self.value = v; [INFO] [stdout] 157 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | if let Some(f) = get_to_json(&self.value) { [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/serde/de.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match get_to_json(&self.value) { Some(f) => { [INFO] [stdout] 243 | let v: Value = f.call((This(self.value.clone()),))?; [INFO] [stdout] 244 | self.value = v; [INFO] [stdout] 245 | return self.deserialize_any(visitor); [INFO] [stdout] 246 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:309:16 [INFO] [stdout] | [INFO] [stdout] 309 | if let Some(kv) = self.properties.next() { [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/serde/de.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | } 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] 309 ~ match self.properties.next() { Some(kv) => { [INFO] [stdout] 310 | let (k, v) = kv?; [INFO] [stdout] ... [INFO] [stdout] 345 | return seed.deserialize(&mut *self.de).map(Some); [INFO] [stdout] 346 ~ } _ => { [INFO] [stdout] 347 | return Ok(None); [INFO] [stdout] 348 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:313:28 [INFO] [stdout] | [INFO] [stdout] 313 | let v = if let Some(f) = to_json { [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/serde/de.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | } 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] 313 ~ let v = match to_json { Some(f) => { [INFO] [stdout] 314 | f.call((This(v.clone()), k.clone()))? [INFO] [stdout] 315 ~ } _ => { [INFO] [stdout] 316 | v [INFO] [stdout] 317 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:329:24 [INFO] [stdout] | [INFO] [stdout] 329 | if let Some(f) = value_of { [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/serde/de.rs:332:21 [INFO] [stdout] | [INFO] [stdout] 332 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 329 ~ match value_of { Some(f) => { [INFO] [stdout] 330 | let v = f.call((This(v.clone()),))?; [INFO] [stdout] 331 | self.de.current_kv = Some((k.clone(), v)); [INFO] [stdout] 332 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | if let Some(f) = to_string { [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/serde/de.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 335 ~ match to_string { Some(f) => { [INFO] [stdout] 336 | let v = f.call((This(v.clone()),))?; [INFO] [stdout] 337 | self.de.current_kv = Some((k.clone(), v)); [INFO] [stdout] 338 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/de.rs:379:16 [INFO] [stdout] | [INFO] [stdout] 379 | if let Some(f) = to_json { [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/serde/de.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | } else if ensure_supported(&el)? { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 379 ~ match to_json { Some(f) => { [INFO] [stdout] 380 | let index_value = JSString::from_str(el.ctx().clone(), &self.index.to_string()); [INFO] [stdout] 381 | self.de.value = f.call((This(el.clone()), index_value))?; [INFO] [stdout] 382 ~ } _ => if ensure_supported(&el)? { [INFO] [stdout] 383 | self.de.value = el [INFO] [stdout] 384 | } else { [INFO] [stdout] 385 | self.de.value = Null.into_value(self.seq.ctx().clone()) [INFO] [stdout] 386 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serde/ser.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | if let Some(o) = self.value.as_object() { [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/serde/ser.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | } 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] 340 ~ match self.value.as_object() { Some(o) => { [INFO] [stdout] 341 | let prop = Property::from(map_serializer.value.clone()) [INFO] [stdout] ... [INFO] [stdout] 346 | .map_err(|e| Error::custom(e.to_string())) [INFO] [stdout] 347 ~ } _ => { [INFO] [stdout] 348 | Err(Error::custom("Expected to be an object")) [INFO] [stdout] 349 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/misc.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/misc.rs (2 fixes) [INFO] [stderr] Migrating tests/262.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.62s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking javy v3.0.0 (/tmp/fixit) [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/stream_io/mod.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | this.eval(include_str!("io.js"))?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/text_encoding/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | this.eval_with_options(include_str!("./text-encoding.js"), opts)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval_with_options` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn eval_with_options, S: Into>>( [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval_with_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | _ => alloc(Layout::from_size_align(new_size, alignment).unwrap()), [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/alloc.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub unsafe extern "C" fn canonical_abi_realloc( [INFO] [stdout] 35 | | original_ptr: *mut u8, [INFO] [stdout] 36 | | original_size: usize, [INFO] [stdout] 37 | | alignment: usize, [INFO] [stdout] 38 | | new_size: usize, [INFO] [stdout] 39 | | ) -> *mut std::ffi::c_void { [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | copy_nonoverlapping(original_ptr, new_mem, original_size); [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 `alloc::canonical_abi_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | canonical_abi_free(original_ptr, original_size, alignment); [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::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | dealloc(ptr, Layout::from_size_align(size, alignment).unwrap()) [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/alloc.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe extern "C" fn canonical_abi_free(ptr: *mut u8, size: usize, alignment: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | this.eval("console.log(\"hello world\");")?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 129 | test_console_log!("console.log(\"hello world\");", "hello world\n"); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 132 | test_console_log!("console.log(\"\\uD800\");", "�\n"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/console/mod.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | register(Ctx::from_raw(ctx), stderr(), stderr()).expect("registering console to succeed"); [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/apis/console/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe fn add_intrinsic(ctx: NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 134 | / test_console_log!( [INFO] [stdout] 135 | | "console.log(function(){ return 1 })", [INFO] [stdout] 136 | | "function(){ return 1 }\n" [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 139 | / test_console_log!( [INFO] [stdout] 140 | | "console.log([1, \"two\", 3.42, null, 5])", [INFO] [stdout] 141 | | "1,two,3.42,,5\n" [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 144 | / test_console_log!( [INFO] [stdout] 145 | | "console.log(2.3, true, { foo: 'bar' }, null, undefined)", [INFO] [stdout] 146 | | "2.3 true [object Object] null undefined\n" [INFO] [stdout] 147 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/console/mod.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | register(Ctx::from_raw(ctx), stdout(), stderr()).expect("registering console to succeed"); [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/apis/console/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe fn add_intrinsic(ctx: NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 149 | / test_console_log!( [INFO] [stdout] 150 | | "console.log(new Date(0))", [INFO] [stdout] 151 | | "Thu Jan 01 1970 00:00:00 GMT+0000\n" [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 154 | test_console_log!("console.log(new ArrayBuffer())", "[object ArrayBuffer]\n"); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 156 | test_console_log!("console.log(NaN)", "NaN\n"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 158 | test_console_log!("console.log(new Set())", "[object Set]\n"); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 160 | test_console_log!("console.log(new Map())", "[object Map]\n"); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 162 | / test_console_log!( [INFO] [stdout] 163 | | "function Foo(){}; console.log(new Foo())", [INFO] [stdout] 164 | | "[object Object]\n" [INFO] [stdout] 165 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/random/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | register(Ctx::from_raw(ctx)).expect("`Random` APIs to succeed") [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/apis/random/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn add_intrinsic(ctx: std::ptr::NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 167 | test_console_log!("console.log(Symbol())", "Symbol()\n"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 169 | test_console_log!("console.log(Symbol(''))", "Symbol()\n"); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/stream_io/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | register(Ctx::from_raw(ctx)).expect("Registering StreamIO functions to succeed"); [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/apis/stream_io/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe fn add_intrinsic(ctx: std::ptr::NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 171 | test_console_log!("console.log(Symbol('foo'))", "Symbol(foo)\n"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 173 | test_console_log!("console.log(Symbol(null))", "Symbol(null)\n"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 175 | test_console_log!("console.log(Symbol(undefined))", "Symbol()\n"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 177 | test_console_log!("console.log(Symbol([]))", "Symbol()\n"); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | this.eval($js)?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] ... [INFO] [stdout] 180 | test_console_log!("console.log(Symbol(\"\\uD800\"))", "Symbol(�)\n"); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] = note: this error originates in the macro `test_console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | this.eval("console.log(\"hello world\");")?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/console/mod.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | this.eval("console.error(\"hello world\");")?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/text_encoding/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | register(Ctx::from_raw(ctx)).expect("Register TextEncoding APIs to succeed"); [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/apis/text_encoding/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe fn add_intrinsic(ctx: std::ptr::NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/random/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | this.eval_with_options("result = Math.random()", eval_opts)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval_with_options` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn eval_with_options, S: Into>>( [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval_with_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/stream_io/mod.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | this.eval(include_str!("io.js"))?; [INFO] [stdout] | ^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn eval, S: Into>>(&self, source: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: rquickjs::FromJs<'_>` is not satisfied [INFO] [stdout] --> src/apis/text_encoding/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | this.eval_with_options(include_str!("./text-encoding.js"), opts)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `rquickjs::FromJs<'_>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rquickjs::FromJs<'js>`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeSet [INFO] [stdout] Box [INFO] [stdout] Cell [INFO] [stdout] Coerced [INFO] [stdout] Coerced [INFO] [stdout] and 67 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Ctx::<'js>::eval_with_options` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rquickjs-core-0.6.1/src/context/ctx.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn eval_with_options, S: Into>>( [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Ctx::<'js>::eval_with_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | _ => alloc(Layout::from_size_align(new_size, alignment).unwrap()), [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/alloc.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub unsafe extern "C" fn canonical_abi_realloc( [INFO] [stdout] 35 | | original_ptr: *mut u8, [INFO] [stdout] 36 | | original_size: usize, [INFO] [stdout] 37 | | alignment: usize, [INFO] [stdout] 38 | | new_size: usize, [INFO] [stdout] 39 | | ) -> *mut std::ffi::c_void { [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | copy_nonoverlapping(original_ptr, new_mem, original_size); [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 `alloc::canonical_abi_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | canonical_abi_free(original_ptr, original_size, alignment); [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::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/alloc.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | dealloc(ptr, Layout::from_size_align(size, alignment).unwrap()) [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/alloc.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe extern "C" fn canonical_abi_free(ptr: *mut u8, size: usize, alignment: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `javy` (lib) due to 3 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/console/mod.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | register(Ctx::from_raw(ctx), stderr(), stderr()).expect("registering console to succeed"); [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/apis/console/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe fn add_intrinsic(ctx: NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/console/mod.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | register(Ctx::from_raw(ctx), stdout(), stderr()).expect("registering console to succeed"); [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/apis/console/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe fn add_intrinsic(ctx: NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/random/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | register(Ctx::from_raw(ctx)).expect("`Random` APIs to succeed") [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/apis/random/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe fn add_intrinsic(ctx: std::ptr::NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/stream_io/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | register(Ctx::from_raw(ctx)).expect("Registering StreamIO functions to succeed"); [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/apis/stream_io/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe fn add_intrinsic(ctx: std::ptr::NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rquickjs::Ctx::<'js>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/apis/text_encoding/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | register(Ctx::from_raw(ctx)).expect("Register TextEncoding APIs to succeed"); [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/apis/text_encoding/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe fn add_intrinsic(ctx: std::ptr::NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `javy` (lib test) due to 25 previous errors; 9 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" "0e66b7b33a7bff925fb9139b470427168ed429e53ba43e4a7b4add16180499c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e66b7b33a7bff925fb9139b470427168ed429e53ba43e4a7b4add16180499c5", kill_on_drop: false }` [INFO] [stdout] 0e66b7b33a7bff925fb9139b470427168ed429e53ba43e4a7b4add16180499c5