[INFO] fetching crate jni 0.21.1...
[INFO] checking jni-0.21.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0
[INFO] extracting crate jni 0.21.1 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate jni 0.21.1
[INFO] finished tweaking crates.io crate jni 0.21.1
[INFO] tweaked toml for crates.io crate jni 0.21.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate jni 0.21.1 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 79 packages to latest compatible versions
[INFO] [stderr]       Adding jni-sys v0.3.0 (available: v0.4.1)
[INFO] [stderr]       Adding libloading v0.7.4 (available: v0.9.0)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.18)
[INFO] [stderr]       Adding windows-sys v0.45.0 (available: v0.61.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f3c9db2f55f7681f118179e806790befbe526fb4425ddc8ffe8f94e388eb02a
[INFO] running `Command { std: "docker" "start" "-a" "4f3c9db2f55f7681f118179e806790befbe526fb4425ddc8ffe8f94e388eb02a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f3c9db2f55f7681f118179e806790befbe526fb4425ddc8ffe8f94e388eb02a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f3c9db2f55f7681f118179e806790befbe526fb4425ddc8ffe8f94e388eb02a", kill_on_drop: false }`
[INFO] [stdout] 4f3c9db2f55f7681f118179e806790befbe526fb4425ddc8ffe8f94e388eb02a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dinherent-method-on-receiver" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 405f6b4849df422830364cf95de596fe0d32580a7d57cd41ae95e1f03c255fc5
[INFO] running `Command { std: "docker" "start" "-a" "405f6b4849df422830364cf95de596fe0d32580a7d57cd41ae95e1f03c255fc5", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.23
[INFO] [stderr]    Compiling libc v0.2.181
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]     Checking cesu8 v1.1.0
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking jni-sys v0.3.0
[INFO] [stderr]     Checking assert_matches v1.5.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking tempfile v3.25.0
[INFO] [stderr]     Checking rusty-fork v0.3.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking jni v0.21.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self::class_desc::*`
[INFO] [stdout]  --> src/wrapper/descriptors/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use self::class_desc::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::method_desc::*`
[INFO] [stdout]  --> src/wrapper/descriptors/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use self::method_desc::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::field_desc::*`
[INFO] [stdout]   --> src/wrapper/descriptors/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use self::field_desc::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::exception_desc::*`
[INFO] [stdout]   --> src/wrapper/descriptors/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use self::exception_desc::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::class_desc::*`
[INFO] [stdout]  --> src/wrapper/descriptors/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use self::class_desc::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::method_desc::*`
[INFO] [stdout]  --> src/wrapper/descriptors/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use self::method_desc::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::field_desc::*`
[INFO] [stdout]   --> src/wrapper/descriptors/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use self::field_desc::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::exception_desc::*`
[INFO] [stdout]   --> src/wrapper/descriptors/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use self::exception_desc::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/wrapper/objects/auto_local.rs:65:19
[INFO] [stdout]     |
[INFO] [stdout]  65 |       pub fn forget(self) -> T {
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 | / impl<'local, T> Deref for AutoLocal<'local, T>
[INFO] [stdout] 139 | | where
[INFO] [stdout] 140 | |     T: Into<JObject<'local>>,
[INFO] [stdout]     | |_____________________________- trait implemented here
[INFO] [stdout] 141 |   {
[INFO] [stdout] 142 |       type Target = T;
[INFO] [stdout]     |       ----------- with `Target` set here
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D inherent-method-on-receiver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/wrapper/objects/jprimitive_array.rs:51:51
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn from(other: JPrimitiveArray<'local, T>) -> JObject {
[INFO] [stdout]    |                                    ------         ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'local`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn from(other: JPrimitiveArray<'local, T>) -> JObject<'local> {
[INFO] [stdout]    |                                                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/wrapper/jnienv.rs:2657:9
[INFO] [stdout]      |
[INFO] [stdout] 2657 |         &mut self,
[INFO] [stdout]      |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 2660 |     ) -> Result<MutexGuard<T>>
[INFO] [stdout]      |                 ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 2660 |     ) -> Result<MutexGuard<'_, T>>
[INFO] [stdout]      |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/wrapper/java_vm/vm.rs:259:46
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn attach_current_thread_permanently(&self) -> Result<JNIEnv> {
[INFO] [stdout]     |                                              ^^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn attach_current_thread_permanently(&self) -> Result<JNIEnv<'_>> {
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/wrapper/java_vm/vm.rs:279:34
[INFO] [stdout]     |
[INFO] [stdout] 279 |     pub fn attach_current_thread(&self) -> Result<AttachGuard> {
[INFO] [stdout]     |                                  ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 279 |     pub fn attach_current_thread(&self) -> Result<AttachGuard<'_>> {
[INFO] [stdout]     |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/wrapper/java_vm/vm.rs:332:44
[INFO] [stdout]     |
[INFO] [stdout] 332 |     pub fn attach_current_thread_as_daemon(&self) -> Result<JNIEnv> {
[INFO] [stdout]     |                                            ^^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 332 |     pub fn attach_current_thread_as_daemon(&self) -> Result<JNIEnv<'_>> {
[INFO] [stdout]     |                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/wrapper/java_vm/vm.rs:349:20
[INFO] [stdout]     |
[INFO] [stdout] 349 |     pub fn get_env(&self) -> Result<JNIEnv> {
[INFO] [stdout]     |                    ^^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 349 |     pub fn get_env(&self) -> Result<JNIEnv<'_>> {
[INFO] [stdout]     |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/wrapper/java_vm/vm.rs:360:35
[INFO] [stdout]     |
[INFO] [stdout] 360 |     fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result<JNIEnv> {
[INFO] [stdout]     |                                   ^^^^^ the lifetime is elided here         ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 360 |     fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result<JNIEnv<'_>> {
[INFO] [stdout]     |                                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jni` (lib test) due to 1 previous error; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/wrapper/objects/auto_local.rs:65:19
[INFO] [stdout]     |
[INFO] [stdout]  65 |       pub fn forget(self) -> T {
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 | / impl<'local, T> Deref for AutoLocal<'local, T>
[INFO] [stdout] 139 | | where
[INFO] [stdout] 140 | |     T: Into<JObject<'local>>,
[INFO] [stdout]     | |_____________________________- trait implemented here
[INFO] [stdout] 141 |   {
[INFO] [stdout] 142 |       type Target = T;
[INFO] [stdout]     |       ----------- with `Target` set here
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D inherent-method-on-receiver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/wrapper/objects/jprimitive_array.rs:51:51
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn from(other: JPrimitiveArray<'local, T>) -> JObject {
[INFO] [stdout]    |                                    ------         ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'local`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn from(other: JPrimitiveArray<'local, T>) -> JObject<'local> {
[INFO] [stdout]    |                                                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/wrapper/jnienv.rs:2657:9
[INFO] [stdout]      |
[INFO] [stdout] 2657 |         &mut self,
[INFO] [stdout]      |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 2660 |     ) -> Result<MutexGuard<T>>
[INFO] [stdout]      |                 ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 2660 |     ) -> Result<MutexGuard<'_, T>>
[INFO] [stdout]      |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/wrapper/java_vm/vm.rs:259:46
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn attach_current_thread_permanently(&self) -> Result<JNIEnv> {
[INFO] [stdout]     |                                              ^^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn attach_current_thread_permanently(&self) -> Result<JNIEnv<'_>> {
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/wrapper/java_vm/vm.rs:279:34
[INFO] [stdout]     |
[INFO] [stdout] 279 |     pub fn attach_current_thread(&self) -> Result<AttachGuard> {
[INFO] [stdout]     |                                  ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 279 |     pub fn attach_current_thread(&self) -> Result<AttachGuard<'_>> {
[INFO] [stdout]     |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/wrapper/java_vm/vm.rs:332:44
[INFO] [stdout]     |
[INFO] [stdout] 332 |     pub fn attach_current_thread_as_daemon(&self) -> Result<JNIEnv> {
[INFO] [stdout]     |                                            ^^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 332 |     pub fn attach_current_thread_as_daemon(&self) -> Result<JNIEnv<'_>> {
[INFO] [stdout]     |                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/wrapper/java_vm/vm.rs:349:20
[INFO] [stdout]     |
[INFO] [stdout] 349 |     pub fn get_env(&self) -> Result<JNIEnv> {
[INFO] [stdout]     |                    ^^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 349 |     pub fn get_env(&self) -> Result<JNIEnv<'_>> {
[INFO] [stdout]     |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/wrapper/java_vm/vm.rs:360:35
[INFO] [stdout]     |
[INFO] [stdout] 360 |     fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result<JNIEnv> {
[INFO] [stdout]     |                                   ^^^^^ the lifetime is elided here         ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 360 |     fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result<JNIEnv<'_>> {
[INFO] [stdout]     |                                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jni` (lib) due to 1 previous error; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "405f6b4849df422830364cf95de596fe0d32580a7d57cd41ae95e1f03c255fc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "405f6b4849df422830364cf95de596fe0d32580a7d57cd41ae95e1f03c255fc5", kill_on_drop: false }`
[INFO] [stdout] 405f6b4849df422830364cf95de596fe0d32580a7d57cd41ae95e1f03c255fc5
