[INFO] cloning repository https://github.com/aleshaleksey/libchmq
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aleshaleksey/libchmq" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleshaleksey%2Flibchmq", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleshaleksey%2Flibchmq'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9ced2de0a248160d9c4092642ff87bec16bd1a09
[INFO] checking aleshaleksey/libchmq/9ced2de0a248160d9c4092642ff87bec16bd1a09 against master#818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc for pr-156114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleshaleksey%2Flibchmq" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aleshaleksey/libchmq
[INFO] finished tweaking git repo https://github.com/aleshaleksey/libchmq
[INFO] tweaked toml for git repo https://github.com/aleshaleksey/libchmq written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aleshaleksey/libchmq on toolchain 818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aleshaleksey/libchmq already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.74
[INFO] [stderr]   Downloaded winapi-util v0.1.1
[INFO] [stderr]   Downloaded rand v0.3.22
[INFO] [stderr]   Downloaded itoa v0.4.3
[INFO] [stderr]   Downloaded combine v2.5.2
[INFO] [stderr]   Downloaded walkdir v2.2.5
[INFO] [stderr]   Downloaded quote v0.6.8
[INFO] [stderr]   Downloaded ascii v0.7.1
[INFO] [stderr]   Downloaded serde v1.0.74
[INFO] [stderr]   Downloaded error-chain v0.11.0
[INFO] [stderr]   Downloaded syn v0.14.9
[INFO] [stderr]   Downloaded proc-macro2 v0.4.20
[INFO] [stderr]   Downloaded serde_json v1.0.26
[INFO] [stderr]   Downloaded same-file v1.0.3
[INFO] [stderr]   Downloaded log v0.3.7
[INFO] [stderr]   Downloaded ryu v0.2.6
[INFO] [stderr]   Downloaded rand v0.4.3
[INFO] [stderr]   Downloaded libc v0.2.34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 612227ef1ac817e7da6ac5a8e469f2dd5dc4460e4d37f0046f165a36374233aa
[INFO] running `Command { std: "docker" "start" "-a" "612227ef1ac817e7da6ac5a8e469f2dd5dc4460e4d37f0046f165a36374233aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "612227ef1ac817e7da6ac5a8e469f2dd5dc4460e4d37f0046f165a36374233aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "612227ef1ac817e7da6ac5a8e469f2dd5dc4460e4d37f0046f165a36374233aa", kill_on_drop: false }`
[INFO] [stdout] 612227ef1ac817e7da6ac5a8e469f2dd5dc4460e4d37f0046f165a36374233aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85f28ffd84544a8c2e7eba1c9e632d7ba9e8267e8304ee6d3028a1dacd7ab107
[INFO] running `Command { std: "docker" "start" "-a" "85f28ffd84544a8c2e7eba1c9e632d7ba9e8267e8304ee6d3028a1dacd7ab107", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling proc-macro2 v0.4.20
[INFO] [stderr]    Compiling same-file v1.0.3
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling ryu v0.2.6
[INFO] [stderr]    Compiling serde v1.0.74
[INFO] [stderr]     Checking byteorder v1.2.6
[INFO] [stderr]     Checking ascii v0.7.1
[INFO] [stderr]     Checking libc v0.2.34
[INFO] [stderr]     Checking log v0.3.7
[INFO] [stderr]     Checking jni-sys v0.3.0
[INFO] [stderr]    Compiling walkdir v2.2.5
[INFO] [stderr]     Checking itoa v0.4.3
[INFO] [stderr]     Checking rand v0.4.3
[INFO] [stderr]     Checking error-chain v0.11.0
[INFO] [stderr]     Checking cesu8 v1.1.0
[INFO] [stderr]     Checking combine v2.5.2
[INFO] [stderr]    Compiling jni v0.10.1 (/opt/rustwide/workdir/jni-rs)
[INFO] [stderr]    Compiling quote v0.6.8
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]     Checking rand v0.3.22
[INFO] [stdout] warning: lint `unused_doc_comment` has been renamed to `unused_doc_comments`
[INFO] [stdout]  --> jni-rs/src/wrapper/errors.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unused_doc_comment)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_doc_comments`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> jni-rs/src/wrapper/descriptors/desc.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn lookup(self, &JNIEnv<'a>) -> Result<T>;
[INFO] [stdout]    |                     ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &JNIEnv<'a>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::class_desc::*`
[INFO] [stdout]  --> jni-rs/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]  --> jni-rs/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]   --> jni-rs/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]   --> jni-rs/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]   --> jni-rs/src/wrapper/objects/jmap.rs:69:16
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn get(&self, key: JObject<'a>) -> Result<Option<JObject>> {
[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]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn get(&self, key: JObject<'a>) -> Result<Option<JObject<'_>>> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> jni-rs/src/wrapper/objects/jmap.rs:90:16
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn put(&self, key: JObject<'a>, value: JObject<'a>) -> Result<Option<JObject>> {
[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] 90 |     pub fn put(&self, key: JObject<'a>, value: JObject<'a>) -> Result<Option<JObject<'_>>> {
[INFO] [stdout]    |                                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> jni-rs/src/wrapper/objects/jlist.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn get(&self, idx: jint) -> Result<Option<JObject>> {
[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] 68 |     pub fn get(&self, idx: jint) -> Result<Option<JObject<'_>>> {
[INFO] [stdout]    |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:111:28
[INFO] [stdout]     |
[INFO] [stdout] 111 |     pub fn define_class<S>(&self, name: S, loader: JObject, buf: &[u8]) -> Result<JClass>
[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] 111 |     pub fn define_class<S>(&self, name: S, loader: JObject, buf: &[u8]) -> Result<JClass<'_>>
[INFO] [stdout]     |                                                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:145:30
[INFO] [stdout]     |
[INFO] [stdout] 145 |     pub fn get_superclass<T>(&self, class: T) -> Result<JClass>
[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] 145 |     pub fn get_superclass<T>(&self, class: T) -> Result<JClass<'_>>
[INFO] [stdout]     |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:239:31
[INFO] [stdout]     |
[INFO] [stdout] 239 |     pub fn exception_occurred(&self) -> Result<JThrowable> {
[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] 239 |     pub fn exception_occurred(&self) -> Result<JThrowable<'_>> {
[INFO] [stdout]     |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:267:16
[INFO] [stdout]     |
[INFO] [stdout] 267 |         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 <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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] 267 |         panic!("{}", res.unwrap_err());
[INFO] [stdout]     |                +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 267 -         panic!(res.unwrap_err());
[INFO] [stdout] 267 +         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]    --> jni-rs/src/wrapper/jnienv.rs:279:35
[INFO] [stdout]     |
[INFO] [stdout] 279 |     pub fn new_direct_byte_buffer(&self, data: &mut [u8]) -> Result<JByteBuffer> {
[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] 279 |     pub fn new_direct_byte_buffer(&self, data: &mut [u8]) -> Result<JByteBuffer<'_>> {
[INFO] [stdout]     |                                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:322:29
[INFO] [stdout]     |
[INFO] [stdout] 322 |     pub fn new_local_ref<T>(&self, obj: JObject) -> Result<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] 322 |     pub fn new_local_ref<T>(&self, obj: JObject) -> Result<JObject<'_>> {
[INFO] [stdout]     |                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:389:28
[INFO] [stdout]     |
[INFO] [stdout] 389 |     pub fn pop_local_frame(&self, result: JObject) -> Result<JObject> {
[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] 389 |     pub fn pop_local_frame(&self, result: JObject) -> Result<JObject<'_>> {
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:396:32
[INFO] [stdout]     |
[INFO] [stdout] 396 |     pub fn with_local_frame<F>(&self, capacity: i32, f: F) -> Result<JObject>
[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] 396 |     pub fn with_local_frame<F>(&self, capacity: i32, f: F) -> Result<JObject<'_>>
[INFO] [stdout]     |                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:413:28
[INFO] [stdout]     |
[INFO] [stdout] 413 |     pub fn alloc_object<T>(&self, class: T) -> Result<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] 413 |     pub fn alloc_object<T>(&self, class: T) -> Result<JObject<'_>>
[INFO] [stdout]     |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:605:9
[INFO] [stdout]     |
[INFO] [stdout] 605 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 610 |     ) -> Result<JValue>
[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] 610 |     ) -> Result<JValue<'_>>
[INFO] [stdout]     |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:717:9
[INFO] [stdout]     |
[INFO] [stdout] 717 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 722 |     ) -> Result<JValue>
[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] 722 |     ) -> Result<JValue<'_>>
[INFO] [stdout]     |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:818:17
[INFO] [stdout]     |
[INFO] [stdout] 813 |         &'a self,
[INFO] [stdout]     |          -- the lifetime is named here
[INFO] [stdout] ...
[INFO] [stdout] 818 |     ) -> Result<JValue>
[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: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 818 |     ) -> Result<JValue<'a>>
[INFO] [stdout]     |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:850:9
[INFO] [stdout]     |
[INFO] [stdout] 850 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 855 |     ) -> Result<JValue>
[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] 855 |     ) -> Result<JValue<'_>>
[INFO] [stdout]     |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:933:21
[INFO] [stdout]     |
[INFO] [stdout] 933 |     pub fn get_list(&self, obj: JObject<'a>) -> Result<JList> {
[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] 933 |     pub fn get_list(&self, obj: JObject<'a>) -> Result<JList<'_>> {
[INFO] [stdout]     |                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:941:20
[INFO] [stdout]     |
[INFO] [stdout] 941 |     pub fn get_map(&self, obj: JObject<'a>) -> Result<JMap> {
[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] 941 |     pub fn get_map(&self, obj: JObject<'a>) -> Result<JMap<'_>> {
[INFO] [stdout]     |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> jni-rs/src/wrapper/jnienv.rs:951:23
[INFO] [stdout]     |
[INFO] [stdout] 951 |     pub fn get_string(&self, obj: JString<'a>) -> Result<JavaStr> {
[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] 951 |     pub fn get_string(&self, obj: JString<'a>) -> Result<JavaStr<'_>> {
[INFO] [stdout]     |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> jni-rs/src/wrapper/jnienv.rs:1022:37
[INFO] [stdout]      |
[INFO] [stdout] 1022 |     pub fn get_object_array_element(&self, array: jobjectArray, index: jsize) -> Result<JObject> {
[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] 1022 |     pub fn get_object_array_element(&self, array: jobjectArray, index: jsize) -> Result<JObject<'_>> {
[INFO] [stdout]      |                                                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> jni-rs/src/wrapper/jnienv.rs:1450:39
[INFO] [stdout]      |
[INFO] [stdout] 1450 |     pub unsafe fn get_field_unsafe<T>(&self, obj: JObject, field: T, ty: JavaType) -> Result<JValue>
[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] 1450 |     pub unsafe fn get_field_unsafe<T>(&self, obj: JObject, field: T, ty: JavaType) -> Result<JValue<'_>>
[INFO] [stdout]      |                                                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> jni-rs/src/wrapper/jnienv.rs:1552:28
[INFO] [stdout]      |
[INFO] [stdout] 1552 |     pub fn get_field<S, T>(&self, obj: JObject, name: S, ty: T) -> Result<JValue>
[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] 1552 |     pub fn get_field<S, T>(&self, obj: JObject, name: S, ty: T) -> Result<JValue<'_>>
[INFO] [stdout]      |                                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> jni-rs/src/wrapper/jnienv.rs:1615:9
[INFO] [stdout]      |
[INFO] [stdout] 1615 |         &self,
[INFO] [stdout]      |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 1619 |     ) -> Result<JValue>
[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] 1619 |     ) -> Result<JValue<'_>>
[INFO] [stdout]      |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> jni-rs/src/wrapper/jnienv.rs:1677:38
[INFO] [stdout]      |
[INFO] [stdout] 1677 |     pub fn get_static_field<T, U, V>(&self, class: T, field: U, sig: V) -> Result<JValue>
[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] 1677 |     pub fn get_static_field<T, U, V>(&self, class: T, field: U, sig: V) -> Result<JValue<'_>>
[INFO] [stdout]      |                                                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> jni-rs/src/wrapper/jnienv.rs:1732:40
[INFO] [stdout]      |
[INFO] [stdout] 1732 |     pub unsafe fn get_rust_field<S, T>(&self, obj: JObject, field: S) -> Result<MutexGuard<T>>
[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] 1732 |     pub unsafe fn get_rust_field<S, T>(&self, obj: JObject, field: S) -> Result<MutexGuard<'_, T>>
[INFO] [stdout]      |                                                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-binding let on a synchronization lock
[INFO] [stdout]     --> jni-rs/src/wrapper/jnienv.rs:1772:17
[INFO] [stdout]      |
[INFO] [stdout] 1772 |             let _ = mbox.try_lock()?;
[INFO] [stdout]      |                 ^ this lock is not assigned to a binding and is immediately dropped
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[deny(let_underscore_lock)]` (part of `#[deny(let_underscore)]`) on by default
[INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value
[INFO] [stdout]      |
[INFO] [stdout] 1772 |             let _unused = mbox.try_lock()?;
[INFO] [stdout]      |                  ++++++
[INFO] [stdout] help: consider immediately dropping the value
[INFO] [stdout]      |
[INFO] [stdout] 1772 -             let _ = mbox.try_lock()?;
[INFO] [stdout] 1772 +             drop(mbox.try_lock()?);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> jni-rs/src/wrapper/java_vm/vm.rs:50:34
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn attach_current_thread(&self) -> Result<AttachGuard> {
[INFO] [stdout]    |                                  ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn attach_current_thread(&self) -> Result<AttachGuard<'_>> {
[INFO] [stdout]    |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> jni-rs/src/wrapper/java_vm/vm.rs:65:44
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn attach_current_thread_as_daemon(&self) -> Result<JNIEnv> {
[INFO] [stdout]    |                                            ^^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn attach_current_thread_as_daemon(&self) -> Result<JNIEnv<'_>> {
[INFO] [stdout]    |                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> jni-rs/src/wrapper/java_vm/vm.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn get_env(&self) -> Result<JNIEnv> {
[INFO] [stdout]    |                    ^^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn get_env(&self) -> Result<JNIEnv<'_>> {
[INFO] [stdout]    |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_derive v1.0.74
[INFO] [stderr] error: could not compile `jni` (lib) due to 1 previous error; 34 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "85f28ffd84544a8c2e7eba1c9e632d7ba9e8267e8304ee6d3028a1dacd7ab107", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85f28ffd84544a8c2e7eba1c9e632d7ba9e8267e8304ee6d3028a1dacd7ab107", kill_on_drop: false }`
[INFO] [stdout] 85f28ffd84544a8c2e7eba1c9e632d7ba9e8267e8304ee6d3028a1dacd7ab107
