[INFO] fetching crate uni_tmp_jni 0.18.0... [INFO] testing uni_tmp_jni-0.18.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate uni_tmp_jni 0.18.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate uni_tmp_jni 0.18.0 [INFO] finished tweaking crates.io crate uni_tmp_jni 0.18.0 [INFO] tweaked toml for crates.io crate uni_tmp_jni 0.18.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate uni_tmp_jni 0.18.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17ae018be63e7275430b35626dc290b761405924eac1e41f0a1dea9e3cb90b4f [INFO] running `Command { std: "docker" "start" "-a" "17ae018be63e7275430b35626dc290b761405924eac1e41f0a1dea9e3cb90b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17ae018be63e7275430b35626dc290b761405924eac1e41f0a1dea9e3cb90b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ae018be63e7275430b35626dc290b761405924eac1e41f0a1dea9e3cb90b4f", kill_on_drop: false }` [INFO] [stdout] 17ae018be63e7275430b35626dc290b761405924eac1e41f0a1dea9e3cb90b4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd811f77555d0b9e02c939f1c424900da0319bb9bcf98b5b545592e0f27be92d [INFO] running `Command { std: "docker" "start" "-a" "bd811f77555d0b9e02c939f1c424900da0319bb9bcf98b5b545592e0f27be92d", kill_on_drop: false }` [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling jni-sys v0.3.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling uni_tmp_jni v0.18.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/global_ref.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn as_obj(&self) -> JObject { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/global_ref.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn as_obj(&self) -> JObject { [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] 79 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/weak_global_ref.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn as_weak(&self) -> JWeak { [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] 55 | pub fn as_weak(&self) -> JWeak<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/weak_global_ref.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_weak(&self) -> JWeak { [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] 71 | pub fn as_weak(&self) -> JWeak<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/wrapper/jnienv.rs:296:16 [INFO] [stdout] | [INFO] [stdout] 296 | panic!(res.unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 296 | panic!("{}", res.unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 296 - panic!(res.unwrap_err()); [INFO] [stdout] 296 + std::panic::panic_any(res.unwrap_err()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:1883:36 [INFO] [stdout] | [INFO] [stdout] 1883 | pub fn get_rust_field(&self, obj: O, field: S) -> Result> [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] 1883 | pub fn get_rust_field(&self, obj: O, field: S) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2105:9 [INFO] [stdout] | [INFO] [stdout] 2105 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 2108 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [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] 2108 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2224:9 [INFO] [stdout] | [INFO] [stdout] 2224 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 2227 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [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] 2227 | ) -> Result> { [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:201:46 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn attach_current_thread_permanently(&self) -> Result { [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] 201 | pub fn attach_current_thread_permanently(&self) -> Result> { [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:222:34 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn attach_current_thread(&self) -> Result { [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] 222 | pub fn attach_current_thread(&self) -> Result> { [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:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn attach_current_thread_as_daemon(&self) -> Result { [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] 261 | pub fn attach_current_thread_as_daemon(&self) -> Result> { [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:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn get_env(&self) -> Result { [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] 278 | pub fn get_env(&self) -> Result> { [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:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result { [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] 289 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.91s [INFO] running `Command { std: "docker" "inspect" "bd811f77555d0b9e02c939f1c424900da0319bb9bcf98b5b545592e0f27be92d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd811f77555d0b9e02c939f1c424900da0319bb9bcf98b5b545592e0f27be92d", kill_on_drop: false }` [INFO] [stdout] bd811f77555d0b9e02c939f1c424900da0319bb9bcf98b5b545592e0f27be92d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6f0d6cd7711448324604b56e33de33d7ab7966556bd96196fc8e093898a170c [INFO] running `Command { std: "docker" "start" "-a" "d6f0d6cd7711448324604b56e33de33d7ab7966556bd96196fc8e093898a170c", kill_on_drop: false }` [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/global_ref.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn as_obj(&self) -> JObject { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/global_ref.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn as_obj(&self) -> JObject { [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] 79 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/weak_global_ref.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn as_weak(&self) -> JWeak { [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] 55 | pub fn as_weak(&self) -> JWeak<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/weak_global_ref.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_weak(&self) -> JWeak { [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] 71 | pub fn as_weak(&self) -> JWeak<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/wrapper/jnienv.rs:296:16 [INFO] [stdout] | [INFO] [stdout] 296 | panic!(res.unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 296 | panic!("{}", res.unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 296 - panic!(res.unwrap_err()); [INFO] [stdout] 296 + std::panic::panic_any(res.unwrap_err()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:1883:36 [INFO] [stdout] | [INFO] [stdout] 1883 | pub fn get_rust_field(&self, obj: O, field: S) -> Result> [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] 1883 | pub fn get_rust_field(&self, obj: O, field: S) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2105:9 [INFO] [stdout] | [INFO] [stdout] 2105 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 2108 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [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] 2108 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2224:9 [INFO] [stdout] | [INFO] [stdout] 2224 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 2227 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [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] 2227 | ) -> Result> { [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:201:46 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn attach_current_thread_permanently(&self) -> Result { [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] 201 | pub fn attach_current_thread_permanently(&self) -> Result> { [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:222:34 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn attach_current_thread(&self) -> Result { [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] 222 | pub fn attach_current_thread(&self) -> Result> { [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:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn attach_current_thread_as_daemon(&self) -> Result { [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] 261 | pub fn attach_current_thread_as_daemon(&self) -> Result> { [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:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn get_env(&self) -> Result { [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] 278 | pub fn get_env(&self) -> Result> { [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:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result { [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] 289 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling uni_tmp_jni v0.18.0 (/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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/global_ref.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn as_obj(&self) -> JObject { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/global_ref.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn as_obj(&self) -> JObject { [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] 79 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/weak_global_ref.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn as_weak(&self) -> JWeak { [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] 55 | pub fn as_weak(&self) -> JWeak<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/weak_global_ref.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_weak(&self) -> JWeak { [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] 71 | pub fn as_weak(&self) -> JWeak<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/wrapper/jnienv.rs:296:16 [INFO] [stdout] | [INFO] [stdout] 296 | panic!(res.unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 296 | panic!("{}", res.unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 296 - panic!(res.unwrap_err()); [INFO] [stdout] 296 + std::panic::panic_any(res.unwrap_err()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:1883:36 [INFO] [stdout] | [INFO] [stdout] 1883 | pub fn get_rust_field(&self, obj: O, field: S) -> Result> [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] 1883 | pub fn get_rust_field(&self, obj: O, field: S) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2105:9 [INFO] [stdout] | [INFO] [stdout] 2105 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 2108 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [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] 2108 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2224:9 [INFO] [stdout] | [INFO] [stdout] 2224 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 2227 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [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] 2227 | ) -> Result> { [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:201:46 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn attach_current_thread_permanently(&self) -> Result { [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] 201 | pub fn attach_current_thread_permanently(&self) -> Result> { [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:222:34 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn attach_current_thread(&self) -> Result { [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] 222 | pub fn attach_current_thread(&self) -> Result> { [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:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn attach_current_thread_as_daemon(&self) -> Result { [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] 261 | pub fn attach_current_thread_as_daemon(&self) -> Result> { [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:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn get_env(&self) -> Result { [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] 278 | pub fn get_env(&self) -> Result> { [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:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result { [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] 289 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.50s [INFO] running `Command { std: "docker" "inspect" "d6f0d6cd7711448324604b56e33de33d7ab7966556bd96196fc8e093898a170c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6f0d6cd7711448324604b56e33de33d7ab7966556bd96196fc8e093898a170c", kill_on_drop: false }` [INFO] [stdout] d6f0d6cd7711448324604b56e33de33d7ab7966556bd96196fc8e093898a170c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9320a3b655e914847dff5c762939e207f34af908db517ed39eb4e311e3818c01 [INFO] running `Command { std: "docker" "start" "-a" "9320a3b655e914847dff5c762939e207f34af908db517ed39eb4e311e3818c01", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self::class_desc::*` [INFO] [stderr] --> src/wrapper/descriptors/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use self::class_desc::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::method_desc::*` [INFO] [stderr] --> src/wrapper/descriptors/mod.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub use self::method_desc::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::field_desc::*` [INFO] [stderr] --> src/wrapper/descriptors/mod.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub use self::field_desc::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::exception_desc::*` [INFO] [stderr] --> src/wrapper/descriptors/mod.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub use self::exception_desc::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wrapper/objects/global_ref.rs:60:19 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn as_obj(&self) -> JObject { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 60 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wrapper/objects/global_ref.rs:79:19 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn as_obj(&self) -> JObject { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 79 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wrapper/objects/weak_global_ref.rs:55:20 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn as_weak(&self) -> JWeak { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 55 | pub fn as_weak(&self) -> JWeak<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wrapper/objects/weak_global_ref.rs:71:20 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn as_weak(&self) -> JWeak { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 71 | pub fn as_weak(&self) -> JWeak<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/wrapper/jnienv.rs:296:16 [INFO] [stderr] | [INFO] [stderr] 296 | panic!(res.unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 296 | panic!("{}", res.unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 296 - panic!(res.unwrap_err()); [INFO] [stderr] 296 + std::panic::panic_any(res.unwrap_err()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wrapper/jnienv.rs:1883:36 [INFO] [stderr] | [INFO] [stderr] 1883 | pub fn get_rust_field(&self, obj: O, field: S) -> Result> [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1883 | pub fn get_rust_field(&self, obj: O, field: S) -> Result> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wrapper/jnienv.rs:2105:9 [INFO] [stderr] | [INFO] [stderr] 2105 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 2108 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is hidden here [INFO] [stderr] | the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2108 | ) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wrapper/jnienv.rs:2224:9 [INFO] [stderr] | [INFO] [stderr] 2224 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 2227 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is hidden here [INFO] [stderr] | the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2227 | ) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wrapper/java_vm/vm.rs:201:46 [INFO] [stderr] | [INFO] [stderr] 201 | pub fn attach_current_thread_permanently(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 201 | pub fn attach_current_thread_permanently(&self) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wrapper/java_vm/vm.rs:222:34 [INFO] [stderr] | [INFO] [stderr] 222 | pub fn attach_current_thread(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 222 | pub fn attach_current_thread(&self) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wrapper/java_vm/vm.rs:261:44 [INFO] [stderr] | [INFO] [stderr] 261 | pub fn attach_current_thread_as_daemon(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 261 | pub fn attach_current_thread_as_daemon(&self) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wrapper/java_vm/vm.rs:278:20 [INFO] [stderr] | [INFO] [stderr] 278 | pub fn get_env(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 278 | pub fn get_env(&self) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wrapper/java_vm/vm.rs:289:35 [INFO] [stderr] | [INFO] [stderr] 289 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 289 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `uni_tmp_jni` (lib) generated 17 warnings (run `cargo fix --lib -p uni_tmp_jni` to apply 17 suggestions) [INFO] [stderr] warning: `uni_tmp_jni` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/uni_tmp_jni-2287add8d6410e6e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test wrapper::signature::test::test_parser ... ok [INFO] [stdout] test wrapper::signature::test::test_parser_invalid_signature ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/executor.rs (/opt/rustwide/target/debug/deps/executor-7a14306df31796cf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/executor_nested_attach.rs (/opt/rustwide/target/debug/deps/executor_nested_attach-fff21ed0926eab37) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/java_integers.rs (/opt/rustwide/target/debug/deps/java_integers-9c96bd2c0c41d47d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/jmap.rs (/opt/rustwide/target/debug/deps/jmap-b3334cde41b70428) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/jni_api.rs (/opt/rustwide/target/debug/deps/jni_api-295f04853c986557) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/jni_global_refs.rs (/opt/rustwide/target/debug/deps/jni_global_refs-bde66e3ba4048565) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/jni_weak_refs.rs (/opt/rustwide/target/debug/deps/jni_weak_refs-d892ad6de1275ad8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/threads_attach_guard.rs (/opt/rustwide/target/debug/deps/threads_attach_guard-016f4d6a1be87a59) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/threads_detach.rs (/opt/rustwide/target/debug/deps/threads_detach-6e7e946ad24064fd) [INFO] [stdout] [INFO] [stderr] Running tests/threads_detach_daemon.rs (/opt/rustwide/target/debug/deps/threads_detach_daemon-f84fe657de39a616) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/threads_explicit_detach.rs (/opt/rustwide/target/debug/deps/threads_explicit_detach-c13a1fa071dc7783) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/threads_explicit_detach_daemon.rs (/opt/rustwide/target/debug/deps/threads_explicit_detach_daemon-ce454a274a0739c6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/threads_explicit_detach_permanent.rs (/opt/rustwide/target/debug/deps/threads_explicit_detach_permanent-aad6738702f3f07b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/threads_nested_attach_daemon.rs (/opt/rustwide/target/debug/deps/threads_nested_attach_daemon-92397e987a74b31a) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/threads_nested_attach_guard.rs (/opt/rustwide/target/debug/deps/threads_nested_attach_guard-bf4d3821c6431722) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/threads_nested_attach_permanently.rs (/opt/rustwide/target/debug/deps/threads_nested_attach_permanently-f5209f8e087450fd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests uni_tmp_jni [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/wrapper/jnienv.rs - wrapper::jnienv::JNIEnv<'a>::find_class (line 143) ... ignored [INFO] [stdout] test src/wrapper/jnienv.rs - wrapper::jnienv::JNIEnv<'a>::get_field_id (line 589) ... ignored [INFO] [stdout] test src/wrapper/jnienv.rs - wrapper::jnienv::JNIEnv<'a>::get_method_id (line 535) ... ignored [INFO] [stdout] test src/wrapper/jnienv.rs - wrapper::jnienv::JNIEnv<'a>::get_static_field_id (line 628) ... ignored [INFO] [stdout] test src/wrapper/jnienv.rs - wrapper::jnienv::JNIEnv<'a>::get_static_method_id (line 560) ... ignored [INFO] [stdout] test src/wrapper/jnienv.rs - wrapper::jnienv::JNIEnv<'a>::throw (line 221) ... ignored [INFO] [stdout] test src/wrapper/jnienv.rs - wrapper::jnienv::JNIEnv<'a>::throw (line 227) ... ignored [INFO] [stdout] test src/wrapper/jnienv.rs - wrapper::jnienv::JNIEnv<'a>::throw_new (line 247) ... ignored [INFO] [stdout] test src/wrapper/executor.rs - wrapper::executor::Executor (line 24) ... FAILED [INFO] [stdout] test src/wrapper/java_vm/vm.rs - wrapper::java_vm::vm::JavaVM (line 71) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/wrapper/executor.rs - wrapper::executor::Executor (line 24) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `jni` [INFO] [stdout] --> src/wrapper/executor.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jni::errors; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `jni` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jni`, use `cargo add jni` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wrapper/java_vm/vm.rs - wrapper::java_vm::vm::JavaVM (line 71) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `jni` [INFO] [stdout] --> src/wrapper/java_vm/vm.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jni::errors; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `jni` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jni`, use `cargo add jni` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/wrapper/executor.rs - wrapper::executor::Executor (line 24) [INFO] [stdout] src/wrapper/java_vm/vm.rs - wrapper::java_vm::vm::JavaVM (line 71) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 8 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9320a3b655e914847dff5c762939e207f34af908db517ed39eb4e311e3818c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9320a3b655e914847dff5c762939e207f34af908db517ed39eb4e311e3818c01", kill_on_drop: false }` [INFO] [stdout] 9320a3b655e914847dff5c762939e207f34af908db517ed39eb4e311e3818c01