[INFO] fetching crate j4rs 0.22.0... [INFO] checking j4rs-0.22.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate j4rs 0.22.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate j4rs 0.22.0 [INFO] finished tweaking crates.io crate j4rs 0.22.0 [INFO] tweaked toml for crates.io crate j4rs 0.22.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate j4rs 0.22.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate j4rs 0.22.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jni-sys v0.4.0 [INFO] [stderr] Downloaded jni-sys-macros v0.1.0 [INFO] [stderr] Downloaded java-locator v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17322a93f8ab660912dd2a2684a117489904ee6b188ffe88c11668ed330368c8 [INFO] running `Command { std: "docker" "start" "-a" "17322a93f8ab660912dd2a2684a117489904ee6b188ffe88c11668ed330368c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17322a93f8ab660912dd2a2684a117489904ee6b188ffe88c11668ed330368c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17322a93f8ab660912dd2a2684a117489904ee6b188ffe88c11668ed330368c8", kill_on_drop: false }` [INFO] [stdout] 17322a93f8ab660912dd2a2684a117489904ee6b188ffe88c11668ed330368c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43994b539e8df07a9ea749f21a0f932a4dc10709e7f34dee7d2cc8b7dcbc7115 [INFO] running `Command { std: "docker" "start" "-a" "43994b539e8df07a9ea749f21a0f932a4dc10709e7f34dee7d2cc8b7dcbc7115", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling j4rs v0.22.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking java-locator v0.1.8 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling jni-sys-macros v0.1.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking jni-sys v0.4.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/cache.rs:383:32 [INFO] [stdout] | [INFO] [stdout] 383 | |existing_jni_env_opt| (*existing_jni_env_opt.borrow()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 383 - |existing_jni_env_opt| (*existing_jni_env_opt.borrow()), [INFO] [stdout] 383 + |existing_jni_env_opt| *existing_jni_env_opt.borrow(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1508:18 [INFO] [stdout] | [INFO] [stdout] 1508 | pub fn chain(&self, instance: &Instance) -> errors::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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1508 | pub fn chain(&self, instance: &Instance) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1513:23 [INFO] [stdout] | [INFO] [stdout] 1513 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance { [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] 1513 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:2114:33 [INFO] [stdout] | [INFO] [stdout] 2114 | pub fn new(classpath_entry: &str) -> ClasspathEntry { [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] 2114 | pub fn new(classpath_entry: &str) -> ClasspathEntry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:2130:26 [INFO] [stdout] | [INFO] [stdout] 2130 | pub fn new(java_opt: &str) -> JavaOpt { [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] 2130 | pub fn new(java_opt: &str) -> JavaOpt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 210 | ) -> errors::Result { [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] 210 | ) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn clone_instance(&self) -> errors::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] 216 | pub fn clone_instance(&self) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn cast(&self, to_class: &str) -> errors::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] 222 | pub fn cast(&self, to_class: &str) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn field(&self, field_name: &str) -> errors::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] 228 | pub fn field(&self, field_name: &str) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vmBuf` should have a snake case name [INFO] [stdout] --> src/api_tweaks/generic.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "system" fn(vmBuf: *mut *mut JavaVM, bufLen: jsize, nVMs: *mut jsize) -> jint; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `vm_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bufLen` should have a snake case name [INFO] [stdout] --> src/api_tweaks/generic.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "system" fn(vmBuf: *mut *mut JavaVM, bufLen: jsize, nVMs: *mut jsize) -> jint; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `buf_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nVMs` should have a snake case name [INFO] [stdout] --> src/api_tweaks/generic.rs:23:71 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "system" fn(vmBuf: *mut *mut JavaVM, bufLen: jsize, nVMs: *mut jsize) -> jint; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `n_vms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_instance_creation` is never used [INFO] [stdout] --> benches/j4rs_benchmark.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn do_instance_creation(jvm: &Jvm) -> Instance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_invocation_w_no_args` is never used [INFO] [stdout] --> benches/j4rs_benchmark.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn do_invocation_w_no_args(jvm: &Jvm, instance: &Instance) -> Instance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_invocation_w_string_args` is never used [INFO] [stdout] --> benches/j4rs_benchmark.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn do_invocation_w_string_args(jvm: &Jvm, instance: &Instance) -> Instance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_invocation_w_integer_args` is never used [INFO] [stdout] --> benches/j4rs_benchmark.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn do_invocation_w_integer_args(jvm: &Jvm, instance: &Instance) -> Instance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_invocation_w_string_args_and_to_rust` is never used [INFO] [stdout] --> benches/j4rs_benchmark.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn do_invocation_w_string_args_and_to_rust(jvm: &Jvm, instance: &Instance) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `j4rs_benchmark` is never used [INFO] [stdout] --> benches/j4rs_benchmark.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn j4rs_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/cache.rs:383:32 [INFO] [stdout] | [INFO] [stdout] 383 | |existing_jni_env_opt| (*existing_jni_env_opt.borrow()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 383 - |existing_jni_env_opt| (*existing_jni_env_opt.borrow()), [INFO] [stdout] 383 + |existing_jni_env_opt| *existing_jni_env_opt.borrow(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1508:18 [INFO] [stdout] | [INFO] [stdout] 1508 | pub fn chain(&self, instance: &Instance) -> errors::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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1508 | pub fn chain(&self, instance: &Instance) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1513:23 [INFO] [stdout] | [INFO] [stdout] 1513 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance { [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] 1513 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:2114:33 [INFO] [stdout] | [INFO] [stdout] 2114 | pub fn new(classpath_entry: &str) -> ClasspathEntry { [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] 2114 | pub fn new(classpath_entry: &str) -> ClasspathEntry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:2130:26 [INFO] [stdout] | [INFO] [stdout] 2130 | pub fn new(java_opt: &str) -> JavaOpt { [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] 2130 | pub fn new(java_opt: &str) -> JavaOpt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 210 | ) -> errors::Result { [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] 210 | ) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn clone_instance(&self) -> errors::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] 216 | pub fn clone_instance(&self) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn cast(&self, to_class: &str) -> errors::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] 222 | pub fn cast(&self, to_class: &str) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn field(&self, field_name: &str) -> errors::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] 228 | pub fn field(&self, field_name: &str) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vmBuf` should have a snake case name [INFO] [stdout] --> src/api_tweaks/generic.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "system" fn(vmBuf: *mut *mut JavaVM, bufLen: jsize, nVMs: *mut jsize) -> jint; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `vm_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bufLen` should have a snake case name [INFO] [stdout] --> src/api_tweaks/generic.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "system" fn(vmBuf: *mut *mut JavaVM, bufLen: jsize, nVMs: *mut jsize) -> jint; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `buf_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nVMs` should have a snake case name [INFO] [stdout] --> src/api_tweaks/generic.rs:23:71 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "system" fn(vmBuf: *mut *mut JavaVM, bufLen: jsize, nVMs: *mut jsize) -> jint; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `n_vms` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.93s [INFO] running `Command { std: "docker" "inspect" "43994b539e8df07a9ea749f21a0f932a4dc10709e7f34dee7d2cc8b7dcbc7115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43994b539e8df07a9ea749f21a0f932a4dc10709e7f34dee7d2cc8b7dcbc7115", kill_on_drop: false }` [INFO] [stdout] 43994b539e8df07a9ea749f21a0f932a4dc10709e7f34dee7d2cc8b7dcbc7115