[INFO] fetching crate jvm 0.3.0...
[INFO] checking jvm-0.3.0 against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] extracting crate jvm 0.3.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate jvm 0.3.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate jvm 0.3.0
[INFO] tweaked toml for crates.io crate jvm 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate jvm 0.3.0 on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate jvm 0.3.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dyn-hash v1.0.0
[INFO] [stderr]   Downloaded jvm-types v0.3.0
[INFO] [stderr]   Downloaded syn v3.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f2d06a77c9721c2cbab521526e40bdea11700dd647f75075b4317c877d2e30dd
[INFO] running `Command { std: "docker" "start" "f2d06a77c9721c2cbab521526e40bdea11700dd647f75075b4317c877d2e30dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2d06a77c9721c2cbab521526e40bdea11700dd647f75075b4317c877d2e30dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2d06a77c9721c2cbab521526e40bdea11700dd647f75075b4317c877d2e30dd" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2d06a77c9721c2cbab521526e40bdea11700dd647f75075b4317c877d2e30dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2d06a77c9721c2cbab521526e40bdea11700dd647f75075b4317c877d2e30dd" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.104
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking memchr v2.8.1
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking bytemuck v1.25.2
[INFO] [stderr]     Checking dyn-hash v1.0.0
[INFO] [stderr]     Checking dyn-clone v1.0.20
[INFO] [stderr]     Checking jvm-types v0.3.0
[INFO] [stderr]     Checking hashbrown v0.17.1
[INFO] [stderr]     Checking event-listener v5.4.2
[INFO] [stderr]    Compiling syn v3.0.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling async-recursion v1.1.1
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling async-trait v0.1.92
[INFO] [stderr]     Checking jvm v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]  --> tests/test_is_instance.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use test_utils::test_jvm;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]  --> tests/test_garbage_collection.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use test_utils::{TestRuntime, create_test_jvm, test_jvm};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]  --> tests/test_string.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use test_utils::test_jvm;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> tests/test_is_instance.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let buffer = jvm.instantiate_array("B", 0).await?;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]    = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> tests/test_garbage_collection.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     jvm.collect_garbage()?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]    = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]  --> tests/test_string.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut chars = jvm.instantiate_array("C", 3).await?;
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider providing a type annotation
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]   = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instantiate_array` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let buffer = jvm.instantiate_array("B", 0).await?;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     jvm.collect_garbage()?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let bais = jvm.new_class("java/io/ByteArrayInputStream", "([B)V", (buffer,)).await?;
[INFO] [stdout]    |                    ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let bais = jvm.new_class("java/io/ByteArrayInputStream", "([B)V", (buffer,)).await?;
[INFO] [stdout]    |                ---           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |                |
[INFO] [stdout]    |                any code following this expression is unreachable
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let dis = jvm.new_class("java/io/DataInputStream", "(Ljava/io/InputStream;)V", (bais,)).await?;
[INFO] [stdout]    |                   ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let dis = jvm.new_class("java/io/DataInputStream", "(Ljava/io/InputStream;)V", (bais,)).await?;
[INFO] [stdout]    |               ---           ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |               |
[INFO] [stdout]    |               any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     jvm.push_native_frame();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     jvm.push_native_frame();
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instantiate_array` found for type `!` in the current scope
[INFO] [stdout]  --> tests/test_string.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut chars = jvm.instantiate_array("C", 3).await?;
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 |     assert!(jvm.is_instance(&*dis, "java/io/DataInput"));
[INFO] [stdout]    |                 ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |     assert!(jvm.is_instance(&*dis, "java/io/DataInput"));
[INFO] [stdout]    |             ---             ^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `store_array` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     jvm.store_array(&mut chars, 0, [0x61 as JavaChar, 0xd800, 0x62]).await?;
[INFO] [stdout]    |         ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |     assert!(jvm.is_instance(&*dis, "java/io/FilterInputStream"));
[INFO] [stdout]    |                 ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:27:29
[INFO] [stdout]    |
[INFO] [stdout] 27 |     assert!(jvm.is_instance(&*dis, "java/io/FilterInputStream"));
[INFO] [stdout]    |             ---             ^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_string.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     jvm.store_array(&mut chars, 0, [0x61 as JavaChar, 0xd800, 0x62]).await?;
[INFO] [stdout]    |     ---             ^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |     assert!(jvm.is_instance(&*dis, "java/lang/Object"));
[INFO] [stdout]    |                 ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:28:29
[INFO] [stdout]    |
[INFO] [stdout] 28 |     assert!(jvm.is_instance(&*dis, "java/lang/Object"));
[INFO] [stdout]    |             ---             ^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let string = jvm.new_class("java/lang/String", "([C)V", (chars,)).await?;
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_string.rs:12:32
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let string = jvm.new_class("java/lang/String", "([C)V", (chars,)).await?;
[INFO] [stdout]    |                  ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     assert!(!jvm.is_instance(&*dis, "java/io/DataOutput"));
[INFO] [stdout]    |                  ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:29:30
[INFO] [stdout]    |
[INFO] [stdout] 29 |     assert!(!jvm.is_instance(&*dis, "java/io/DataOutput"));
[INFO] [stdout]    |              ---             ^^^^^ unreachable expression
[INFO] [stdout]    |              |
[INFO] [stdout]    |              any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> tests/test_is_instance.rs:38:28
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let string_array = jvm.instantiate_array("Ljava/lang/String;", 1).await?;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instantiate_array` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:38:28
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let string_array = jvm.instantiate_array("Ljava/lang/String;", 1).await?;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_string.rs:14:47
[INFO] [stdout]    |
[INFO] [stdout] 14 |     assert_eq!(JavaLangString::to_rust_string(&jvm, &string).await?, "a\u{fffd}b");
[INFO] [stdout]    |                ------------------------------ ^^^^ expected `&Jvm`, found `&!`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Jvm`
[INFO] [stdout]               found reference `&!`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/runtime/java_lang_string.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub async fn to_rust_string(jvm: &Jvm, this: &Box<dyn ClassInstance>) -> Result<String> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_garbage_collection.rs:15:52
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let _string = JavaLangString::from_rust_string(&jvm, "test").await?;
[INFO] [stdout]    |                   -------------------------------- ^^^^ expected `&Jvm`, found `&!`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Jvm`
[INFO] [stdout]               found reference `&!`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/runtime/java_lang_string.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub async fn from_rust_string(jvm: &Jvm, string: &str) -> Result<Box<dyn ClassInstance>> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |     assert!(jvm.is_instance(&*string_array, "[Ljava/lang/Object;"));
[INFO] [stdout]    |                 ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:39:29
[INFO] [stdout]    |
[INFO] [stdout] 39 |     assert!(jvm.is_instance(&*string_array, "[Ljava/lang/Object;"));
[INFO] [stdout]    |             ---             ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> tests/test_string.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut chars = jvm.instantiate_array("C", 3).await?;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |     assert!(jvm.is_instance(&*string_array, "java/lang/Object"));
[INFO] [stdout]    |                 ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:40:29
[INFO] [stdout]    |
[INFO] [stdout] 40 |     assert!(jvm.is_instance(&*string_array, "java/lang/Object"));
[INFO] [stdout]    |             ---             ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instantiate_array` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut chars = jvm.instantiate_array("C", 3).await?;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                         --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |     assert!(jvm.is_instance(&*string_array, "java/lang/Cloneable"));
[INFO] [stdout]    |                 ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:41:29
[INFO] [stdout]    |
[INFO] [stdout] 41 |     assert!(jvm.is_instance(&*string_array, "java/lang/Cloneable"));
[INFO] [stdout]    |             ---             ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `store_array` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     jvm.store_array(&mut chars, 0, [0x61 as JavaChar, 0xd800, 0x62]).await?;
[INFO] [stdout]    |         ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_string.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 |     jvm.store_array(&mut chars, 0, [0x61 as JavaChar, 0xd800, 0x62]).await?;
[INFO] [stdout]    |     ---             ^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let string = jvm.new_class("java/lang/String", "([C)V", (chars,)).await?;
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_string.rs:26:32
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let string = jvm.new_class("java/lang/String", "([C)V", (chars,)).await?;
[INFO] [stdout]    |                  ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     jvm.pop_frame();
[INFO] [stdout]    |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |     assert!(jvm.is_instance(&*string_array, "java/io/Serializable"));
[INFO] [stdout]    |                 ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     jvm.pop_frame();
[INFO] [stdout]    |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_string.rs:28:41
[INFO] [stdout]    |
[INFO] [stdout] 28 |     assert_eq!(JavaLangString::to_utf16(&jvm, &string).await?, [0x61, 0xd800, 0x62]);
[INFO] [stdout]    |                ------------------------ ^^^^ expected `&Jvm`, found `&!`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Jvm`
[INFO] [stdout]               found reference `&!`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/runtime/java_lang_string.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout]  9 |     pub async fn to_utf16(jvm: &Jvm, this: &Box<dyn ClassInstance>) -> Result<Vec<JavaChar>> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 |     assert!(jvm.is_instance(&*string_array, "java/io/Serializable"));
[INFO] [stdout]    |             ---             ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> tests/test_string.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut chars = jvm.instantiate_array("C", 3).await?;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instantiate_array` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut chars = jvm.instantiate_array("C", 3).await?;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |     assert!(jvm.is_instance(&*string_array, "[Ljava/lang/String;"));
[INFO] [stdout]    |                 ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |     assert!(jvm.is_instance(&*string_array, "[Ljava/lang/String;"));
[INFO] [stdout]    |             ---             ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:22:29
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:22:29
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                         --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `store_array` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     jvm.store_array(&mut chars, 0, [0x61 as JavaChar, 0xd800, 0x62]).await?;
[INFO] [stdout]    |         ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_string.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |     jvm.store_array(&mut chars, 0, [0x61 as JavaChar, 0xd800, 0x62]).await?;
[INFO] [stdout]    |     ---             ^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let string = jvm.new_class("java/lang/String", "([C)V", (chars,)).await?;
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_string.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let string = jvm.new_class("java/lang/String", "([C)V", (chars,)).await?;
[INFO] [stdout]    |                  ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |     assert!(!jvm.is_instance(&*string_array, "[Ljava/lang/Integer;"));
[INFO] [stdout]    |                  ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:44:30
[INFO] [stdout]    |
[INFO] [stdout] 44 |     assert!(!jvm.is_instance(&*string_array, "[Ljava/lang/Integer;"));
[INFO] [stdout]    |              ---             ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |              |
[INFO] [stdout]    |              any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `invoke_virtual` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let sub = jvm
[INFO] [stdout] 42 |         .invoke_virtual(&string, &string.class_definition().name(), "substring", "(II)Ljava/lang/String;", (1, 3))
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_string.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let sub = jvm
[INFO] [stdout]    |               --- any code following this expression is unreachable
[INFO] [stdout] 42 |         .invoke_virtual(&string, &string.class_definition().name(), "substring", "(II)Ljava/lang/String;", (1, 3))
[INFO] [stdout]    |                         ^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> tests/test_string.rs:42:42
[INFO] [stdout]    |
[INFO] [stdout] 42 |         .invoke_virtual(&string, &string.class_definition().name(), "substring", "(II)Ljava/lang/String;", (1, 3))
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instantiate_array` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let int_array = jvm.instantiate_array("I", 1).await?;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:46:43
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let int_array = jvm.instantiate_array("I", 1).await?;
[INFO] [stdout]    |                     ---                   ^^^ unreachable expression
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `class_definition` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:42:42
[INFO] [stdout]    |
[INFO] [stdout] 42 |         .invoke_virtual(&string, &string.class_definition().name(), "substring", "(II)Ljava/lang/String;", (1, 3))
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_string.rs:45:41
[INFO] [stdout]    |
[INFO] [stdout] 45 |     assert_eq!(JavaLangString::to_utf16(&jvm, &sub).await?, [0xd800, 0x62]);
[INFO] [stdout]    |                ------------------------ ^^^^ expected `&Jvm`, found `&!`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Jvm`
[INFO] [stdout]               found reference `&!`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/runtime/java_lang_string.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout]  9 |     pub async fn to_utf16(jvm: &Jvm, this: &Box<dyn ClassInstance>) -> Result<Vec<JavaChar>> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |     assert!(jvm.is_instance(&*int_array, "java/lang/Object"));
[INFO] [stdout]    |                 ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:47:29
[INFO] [stdout]    |
[INFO] [stdout] 47 |     assert!(jvm.is_instance(&*int_array, "java/lang/Object"));
[INFO] [stdout]    |             ---             ^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 48 |     assert!(!jvm.is_instance(&*int_array, "[Ljava/lang/Object;"));
[INFO] [stdout]    |                  ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:48:30
[INFO] [stdout]    |
[INFO] [stdout] 48 |     assert!(!jvm.is_instance(&*int_array, "[Ljava/lang/Object;"));
[INFO] [stdout]    |              ---             ^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |              |
[INFO] [stdout]    |              any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> tests/test_string.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     jvm.collect_garbage()?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |     assert!(!jvm.is_instance(&*int_array, "[J"));
[INFO] [stdout]    |                  ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |     assert!(!jvm.is_instance(&*int_array, "[J"));
[INFO] [stdout]    |              ---             ^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |              |
[INFO] [stdout]    |              any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     jvm.collect_garbage()?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instantiate_array` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let nested = jvm.instantiate_array("[Ljava/lang/String;", 1).await?;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:51:40
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let nested = jvm.instantiate_array("[Ljava/lang/String;", 1).await?;
[INFO] [stdout]    |                  ---                   ^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `intern_string` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let a = jvm.intern_string("interned").await?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `to_string` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/alloc/src/string.rs:2957:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_string.rs:81:31
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let a = jvm.intern_string("interned").await?;
[INFO] [stdout]    |             ---               ^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |     assert!(jvm.is_instance(&*nested, "[Ljava/lang/Object;"));
[INFO] [stdout]    |                 ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |     assert!(jvm.is_instance(&*nested, "[Ljava/lang/Object;"));
[INFO] [stdout]    |             ---             ^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `intern_string` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let b = jvm.intern_string("interned").await?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `to_string` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/alloc/src/string.rs:2957:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_string.rs:82:31
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let b = jvm.intern_string("interned").await?;
[INFO] [stdout]    |             ---               ^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |     assert!(jvm.is_instance(&*nested, "[[Ljava/lang/Object;"));
[INFO] [stdout]    |                 ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_string.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                         --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:53:29
[INFO] [stdout]    |
[INFO] [stdout] 53 |     assert!(jvm.is_instance(&*nested, "[[Ljava/lang/Object;"));
[INFO] [stdout]    |             ---             ^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `intern_string` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_string.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let c = jvm.intern_string("interned").await?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `to_string` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/alloc/src/string.rs:2957:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_string.rs:90:31
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let c = jvm.intern_string("interned").await?;
[INFO] [stdout]    |             ---               ^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_string.rs:100:25
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let mut chars = jvm.instantiate_array("C", 3).await?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |     assert!(jvm.is_instance(&*nested, "[[Ljava/lang/String;"));
[INFO] [stdout]    |                 ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |     assert!(jvm.is_instance(&*nested, "[[Ljava/lang/String;"));
[INFO] [stdout]    |             ---             ^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     jvm.push_native_frame();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     jvm.push_native_frame();
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `resolve_class` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let _ = jvm.resolve_class("java/util/Random").await?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_garbage_collection.rs:29:31
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let _ = jvm.resolve_class("java/util/Random").await?;
[INFO] [stdout]    |             ---               ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     jvm.pop_frame();
[INFO] [stdout]    |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     jvm.pop_frame();
[INFO] [stdout]    |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                         --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     jvm.push_native_frame();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     jvm.push_native_frame();
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let _random = jvm.new_class("java/util/Random", "()V", ()).await?;
[INFO] [stdout]    |                       ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_garbage_collection.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let _random = jvm.new_class("java/util/Random", "()V", ()).await?;
[INFO] [stdout]    |                   ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     jvm.pop_frame();
[INFO] [stdout]    |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     jvm.pop_frame();
[INFO] [stdout]    |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:41:29
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:41:29
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                         --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     jvm.push_native_frame();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     jvm.push_native_frame();
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instantiate_array` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:56:28
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let object_array = jvm.instantiate_array("Ljava/lang/Object;", 1).await?;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let object_array = jvm.instantiate_array("Ljava/lang/Object;", 1).await?;
[INFO] [stdout]    |                        ---                   ^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `resolve_class` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let _ = jvm.resolve_class("java/util/Vector").await?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_garbage_collection.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let _ = jvm.resolve_class("java/util/Vector").await?;
[INFO] [stdout]    |             ---               ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instantiate_array` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_string.rs:100:25
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let mut chars = jvm.instantiate_array("C", 3).await?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `store_array` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_string.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     jvm.store_array(&mut chars, 0, [0x61 as JavaChar, 0x62, 0x63]).await?;
[INFO] [stdout]     |         ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_string.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |     jvm.store_array(&mut chars, 0, [0x61 as JavaChar, 0x62, 0x63]).await?;
[INFO] [stdout]     |     ---             ^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_is_instance.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 |     assert!(!jvm.is_instance(&*object_array, "[Ljava/lang/String;"));
[INFO] [stdout]    |                  ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_is_instance.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 57 |     assert!(!jvm.is_instance(&*object_array, "[Ljava/lang/String;"));
[INFO] [stdout]    |              ---             ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |              |
[INFO] [stdout]    |              any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     jvm.pop_frame();
[INFO] [stdout]    |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     jvm.pop_frame();
[INFO] [stdout]    |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:49:29
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:49:29
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                         --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `load_array` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_string.rs:104:49
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let result: Result<Vec<JavaChar>> = jvm.load_array(&chars, offset, 3).await;
[INFO] [stdout]     |                                                 ^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_string.rs:104:60
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let result: Result<Vec<JavaChar>> = jvm.load_array(&chars, offset, 3).await;
[INFO] [stdout]     |                                             ---            ^^^^^^ unreachable expression
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_instance` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_string.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |         assert!(jvm.is_instance(&*exception, "java/lang/ArrayIndexOutOfBoundsException"));
[INFO] [stdout]     |                     ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_string.rs:108:33
[INFO] [stdout]     |
[INFO] [stdout] 108 |         assert!(jvm.is_instance(&*exception, "java/lang/ArrayIndexOutOfBoundsException"));
[INFO] [stdout]     |                 ---             ^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:54:39
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let remaining_garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:54:39
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let remaining_garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                                   --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `store_array` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_string.rs:110:26
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let result = jvm.store_array(&mut chars, offset, [0x64 as JavaChar]).await;
[INFO] [stdout]     |                          ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jvm` (test "test_is_instance") due to 25 previous errors; 26 warnings emitted
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_string.rs:110:38
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let result = jvm.store_array(&mut chars, offset, [0x64 as JavaChar]).await;
[INFO] [stdout]     |                      ---             ^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     jvm.push_native_frame();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     jvm.push_native_frame();
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let vector = jvm.new_class("java/util/Vector", "()V", ()).await?;
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_garbage_collection.rs:59:32
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let vector = jvm.new_class("java/util/Vector", "()V", ()).await?;
[INFO] [stdout]    |                  ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `load_array` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_string.rs:114:37
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let loaded: Vec<JavaChar> = jvm.load_array(&chars, 0, 3).await?;
[INFO] [stdout]     |                                     ^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_string.rs:114:48
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let loaded: Vec<JavaChar> = jvm.load_array(&chars, 0, 3).await?;
[INFO] [stdout]     |                                 ---            ^^^^^^ unreachable expression
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `invoke_virtual` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let _: () = jvm
[INFO] [stdout] 61 |         .invoke_virtual(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_garbage_collection.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let _: () = jvm
[INFO] [stdout]    |                 --- any code following this expression is unreachable
[INFO] [stdout] 61 |         .invoke_virtual(
[INFO] [stdout] 62 |             &vector,
[INFO] [stdout]    |             ^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> tests/test_garbage_collection.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |             &vector.class_definition().name(),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `class_definition` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |             &vector.class_definition().name(),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_garbage_collection.rs:66:47
[INFO] [stdout]    |
[INFO] [stdout] 66 |             (JavaLangString::from_rust_string(&jvm, "test").await?,),
[INFO] [stdout]    |              -------------------------------- ^^^^ expected `&Jvm`, found `&!`
[INFO] [stdout]    |              |
[INFO] [stdout]    |              arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Jvm`
[INFO] [stdout]               found reference `&!`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/runtime/java_lang_string.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub async fn from_rust_string(jvm: &Jvm, string: &str) -> Result<Box<dyn ClassInstance>> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jvm` (test "test_string") due to 26 previous errors; 28 warnings emitted
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:70:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:70:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                         --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:72:20
[INFO] [stdout]    |
[INFO] [stdout] 72 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:72:20
[INFO] [stdout]    |
[INFO] [stdout] 72 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]    |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |                |
[INFO] [stdout]    |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     jvm.pop_frame();
[INFO] [stdout]    |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     jvm.pop_frame();
[INFO] [stdout]    |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:77:29
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:77:29
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]    |                         --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> tests/test_garbage_collection.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     jvm.collect_garbage()?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     jvm.collect_garbage()?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     jvm.push_native_frame();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> tests/test_garbage_collection.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     jvm.push_native_frame();
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]    |     |
[INFO] [stdout]    |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let hashtable = jvm.new_class("java/util/Hashtable", "()V", ()).await?;
[INFO] [stdout]    |                         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_garbage_collection.rs:91:35
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let hashtable = jvm.new_class("java/util/Hashtable", "()V", ()).await?;
[INFO] [stdout]    |                     ---           ^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_garbage_collection.rs:93:48
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let key = JavaLangString::from_rust_string(&jvm, "key").await?;
[INFO] [stdout]    |               -------------------------------- ^^^^ expected `&Jvm`, found `&!`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Jvm`
[INFO] [stdout]               found reference `&!`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/runtime/java_lang_string.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub async fn from_rust_string(jvm: &Jvm, string: &str) -> Result<Box<dyn ClassInstance>> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_garbage_collection.rs:94:50
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let value = JavaLangString::from_rust_string(&jvm, "value").await?;
[INFO] [stdout]    |                 -------------------------------- ^^^^ expected `&Jvm`, found `&!`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Jvm`
[INFO] [stdout]               found reference `&!`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/runtime/java_lang_string.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub async fn from_rust_string(jvm: &Jvm, string: &str) -> Result<Box<dyn ClassInstance>> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `invoke_virtual` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:96:10
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let _: JavaValue = jvm
[INFO] [stdout] 96 |         .invoke_virtual(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> tests/test_garbage_collection.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let _: JavaValue = jvm
[INFO] [stdout]    |                        --- any code following this expression is unreachable
[INFO] [stdout] 96 |         .invoke_virtual(
[INFO] [stdout] 97 |             &hashtable,
[INFO] [stdout]    |             ^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> tests/test_garbage_collection.rs:98:24
[INFO] [stdout]    |
[INFO] [stdout] 98 |             &hashtable.class_definition().name(),
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `class_definition` found for type `!` in the current scope
[INFO] [stdout]   --> tests/test_garbage_collection.rs:98:24
[INFO] [stdout]    |
[INFO] [stdout] 98 |             &hashtable.class_definition().name(),
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:107:29
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:107:29
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]     |                         --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let garbage_count = jvm.collect_garbage()?;
[INFO] [stdout]     |                         --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     jvm.collect_garbage()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     jvm.collect_garbage()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |     jvm.push_native_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/test_garbage_collection.rs:128:51
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let parent = JavaLangString::from_rust_string(&jvm, "HelloWorld").await?;
[INFO] [stdout]     |                  -------------------------------- ^^^^ expected `&Jvm`, found `&!`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Jvm`
[INFO] [stdout]                found reference `&!`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/runtime/java_lang_string.rs:29:18
[INFO] [stdout]     |
[INFO] [stdout]  29 |     pub async fn from_rust_string(jvm: &Jvm, string: &str) -> Result<Box<dyn ClassInstance>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `invoke_virtual` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:130:10
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let child: ClassInstanceRef<String> = jvm
[INFO] [stdout] 130 |         .invoke_virtual(&parent, &parent.class_definition().name(), "substring", "(II)Ljava/lang/String;", (2, 5))
[INFO] [stdout]     |          ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:130:25
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let child: ClassInstanceRef<String> = jvm
[INFO] [stdout]     |                                           --- any code following this expression is unreachable
[INFO] [stdout] 130 |         .invoke_virtual(&parent, &parent.class_definition().name(), "substring", "(II)Ljava/lang/String;", (2, 5))
[INFO] [stdout]     |                         ^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_global_ref` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:132:21
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let child = jvm.new_global_ref(&child).unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:132:36
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let child = jvm.new_global_ref(&child).unwrap();
[INFO] [stdout]     |                 ---                ^^^^^^ unreachable expression
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:136:20
[INFO] [stdout]     |
[INFO] [stdout] 136 |     assert_eq!(jvm.collect_garbage()?, 1);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:136:20
[INFO] [stdout]     |
[INFO] [stdout] 136 |     assert_eq!(jvm.collect_garbage()?, 1);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     jvm.push_native_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/test_garbage_collection.rs:139:47
[INFO] [stdout]     |
[INFO] [stdout] 139 |     assert_eq!(JavaLangString::to_rust_string(&jvm, &child).await?, "llo");
[INFO] [stdout]     |                ------------------------------ ^^^^ expected `&Jvm`, found `&!`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Jvm`
[INFO] [stdout]                found reference `&!`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/runtime/java_lang_string.rs:25:18
[INFO] [stdout]     |
[INFO] [stdout]  25 |     pub async fn to_rust_string(jvm: &Jvm, this: &Box<dyn ClassInstance>) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |     jvm.collect_garbage()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |     jvm.collect_garbage()?;
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:144:20
[INFO] [stdout]     |
[INFO] [stdout] 144 |     assert_eq!(jvm.collect_garbage()?, 2);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:144:20
[INFO] [stdout]     |
[INFO] [stdout] 144 |     assert_eq!(jvm.collect_garbage()?, 2);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     jvm.collect_garbage()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     jvm.collect_garbage()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 157 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 157 |     jvm.push_native_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:158:48
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                                ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:158:58
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                            ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:158:96
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                                ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_global_ref` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let first = jvm.new_global_ref(&object).unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:159:36
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let first = jvm.new_global_ref(&object).unwrap();
[INFO] [stdout]     |                 ---                ^^^^^^^ unreachable expression
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ClassInstanceRef<Object>: From<!>` is not satisfied
[INFO] [stdout]    --> tests/test_garbage_collection.rs:158:96
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                                ^^^^ the trait `From<!>` is not implemented for `ClassInstanceRef<Object>`
[INFO] [stdout]     |
[INFO] [stdout] help: `ClassInstanceRef<T>` implements trait `From<T>`
[INFO] [stdout]    --> src/class_instance.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl<T> From<Box<dyn ClassInstance>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Box<dyn ClassInstance>>`
[INFO] [stdout] ...
[INFO] [stdout] 139 | impl<T> From<Option<Box<dyn ClassInstance>>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Option<Box<dyn ClassInstance>>>`
[INFO] [stdout] ...
[INFO] [stdout] 148 | impl<T> From<JavaValue> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<JavaValue>`
[INFO] [stdout]     = note: required for `!` to implement `Into<ClassInstanceRef<Object>>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/jvm/a6b26c0a2edda982/out/test_garbage_collection-a6b26c0a2edda982.long-type-1922566343168825191.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_global_ref` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:160:22
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let second = jvm.new_global_ref(&object).unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:160:37
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let second = jvm.new_global_ref(&object).unwrap();
[INFO] [stdout]     |                  ---                ^^^^^^^ unreachable expression
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:163:20
[INFO] [stdout]     |
[INFO] [stdout] 163 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:163:20
[INFO] [stdout]     |
[INFO] [stdout] 163 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:165:20
[INFO] [stdout]     |
[INFO] [stdout] 165 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:165:20
[INFO] [stdout]     |
[INFO] [stdout] 165 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |     assert_eq!(jvm.collect_garbage()?, 1);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |     assert_eq!(jvm.collect_garbage()?, 1);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_global_ref` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:170:17
[INFO] [stdout]     |
[INFO] [stdout] 170 |     assert!(jvm.new_global_ref(&null).is_none());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:170:32
[INFO] [stdout]     |
[INFO] [stdout] 170 |     assert!(jvm.new_global_ref(&null).is_none());
[INFO] [stdout]     |             ---                ^^^^^ unreachable expression
[INFO] [stdout]     |             |
[INFO] [stdout]     |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instantiate_array` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:182:50
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let _: ClassInstanceRef<Array<Object>> = jvm.instantiate_array("Ljava/lang/Object;", 0).await?.into();
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:182:68
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let _: ClassInstanceRef<Array<Object>> = jvm.instantiate_array("Ljava/lang/Object;", 0).await?.into();
[INFO] [stdout]     |                                              ---                   ^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:182:100
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let _: ClassInstanceRef<Array<Object>> = jvm.instantiate_array("Ljava/lang/Object;", 0).await?.into();
[INFO] [stdout]     |                                                                                                    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ClassInstanceRef<Array<Object>>: From<!>` is not satisfied
[INFO] [stdout]    --> tests/test_garbage_collection.rs:182:100
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let _: ClassInstanceRef<Array<Object>> = jvm.instantiate_array("Ljava/lang/Object;", 0).await?.into();
[INFO] [stdout]     |                                                                                                    ^^^^ the trait `From<!>` is not implemented for `ClassInstanceRef<jvm::Array<array_load_result_is_a_local_reference::{closure#0}::Object>>`
[INFO] [stdout]     |
[INFO] [stdout] help: `ClassInstanceRef<T>` implements trait `From<T>`
[INFO] [stdout]    --> src/class_instance.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl<T> From<Box<dyn ClassInstance>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Box<dyn ClassInstance>>`
[INFO] [stdout] ...
[INFO] [stdout] 139 | impl<T> From<Option<Box<dyn ClassInstance>>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Option<Box<dyn ClassInstance>>>`
[INFO] [stdout] ...
[INFO] [stdout] 148 | impl<T> From<JavaValue> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<JavaValue>`
[INFO] [stdout]     = note: required for `!` to implement `Into<ClassInstanceRef<Array<Object>>>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/jvm/a6b26c0a2edda982/out/test_garbage_collection-a6b26c0a2edda982.long-type-10008057240954307094.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |     jvm.collect_garbage()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |     jvm.collect_garbage()?;
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |     jvm.push_native_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instantiate_array` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:187:58
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let mut array: ClassInstanceRef<Array<Object>> = jvm.instantiate_array("Ljava/lang/Object;", 1).await?.into();
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:187:76
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let mut array: ClassInstanceRef<Array<Object>> = jvm.instantiate_array("Ljava/lang/Object;", 1).await?.into();
[INFO] [stdout]     |                                                      ---                   ^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                                                      |
[INFO] [stdout]     |                                                      any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:187:108
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let mut array: ClassInstanceRef<Array<Object>> = jvm.instantiate_array("Ljava/lang/Object;", 1).await?.into();
[INFO] [stdout]     |                                                                                                            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ClassInstanceRef<Array<Object>>: From<!>` is not satisfied
[INFO] [stdout]    --> tests/test_garbage_collection.rs:187:108
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let mut array: ClassInstanceRef<Array<Object>> = jvm.instantiate_array("Ljava/lang/Object;", 1).await?.into();
[INFO] [stdout]     |                                                                                                            ^^^^ the trait `From<!>` is not implemented for `ClassInstanceRef<jvm::Array<array_load_result_is_a_local_reference::{closure#0}::Object>>`
[INFO] [stdout]     |
[INFO] [stdout] help: `ClassInstanceRef<T>` implements trait `From<T>`
[INFO] [stdout]    --> src/class_instance.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl<T> From<Box<dyn ClassInstance>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Box<dyn ClassInstance>>`
[INFO] [stdout] ...
[INFO] [stdout] 139 | impl<T> From<Option<Box<dyn ClassInstance>>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Option<Box<dyn ClassInstance>>>`
[INFO] [stdout] ...
[INFO] [stdout] 148 | impl<T> From<JavaValue> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<JavaValue>`
[INFO] [stdout]     = note: required for `!` to implement `Into<ClassInstanceRef<Array<Object>>>`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/build/jvm/a6b26c0a2edda982/out/test_garbage_collection-a6b26c0a2edda982.long-type-10008057240954307094.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:188:48
[INFO] [stdout]     |
[INFO] [stdout] 188 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                                ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:188:58
[INFO] [stdout]     |
[INFO] [stdout] 188 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                            ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:188:96
[INFO] [stdout]     |
[INFO] [stdout] 188 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                                ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ClassInstanceRef<array_load_result_is_a_local_reference::{closure#0}::Object>: From<!>` is not satisfied
[INFO] [stdout]    --> tests/test_garbage_collection.rs:188:96
[INFO] [stdout]     |
[INFO] [stdout] 188 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                                ^^^^ the trait `From<!>` is not implemented for `ClassInstanceRef<array_load_result_is_a_local_reference::{closure#0}::Object>`
[INFO] [stdout]     |
[INFO] [stdout] help: `ClassInstanceRef<T>` implements trait `From<T>`
[INFO] [stdout]    --> src/class_instance.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl<T> From<Box<dyn ClassInstance>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Box<dyn ClassInstance>>`
[INFO] [stdout] ...
[INFO] [stdout] 139 | impl<T> From<Option<Box<dyn ClassInstance>>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Option<Box<dyn ClassInstance>>>`
[INFO] [stdout] ...
[INFO] [stdout] 148 | impl<T> From<JavaValue> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<JavaValue>`
[INFO] [stdout]     = note: required for `!` to implement `Into<ClassInstanceRef<array_load_result_is_a_local_reference::{closure#0}::Object>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `store_array` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 189 |     jvm.store_array(&mut array, 0, [object]).await?;
[INFO] [stdout]     |         ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:189:21
[INFO] [stdout]     |
[INFO] [stdout] 189 |     jvm.store_array(&mut array, 0, [object]).await?;
[INFO] [stdout]     |     ---             ^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_global_ref` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:190:21
[INFO] [stdout]     |
[INFO] [stdout] 190 |     let array = jvm.new_global_ref(&array).unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:190:36
[INFO] [stdout]     |
[INFO] [stdout] 190 |     let array = jvm.new_global_ref(&array).unwrap();
[INFO] [stdout]     |                 ---                ^^^^^^ unreachable expression
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:193:20
[INFO] [stdout]     |
[INFO] [stdout] 193 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:193:20
[INFO] [stdout]     |
[INFO] [stdout] 193 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |     jvm.push_native_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `load_array` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:196:48
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let _: Vec<ClassInstanceRef<Object>> = jvm.load_array(&array, 0, 1).await?;
[INFO] [stdout]     |                                                ^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:196:59
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let _: Vec<ClassInstanceRef<Object>> = jvm.load_array(&array, 0, 1).await?;
[INFO] [stdout]     |                                            ---            ^^^^^^ unreachable expression
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `store_array` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |     jvm.store_array(&mut mutable_array, 0, [ClassInstanceRef::<Object>::new(None)]).await?;
[INFO] [stdout]     |         ^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:198:21
[INFO] [stdout]     |
[INFO] [stdout] 198 |     jvm.store_array(&mut mutable_array, 0, [ClassInstanceRef::<Object>::new(None)]).await?;
[INFO] [stdout]     |     ---             ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:199:20
[INFO] [stdout]     |
[INFO] [stdout] 199 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:199:20
[INFO] [stdout]     |
[INFO] [stdout] 199 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:202:20
[INFO] [stdout]     |
[INFO] [stdout] 202 |     assert_eq!(jvm.collect_garbage()?, 1);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:202:20
[INFO] [stdout]     |
[INFO] [stdout] 202 |     assert_eq!(jvm.collect_garbage()?, 1);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:204:20
[INFO] [stdout]     |
[INFO] [stdout] 204 |     assert_eq!(jvm.collect_garbage()?, 1);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:204:20
[INFO] [stdout]     |
[INFO] [stdout] 204 |     assert_eq!(jvm.collect_garbage()?, 1);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:217:43
[INFO] [stdout]     |
[INFO] [stdout] 217 |     let _: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "()V", ()).await?.into();
[INFO] [stdout]     |                                           ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:217:53
[INFO] [stdout]     |
[INFO] [stdout] 217 |     let _: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "()V", ()).await?.into();
[INFO] [stdout]     |                                       ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:217:91
[INFO] [stdout]     |
[INFO] [stdout] 217 |     let _: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Vector>: From<!>` is not satisfied
[INFO] [stdout]    --> tests/test_garbage_collection.rs:217:91
[INFO] [stdout]     |
[INFO] [stdout] 217 |     let _: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                           ^^^^ the trait `From<!>` is not implemented for `ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Vector>`
[INFO] [stdout]     |
[INFO] [stdout] help: `ClassInstanceRef<T>` implements trait `From<T>`
[INFO] [stdout]    --> src/class_instance.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl<T> From<Box<dyn ClassInstance>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Box<dyn ClassInstance>>`
[INFO] [stdout] ...
[INFO] [stdout] 139 | impl<T> From<Option<Box<dyn ClassInstance>>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Option<Box<dyn ClassInstance>>>`
[INFO] [stdout] ...
[INFO] [stdout] 148 | impl<T> From<JavaValue> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<JavaValue>`
[INFO] [stdout]     = note: required for `!` to implement `Into<ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Vector>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |     jvm.collect_garbage()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |     jvm.collect_garbage()?;
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     jvm.push_native_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:222:48
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "(I)V", (1,)).await?.into();
[INFO] [stdout]     |                                                ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:222:58
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "(I)V", (1,)).await?.into();
[INFO] [stdout]     |                                            ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:222:99
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "(I)V", (1,)).await?.into();
[INFO] [stdout]     |                                                                                                   ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Vector>: From<!>` is not satisfied
[INFO] [stdout]    --> tests/test_garbage_collection.rs:222:99
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "(I)V", (1,)).await?.into();
[INFO] [stdout]     |                                                                                                   ^^^^ the trait `From<!>` is not implemented for `ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Vector>`
[INFO] [stdout]     |
[INFO] [stdout] help: `ClassInstanceRef<T>` implements trait `From<T>`
[INFO] [stdout]    --> src/class_instance.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl<T> From<Box<dyn ClassInstance>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Box<dyn ClassInstance>>`
[INFO] [stdout] ...
[INFO] [stdout] 139 | impl<T> From<Option<Box<dyn ClassInstance>>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Option<Box<dyn ClassInstance>>>`
[INFO] [stdout] ...
[INFO] [stdout] 148 | impl<T> From<JavaValue> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<JavaValue>`
[INFO] [stdout]     = note: required for `!` to implement `Into<ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Vector>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:223:48
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                                ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:223:58
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                            ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:223:96
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                                ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Object>: From<!>` is not satisfied
[INFO] [stdout]    --> tests/test_garbage_collection.rs:223:96
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                                ^^^^ the trait `From<!>` is not implemented for `ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Object>`
[INFO] [stdout]     |
[INFO] [stdout] help: `ClassInstanceRef<T>` implements trait `From<T>`
[INFO] [stdout]    --> src/class_instance.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl<T> From<Box<dyn ClassInstance>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Box<dyn ClassInstance>>`
[INFO] [stdout] ...
[INFO] [stdout] 139 | impl<T> From<Option<Box<dyn ClassInstance>>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Option<Box<dyn ClassInstance>>>`
[INFO] [stdout] ...
[INFO] [stdout] 148 | impl<T> From<JavaValue> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<JavaValue>`
[INFO] [stdout]     = note: required for `!` to implement `Into<ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Object>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `invoke_virtual` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:225:10
[INFO] [stdout]     |
[INFO] [stdout] 224 |     let _: () = jvm
[INFO] [stdout] 225 |         .invoke_virtual(&vector, "java/util/Vector", "addElement", "(Ljava/lang/Object;)V", (object,))
[INFO] [stdout]     |          ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:225:25
[INFO] [stdout]     |
[INFO] [stdout] 224 |     let _: () = jvm
[INFO] [stdout]     |                 --- any code following this expression is unreachable
[INFO] [stdout] 225 |         .invoke_virtual(&vector, "java/util/Vector", "addElement", "(Ljava/lang/Object;)V", (object,))
[INFO] [stdout]     |                         ^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_global_ref` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:227:22
[INFO] [stdout]     |
[INFO] [stdout] 227 |     let vector = jvm.new_global_ref(&vector).unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:227:37
[INFO] [stdout]     |
[INFO] [stdout] 227 |     let vector = jvm.new_global_ref(&vector).unwrap();
[INFO] [stdout]     |                  ---                ^^^^^^^ unreachable expression
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:230:20
[INFO] [stdout]     |
[INFO] [stdout] 230 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:230:20
[INFO] [stdout]     |
[INFO] [stdout] 230 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |     jvm.push_native_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_field` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:233:50
[INFO] [stdout]     |
[INFO] [stdout] 233 |     let _: ClassInstanceRef<Array<Object>> = jvm.get_field(&vector, "java/util/Vector", "elementData", "[Ljava/lang/Object;").await?;
[INFO] [stdout]     |                                                  ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:233:60
[INFO] [stdout]     |
[INFO] [stdout] 233 |     let _: ClassInstanceRef<Array<Object>> = jvm.get_field(&vector, "java/util/Vector", "elementData", "[Ljava/lang/Object;").await?;
[INFO] [stdout]     |                                              ---           ^^^^^^^ unreachable expression
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `put_field` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:235:9
[INFO] [stdout]     |
[INFO] [stdout] 235 |     jvm.put_field(
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 235 |     jvm.put_field(
[INFO] [stdout]     |     --- any code following this expression is unreachable
[INFO] [stdout] 236 |         &mut mutable_vector,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:243:20
[INFO] [stdout]     |
[INFO] [stdout] 243 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:243:20
[INFO] [stdout]     |
[INFO] [stdout] 243 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:244:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:244:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:246:20
[INFO] [stdout]     |
[INFO] [stdout] 246 |     assert_eq!(jvm.collect_garbage()?, 2);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:246:20
[INFO] [stdout]     |
[INFO] [stdout] 246 |     assert_eq!(jvm.collect_garbage()?, 2);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:248:20
[INFO] [stdout]     |
[INFO] [stdout] 248 |     assert_eq!(jvm.collect_garbage()?, 1);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:248:20
[INFO] [stdout]     |
[INFO] [stdout] 248 |     assert_eq!(jvm.collect_garbage()?, 1);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:250:9
[INFO] [stdout]     |
[INFO] [stdout] 250 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:250:9
[INFO] [stdout]     |
[INFO] [stdout] 250 |     jvm.push_native_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:251:48
[INFO] [stdout]     |
[INFO] [stdout] 251 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "(I)V", (1,)).await?.into();
[INFO] [stdout]     |                                                ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:251:58
[INFO] [stdout]     |
[INFO] [stdout] 251 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "(I)V", (1,)).await?.into();
[INFO] [stdout]     |                                            ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:251:99
[INFO] [stdout]     |
[INFO] [stdout] 251 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "(I)V", (1,)).await?.into();
[INFO] [stdout]     |                                                                                                   ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Vector>: From<!>` is not satisfied
[INFO] [stdout]    --> tests/test_garbage_collection.rs:251:99
[INFO] [stdout]     |
[INFO] [stdout] 251 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "(I)V", (1,)).await?.into();
[INFO] [stdout]     |                                                                                                   ^^^^ the trait `From<!>` is not implemented for `ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Vector>`
[INFO] [stdout]     |
[INFO] [stdout] help: `ClassInstanceRef<T>` implements trait `From<T>`
[INFO] [stdout]    --> src/class_instance.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl<T> From<Box<dyn ClassInstance>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Box<dyn ClassInstance>>`
[INFO] [stdout] ...
[INFO] [stdout] 139 | impl<T> From<Option<Box<dyn ClassInstance>>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Option<Box<dyn ClassInstance>>>`
[INFO] [stdout] ...
[INFO] [stdout] 148 | impl<T> From<JavaValue> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<JavaValue>`
[INFO] [stdout]     = note: required for `!` to implement `Into<ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Vector>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:252:48
[INFO] [stdout]     |
[INFO] [stdout] 252 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                                ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:252:58
[INFO] [stdout]     |
[INFO] [stdout] 252 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                            ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:252:96
[INFO] [stdout]     |
[INFO] [stdout] 252 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                                ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Object>: From<!>` is not satisfied
[INFO] [stdout]    --> tests/test_garbage_collection.rs:252:96
[INFO] [stdout]     |
[INFO] [stdout] 252 |     let object: ClassInstanceRef<Object> = jvm.new_class("java/lang/Object", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                                ^^^^ the trait `From<!>` is not implemented for `ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Object>`
[INFO] [stdout]     |
[INFO] [stdout] help: `ClassInstanceRef<T>` implements trait `From<T>`
[INFO] [stdout]    --> src/class_instance.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl<T> From<Box<dyn ClassInstance>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Box<dyn ClassInstance>>`
[INFO] [stdout] ...
[INFO] [stdout] 139 | impl<T> From<Option<Box<dyn ClassInstance>>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Option<Box<dyn ClassInstance>>>`
[INFO] [stdout] ...
[INFO] [stdout] 148 | impl<T> From<JavaValue> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<JavaValue>`
[INFO] [stdout]     = note: required for `!` to implement `Into<ClassInstanceRef<field_and_method_results_are_local_references::{closure#0}::Object>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `invoke_virtual` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:254:10
[INFO] [stdout]     |
[INFO] [stdout] 253 |     let _: () = jvm
[INFO] [stdout] 254 |         .invoke_virtual(&vector, "java/util/Vector", "addElement", "(Ljava/lang/Object;)V", (object,))
[INFO] [stdout]     |          ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:254:25
[INFO] [stdout]     |
[INFO] [stdout] 253 |     let _: () = jvm
[INFO] [stdout]     |                 --- any code following this expression is unreachable
[INFO] [stdout] 254 |         .invoke_virtual(&vector, "java/util/Vector", "addElement", "(Ljava/lang/Object;)V", (object,))
[INFO] [stdout]     |                         ^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_global_ref` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:256:22
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let vector = jvm.new_global_ref(&vector).unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:256:37
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let vector = jvm.new_global_ref(&vector).unwrap();
[INFO] [stdout]     |                  ---                ^^^^^^^ unreachable expression
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |     jvm.push_native_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `invoke_virtual` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:261:10
[INFO] [stdout]     |
[INFO] [stdout] 260 |     let _: ClassInstanceRef<Object> = jvm
[INFO] [stdout] 261 |         .invoke_virtual(&vector, "java/util/Vector", "remove", "(I)Ljava/lang/Object;", (0,))
[INFO] [stdout]     |          ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:261:25
[INFO] [stdout]     |
[INFO] [stdout] 260 |     let _: ClassInstanceRef<Object> = jvm
[INFO] [stdout]     |                                       --- any code following this expression is unreachable
[INFO] [stdout] 261 |         .invoke_virtual(&vector, "java/util/Vector", "remove", "(I)Ljava/lang/Object;", (0,))
[INFO] [stdout]     |                         ^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:263:20
[INFO] [stdout]     |
[INFO] [stdout] 263 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:263:20
[INFO] [stdout]     |
[INFO] [stdout] 263 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:266:20
[INFO] [stdout]     |
[INFO] [stdout] 266 |     assert_eq!(jvm.collect_garbage()?, 1);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:266:20
[INFO] [stdout]     |
[INFO] [stdout] 266 |     assert_eq!(jvm.collect_garbage()?, 1);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:268:20
[INFO] [stdout]     |
[INFO] [stdout] 268 |     assert_eq!(jvm.collect_garbage()?, 2);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:268:20
[INFO] [stdout]     |
[INFO] [stdout] 268 |     assert_eq!(jvm.collect_garbage()?, 2);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:279:9
[INFO] [stdout]     |
[INFO] [stdout] 279 |     jvm.collect_garbage()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:279:9
[INFO] [stdout]     |
[INFO] [stdout] 279 |     jvm.collect_garbage()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:281:9
[INFO] [stdout]     |
[INFO] [stdout] 281 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:281:9
[INFO] [stdout]     |
[INFO] [stdout] 281 |     jvm.push_native_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_static_field` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:282:43
[INFO] [stdout]     |
[INFO] [stdout] 282 |     let _: ClassInstanceRef<Object> = jvm.get_static_field("java/lang/System", "out", "Ljava/io/PrintStream;").await?;
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:282:60
[INFO] [stdout]     |
[INFO] [stdout] 282 |     let _: ClassInstanceRef<Object> = jvm.get_static_field("java/lang/System", "out", "Ljava/io/PrintStream;").await?;
[INFO] [stdout]     |                                       ---                  ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `put_static_field` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:283:9
[INFO] [stdout]     |
[INFO] [stdout] 283 |     jvm.put_static_field("java/lang/System", "out", "Ljava/io/PrintStream;", ClassInstanceRef::<Object>::new(None))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:283:26
[INFO] [stdout]     |
[INFO] [stdout] 283 |     jvm.put_static_field("java/lang/System", "out", "Ljava/io/PrintStream;", ClassInstanceRef::<Object>::new(None))
[INFO] [stdout]     |     ---                  ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:285:20
[INFO] [stdout]     |
[INFO] [stdout] 285 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:285:20
[INFO] [stdout]     |
[INFO] [stdout] 285 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:286:9
[INFO] [stdout]     |
[INFO] [stdout] 286 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:286:9
[INFO] [stdout]     |
[INFO] [stdout] 286 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:288:17
[INFO] [stdout]     |
[INFO] [stdout] 288 |     assert!(jvm.collect_garbage()? > 0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:288:17
[INFO] [stdout]     |
[INFO] [stdout] 288 |     assert!(jvm.collect_garbage()? > 0);
[INFO] [stdout]     |             --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |             |
[INFO] [stdout]     |             any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:300:48
[INFO] [stdout]     |
[INFO] [stdout] 300 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "()V", ()).await?.into();
[INFO] [stdout]     |                                                ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:300:58
[INFO] [stdout]     |
[INFO] [stdout] 300 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "()V", ()).await?.into();
[INFO] [stdout]     |                                            ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:300:96
[INFO] [stdout]     |
[INFO] [stdout] 300 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                                ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ClassInstanceRef<returned_exception_is_a_local_reference::{closure#0}::Vector>: From<!>` is not satisfied
[INFO] [stdout]    --> tests/test_garbage_collection.rs:300:96
[INFO] [stdout]     |
[INFO] [stdout] 300 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                                ^^^^ the trait `From<!>` is not implemented for `ClassInstanceRef<returned_exception_is_a_local_reference::{closure#0}::Vector>`
[INFO] [stdout]     |
[INFO] [stdout] help: `ClassInstanceRef<T>` implements trait `From<T>`
[INFO] [stdout]    --> src/class_instance.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl<T> From<Box<dyn ClassInstance>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Box<dyn ClassInstance>>`
[INFO] [stdout] ...
[INFO] [stdout] 139 | impl<T> From<Option<Box<dyn ClassInstance>>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Option<Box<dyn ClassInstance>>>`
[INFO] [stdout] ...
[INFO] [stdout] 148 | impl<T> From<JavaValue> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<JavaValue>`
[INFO] [stdout]     = note: required for `!` to implement `Into<ClassInstanceRef<returned_exception_is_a_local_reference::{closure#0}::Vector>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `invoke_virtual` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:302:10
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let _: jvm::JavaError = jvm
[INFO] [stdout] 302 |         .invoke_virtual::<_, ClassInstanceRef<()>>(&vector, "java/util/Vector", "elementAt", "(I)Ljava/lang/Object;", (0,))
[INFO] [stdout]     |          ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:302:52
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let _: jvm::JavaError = jvm
[INFO] [stdout]     |                             --- any code following this expression is unreachable
[INFO] [stdout] 302 |         .invoke_virtual::<_, ClassInstanceRef<()>>(&vector, "java/util/Vector", "elementAt", "(I)Ljava/lang/Object;", (0,))
[INFO] [stdout]     |                                                    ^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:305:9
[INFO] [stdout]     |
[INFO] [stdout] 305 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:305:9
[INFO] [stdout]     |
[INFO] [stdout] 305 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |     jvm.collect_garbage()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |     jvm.collect_garbage()?;
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |     jvm.push_native_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:309:48
[INFO] [stdout]     |
[INFO] [stdout] 309 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "()V", ()).await?.into();
[INFO] [stdout]     |                                                ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:309:58
[INFO] [stdout]     |
[INFO] [stdout] 309 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "()V", ()).await?.into();
[INFO] [stdout]     |                                            ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:309:96
[INFO] [stdout]     |
[INFO] [stdout] 309 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                                ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ClassInstanceRef<returned_exception_is_a_local_reference::{closure#0}::Vector>: From<!>` is not satisfied
[INFO] [stdout]    --> tests/test_garbage_collection.rs:309:96
[INFO] [stdout]     |
[INFO] [stdout] 309 |     let vector: ClassInstanceRef<Vector> = jvm.new_class("java/util/Vector", "()V", ()).await?.into();
[INFO] [stdout]     |                                                                                                ^^^^ the trait `From<!>` is not implemented for `ClassInstanceRef<returned_exception_is_a_local_reference::{closure#0}::Vector>`
[INFO] [stdout]     |
[INFO] [stdout] help: `ClassInstanceRef<T>` implements trait `From<T>`
[INFO] [stdout]    --> src/class_instance.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl<T> From<Box<dyn ClassInstance>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Box<dyn ClassInstance>>`
[INFO] [stdout] ...
[INFO] [stdout] 139 | impl<T> From<Option<Box<dyn ClassInstance>>> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<Option<Box<dyn ClassInstance>>>`
[INFO] [stdout] ...
[INFO] [stdout] 148 | impl<T> From<JavaValue> for ClassInstanceRef<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<JavaValue>`
[INFO] [stdout]     = note: required for `!` to implement `Into<ClassInstanceRef<returned_exception_is_a_local_reference::{closure#0}::Vector>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `invoke_virtual` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:311:10
[INFO] [stdout]     |
[INFO] [stdout] 310 |     let _: jvm::JavaError = jvm
[INFO] [stdout] 311 |         .invoke_virtual::<_, ClassInstanceRef<()>>(&vector, "java/util/Vector", "elementAt", "(I)Ljava/lang/Object;", (0,))
[INFO] [stdout]     |          ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:311:52
[INFO] [stdout]     |
[INFO] [stdout] 310 |     let _: jvm::JavaError = jvm
[INFO] [stdout]     |                             --- any code following this expression is unreachable
[INFO] [stdout] 311 |         .invoke_virtual::<_, ClassInstanceRef<()>>(&vector, "java/util/Vector", "elementAt", "(I)Ljava/lang/Object;", (0,))
[INFO] [stdout]     |                                                    ^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:315:20
[INFO] [stdout]     |
[INFO] [stdout] 315 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:315:20
[INFO] [stdout]     |
[INFO] [stdout] 315 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:316:9
[INFO] [stdout]     |
[INFO] [stdout] 316 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:316:9
[INFO] [stdout]     |
[INFO] [stdout] 316 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:317:20
[INFO] [stdout]     |
[INFO] [stdout] 317 |     assert_eq!(jvm.collect_garbage()?, 8);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:317:20
[INFO] [stdout]     |
[INFO] [stdout] 317 |     assert_eq!(jvm.collect_garbage()?, 8);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:327:9
[INFO] [stdout]     |
[INFO] [stdout] 327 |     jvm.collect_garbage()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:327:9
[INFO] [stdout]     |
[INFO] [stdout] 327 |     jvm.collect_garbage()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_native_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |     jvm.push_native_frame();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |     jvm.push_native_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_class` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:330:22
[INFO] [stdout]     |
[INFO] [stdout] 330 |     let thread = jvm.new_class("java/lang/Thread", "()V", ()).await?;
[INFO] [stdout]     |                      ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:330:32
[INFO] [stdout]     |
[INFO] [stdout] 330 |     let thread = jvm.new_class("java/lang/Thread", "()V", ()).await?;
[INFO] [stdout]     |                  ---           ^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `invoke_virtual` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:331:21
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let _: () = jvm.invoke_virtual(&thread, &thread.class_definition().name(), "start", "()V", ()).await?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> tests/test_garbage_collection.rs:331:36
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let _: () = jvm.invoke_virtual(&thread, &thread.class_definition().name(), "start", "()V", ()).await?;
[INFO] [stdout]     |                 ---                ^^^^^^^ unreachable expression
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> tests/test_garbage_collection.rs:331:53
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let _: () = jvm.invoke_virtual(&thread, &thread.class_definition().name(), "start", "()V", ()).await?;
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `class_definition` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:331:53
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let _: () = jvm.invoke_virtual(&thread, &thread.class_definition().name(), "start", "()V", ()).await?;
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_frame` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |     jvm.pop_frame();
[INFO] [stdout]     |         ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |     jvm.pop_frame();
[INFO] [stdout]     |     --- ^^^^^^^^^ unreachable call
[INFO] [stdout]     |     |
[INFO] [stdout]     |     any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:334:20
[INFO] [stdout]     |
[INFO] [stdout] 334 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:334:20
[INFO] [stdout]     |
[INFO] [stdout] 334 |     assert_eq!(jvm.collect_garbage()?, 0);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collect_garbage` found for type `!` in the current scope
[INFO] [stdout]    --> tests/test_garbage_collection.rs:337:20
[INFO] [stdout]     |
[INFO] [stdout] 337 |     assert_eq!(jvm.collect_garbage()?, 3);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]    --> tests/test_garbage_collection.rs:337:20
[INFO] [stdout]     |
[INFO] [stdout] 337 |     assert_eq!(jvm.collect_garbage()?, 3);
[INFO] [stdout]     |                --- ^^^^^^^^^^^^^^^ unreachable call
[INFO] [stdout]     |                |
[INFO] [stdout]     |                any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jvm` (test "test_garbage_collection") due to 146 previous errors; 162 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f2d06a77c9721c2cbab521526e40bdea11700dd647f75075b4317c877d2e30dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2d06a77c9721c2cbab521526e40bdea11700dd647f75075b4317c877d2e30dd", kill_on_drop: false }`
[INFO] [stdout] f2d06a77c9721c2cbab521526e40bdea11700dd647f75075b4317c877d2e30dd
