[INFO] cloning repository https://github.com/hanchayi/js-engine-from-scratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hanchayi/js-engine-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanchayi%2Fjs-engine-from-scratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanchayi%2Fjs-engine-from-scratch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34053f7290fcc090597a6f5dcf9a256fbaaea2d7 [INFO] checking hanchayi/js-engine-from-scratch against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanchayi%2Fjs-engine-from-scratch" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hanchayi/js-engine-from-scratch on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hanchayi/js-engine-from-scratch [INFO] finished tweaking git repo https://github.com/hanchayi/js-engine-from-scratch [INFO] tweaked toml for git repo https://github.com/hanchayi/js-engine-from-scratch written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hanchayi/js-engine-from-scratch already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gc_derive v0.3.6 [INFO] [stderr] Downloaded gc v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bd9c6bc40b3ddeb9a6f4063f21eb9d8dfe6f30a7c6ff3418e83cc2cb8e7a186 [INFO] running `Command { std: "docker" "start" "-a" "3bd9c6bc40b3ddeb9a6f4063f21eb9d8dfe6f30a7c6ff3418e83cc2cb8e7a186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bd9c6bc40b3ddeb9a6f4063f21eb9d8dfe6f30a7c6ff3418e83cc2cb8e7a186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd9c6bc40b3ddeb9a6f4063f21eb9d8dfe6f30a7c6ff3418e83cc2cb8e7a186", kill_on_drop: false }` [INFO] [stdout] 3bd9c6bc40b3ddeb9a6f4063f21eb9d8dfe6f30a7c6ff3418e83cc2cb8e7a186 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35399c7b8d4d6ee167fdf18b72b075ec796fddf1817b4ba9f61a8c8d69106085 [INFO] running `Command { std: "docker" "start" "-a" "35399c7b8d4d6ee167fdf18b72b075ec796fddf1817b4ba9f61a8c8d69106085", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking gc v0.3.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling gc_derive v0.3.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Checking js-engine-from-scratch v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / /// Object Environment Records created for with statements (13.11) [INFO] [stdout] 192 | | /// can provide their binding object as an implicit this value for use in function calls. [INFO] [stdout] 193 | | /// The capability is controlled by a withEnvironment Boolean value that is associated [INFO] [stdout] 194 | | /// with each object Environment Record. By default, the value of withEnvironment is false [INFO] [stdout] 195 | | /// for any object Environment Record. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] 196 | with_environment: false, [INFO] [stdout] | ----------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / /// Object Environment Records created for with statements (13.11) [INFO] [stdout] 192 | | /// can provide their binding object as an implicit this value for use in function calls. [INFO] [stdout] 193 | | /// The capability is controlled by a withEnvironment Boolean value that is associated [INFO] [stdout] 194 | | /// with each object Environment Record. By default, the value of withEnvironment is false [INFO] [stdout] 195 | | /// for any object Environment Record. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] 196 | with_environment: false, [INFO] [stdout] | ----------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | / /// Object Environment Records created for with statements (13.11) [INFO] [stdout] 205 | | /// can provide their binding object as an implicit this value for use in function calls. [INFO] [stdout] 206 | | /// The capability is controlled by a withEnvironment Boolean value that is associated [INFO] [stdout] 207 | | /// with each object Environment Record. By default, the value of withEnvironment is false [INFO] [stdout] 208 | | /// for any object Environment Record. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] 209 | with_environment: false, [INFO] [stdout] | ----------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | / /// Object Environment Records created for with statements (13.11) [INFO] [stdout] 205 | | /// can provide their binding object as an implicit this value for use in function calls. [INFO] [stdout] 206 | | /// The capability is controlled by a withEnvironment Boolean value that is associated [INFO] [stdout] 207 | | /// with each object Environment Record. By default, the value of withEnvironment is false [INFO] [stdout] 208 | | /// for any object Environment Record. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] 209 | with_environment: false, [INFO] [stdout] | ----------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/lib/exec.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::js::value::{from_value, to_value, ResultValue, Value, ValueData}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib/exec.rs:361:36 [INFO] [stdout] | [INFO] [stdout] 361 | Some(v) => r#try!(self.run(&v)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib/exec.rs:373:36 [INFO] [stdout] | [INFO] [stdout] 373 | Some(v) => r#try!(self.run(&v)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/lib/exec.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::js::value::{from_value, to_value, ResultValue, Value, ValueData}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib/exec.rs:361:36 [INFO] [stdout] | [INFO] [stdout] 361 | Some(v) => r#try!(self.run(&v)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib/exec.rs:373:36 [INFO] [stdout] | [INFO] [stdout] 373 | Some(v) => r#try!(self.run(&v)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a type alias [INFO] [stdout] --> src/lib/js/value.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a type alias [INFO] [stdout] --> src/lib/js/value.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib/syntax/parser.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 511 | TokenData::Punctuator(PInc) => mk!( [INFO] [stdout] | --------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 515 | TokenData::Punctuator(Punctuator::Dec) => mk!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PInc` [INFO] [stdout] --> src/lib/syntax/parser.rs:511:35 [INFO] [stdout] | [INFO] [stdout] 511 | TokenData::Punctuator(PInc) => mk!( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_PInc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib/syntax/parser.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 511 | TokenData::Punctuator(PInc) => mk!( [INFO] [stdout] | --------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 515 | TokenData::Punctuator(Punctuator::Dec) => mk!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PInc` [INFO] [stdout] --> src/lib/syntax/parser.rs:511:35 [INFO] [stdout] | [INFO] [stdout] 511 | TokenData::Punctuator(PInc) => mk!( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_PInc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | Err(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PInc` should have a snake case name [INFO] [stdout] --> src/lib/syntax/parser.rs:511:35 [INFO] [stdout] | [INFO] [stdout] 511 | TokenData::Punctuator(PInc) => mk!( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pinc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | Err(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PInc` should have a snake case name [INFO] [stdout] --> src/lib/syntax/parser.rs:511:35 [INFO] [stdout] | [INFO] [stdout] 511 | TokenData::Punctuator(PInc) => mk!( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pinc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `string::_create` and `value::ValueData` [INFO] [stdout] --> tests/string_test.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use engine::{engine::run_script, js::{value::ValueData, string::_create}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> tests/arrow_function_test.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let res = run_script(script).to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "35399c7b8d4d6ee167fdf18b72b075ec796fddf1817b4ba9f61a8c8d69106085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35399c7b8d4d6ee167fdf18b72b075ec796fddf1817b4ba9f61a8c8d69106085", kill_on_drop: false }` [INFO] [stdout] 35399c7b8d4d6ee167fdf18b72b075ec796fddf1817b4ba9f61a8c8d69106085 [INFO] checking hanchayi/js-engine-from-scratch against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanchayi%2Fjs-engine-from-scratch" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hanchayi/js-engine-from-scratch on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hanchayi/js-engine-from-scratch [INFO] finished tweaking git repo https://github.com/hanchayi/js-engine-from-scratch [INFO] tweaked toml for git repo https://github.com/hanchayi/js-engine-from-scratch written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hanchayi/js-engine-from-scratch already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86b413b72985624d8d1cec346933343f9b135103aa075827e0f23aedab5d95f5 [INFO] running `Command { std: "docker" "start" "-a" "86b413b72985624d8d1cec346933343f9b135103aa075827e0f23aedab5d95f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86b413b72985624d8d1cec346933343f9b135103aa075827e0f23aedab5d95f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86b413b72985624d8d1cec346933343f9b135103aa075827e0f23aedab5d95f5", kill_on_drop: false }` [INFO] [stdout] 86b413b72985624d8d1cec346933343f9b135103aa075827e0f23aedab5d95f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6885474172e4d53429cb4d9fbc0a825d10c11be460f7aca58c79388e9e07003 [INFO] running `Command { std: "docker" "start" "-a" "b6885474172e4d53429cb4d9fbc0a825d10c11be460f7aca58c79388e9e07003", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking gc v0.3.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling gc_derive v0.3.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Checking js-engine-from-scratch v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / /// Object Environment Records created for with statements (13.11) [INFO] [stdout] 192 | | /// can provide their binding object as an implicit this value for use in function calls. [INFO] [stdout] 193 | | /// The capability is controlled by a withEnvironment Boolean value that is associated [INFO] [stdout] 194 | | /// with each object Environment Record. By default, the value of withEnvironment is false [INFO] [stdout] 195 | | /// for any object Environment Record. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] 196 | with_environment: false, [INFO] [stdout] | ----------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | / /// Object Environment Records created for with statements (13.11) [INFO] [stdout] 205 | | /// can provide their binding object as an implicit this value for use in function calls. [INFO] [stdout] 206 | | /// The capability is controlled by a withEnvironment Boolean value that is associated [INFO] [stdout] 207 | | /// with each object Environment Record. By default, the value of withEnvironment is false [INFO] [stdout] 208 | | /// for any object Environment Record. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] 209 | with_environment: false, [INFO] [stdout] | ----------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/lib/exec.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::js::value::{from_value, to_value, ResultValue, Value, ValueData}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib/exec.rs:361:36 [INFO] [stdout] | [INFO] [stdout] 361 | Some(v) => r#try!(self.run(&v)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib/exec.rs:373:36 [INFO] [stdout] | [INFO] [stdout] 373 | Some(v) => r#try!(self.run(&v)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / /// Object Environment Records created for with statements (13.11) [INFO] [stdout] 192 | | /// can provide their binding object as an implicit this value for use in function calls. [INFO] [stdout] 193 | | /// The capability is controlled by a withEnvironment Boolean value that is associated [INFO] [stdout] 194 | | /// with each object Environment Record. By default, the value of withEnvironment is false [INFO] [stdout] 195 | | /// for any object Environment Record. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] 196 | with_environment: false, [INFO] [stdout] | ----------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | / /// Object Environment Records created for with statements (13.11) [INFO] [stdout] 205 | | /// can provide their binding object as an implicit this value for use in function calls. [INFO] [stdout] 206 | | /// The capability is controlled by a withEnvironment Boolean value that is associated [INFO] [stdout] 207 | | /// with each object Environment Record. By default, the value of withEnvironment is false [INFO] [stdout] 208 | | /// for any object Environment Record. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] 209 | with_environment: false, [INFO] [stdout] | ----------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/lib/exec.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::js::value::{from_value, to_value, ResultValue, Value, ValueData}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib/exec.rs:361:36 [INFO] [stdout] | [INFO] [stdout] 361 | Some(v) => r#try!(self.run(&v)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib/exec.rs:373:36 [INFO] [stdout] | [INFO] [stdout] 373 | Some(v) => r#try!(self.run(&v)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a type alias [INFO] [stdout] --> src/lib/js/value.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a type alias [INFO] [stdout] --> src/lib/js/value.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib/syntax/parser.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 511 | TokenData::Punctuator(PInc) => mk!( [INFO] [stdout] | --------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 515 | TokenData::Punctuator(Punctuator::Dec) => mk!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib/syntax/parser.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 511 | TokenData::Punctuator(PInc) => mk!( [INFO] [stdout] | --------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 515 | TokenData::Punctuator(Punctuator::Dec) => mk!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PInc` [INFO] [stdout] --> src/lib/syntax/parser.rs:511:35 [INFO] [stdout] | [INFO] [stdout] 511 | TokenData::Punctuator(PInc) => mk!( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_PInc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PInc` [INFO] [stdout] --> src/lib/syntax/parser.rs:511:35 [INFO] [stdout] | [INFO] [stdout] 511 | TokenData::Punctuator(PInc) => mk!( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_PInc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | Err(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 136 | let env: Environment = self.get_current_environment().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let borrowed_env = env.borrow(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Gc::new(ValueData::Undefined) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn new_declerative_environment(env: Option) -> Environment { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let boxed_env = Box::new(DeclerativeEnvironmentRecord { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | Gc::new(GcCell::new(boxed_env)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 170 | f: Value, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | new_target: Value, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | outer: Option, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | Gc::new(GcCell::new(Box::new(FunctionEnvironmentRecord { [INFO] [stdout] | _____________^ [INFO] [stdout] 177 | | env_rec: HashMap::new(), [INFO] [stdout] 178 | | function_object: f.clone(), [INFO] [stdout] 179 | | this_binding_status: BindingStatus::Uninitialized, // hardcoding to unitialized for now until short functions are properly supported [INFO] [stdout] ... | [INFO] [stdout] 183 | | this_value: Gc::new(ValueData::Undefined), // TODO: this_value should start as an Option as its not always there to begin with [INFO] [stdout] 184 | | }))) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new_object_environment(object: Value, environment: Option) -> Environment { [INFO] [stdout] | ------------- -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | Gc::new(GcCell::new(Box::new(ObjectEnvironmentRecord { [INFO] [stdout] | _____________^ [INFO] [stdout] 189 | | bindings: object, [INFO] [stdout] 190 | | outer_env: environment, [INFO] [stdout] 191 | | /// Object Environment Records created for with statements (13.11) [INFO] [stdout] ... | [INFO] [stdout] 196 | | with_environment: false, [INFO] [stdout] 197 | | }))) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn new_global_environment(global: Value, this_value: Value) -> Environment { [INFO] [stdout] | ------------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let obj_rec = Box::new(ObjectEnvironmentRecord { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | let dcl_rec = Box::new(DeclerativeEnvironmentRecord { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | Gc::new(GcCell::new(Box::new(GlobalEnvironmentRecord { [INFO] [stdout] | _____________^ [INFO] [stdout] 218 | | object_record: obj_rec, [INFO] [stdout] 219 | | global_this_binding: this_value, [INFO] [stdout] 220 | | declerative_record: dcl_rec, [INFO] [stdout] 221 | | var_names: HashSet::new(), [INFO] [stdout] 222 | | }))) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/syntax/parser.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 45 | let mut exprs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Expr::new(ExprDef::BlockExpr(exprs))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PInc` should have a snake case name [INFO] [stdout] --> src/lib/syntax/parser.rs:511:35 [INFO] [stdout] | [INFO] [stdout] 511 | TokenData::Punctuator(PInc) => mk!( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pinc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/syntax/parser.rs:709:12 [INFO] [stdout] | [INFO] [stdout] 705 | fn binop(&mut self, op: BinOp, orig: Expr) -> Result { [INFO] [stdout] | --------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 708 | let next = self.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | Ok(match next.def { [INFO] [stdout] | ____________^ [INFO] [stdout] 710 | | ExprDef::BinOpExpr(ref op2, ref a, ref b) => { [INFO] [stdout] 711 | | let other_precedence = op2.get_precedence(); [INFO] [stdout] 712 | | if precedence < other_precedence || (precedence == other_precedence && !assoc) { [INFO] [stdout] ... | [INFO] [stdout] 731 | | _ => mk!(self, ExprDef::BinOpExpr(op, Box::new(orig), Box::new(next))), [INFO] [stdout] 732 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | Err(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/exec.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 31 | let global = ValueData::new_obj(None); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | environment: LexicalEnvironment::new(global.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(value: Value) -> Property { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | get: Gc::new(ValueData::Undefined), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(value: Value) -> Property { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | set: Gc::new(ValueData::Undefined), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_value(v: Value) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Ok(Property { [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | configurable: from_value(v.get_field_slice("configurable")).unwrap(), [INFO] [stdout] 61 | | enumerable: from_value(v.get_field_slice("enumerable")).unwrap(), [INFO] [stdout] 62 | | writable: from_value(v.get_field_slice("writable")).unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 65 | | set: v.get_field_slice("set"), [INFO] [stdout] 66 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn make_object(_: Value, _: Value, _args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | Ok(Gc::new(ValueData::Undefined)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_proto_of(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let obj = args.get(0).unwrap(); [INFO] [stdout] 78 | Ok(obj.get_field_slice(INSTANCE_PROTOTYPE)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn define_prop(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let desc = from_value::(args.get(2).unwrap().clone()).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | obj.set_prop(prop, desc); [INFO] [stdout] 95 | Ok(Gc::new(ValueData::Undefined)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn to_string(this: Value, _: Value, _: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | Ok(to_value(this.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn has_own_prop(this: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | Ok(to_value( [INFO] [stdout] | ________^ [INFO] [stdout] 111 | | prop.is_some() && this.get_prop(prop.unwrap()).is_some(), [INFO] [stdout] 112 | | )) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/value.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut obj: ObjectData = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let private_obj: ObjectData = HashMap::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Gc::new(ValueData::Object( [INFO] [stdout] | _________________^ [INFO] [stdout] 58 | | GcCell::new(obj), [INFO] [stdout] 59 | | GcCell::new(private_obj), [INFO] [stdout] 60 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/value.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new_obj_from_prototype(proto: Value) -> Value { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let mut obj: ObjectData = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let private_obj: ObjectData = HashMap::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | obj.insert(INSTANCE_PROTOTYPE.to_string(), Property::new(proto)); [INFO] [stdout] 119 | Gc::new(ValueData::Object( [INFO] [stdout] | _________________^ [INFO] [stdout] 120 | | GcCell::new(obj), [INFO] [stdout] 121 | | GcCell::new(private_obj), [INFO] [stdout] 122 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/value.rs:424:58 [INFO] [stdout] | [INFO] [stdout] 424 | .map(|(key, json)| (key.clone(), Property::new(to_value(json.clone())))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/value.rs:728:17 [INFO] [stdout] | [INFO] [stdout] 727 | let private_obj: ObjectData = HashMap::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 728 | Gc::new(ValueData::Object( [INFO] [stdout] | _________________^ [INFO] [stdout] 729 | | GcCell::new(self.clone()), [INFO] [stdout] 730 | | GcCell::new(private_obj), [INFO] [stdout] 731 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/value.rs:781:12 [INFO] [stdout] | [INFO] [stdout] 780 | fn from_value(value: Value) -> Result, &'static str> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 781 | Ok(if value.is_null_or_undefined() { [INFO] [stdout] | ____________^ [INFO] [stdout] 782 | | None [INFO] [stdout] 783 | | } else { [INFO] [stdout] 784 | | Some(FromValue::from_value(value)?) [INFO] [stdout] 785 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/array.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn make_array(this: Value, _: Value, _: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let this_ptr = this.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | this_ptr.set_field_slice("length", to_value(0i32)); [INFO] [stdout] 9 | Ok(Gc::new(ValueData::Undefined)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/console.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn log(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | Ok(Gc::new(ValueData::Undefined)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/console.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn error(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(Gc::new(ValueData::Undefined)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/console.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|x| from_value::(x.clone()).unwrap()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/json.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | match serde_json::from_str::(&args.get(0).unwrap().clone().to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/json.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn stringify(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Ok(to_value(to_string_pretty(&json).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/error.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn make_error(this: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | Ok(Gc::new(ValueData::Undefined)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/error.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_string(this: Value, _: Value, _: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let name = this.get_field_slice("name"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | let message = this.get_field_slice("message"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(to_value(format!("{}: {}", name, message).to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn abs(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 9 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 10 | | .unwrap() [INFO] [stdout] 11 | | .abs() [INFO] [stdout] 12 | | } else { [INFO] [stdout] 13 | | f64::NAN [INFO] [stdout] 14 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn acos(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 19 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 20 | | .unwrap() [INFO] [stdout] 21 | | .acos() [INFO] [stdout] 22 | | } else { [INFO] [stdout] 23 | | f64::NAN [INFO] [stdout] 24 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn asin(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 29 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 30 | | .unwrap() [INFO] [stdout] 31 | | .asin() [INFO] [stdout] 32 | | } else { [INFO] [stdout] 33 | | f64::NAN [INFO] [stdout] 34 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn atan(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 39 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .atan() [INFO] [stdout] 42 | | } else { [INFO] [stdout] 43 | | f64::NAN [INFO] [stdout] 44 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn atan2(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 49 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 50 | | .unwrap() [INFO] [stdout] 51 | | .atan2(args.get(1).unwrap().to_num()) [INFO] [stdout] 52 | | } else { [INFO] [stdout] 53 | | f64::NAN [INFO] [stdout] 54 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn cbrt(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 59 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 60 | | .unwrap() [INFO] [stdout] 61 | | .cbrt() [INFO] [stdout] 62 | | } else { [INFO] [stdout] 63 | | f64::NAN [INFO] [stdout] 64 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ceil(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 69 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 70 | | .unwrap() [INFO] [stdout] 71 | | .ceil() [INFO] [stdout] 72 | | } else { [INFO] [stdout] 73 | | f64::NAN [INFO] [stdout] 74 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn cos(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 79 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 80 | | .unwrap() [INFO] [stdout] 81 | | .cos() [INFO] [stdout] 82 | | } else { [INFO] [stdout] 83 | | f64::NAN [INFO] [stdout] 84 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn exp(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 89 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 90 | | .unwrap() [INFO] [stdout] 91 | | .exp() [INFO] [stdout] 92 | | } else { [INFO] [stdout] 93 | | f64::NAN [INFO] [stdout] 94 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn floor(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 99 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 100 | | .unwrap() [INFO] [stdout] 101 | | .floor() [INFO] [stdout] 102 | | } else { [INFO] [stdout] 103 | | f64::NAN [INFO] [stdout] 104 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn log(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 109 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 110 | | .unwrap() [INFO] [stdout] 111 | | .log(f64::consts::E) [INFO] [stdout] 112 | | } else { [INFO] [stdout] 113 | | f64::NAN [INFO] [stdout] 114 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn max(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | Ok(to_value(max)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn min(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | Ok(to_value(max)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn pow(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Ok(to_value(if args.len() >= 2 { [INFO] [stdout] | ________^ [INFO] [stdout] 137 | | let num: f64 = from_value(args.get(0).unwrap().clone()).unwrap(); [INFO] [stdout] 138 | | let power: f64 = from_value(args.get(1).unwrap().clone()).unwrap(); [INFO] [stdout] 139 | | num.powf(power) [INFO] [stdout] 140 | | } else { [INFO] [stdout] 141 | | f64::NAN [INFO] [stdout] 142 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn _random(_: Value, _: Value, _args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | Ok(to_value(random::())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn round(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 151 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 152 | | .unwrap() [INFO] [stdout] 153 | | .round() [INFO] [stdout] 154 | | } else { [INFO] [stdout] 155 | | f64::NAN [INFO] [stdout] 156 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn sin(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 161 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 162 | | .unwrap() [INFO] [stdout] 163 | | .sin() [INFO] [stdout] 164 | | } else { [INFO] [stdout] 165 | | f64::NAN [INFO] [stdout] 166 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn sqrt(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 171 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 172 | | .unwrap() [INFO] [stdout] 173 | | .sqrt() [INFO] [stdout] 174 | | } else { [INFO] [stdout] 175 | | f64::NAN [INFO] [stdout] 176 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn tan(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 181 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 182 | | .unwrap() [INFO] [stdout] 183 | | .tan() [INFO] [stdout] 184 | | } else { [INFO] [stdout] 185 | | f64::NAN [INFO] [stdout] 186 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/string.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_string_length(this: Value, _: Value, _: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | Ok(to_value::(this_str.len() as i32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/string.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn to_string(this: Value, _: Value, _: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | // Get String from String Object and send it back as a new value [INFO] [stdout] 26 | let primitive_val = this.get_private_field(String::from("PrimitiveValue")); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Ok(to_value(format!("{}", primitive_val).to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/string.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn char_at(this: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | Ok(to_value::(primitive_val.chars().nth(pos).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/string.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn char_code_at(this: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Ok(to_value(utf16_val as f64)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 136 | let env: Environment = self.get_current_environment().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let borrowed_env = env.borrow(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Gc::new(ValueData::Undefined) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn new_declerative_environment(env: Option) -> Environment { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let boxed_env = Box::new(DeclerativeEnvironmentRecord { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | Gc::new(GcCell::new(boxed_env)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 170 | f: Value, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | new_target: Value, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | outer: Option, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | Gc::new(GcCell::new(Box::new(FunctionEnvironmentRecord { [INFO] [stdout] | _____________^ [INFO] [stdout] 177 | | env_rec: HashMap::new(), [INFO] [stdout] 178 | | function_object: f.clone(), [INFO] [stdout] 179 | | this_binding_status: BindingStatus::Uninitialized, // hardcoding to unitialized for now until short functions are properly supported [INFO] [stdout] ... | [INFO] [stdout] 183 | | this_value: Gc::new(ValueData::Undefined), // TODO: this_value should start as an Option as its not always there to begin with [INFO] [stdout] 184 | | }))) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new_object_environment(object: Value, environment: Option) -> Environment { [INFO] [stdout] | ------------- -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | Gc::new(GcCell::new(Box::new(ObjectEnvironmentRecord { [INFO] [stdout] | _____________^ [INFO] [stdout] 189 | | bindings: object, [INFO] [stdout] 190 | | outer_env: environment, [INFO] [stdout] 191 | | /// Object Environment Records created for with statements (13.11) [INFO] [stdout] ... | [INFO] [stdout] 196 | | with_environment: false, [INFO] [stdout] 197 | | }))) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/environment/lexical_environment.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn new_global_environment(global: Value, this_value: Value) -> Environment { [INFO] [stdout] | ------------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let obj_rec = Box::new(ObjectEnvironmentRecord { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | let dcl_rec = Box::new(DeclerativeEnvironmentRecord { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | Gc::new(GcCell::new(Box::new(GlobalEnvironmentRecord { [INFO] [stdout] | _____________^ [INFO] [stdout] 218 | | object_record: obj_rec, [INFO] [stdout] 219 | | global_this_binding: this_value, [INFO] [stdout] 220 | | declerative_record: dcl_rec, [INFO] [stdout] 221 | | var_names: HashSet::new(), [INFO] [stdout] 222 | | }))) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/syntax/parser.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 45 | let mut exprs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Expr::new(ExprDef::BlockExpr(exprs))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PInc` should have a snake case name [INFO] [stdout] --> src/lib/syntax/parser.rs:511:35 [INFO] [stdout] | [INFO] [stdout] 511 | TokenData::Punctuator(PInc) => mk!( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pinc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/syntax/parser.rs:709:12 [INFO] [stdout] | [INFO] [stdout] 705 | fn binop(&mut self, op: BinOp, orig: Expr) -> Result { [INFO] [stdout] | --------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 708 | let next = self.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | Ok(match next.def { [INFO] [stdout] | ____________^ [INFO] [stdout] 710 | | ExprDef::BinOpExpr(ref op2, ref a, ref b) => { [INFO] [stdout] 711 | | let other_precedence = op2.get_precedence(); [INFO] [stdout] 712 | | if precedence < other_precedence || (precedence == other_precedence && !assoc) { [INFO] [stdout] ... | [INFO] [stdout] 731 | | _ => mk!(self, ExprDef::BinOpExpr(op, Box::new(orig), Box::new(next))), [INFO] [stdout] 732 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/exec.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 31 | let global = ValueData::new_obj(None); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | environment: LexicalEnvironment::new(global.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(value: Value) -> Property { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | get: Gc::new(ValueData::Undefined), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(value: Value) -> Property { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | set: Gc::new(ValueData::Undefined), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_value(v: Value) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Ok(Property { [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | configurable: from_value(v.get_field_slice("configurable")).unwrap(), [INFO] [stdout] 61 | | enumerable: from_value(v.get_field_slice("enumerable")).unwrap(), [INFO] [stdout] 62 | | writable: from_value(v.get_field_slice("writable")).unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 65 | | set: v.get_field_slice("set"), [INFO] [stdout] 66 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn make_object(_: Value, _: Value, _args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | Ok(Gc::new(ValueData::Undefined)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_proto_of(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let obj = args.get(0).unwrap(); [INFO] [stdout] 78 | Ok(obj.get_field_slice(INSTANCE_PROTOTYPE)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn define_prop(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let desc = from_value::(args.get(2).unwrap().clone()).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | obj.set_prop(prop, desc); [INFO] [stdout] 95 | Ok(Gc::new(ValueData::Undefined)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn to_string(this: Value, _: Value, _: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | Ok(to_value(this.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/object.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn has_own_prop(this: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | Ok(to_value( [INFO] [stdout] | ________^ [INFO] [stdout] 111 | | prop.is_some() && this.get_prop(prop.unwrap()).is_some(), [INFO] [stdout] 112 | | )) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/value.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut obj: ObjectData = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let private_obj: ObjectData = HashMap::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Gc::new(ValueData::Object( [INFO] [stdout] | _________________^ [INFO] [stdout] 58 | | GcCell::new(obj), [INFO] [stdout] 59 | | GcCell::new(private_obj), [INFO] [stdout] 60 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/value.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new_obj_from_prototype(proto: Value) -> Value { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let mut obj: ObjectData = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let private_obj: ObjectData = HashMap::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | obj.insert(INSTANCE_PROTOTYPE.to_string(), Property::new(proto)); [INFO] [stdout] 119 | Gc::new(ValueData::Object( [INFO] [stdout] | _________________^ [INFO] [stdout] 120 | | GcCell::new(obj), [INFO] [stdout] 121 | | GcCell::new(private_obj), [INFO] [stdout] 122 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/value.rs:424:58 [INFO] [stdout] | [INFO] [stdout] 424 | .map(|(key, json)| (key.clone(), Property::new(to_value(json.clone())))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/value.rs:728:17 [INFO] [stdout] | [INFO] [stdout] 727 | let private_obj: ObjectData = HashMap::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 728 | Gc::new(ValueData::Object( [INFO] [stdout] | _________________^ [INFO] [stdout] 729 | | GcCell::new(self.clone()), [INFO] [stdout] 730 | | GcCell::new(private_obj), [INFO] [stdout] 731 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/value.rs:781:12 [INFO] [stdout] | [INFO] [stdout] 780 | fn from_value(value: Value) -> Result, &'static str> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 781 | Ok(if value.is_null_or_undefined() { [INFO] [stdout] | ____________^ [INFO] [stdout] 782 | | None [INFO] [stdout] 783 | | } else { [INFO] [stdout] 784 | | Some(FromValue::from_value(value)?) [INFO] [stdout] 785 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/array.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn make_array(this: Value, _: Value, _: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let this_ptr = this.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | this_ptr.set_field_slice("length", to_value(0i32)); [INFO] [stdout] 9 | Ok(Gc::new(ValueData::Undefined)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/console.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn log(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | Ok(Gc::new(ValueData::Undefined)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/console.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn error(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(Gc::new(ValueData::Undefined)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/console.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|x| from_value::(x.clone()).unwrap()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/json.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | match serde_json::from_str::(&args.get(0).unwrap().clone().to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/json.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn stringify(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Ok(to_value(to_string_pretty(&json).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/error.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn make_error(this: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | Ok(Gc::new(ValueData::Undefined)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/error.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_string(this: Value, _: Value, _: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let name = this.get_field_slice("name"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | let message = this.get_field_slice("message"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(to_value(format!("{}: {}", name, message).to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn abs(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 9 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 10 | | .unwrap() [INFO] [stdout] 11 | | .abs() [INFO] [stdout] 12 | | } else { [INFO] [stdout] 13 | | f64::NAN [INFO] [stdout] 14 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn acos(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 19 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 20 | | .unwrap() [INFO] [stdout] 21 | | .acos() [INFO] [stdout] 22 | | } else { [INFO] [stdout] 23 | | f64::NAN [INFO] [stdout] 24 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn asin(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 29 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 30 | | .unwrap() [INFO] [stdout] 31 | | .asin() [INFO] [stdout] 32 | | } else { [INFO] [stdout] 33 | | f64::NAN [INFO] [stdout] 34 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn atan(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 39 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .atan() [INFO] [stdout] 42 | | } else { [INFO] [stdout] 43 | | f64::NAN [INFO] [stdout] 44 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn atan2(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 49 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 50 | | .unwrap() [INFO] [stdout] 51 | | .atan2(args.get(1).unwrap().to_num()) [INFO] [stdout] 52 | | } else { [INFO] [stdout] 53 | | f64::NAN [INFO] [stdout] 54 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn cbrt(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 59 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 60 | | .unwrap() [INFO] [stdout] 61 | | .cbrt() [INFO] [stdout] 62 | | } else { [INFO] [stdout] 63 | | f64::NAN [INFO] [stdout] 64 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ceil(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 69 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 70 | | .unwrap() [INFO] [stdout] 71 | | .ceil() [INFO] [stdout] 72 | | } else { [INFO] [stdout] 73 | | f64::NAN [INFO] [stdout] 74 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn cos(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 79 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 80 | | .unwrap() [INFO] [stdout] 81 | | .cos() [INFO] [stdout] 82 | | } else { [INFO] [stdout] 83 | | f64::NAN [INFO] [stdout] 84 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn exp(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 89 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 90 | | .unwrap() [INFO] [stdout] 91 | | .exp() [INFO] [stdout] 92 | | } else { [INFO] [stdout] 93 | | f64::NAN [INFO] [stdout] 94 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn floor(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 99 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 100 | | .unwrap() [INFO] [stdout] 101 | | .floor() [INFO] [stdout] 102 | | } else { [INFO] [stdout] 103 | | f64::NAN [INFO] [stdout] 104 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn log(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 109 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 110 | | .unwrap() [INFO] [stdout] 111 | | .log(f64::consts::E) [INFO] [stdout] 112 | | } else { [INFO] [stdout] 113 | | f64::NAN [INFO] [stdout] 114 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn max(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | Ok(to_value(max)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn min(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | Ok(to_value(max)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn pow(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | Ok(to_value(if args.len() >= 2 { [INFO] [stdout] | ________^ [INFO] [stdout] 137 | | let num: f64 = from_value(args.get(0).unwrap().clone()).unwrap(); [INFO] [stdout] 138 | | let power: f64 = from_value(args.get(1).unwrap().clone()).unwrap(); [INFO] [stdout] 139 | | num.powf(power) [INFO] [stdout] 140 | | } else { [INFO] [stdout] 141 | | f64::NAN [INFO] [stdout] 142 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn _random(_: Value, _: Value, _args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | Ok(to_value(random::())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn round(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 151 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 152 | | .unwrap() [INFO] [stdout] 153 | | .round() [INFO] [stdout] 154 | | } else { [INFO] [stdout] 155 | | f64::NAN [INFO] [stdout] 156 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn sin(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 161 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 162 | | .unwrap() [INFO] [stdout] 163 | | .sin() [INFO] [stdout] 164 | | } else { [INFO] [stdout] 165 | | f64::NAN [INFO] [stdout] 166 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn sqrt(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 171 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 172 | | .unwrap() [INFO] [stdout] 173 | | .sqrt() [INFO] [stdout] 174 | | } else { [INFO] [stdout] 175 | | f64::NAN [INFO] [stdout] 176 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/math.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn tan(_: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | -------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | Ok(to_value(if args.len() >= 1 { [INFO] [stdout] | ________^ [INFO] [stdout] 181 | | from_value::(args.get(0).unwrap().clone()) [INFO] [stdout] 182 | | .unwrap() [INFO] [stdout] 183 | | .tan() [INFO] [stdout] 184 | | } else { [INFO] [stdout] 185 | | f64::NAN [INFO] [stdout] 186 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/string.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_string_length(this: Value, _: Value, _: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | Ok(to_value::(this_str.len() as i32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/string.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn to_string(this: Value, _: Value, _: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | // Get String from String Object and send it back as a new value [INFO] [stdout] 26 | let primitive_val = this.get_private_field(String::from("PrimitiveValue")); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Ok(to_value(format!("{}", primitive_val).to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/string.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn char_at(this: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | Ok(to_value::(primitive_val.chars().nth(pos).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/js/string.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn char_code_at(this: Value, _: Value, args: Vec) -> ResultValue { [INFO] [stdout] | ----------- -------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Ok(to_value(utf16_val as f64)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `js-engine-from-scratch` (lib test) due to 53 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `js-engine-from-scratch` (lib) due to 53 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b6885474172e4d53429cb4d9fbc0a825d10c11be460f7aca58c79388e9e07003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6885474172e4d53429cb4d9fbc0a825d10c11be460f7aca58c79388e9e07003", kill_on_drop: false }` [INFO] [stdout] b6885474172e4d53429cb4d9fbc0a825d10c11be460f7aca58c79388e9e07003