[INFO] fetching crate j4rs 0.22.0... [INFO] testing j4rs-0.22.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate j4rs 0.22.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate j4rs 0.22.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a71ca36532e98f2c8a2d4dd5fc8ac7cdf8e3e64c15cd03cd33f53368740f2c24 [INFO] running `Command { std: "docker" "start" "-a" "a71ca36532e98f2c8a2d4dd5fc8ac7cdf8e3e64c15cd03cd33f53368740f2c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a71ca36532e98f2c8a2d4dd5fc8ac7cdf8e3e64c15cd03cd33f53368740f2c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a71ca36532e98f2c8a2d4dd5fc8ac7cdf8e3e64c15cd03cd33f53368740f2c24", kill_on_drop: false }` [INFO] [stdout] a71ca36532e98f2c8a2d4dd5fc8ac7cdf8e3e64c15cd03cd33f53368740f2c24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6a3199e2980a6931ea0d2b1ba89d1614bc83539a1bca9a6b0bb009ce18e9f3f [INFO] running `Command { std: "docker" "start" "-a" "b6a3199e2980a6931ea0d2b1ba89d1614bc83539a1bca9a6b0bb009ce18e9f3f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling java-locator v0.1.8 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling j4rs v0.22.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling jni-sys-macros v0.1.0 [INFO] [stderr] Compiling jni-sys v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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 23.05s [INFO] running `Command { std: "docker" "inspect" "b6a3199e2980a6931ea0d2b1ba89d1614bc83539a1bca9a6b0bb009ce18e9f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a3199e2980a6931ea0d2b1ba89d1614bc83539a1bca9a6b0bb009ce18e9f3f", kill_on_drop: false }` [INFO] [stdout] b6a3199e2980a6931ea0d2b1ba89d1614bc83539a1bca9a6b0bb009ce18e9f3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06869f32b5cf575b7532aa15f79d82aacc940aab318635e3bd0c5e13babc29c8 [INFO] running `Command { std: "docker" "start" "-a" "06869f32b5cf575b7532aa15f79d82aacc940aab318635e3bd0c5e13babc29c8", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling value-bag v1.10.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling j4rs v0.22.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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] Compiling polling v3.7.4 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.0 [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)]` (part of `#[warn(nonstandard_style)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 58.77s [INFO] running `Command { std: "docker" "inspect" "06869f32b5cf575b7532aa15f79d82aacc940aab318635e3bd0c5e13babc29c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06869f32b5cf575b7532aa15f79d82aacc940aab318635e3bd0c5e13babc29c8", kill_on_drop: false }` [INFO] [stdout] 06869f32b5cf575b7532aa15f79d82aacc940aab318635e3bd0c5e13babc29c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8113f8c4db8515ac76d3e4c78092ccc9c5de26868c41c3a250645fa1b6c4a981 [INFO] running `Command { std: "docker" "start" "-a" "8113f8c4db8515ac76d3e4c78092ccc9c5de26868c41c3a250645fa1b6c4a981", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/cache.rs:383:32 [INFO] [stderr] | [INFO] [stderr] 383 | |existing_jni_env_opt| (*existing_jni_env_opt.borrow()), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 383 - |existing_jni_env_opt| (*existing_jni_env_opt.borrow()), [INFO] [stderr] 383 + |existing_jni_env_opt| *existing_jni_env_opt.borrow(), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1508:18 [INFO] [stderr] | [INFO] [stderr] 1508 | pub fn chain(&self, instance: &Instance) -> errors::Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1508 | pub fn chain(&self, instance: &Instance) -> errors::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1513:23 [INFO] [stderr] | [INFO] [stderr] 1513 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1513 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:2114:33 [INFO] [stderr] | [INFO] [stderr] 2114 | pub fn new(classpath_entry: &str) -> ClasspathEntry { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2114 | pub fn new(classpath_entry: &str) -> ClasspathEntry<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:2130:26 [INFO] [stderr] | [INFO] [stderr] 2130 | pub fn new(java_opt: &str) -> JavaOpt { [INFO] [stderr] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2130 | pub fn new(java_opt: &str) -> JavaOpt<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/instance.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 210 | ) -> errors::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 210 | ) -> errors::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/instance.rs:216:27 [INFO] [stderr] | [INFO] [stderr] 216 | pub fn clone_instance(&self) -> errors::Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 216 | pub fn clone_instance(&self) -> errors::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/instance.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | pub fn cast(&self, to_class: &str) -> errors::Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 222 | pub fn cast(&self, to_class: &str) -> errors::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/instance.rs:228:18 [INFO] [stderr] | [INFO] [stderr] 228 | pub fn field(&self, field_name: &str) -> errors::Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 228 | pub fn field(&self, field_name: &str) -> errors::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: variable `vmBuf` should have a snake case name [INFO] [stderr] --> src/api_tweaks/generic.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe extern "system" fn(vmBuf: *mut *mut JavaVM, bufLen: jsize, nVMs: *mut jsize) -> jint; [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `vm_buf` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `bufLen` should have a snake case name [INFO] [stderr] --> src/api_tweaks/generic.rs:23:56 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe extern "system" fn(vmBuf: *mut *mut JavaVM, bufLen: jsize, nVMs: *mut jsize) -> jint; [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `buf_len` [INFO] [stderr] [INFO] [stderr] warning: variable `nVMs` should have a snake case name [INFO] [stderr] --> src/api_tweaks/generic.rs:23:71 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe extern "system" fn(vmBuf: *mut *mut JavaVM, bufLen: jsize, nVMs: *mut jsize) -> jint; [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `n_vms` [INFO] [stderr] [INFO] [stderr] warning: `j4rs` (lib) generated 12 warnings (run `cargo fix --lib -p j4rs` to apply 9 suggestions) [INFO] [stderr] warning: `j4rs` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/j4rs-8b0298945846d5ac) [INFO] [stdout] [INFO] [stdout] running 80 tests [INFO] [stdout] Error occurred during initialization of VM [INFO] [stdout] java.lang.NoSuchMethodError: java.net.URLClassLoader.(Ljava/lang/String;[Ljava/net/URL;Ljava/lang/ClassLoader;)V [INFO] [stdout] at org.astonbitecode.j4rs.api.deploy.J4rsClassLoader.(J4rsClassLoader.java:22) [INFO] [stdout] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [INFO] [stdout] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [INFO] [stdout] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [INFO] [stdout] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [INFO] [stdout] at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2204) [INFO] [stdout] at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2188) [INFO] [stdout] at java.security.AccessController.doPrivileged(Native Method) [INFO] [stdout] at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1449) [INFO] [stdout] at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1429) [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/j4rs-8b0298945846d5ac` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "8113f8c4db8515ac76d3e4c78092ccc9c5de26868c41c3a250645fa1b6c4a981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8113f8c4db8515ac76d3e4c78092ccc9c5de26868c41c3a250645fa1b6c4a981", kill_on_drop: false }` [INFO] [stdout] 8113f8c4db8515ac76d3e4c78092ccc9c5de26868c41c3a250645fa1b6c4a981