[INFO] fetching crate uni_tmp_jni 0.18.0... [INFO] testing uni_tmp_jni-0.18.0 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] extracting crate uni_tmp_jni 0.18.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate uni_tmp_jni 0.18.0 on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 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.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba3e79f85b3bd7f8d0824a098672d7d3ea50482f714d9a49a1fba9e5e267e637 [INFO] running `Command { std: "docker" "start" "-a" "ba3e79f85b3bd7f8d0824a098672d7d3ea50482f714d9a49a1fba9e5e267e637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba3e79f85b3bd7f8d0824a098672d7d3ea50482f714d9a49a1fba9e5e267e637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba3e79f85b3bd7f8d0824a098672d7d3ea50482f714d9a49a1fba9e5e267e637", kill_on_drop: false }` [INFO] [stdout] ba3e79f85b3bd7f8d0824a098672d7d3ea50482f714d9a49a1fba9e5e267e637 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e22cd17e8c07c425e867366911d280a3f84504add41fe36eaf59d3a00cf1d94 [INFO] running `Command { std: "docker" "start" "-a" "0e22cd17e8c07c425e867366911d280a3f84504add41fe36eaf59d3a00cf1d94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling jni-sys v0.3.0 [INFO] [stderr] Compiling log v0.4.27 [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 quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling thiserror-impl 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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn as_weak(&self) -> JWeak<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2105:9 [INFO] [stdout] | [INFO] [stdout] 2105 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 2108 | ) -> Result { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2108 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2224:9 [INFO] [stdout] | [INFO] [stdout] 2224 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 2227 | ) -> Result { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2227 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | pub fn attach_current_thread_permanently(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 222 | pub fn attach_current_thread(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 261 | pub fn attach_current_thread_as_daemon(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 278 | pub fn get_env(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output ------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 13.45s [INFO] running `Command { std: "docker" "inspect" "0e22cd17e8c07c425e867366911d280a3f84504add41fe36eaf59d3a00cf1d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e22cd17e8c07c425e867366911d280a3f84504add41fe36eaf59d3a00cf1d94", kill_on_drop: false }` [INFO] [stdout] 0e22cd17e8c07c425e867366911d280a3f84504add41fe36eaf59d3a00cf1d94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4654091f2dbcfce6f65d4279aaf126d1aaed7d120e9ce87852f1b805481e3105 [INFO] running `Command { std: "docker" "start" "-a" "4654091f2dbcfce6f65d4279aaf126d1aaed7d120e9ce87852f1b805481e3105", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.5.0 [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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn as_weak(&self) -> JWeak<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2105:9 [INFO] [stdout] | [INFO] [stdout] 2105 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 2108 | ) -> Result { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2108 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2224:9 [INFO] [stdout] | [INFO] [stdout] 2224 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 2227 | ) -> Result { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2227 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | pub fn attach_current_thread_permanently(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 222 | pub fn attach_current_thread(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 261 | pub fn attach_current_thread_as_daemon(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 278 | pub fn get_env(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output ------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn as_obj(&self) -> JObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn as_weak(&self) -> JWeak<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2105:9 [INFO] [stdout] | [INFO] [stdout] 2105 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 2108 | ) -> Result { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2108 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2224:9 [INFO] [stdout] | [INFO] [stdout] 2224 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 2227 | ) -> Result { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2227 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | pub fn attach_current_thread_permanently(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 222 | pub fn attach_current_thread(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 261 | pub fn attach_current_thread_as_daemon(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 278 | pub fn get_env(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output ------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 289 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcN0aToQ/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libcesu8-a5d16749e03fc3cd.rlib,liblog-394b918668cad64a.rlib,libcombine-efbec4344528b7ce.rlib,libmemchr-2d97b38eddd0133f.rlib,libbytes-bfe11088fe358bd1.rlib,libthiserror-0052f2c44c95a808.rlib,libjni_sys-10dbf9e079eca315.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcN0aToQ/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/uni_tmp_jni-0ff4831d25c3ccec" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stdout] collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uni_tmp_jni` (lib test) due to 1 previous error; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4654091f2dbcfce6f65d4279aaf126d1aaed7d120e9ce87852f1b805481e3105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4654091f2dbcfce6f65d4279aaf126d1aaed7d120e9ce87852f1b805481e3105", kill_on_drop: false }` [INFO] [stdout] 4654091f2dbcfce6f65d4279aaf126d1aaed7d120e9ce87852f1b805481e3105