[INFO] fetching crate neptune-lang 0.1.3... [INFO] checking neptune-lang-0.1.3 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate neptune-lang 0.1.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate neptune-lang 0.1.3 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate neptune-lang 0.1.3 [INFO] finished tweaking crates.io crate neptune-lang 0.1.3 [INFO] tweaked toml for crates.io crate neptune-lang 0.1.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding num_enum v0.5.11 (available: v0.7.3) [INFO] [stderr] Adding num_enum_derive v0.5.11 (available: v0.7.3) [INFO] [stderr] Adding phf v0.10.1 (available: v0.11.2) [INFO] [stderr] Adding phf_generator v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding phf_macros v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding phf_shared v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 549397ae56adf3afe5563c0a3af27f12c2ba81b8b8a4872412364865d43ffbde [INFO] running `Command { std: "docker" "start" "-a" "549397ae56adf3afe5563c0a3af27f12c2ba81b8b8a4872412364865d43ffbde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "549397ae56adf3afe5563c0a3af27f12c2ba81b8b8a4872412364865d43ffbde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "549397ae56adf3afe5563c0a3af27f12c2ba81b8b8a4872412364865d43ffbde", kill_on_drop: false }` [INFO] [stdout] 549397ae56adf3afe5563c0a3af27f12c2ba81b8b8a4872412364865d43ffbde [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea08edc32cc936c0be43be6487d68d0c20ea1f2c8d19fc76415e8045aef3cbb8 [INFO] running `Command { std: "docker" "start" "-a" "ea08edc32cc936c0be43be6487d68d0c20ea1f2c8d19fc76415e8045aef3cbb8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling scratch v1.0.7 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling cxxbridge-flags v1.0.128 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cxx v1.0.128 [INFO] [stderr] Checking parse_int v0.6.0 [INFO] [stderr] Compiling cxx-build v1.0.128 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling cxxbridge-macro v1.0.128 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling neptune-lang v0.1.3 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `neptune_lang` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/compiler.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/vm.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `:`, `;`, `<`, `=`, or `where`, found `(` [INFO] [stderr] --> src/vm.rs:228:22 [INFO] [stderr] | [INFO] [stderr] 227 | extern "Rust" { [INFO] [stderr] | - while parsing this item list starting here [INFO] [stderr] 228 | type Usunsafe(erDat)a<'a>; [INFO] [stderr] | ^ expected one of `:`, `;`, `<`, `=`, or `where` [INFO] [stderr] 229 | } [INFO] [stderr] | - the item list ends here [INFO] [stderr] [INFO] [stderr] error: expected one of `->`, `;`, `where`, or `{`, found keyword `unsafe` [INFO] [stderr] --> src/vm.rs:249:58 [INFO] [stderr] | [INFO] [stderr] 231 | unsafe extern "C++" { [INFO] [stderr] | - while parsing this item list starting here [INFO] [stderr] ... [INFO] [stderr] 249 | fn write_u8(self: &mut FunctionInfoWriter, u: u8)unsafe ; [INFO] [stderr] | ^^^^^^ expected one of `->`, `;`, `where`, or `{` [INFO] [stderr] ... [INFO] [stderr] 372 | } [INFO] [stderr] | - the item list ends here [INFO] [stderr] [INFO] [stderr] error: expected `;` [INFO] [stderr] --> src/vm.rs:228:22 [INFO] [stderr] | [INFO] [stderr] 228 | type Usunsafe(erDat)a<'a>; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ffi` [INFO] [stderr] --> src/vm.rs:375:5 [INFO] [stderr] | [INFO] [stderr] 375 | use ffi::EFuncStatus; [INFO] [stderr] | ^^^ help: a similar path exists: `std::ffi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ffi` [INFO] [stderr] --> src/vm.rs:376:9 [INFO] [stderr] | [INFO] [stderr] 376 | pub use ffi::{new_vm, Data, FreeDataCallback, Op, VMStatus, VM}; [INFO] [stderr] | ^^^ help: a similar path exists: `std::ffi` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `run` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/lib.rs:289:45 [INFO] [stderr] | [INFO] [stderr] 289 | let mut result = unsafe { f.run() }; [INFO] [stderr] | ^^^ method not found in `FunctionInfoWriter<'_>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `run` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:38:21 [INFO] [stderr] | [INFO] [stderr] 38 | b.bc_writer.write_u8(Op::Return.repr); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'_>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `shrink` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:74:21 [INFO] [stderr] | [INFO] [stderr] 74 | b.bc_writer.shrink(); [INFO] [stderr] | ^^^^^^ method not found in `FunctionInfoWriter<'_>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `shrink` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_max_registers` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:75:21 [INFO] [stderr] | [INFO] [stderr] 75 | b.bc_writer.set_max_registers(b.max_registers); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'_>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `set_max_registers` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | b.bc_writer.write_u8(Op::Return.repr); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'_>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_op` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:243:34 [INFO] [stderr] | [INFO] [stderr] 243 | let pos = self.bc_writer.write_op(op, line); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_op` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:250:28 [INFO] [stderr] | [INFO] [stderr] 250 | self.bc_writer.write_u8(u); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:253:28 [INFO] [stderr] | [INFO] [stderr] 253 | self.bc_writer.write_u8(op.repr); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u16` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:254:28 [INFO] [stderr] | [INFO] [stderr] 254 | self.bc_writer.write_u16(u); [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u16` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u16`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:257:28 [INFO] [stderr] | [INFO] [stderr] 257 | self.bc_writer.write_u8(op.repr); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u32` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:258:28 [INFO] [stderr] | [INFO] [stderr] 258 | self.bc_writer.write_u32(u); [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u32` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u32`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:265:28 [INFO] [stderr] | [INFO] [stderr] 265 | self.bc_writer.write_u8(i as u8); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:268:28 [INFO] [stderr] | [INFO] [stderr] 268 | self.bc_writer.write_u8(op.repr); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u16` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:269:28 [INFO] [stderr] | [INFO] [stderr] 269 | self.bc_writer.write_u16(i as u16); [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u16` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u16`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:272:28 [INFO] [stderr] | [INFO] [stderr] 272 | self.bc_writer.write_u8(op.repr); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u32` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:273:28 [INFO] [stderr] | [INFO] [stderr] 273 | self.bc_writer.write_u32(i as u32); [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u32` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u32`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:281:32 [INFO] [stderr] | [INFO] [stderr] 281 | self.bc_writer.write_u8(u1); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:282:32 [INFO] [stderr] | [INFO] [stderr] 282 | self.bc_writer.write_u8(u2) [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:287:36 [INFO] [stderr] | [INFO] [stderr] 287 | self.bc_writer.write_u8(op.repr); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u16` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:288:36 [INFO] [stderr] | [INFO] [stderr] 288 | self.bc_writer.write_u16(u1); [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u16` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u16`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u16` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:289:36 [INFO] [stderr] | [INFO] [stderr] 289 | self.bc_writer.write_u16(u2) [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u16` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u16`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:293:36 [INFO] [stderr] | [INFO] [stderr] 293 | self.bc_writer.write_u8(op.repr); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u32` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:294:36 [INFO] [stderr] | [INFO] [stderr] 294 | self.bc_writer.write_u32(u1); [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u32` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u32`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u32` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:295:36 [INFO] [stderr] | [INFO] [stderr] 295 | self.bc_writer.write_u32(u2) [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u32` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u32`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:305:32 [INFO] [stderr] | [INFO] [stderr] 305 | self.bc_writer.write_u8(u1); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:306:32 [INFO] [stderr] | [INFO] [stderr] 306 | self.bc_writer.write_u8(u2); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:307:32 [INFO] [stderr] | [INFO] [stderr] 307 | self.bc_writer.write_u8(u3) [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:312:36 [INFO] [stderr] | [INFO] [stderr] 312 | self.bc_writer.write_u8(op.repr); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u16` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:313:36 [INFO] [stderr] | [INFO] [stderr] 313 | self.bc_writer.write_u16(u1); [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u16` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u16`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u16` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:314:36 [INFO] [stderr] | [INFO] [stderr] 314 | self.bc_writer.write_u16(u2); [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u16` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u16`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u16` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:315:36 [INFO] [stderr] | [INFO] [stderr] 315 | self.bc_writer.write_u16(u3) [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u16` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u16`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:319:36 [INFO] [stderr] | [INFO] [stderr] 319 | self.bc_writer.write_u8(op.repr); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u32` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:320:36 [INFO] [stderr] | [INFO] [stderr] 320 | self.bc_writer.write_u32(u1); [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u32` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u32`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u32` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:321:36 [INFO] [stderr] | [INFO] [stderr] 321 | self.bc_writer.write_u32(u2); [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u32` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u32`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u32` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:322:36 [INFO] [stderr] | [INFO] [stderr] 322 | self.bc_writer.write_u32(u3) [INFO] [stderr] | ^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u32` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u32`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `pop_last_op` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:330:24 [INFO] [stderr] | [INFO] [stderr] 330 | self.bc_writer.pop_last_op(pos); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `pop_last_op` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `int_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:407:40 [INFO] [stderr] | [INFO] [stderr] 407 | let c = self.bc_writer.int_constant(i); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `int_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add_upvalue` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:610:24 [INFO] [stderr] | [INFO] [stderr] 610 | self.bc_writer.add_upvalue(index, is_local); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `add_upvalue` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `shrink` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:618:24 [INFO] [stderr] | [INFO] [stderr] 618 | self.bc_writer.shrink(); [INFO] [stderr] | ^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `shrink` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_max_registers` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:619:24 [INFO] [stderr] | [INFO] [stderr] 619 | self.bc_writer.set_max_registers(self.max_registers); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `set_max_registers` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `symbol_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:786:55 [INFO] [stderr] | [INFO] [stderr] 786 | let property = self.bc_writer.symbol_constant(name.as_str().into()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `symbol_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reserve_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:829:44 [INFO] [stderr] | [INFO] [stderr] 829 | let c = self.bc_writer.reserve_constant(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `reserve_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:830:53 [INFO] [stderr] | [INFO] [stderr] 830 | let cond_check = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:833:53 [INFO] [stderr] | [INFO] [stderr] 833 | let if_end_pos = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reserve_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:835:48 [INFO] [stderr] | [INFO] [stderr] 835 | let c = self.bc_writer.reserve_constant(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `reserve_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:837:55 [INFO] [stderr] | [INFO] [stderr] 837 | let jump_end = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:839:30 [INFO] [stderr] | [INFO] [stderr] 838 | / self.bc_writer [INFO] [stderr] 839 | | .patch_jump(cond_check, (jump_end - cond_check) as u32); [INFO] [stderr] | | -^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | |_____________________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:841:55 [INFO] [stderr] | [INFO] [stderr] 841 | let else_end = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:843:30 [INFO] [stderr] | [INFO] [stderr] 842 | / self.bc_writer [INFO] [stderr] 843 | | .patch_jump(if_end_pos, (else_end - if_end_pos) as u32); [INFO] [stderr] | | -^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | |_____________________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:846:30 [INFO] [stderr] | [INFO] [stderr] 845 | / self.bc_writer [INFO] [stderr] 846 | | .patch_jump(cond_check, (if_end_pos - cond_check) as u32); [INFO] [stderr] | | -^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | |_____________________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:854:53 [INFO] [stderr] | [INFO] [stderr] 854 | let loop_start = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reserve_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:867:44 [INFO] [stderr] | [INFO] [stderr] 867 | let c = self.bc_writer.reserve_constant(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `reserve_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:868:58 [INFO] [stderr] | [INFO] [stderr] 868 | let loop_cond_check = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:871:58 [INFO] [stderr] | [INFO] [stderr] 871 | let almost_loop_end = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:877:51 [INFO] [stderr] | [INFO] [stderr] 877 | let loop_end = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:879:26 [INFO] [stderr] | [INFO] [stderr] 878 | / self.bc_writer [INFO] [stderr] 879 | | .patch_jump(loop_cond_check, (loop_end - loop_cond_check) as u32); [INFO] [stderr] | | -^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | |_________________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:883:48 [INFO] [stderr] | [INFO] [stderr] 883 | ... self.bc_writer.patch_jump(*b, (loop_end - b) as u32); [INFO] [stderr] | ^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reserve_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:920:48 [INFO] [stderr] | [INFO] [stderr] 920 | let c = self.bc_writer.reserve_constant(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `reserve_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:921:63 [INFO] [stderr] | [INFO] [stderr] 921 | let before_loop_prep = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:923:57 [INFO] [stderr] | [INFO] [stderr] 923 | let loop_start = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:936:62 [INFO] [stderr] | [INFO] [stderr] 936 | let loop_almost_end = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:943:55 [INFO] [stderr] | [INFO] [stderr] 943 | let loop_end = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:945:30 [INFO] [stderr] | [INFO] [stderr] 944 | / self.bc_writer [INFO] [stderr] 945 | | .patch_jump(before_loop_prep, (loop_end - before_loop_prep) as u32); [INFO] [stderr] | | -^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | |_____________________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:951:52 [INFO] [stderr] | [INFO] [stderr] 951 | ... self.bc_writer.patch_jump(*b, (loop_end - b) as u32); [INFO] [stderr] | ^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:954:52 [INFO] [stderr] | [INFO] [stderr] 954 | ... self.bc_writer.patch_jump(*c, (loop_almost_end - c) as u32); [INFO] [stderr] | ^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:977:57 [INFO] [stderr] | [INFO] [stderr] 977 | let loop_start = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `symbol_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:978:63 [INFO] [stderr] | [INFO] [stderr] 978 | let hasnext_property = self.bc_writer.symbol_constant("hasNext".into()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `symbol_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:988:40 [INFO] [stderr] | [INFO] [stderr] 988 | self.bc_writer.write_u8(0); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reserve_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:991:48 [INFO] [stderr] | [INFO] [stderr] 991 | let c = self.bc_writer.reserve_constant(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `reserve_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:992:62 [INFO] [stderr] | [INFO] [stderr] 992 | let loop_cond_check = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `symbol_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:996:60 [INFO] [stderr] | [INFO] [stderr] 996 | let next_property = self.bc_writer.symbol_constant("next".into()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `symbol_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_u8` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1000:40 [INFO] [stderr] | [INFO] [stderr] 1000 | self.bc_writer.write_u8(0); [INFO] [stderr] | ^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `write_u8` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `write_u8`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `Hasher` [INFO] [stderr] candidate #2: `serde_json::ser::Formatter` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1019:62 [INFO] [stderr] | [INFO] [stderr] 1019 | let almost_loop_end = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1025:55 [INFO] [stderr] | [INFO] [stderr] 1025 | let loop_end = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1027:30 [INFO] [stderr] | [INFO] [stderr] 1026 | / self.bc_writer [INFO] [stderr] 1027 | | .patch_jump(loop_cond_check, (loop_end - loop_cond_check) as u32); [INFO] [stderr] | | -^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | |_____________________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1031:52 [INFO] [stderr] | [INFO] [stderr] 1031 | ... self.bc_writer.patch_jump(*b, (loop_end - b) as u32); [INFO] [stderr] | ^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `fun_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1071:44 [INFO] [stderr] | [INFO] [stderr] 1071 | let c = self.bc_writer.fun_constant(bytecode); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `fun_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1110:56 [INFO] [stderr] | [INFO] [stderr] 1110 | let try_start_pos = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1112:54 [INFO] [stderr] | [INFO] [stderr] 1112 | let try_end_pos = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reserve_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1113:44 [INFO] [stderr] | [INFO] [stderr] 1113 | let c = self.bc_writer.reserve_constant(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `reserve_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1114:51 [INFO] [stderr] | [INFO] [stderr] 1114 | let jump_pos = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1126:58 [INFO] [stderr] | [INFO] [stderr] 1126 | let catch_start_pos = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1135:56 [INFO] [stderr] | [INFO] [stderr] 1135 | let catch_end_pos = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1137:26 [INFO] [stderr] | [INFO] [stderr] 1136 | / self.bc_writer [INFO] [stderr] 1137 | | .patch_jump(jump_pos, (catch_end_pos - jump_pos) as u32); [INFO] [stderr] | | -^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | |_________________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add_exception_handler` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1138:36 [INFO] [stderr] | [INFO] [stderr] 1138 | self.bc_writer.add_exception_handler( [INFO] [stderr] | ---------------^^^^^^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `add_exception_handler` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `class_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1159:48 [INFO] [stderr] | [INFO] [stderr] 1159 | let class = self.bc_writer.class_constant(name.as_str().into()); [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `class_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add_method` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1189:60 [INFO] [stderr] | [INFO] [stderr] 1189 | ... Ok(bytecode) => self.bc_writer.add_method( [INFO] [stderr] | ---------------^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `add_method` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `jump_table` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1201:53 [INFO] [stderr] | [INFO] [stderr] 1201 | let jump_table = self.bc_writer.jump_table(); [INFO] [stderr] | ^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `jump_table` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1207:55 [INFO] [stderr] | [INFO] [stderr] 1207 | let switch_start = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reserve_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1208:44 [INFO] [stderr] | [INFO] [stderr] 1208 | let c = self.bc_writer.reserve_constant(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `reserve_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1213:57 [INFO] [stderr] | [INFO] [stderr] 1213 | let case_start = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reserve_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1215:48 [INFO] [stderr] | [INFO] [stderr] 1215 | let c = self.bc_writer.reserve_constant(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `reserve_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1216:60 [INFO] [stderr] | [INFO] [stderr] 1216 | case_positions.push(self.bc_writer.size()); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `int_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1224:71 [INFO] [stderr] | [INFO] [stderr] 1224 | ... Literal::Int(i) => self.bc_writer.int_constant(*i), [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `int_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `float_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1225:73 [INFO] [stderr] | [INFO] [stderr] 1225 | ... Literal::Float(f) => self.bc_writer.float_constant(*f), [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `float_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `string_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1227:56 [INFO] [stderr] | [INFO] [stderr] 1227 | ... self.bc_writer.string_constant(s.as_str().into()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `string_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `symbol_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1230:56 [INFO] [stderr] | [INFO] [stderr] 1230 | ... self.bc_writer.symbol_constant(sym.as_str().into()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `symbol_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `null_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1232:69 [INFO] [stderr] | [INFO] [stderr] 1232 | ... Literal::Null => self.bc_writer.null_constant(), [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `null_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `bool_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1233:69 [INFO] [stderr] | [INFO] [stderr] 1233 | ... Literal::True => self.bc_writer.bool_constant(true), [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `bool_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `bool_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1234:70 [INFO] [stderr] | [INFO] [stderr] 1234 | ... Literal::False => self.bc_writer.bool_constant(false), [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `bool_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `insert_in_jump_table` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1238:52 [INFO] [stderr] | [INFO] [stderr] 1238 | ... if !self.bc_writer.insert_in_jump_table( [INFO] [stderr] | ---------------^^^^^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `insert_in_jump_table` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1250:50 [INFO] [stderr] | [INFO] [stderr] 1250 | let end_pos = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1253:30 [INFO] [stderr] | [INFO] [stderr] 1252 | / self.bc_writer [INFO] [stderr] 1253 | | .patch_jump(switch_start, (pos - switch_start) as u32); [INFO] [stderr] | | -^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | |_____________________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1256:30 [INFO] [stderr] | [INFO] [stderr] 1255 | / self.bc_writer [INFO] [stderr] 1256 | | .patch_jump(switch_start, (end_pos - switch_start) as u32); [INFO] [stderr] | | -^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | |_____________________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1259:40 [INFO] [stderr] | [INFO] [stderr] 1259 | self.bc_writer.patch_jump(pos, (end_pos - pos) as u32); [INFO] [stderr] | ^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1288:44 [INFO] [stderr] | [INFO] [stderr] 1288 | let break_pos = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reserve_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1323:36 [INFO] [stderr] | [INFO] [stderr] 1323 | let c = self.bc_writer.reserve_constant(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `reserve_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1347:55 [INFO] [stderr] | [INFO] [stderr] 1347 | let continue_pos = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1356:55 [INFO] [stderr] | [INFO] [stderr] 1356 | let continue_pos = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reserve_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1367:44 [INFO] [stderr] | [INFO] [stderr] 1367 | let c = self.bc_writer.reserve_constant(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `reserve_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `float_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1397:44 [INFO] [stderr] | [INFO] [stderr] 1397 | let c = self.bc_writer.float_constant(*f); [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `float_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `symbol_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1414:46 [INFO] [stderr] | [INFO] [stderr] 1414 | let sym = self.bc_writer.symbol_constant(sym.as_str().into()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `symbol_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1471:51 [INFO] [stderr] | [INFO] [stderr] 1471 | let jump_pos = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reserve_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1472:44 [INFO] [stderr] | [INFO] [stderr] 1472 | let c = self.bc_writer.reserve_constant(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `reserve_constant` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1476:46 [INFO] [stderr] | [INFO] [stderr] 1476 | let end = self.bc_writer.size(); [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stderr] --> src/compiler.rs:1477:36 [INFO] [stderr] | [INFO] [stderr] 1477 | self.bc_writer.patch_jump(jump_pos, (end - jump_pos) as u32); [INFO] [stderr] | ^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/vm.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | type UserData<'a>; [INFO] [stdout] | ^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 228 | type Usunsafe(erDat)a<'a>; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/vm.rs:288:51 [INFO] [stdout] | [INFO] [stdout] 288 | fn new_vm(user_data: Box>) -> UniquePtr; [INFO] [stdout] | ^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 288 | fn new_vm(user_data: Boxunsafe(>)) -> UniquePtr; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:246:79 [INFO] [stdout] | [INFO] [stdout] 246 | fn write_op(self: &mut FunctionInfoWriter, op: Op, line: u32) -> usize; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:248:65 [INFO] [stdout] | [INFO] [stdout] 248 | unsafe fn run(self: &mut FunctionInfoWriter) -> VMStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:249:58 [INFO] [stdout] | [INFO] [stdout] 249 | fn write_u8(self: &mut FunctionInfoWriter, u: u8); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:250:60 [INFO] [stdout] | [INFO] [stdout] 250 | fn write_u16(self: &mut FunctionInfoWriter, u: u16); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/compiler.rs:1483:51 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:251:60 [INFO] [stdout] | [INFO] [stdout] 251 | fn write_u32(self: &mut FunctionInfoWriter, u: u32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:252:66 [INFO] [stdout] | [INFO] [stdout] 252 | fn reserve_constant(self: &mut FunctionInfoWriter) -> u32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1483 | let jump_pos = self.bc_writer.size(); [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:253:72 [INFO] [stdout] | [INFO] [stdout] 253 | fn float_constant(self: &mut FunctionInfoWriter, f: f64) -> u32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:254:99 [INFO] [stdout] | [INFO] [stdout] 254 | fn string_constant<'vm, 's>(self: &mut FunctionInfoWriter<'vm>, s: StringSlice<'s>) -> u32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:255:99 [INFO] [stdout] | [INFO] [stdout] 255 | fn symbol_constant<'vm, 's>(self: &mut FunctionInfoWriter<'vm>, s: StringSlice<'s>) -> u32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:256:70 [INFO] [stdout] | [INFO] [stdout] 256 | fn int_constant(self: &mut FunctionInfoWriter, i: i32) -> u32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:257:85 [INFO] [stdout] | [INFO] [stdout] 257 | fn fun_constant(self: &mut FunctionInfoWriter, f: FunctionInfoWriter) -> u32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:258:49 [INFO] [stdout] | [INFO] [stdout] 258 | fn shrink(self: &mut FunctionInfoWriter); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:259:74 [INFO] [stdout] | [INFO] [stdout] 259 | fn pop_last_op(self: &mut FunctionInfoWriter, last_op_pos: usize); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:260:80 [INFO] [stdout] | [INFO] [stdout] 260 | fn set_max_registers(self: &mut FunctionInfoWriter, max_registers: u32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:261:98 [INFO] [stdout] | [INFO] [stdout] 261 | fn class_constant<'vm, 's>(self: &mut FunctionInfoWriter<'vm>, s: StringSlice<'s>) -> u32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:262:72 [INFO] [stdout] | [INFO] [stdout] 262 | fn bool_constant(self: &mut FunctionInfoWriter, b: bool) -> u32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:263:63 [INFO] [stdout] | [INFO] [stdout] 263 | fn null_constant(self: &mut FunctionInfoWriter) -> u32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0599]: no method named `reserve_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | ) -> bool; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/compiler.rs:1484:44 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:281:36 [INFO] [stdout] | [INFO] [stdout] 281 | ) -> Result; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:287:37 [INFO] [stdout] | [INFO] [stdout] 287 | ) -> FunctionInfoWriter<'vm>; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1484 | let c = self.bc_writer.reserve_constant(); [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:288:70 [INFO] [stdout] | [INFO] [stdout] 288 | fn new_vm(user_data: Box>) -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/vm.rs:289:54 [INFO] [stdout] | [INFO] [stdout] 289 | fn get_user_data<'vm>(self: &'vm VM) -> &'vm UserData; [INFO] [stdout] | --- ^^^^^^^^ this elided lifetime gets resolved as `'vm` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'vm` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:289:62 [INFO] [stdout] | [INFO] [stdout] 289 | fn get_user_data<'vm>(self: &'vm VM) -> &'vm UserData; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:291:57 [INFO] [stdout] | [INFO] [stdout] 291 | unsafe fn release(self: &mut FunctionInfoWriter); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:292:91 [INFO] [stdout] | [INFO] [stdout] 292 | fn patch_jump(self: &mut FunctionInfoWriter, op_position: usize, jump_offset: u32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:293:82 [INFO] [stdout] | [INFO] [stdout] 293 | fn add_upvalue(self: &mut FunctionInfoWriter, index: u32, is_local: bool); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ---------------------------------- method `reserve_constant` not found for this struct [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:300:10 [INFO] [stdout] | [INFO] [stdout] 300 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:301:60 [INFO] [stdout] | [INFO] [stdout] 301 | fn jump_table(self: &mut FunctionInfoWriter) -> u32; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0599]: no method named `size` found for struct `FunctionInfoWriter` in the current scope [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:306:18 [INFO] [stdout] | [INFO] [stdout] 306 | ) -> bool; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/compiler.rs:1488:46 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:307:52 [INFO] [stdout] | [INFO] [stdout] 307 | fn size(self: &FunctionInfoWriter) -> usize; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:308:43 [INFO] [stdout] | [INFO] [stdout] 308 | fn get_result(self: &VM) -> String; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1488 | let end = self.bc_writer.size(); [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:309:62 [INFO] [stdout] | [INFO] [stdout] 309 | fn create_module(self: &VM, module_name: StringSlice); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:310:75 [INFO] [stdout] | [INFO] [stdout] 310 | fn create_module_with_prelude(self: &VM, module_name: StringSlice); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:311:70 [INFO] [stdout] | [INFO] [stdout] 311 | fn module_exists(self: &VM, module_name: StringSlice) -> bool; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | ) -> bool; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:321:89 [INFO] [stdout] | [INFO] [stdout] 321 | fn kill_main_task(self: &VM, error: StringSlice, message: StringSlice) -> String; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:323:53 [INFO] [stdout] | [INFO] [stdout] 323 | fn push_int(self: &mut EFuncContext, i: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ---------------------------------- method `size` not found for this struct [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:324:55 [INFO] [stdout] | [INFO] [stdout] 324 | fn push_float(self: &mut EFuncContext, f: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:325:55 [INFO] [stdout] | [INFO] [stdout] 325 | fn push_bool(self: &mut EFuncContext, b: bool); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:326:46 [INFO] [stdout] | [INFO] [stdout] 326 | fn push_null(self: &mut EFuncContext); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: the following trait defines an item `size`, perhaps you need to implement it: [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:327:64 [INFO] [stdout] | [INFO] [stdout] 327 | fn push_string(self: &mut EFuncContext, s: StringSlice); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] candidate #1: `std::os::unix::fs::MetadataExt` [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:328:64 [INFO] [stdout] | [INFO] [stdout] 328 | fn push_symbol(self: &mut EFuncContext, s: StringSlice); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:329:53 [INFO] [stdout] | [INFO] [stdout] 329 | fn push_empty_array(self: &mut EFuncContext); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0599]: no method named `patch_jump` found for struct `FunctionInfoWriter` in the current scope [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:330:65 [INFO] [stdout] | [INFO] [stdout] 330 | fn push_to_array(self: &mut EFuncContext) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/compiler.rs:1489:36 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:331:54 [INFO] [stdout] | [INFO] [stdout] 331 | fn push_empty_object(self: &mut EFuncContext); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | ) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1489 | self.bc_writer.patch_jump(jump_pos, (end - jump_pos) as u32); [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:338:87 [INFO] [stdout] | [INFO] [stdout] 338 | fn set_object_property(self: &mut EFuncContext, s: StringSlice) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:339:71 [INFO] [stdout] | [INFO] [stdout] 339 | fn as_int(self: &mut EFuncContext, i: &mut i32) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:340:73 [INFO] [stdout] | [INFO] [stdout] 340 | fn as_float(self: &mut EFuncContext, d: &mut f64) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:341:73 [INFO] [stdout] | [INFO] [stdout] 341 | fn as_bool(self: &mut EFuncContext, b: &mut bool) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:342:59 [INFO] [stdout] | [INFO] [stdout] 342 | fn is_null(self: &mut EFuncContext) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:343:93 [INFO] [stdout] | [INFO] [stdout] 343 | fn as_string<'a>(self: &'a mut EFuncContext, s: &mut StringSlice<'a>) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ---------------------------------- method `patch_jump` not found for this struct [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:344:93 [INFO] [stdout] | [INFO] [stdout] 344 | fn as_symbol<'a>(self: &'a mut EFuncContext, s: &mut StringSlice<'a>) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:345:81 [INFO] [stdout] | [INFO] [stdout] 345 | fn get_array_length(self: &EFuncContext, len: &mut usize) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0599]: no method named `string_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:346:81 [INFO] [stdout] | [INFO] [stdout] 346 | fn get_array_element(self: &mut EFuncContext, pos: usize) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/compiler.rs:1529:46 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:347:90 [INFO] [stdout] | [INFO] [stdout] 347 | fn get_object_property(self: &mut EFuncContext, prop: StringSlice) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:348:48 [INFO] [stdout] | [INFO] [stdout] 348 | fn pop(self: &mut EFuncContext) -> bool; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1529 | let str = self.bc_writer.string_constant("".into()); [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:349:51 [INFO] [stdout] | [INFO] [stdout] 349 | fn push_empty_map(self: &mut EFuncContext); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:350:65 [INFO] [stdout] | [INFO] [stdout] 350 | fn insert_in_map(self: &mut EFuncContext) -> EFuncStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:351:57 [INFO] [stdout] | [INFO] [stdout] 351 | fn get_vm<'a>(self: &EFuncContext<'a>) -> &'a VM; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:353:81 [INFO] [stdout] | [INFO] [stdout] 353 | unsafe fn push_function(self: &mut EFuncContext, fw: FunctionInfoWriter); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:355:49 [INFO] [stdout] | [INFO] [stdout] 355 | unsafe fn release(self: &mut TaskHandle); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:356:67 [INFO] [stdout] | [INFO] [stdout] 356 | fn get_current_task<'vm>(self: &'vm VM) -> TaskHandle<'vm>; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ---------------------------------- method `string_constant` not found for this struct [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:363:22 [INFO] [stdout] | [INFO] [stdout] 363 | ) -> VMStatus; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0599]: no method named `string_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:371:87 [INFO] [stdout] | [INFO] [stdout] 371 | fn as_resource(self: &mut EFuncContext, status: &mut EFuncStatus) -> *mut Data; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/compiler.rs:1534:54 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/vm.rs:288:69 [INFO] [stdout] | [INFO] [stdout] 288 | fn new_vm(user_data: Box>) -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/vm.rs:439:25 [INFO] [stdout] | [INFO] [stdout] 439 | let callback = &mut *(data as *mut F); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/vm.rs:435:1 [INFO] [stdout] | [INFO] [stdout] 435 | / unsafe extern "C" fn trampoline(cx: EFuncContext, data: *mut c_void) -> VMStatus [INFO] [stdout] 436 | | where [INFO] [stdout] 437 | | F: FnMut(EFuncContext) -> bool + 'static, [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1534 | ... let str = self.bc_writer.string_constant(s.as_str().into()); [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/vm.rs:455:20 [INFO] [stdout] | [INFO] [stdout] 455 | let callback = Box::from_raw(data as *mut F); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/vm.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 451 | / unsafe extern "C" fn resume_trampoline(cx: EFuncContext, data: *mut c_void) -> VMStatus [INFO] [stdout] 452 | | where [INFO] [stdout] 453 | | F: FnOnce(EFuncContext) -> bool + 'static, [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^ method not found in `FunctionInfoWriter<'vm>` [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/vm.rs:477:25 [INFO] [stdout] | [INFO] [stdout] 477 | let callback = &mut *(data as *mut F); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/vm.rs:467:1 [INFO] [stdout] | [INFO] [stdout] 467 | / unsafe extern "C" fn async_trampoline( [INFO] [stdout] 468 | | mut cx: EFuncContext, [INFO] [stdout] 469 | | data: *mut c_void, [INFO] [stdout] 470 | | ) -> VMStatus [INFO] [stdout] ... | [INFO] [stdout] 474 | | T1: ToNeptuneValue + 'static, [INFO] [stdout] 475 | | T2: ToNeptuneValue + 'static, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/vm.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | Box::from_raw(data as *mut F); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/vm.rs:511:1 [INFO] [stdout] | [INFO] [stdout] 511 | pub unsafe extern "C" fn free_data(data: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ::: src/vm.rs:45:1 [INFO] [stdout] warning[E0133]: call to unsafe function `vm::ffi::>::push_function` is unsafe and requires unsafe block [INFO] [stdout] --> src/vm.rs:744:9 [INFO] [stdout] | [INFO] [stdout] 744 | self.0.push_function(fw) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/vm.rs:743:5 [INFO] [stdout] | [INFO] [stdout] 743 | pub(crate) unsafe fn function(&mut self, fw: FunctionInfoWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:445:12 [INFO] [stdout] | [INFO] [stdout] 445 | if let Some(expr) = Compiler::can_eval(&ast.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 445 ~ match Compiler::can_eval(&ast.0) { Some(expr) => { [INFO] [stdout] 446 | is_expr = true; [INFO] [stdout] 447 | compiler.eval(expr) [INFO] [stdout] 448 ~ } _ => { [INFO] [stdout] 449 | is_expr = false; [INFO] [stdout] 450 | compiler.exec(ast.0) [INFO] [stdout] 451 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 45 | pub struct FunctionInfoWriter<'vm> { [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:328:16 [INFO] [stdout] | [INFO] [stdout] 328 | if let Some(stmt) = self.statement(true, try_expr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 328 ~ match self.statement(true, try_expr) { Some(stmt) => { [INFO] [stdout] 329 | statements.push(stmt); [INFO] [stdout] 330 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ---------------------------------- method `string_constant` not found for this struct [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:418:16 [INFO] [stdout] | [INFO] [stdout] 418 | if let Some(expr) = self.prefix(self.previous.token_type.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 418 ~ match self.prefix(self.previous.token_type.clone()) { Some(expr) => { [INFO] [stdout] 419 | let mut expr = expr?; [INFO] [stdout] ... [INFO] [stdout] 425 | Ok(expr) [INFO] [stdout] 426 ~ } _ => { [INFO] [stdout] 427 | Err(self.error_at_previous("Expect expression".into())) [INFO] [stdout] 428 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1047:23 [INFO] [stdout] | [INFO] [stdout] 1047 | } else if let Some(stmt) = self.statement(false, false) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser.rs:1058:13 [INFO] [stdout] | [INFO] [stdout] 1058 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1047 ~ } else { match self.statement(false, false) { Some(stmt) => { [INFO] [stdout] 1048 | statements.push(stmt); [INFO] [stdout] ... [INFO] [stdout] 1057 | } [INFO] [stdout] 1058 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0599]: no method named `string_constant` found for struct `FunctionInfoWriter` in the current scope [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1074:16 [INFO] [stdout] | [INFO] [stdout] 1074 | if let Some(s) = s { [INFO] [stdout] | ^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser.rs:1084:13 [INFO] [stdout] | [INFO] [stdout] 1084 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1074 ~ match s { Some(s) => { [INFO] [stdout] 1075 | if matches!(s, Statement::If { .. } | Statement::Block { .. }) { [INFO] [stdout] ... [INFO] [stdout] 1083 | } [INFO] [stdout] 1084 ~ } _ => { [INFO] [stdout] 1085 | None [INFO] [stdout] 1086 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/compiler.rs:1549:66 [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | Box::from_raw(data as *mut F); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 512 | let _ = Box::from_raw(data as *mut F); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:526:12 [INFO] [stdout] | [INFO] [stdout] 526 | if let InterpretError::UncaughtException(e) = [INFO] [stdout] | ____________^ [INFO] [stdout] 527 | | n.exec_sync("