[INFO] fetching crate j4rs-171h 0.18.1... [INFO] testing j4rs-171h-0.18.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate j4rs-171h 0.18.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate j4rs-171h 0.18.1 [INFO] finished tweaking crates.io crate j4rs-171h 0.18.1 [INFO] tweaked toml for crates.io crate j4rs-171h 0.18.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate j4rs-171h 0.18.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 176 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding dirs v5.0.1 (available: v6.0.0) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] cf54e912ab15ded860356a544f46987d11fe48a76501da1d422419954f650fcb [INFO] running `Command { std: "docker" "start" "-a" "cf54e912ab15ded860356a544f46987d11fe48a76501da1d422419954f650fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf54e912ab15ded860356a544f46987d11fe48a76501da1d422419954f650fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf54e912ab15ded860356a544f46987d11fe48a76501da1d422419954f650fcb", kill_on_drop: false }` [INFO] [stdout] cf54e912ab15ded860356a544f46987d11fe48a76501da1d422419954f650fcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c46b3a11f4a6a642ab9d8aa2f6b3da64db96f140435cef45018975e6b713d689 [INFO] running `Command { std: "docker" "start" "-a" "c46b3a11f4a6a642ab9d8aa2f6b3da64db96f140435cef45018975e6b713d689", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling java-locator v0.1.9 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling j4rs-171h v0.18.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `javafx` [INFO] [stdout] --> build.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | if cfg!(feature = "javafx") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `no-runtime-libloading` [INFO] [stdout] = help: consider adding `javafx` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling jni-sys-macros v0.1.0 [INFO] [stderr] Compiling jni-sys v0.4.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1321:18 [INFO] [stdout] | [INFO] [stdout] 1321 | 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] 1321 | 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:1326:23 [INFO] [stdout] | [INFO] [stdout] 1326 | 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] 1326 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1522:83 [INFO] [stdout] | [INFO] [stdout] 1522 | pub fn classpath_entry(&'a mut self, cp_entry: ClasspathEntry<'a>) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here the lifetime is named 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] 1522 | pub fn classpath_entry(&'a mut self, cp_entry: ClasspathEntry<'a>) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1531:18 [INFO] [stdout] | [INFO] [stdout] 1529 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1530 | cp_entries: Vec>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1531 | ) -> &'a mut JvmBuilder { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named 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] 1531 | ) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1539:64 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn java_opt(&'a mut self, opt: JavaOpt<'a>) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1539 | pub fn java_opt(&'a mut self, opt: JavaOpt<'a>) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1545:71 [INFO] [stdout] | [INFO] [stdout] 1545 | pub fn java_opts(&'a mut self, opts: Vec>) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here the lifetime is named 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] 1545 | pub fn java_opts(&'a mut self, opts: Vec>) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1554:64 [INFO] [stdout] | [INFO] [stdout] 1554 | pub fn with_no_implicit_classpath(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1554 | pub fn with_no_implicit_classpath(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1564:88 [INFO] [stdout] | [INFO] [stdout] 1564 | pub fn detach_thread_on_drop(&'a mut self, detach_thread_on_drop: bool) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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] 1564 | pub fn detach_thread_on_drop(&'a mut self, detach_thread_on_drop: bool) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1573:74 [INFO] [stdout] | [INFO] [stdout] 1573 | pub fn with_native_lib_name(&'a mut self, lib_name: &str) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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] 1573 | pub fn with_native_lib_name(&'a mut self, lib_name: &str) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1580:61 [INFO] [stdout] | [INFO] [stdout] 1580 | pub fn skip_setting_native_lib(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1580 | pub fn skip_setting_native_lib(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1587:69 [INFO] [stdout] | [INFO] [stdout] 1587 | pub fn with_base_path(&'a mut self, base_path: &str) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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] 1587 | pub fn with_base_path(&'a mut self, base_path: &str) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1593:88 [INFO] [stdout] | [INFO] [stdout] 1593 | pub fn with_maven_settings(&'a mut self, maven_settings: MavenSettings) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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] 1593 | pub fn with_maven_settings(&'a mut self, maven_settings: MavenSettings) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1599:57 [INFO] [stdout] | [INFO] [stdout] 1599 | pub fn with_javafx_support(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1599 | pub fn with_javafx_support(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1625:62 [INFO] [stdout] | [INFO] [stdout] 1625 | pub fn with_default_classloader(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1625 | pub fn with_default_classloader(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1861:33 [INFO] [stdout] | [INFO] [stdout] 1861 | 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] 1861 | 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:1877:26 [INFO] [stdout] | [INFO] [stdout] 1877 | 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] 1877 | pub fn new(java_opt: &str) -> JavaOpt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:177:60 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) fn new(instance: Instance, jvm: &'a Jvm) -> ChainableInstance { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 177 | pub(crate) fn new(instance: Instance, jvm: &'a Jvm) -> ChainableInstance<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 201 | ) -> 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] 201 | ) -> 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:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | 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] 207 | 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:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | 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] 213 | 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:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | 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] 219 | 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:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:71 [INFO] [stdout] | [INFO] [stdout] 24 | 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: variable `methodID` should have a snake case name [INFO] [stdout] --> src/cache.rs:87:58 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe extern "C" fn(env: *mut JNIEnv, obj: jobject, methodID: jmethodID, ...) -> jobject; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `method_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.77s [INFO] running `Command { std: "docker" "inspect" "c46b3a11f4a6a642ab9d8aa2f6b3da64db96f140435cef45018975e6b713d689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c46b3a11f4a6a642ab9d8aa2f6b3da64db96f140435cef45018975e6b713d689", kill_on_drop: false }` [INFO] [stdout] c46b3a11f4a6a642ab9d8aa2f6b3da64db96f140435cef45018975e6b713d689 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7fd207c3f06d4207774fc651ff133718e5db4b182461d2fed9d8aab0e28ccffe [INFO] running `Command { std: "docker" "start" "-a" "7fd207c3f06d4207774fc651ff133718e5db4b182461d2fed9d8aab0e28ccffe", kill_on_drop: false }` [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stdout] warning: unexpected `cfg` condition value: `javafx` [INFO] [stdout] --> build.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | if cfg!(feature = "javafx") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `no-runtime-libloading` [INFO] [stdout] = help: consider adding `javafx` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling j4rs-171h v0.18.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1321:18 [INFO] [stdout] | [INFO] [stdout] 1321 | 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] 1321 | 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:1326:23 [INFO] [stdout] | [INFO] [stdout] 1326 | 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] 1326 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1522:83 [INFO] [stdout] | [INFO] [stdout] 1522 | pub fn classpath_entry(&'a mut self, cp_entry: ClasspathEntry<'a>) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here the lifetime is named 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] 1522 | pub fn classpath_entry(&'a mut self, cp_entry: ClasspathEntry<'a>) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1531:18 [INFO] [stdout] | [INFO] [stdout] 1529 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1530 | cp_entries: Vec>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1531 | ) -> &'a mut JvmBuilder { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named 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] 1531 | ) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1539:64 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn java_opt(&'a mut self, opt: JavaOpt<'a>) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1539 | pub fn java_opt(&'a mut self, opt: JavaOpt<'a>) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1545:71 [INFO] [stdout] | [INFO] [stdout] 1545 | pub fn java_opts(&'a mut self, opts: Vec>) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here the lifetime is named 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] 1545 | pub fn java_opts(&'a mut self, opts: Vec>) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1554:64 [INFO] [stdout] | [INFO] [stdout] 1554 | pub fn with_no_implicit_classpath(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1554 | pub fn with_no_implicit_classpath(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1564:88 [INFO] [stdout] | [INFO] [stdout] 1564 | pub fn detach_thread_on_drop(&'a mut self, detach_thread_on_drop: bool) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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] 1564 | pub fn detach_thread_on_drop(&'a mut self, detach_thread_on_drop: bool) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1573:74 [INFO] [stdout] | [INFO] [stdout] 1573 | pub fn with_native_lib_name(&'a mut self, lib_name: &str) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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] 1573 | pub fn with_native_lib_name(&'a mut self, lib_name: &str) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1580:61 [INFO] [stdout] | [INFO] [stdout] 1580 | pub fn skip_setting_native_lib(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1580 | pub fn skip_setting_native_lib(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1587:69 [INFO] [stdout] | [INFO] [stdout] 1587 | pub fn with_base_path(&'a mut self, base_path: &str) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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] 1587 | pub fn with_base_path(&'a mut self, base_path: &str) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1593:88 [INFO] [stdout] | [INFO] [stdout] 1593 | pub fn with_maven_settings(&'a mut self, maven_settings: MavenSettings) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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] 1593 | pub fn with_maven_settings(&'a mut self, maven_settings: MavenSettings) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1599:57 [INFO] [stdout] | [INFO] [stdout] 1599 | pub fn with_javafx_support(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1599 | pub fn with_javafx_support(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1625:62 [INFO] [stdout] | [INFO] [stdout] 1625 | pub fn with_default_classloader(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1625 | pub fn with_default_classloader(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1861:33 [INFO] [stdout] | [INFO] [stdout] 1861 | 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] 1861 | 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:1877:26 [INFO] [stdout] | [INFO] [stdout] 1877 | 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] 1877 | pub fn new(java_opt: &str) -> JavaOpt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:177:60 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) fn new(instance: Instance, jvm: &'a Jvm) -> ChainableInstance { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 177 | pub(crate) fn new(instance: Instance, jvm: &'a Jvm) -> ChainableInstance<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 201 | ) -> 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] 201 | ) -> 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:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | 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] 207 | 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:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | 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] 213 | 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:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | 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] 219 | 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:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:71 [INFO] [stdout] | [INFO] [stdout] 24 | 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: variable `methodID` should have a snake case name [INFO] [stdout] --> src/cache.rs:87:58 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe extern "C" fn(env: *mut JNIEnv, obj: jobject, methodID: jmethodID, ...) -> jobject; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `method_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1321:18 [INFO] [stdout] | [INFO] [stdout] 1321 | 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] 1321 | 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:1326:23 [INFO] [stdout] | [INFO] [stdout] 1326 | 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] 1326 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1522:83 [INFO] [stdout] | [INFO] [stdout] 1522 | pub fn classpath_entry(&'a mut self, cp_entry: ClasspathEntry<'a>) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here the lifetime is named 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] 1522 | pub fn classpath_entry(&'a mut self, cp_entry: ClasspathEntry<'a>) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1531:18 [INFO] [stdout] | [INFO] [stdout] 1529 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1530 | cp_entries: Vec>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1531 | ) -> &'a mut JvmBuilder { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named 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] 1531 | ) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1539:64 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn java_opt(&'a mut self, opt: JavaOpt<'a>) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1539 | pub fn java_opt(&'a mut self, opt: JavaOpt<'a>) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1545:71 [INFO] [stdout] | [INFO] [stdout] 1545 | pub fn java_opts(&'a mut self, opts: Vec>) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here the lifetime is named 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] 1545 | pub fn java_opts(&'a mut self, opts: Vec>) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1554:64 [INFO] [stdout] | [INFO] [stdout] 1554 | pub fn with_no_implicit_classpath(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1554 | pub fn with_no_implicit_classpath(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1564:88 [INFO] [stdout] | [INFO] [stdout] 1564 | pub fn detach_thread_on_drop(&'a mut self, detach_thread_on_drop: bool) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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] 1564 | pub fn detach_thread_on_drop(&'a mut self, detach_thread_on_drop: bool) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1573:74 [INFO] [stdout] | [INFO] [stdout] 1573 | pub fn with_native_lib_name(&'a mut self, lib_name: &str) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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] 1573 | pub fn with_native_lib_name(&'a mut self, lib_name: &str) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1580:61 [INFO] [stdout] | [INFO] [stdout] 1580 | pub fn skip_setting_native_lib(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1580 | pub fn skip_setting_native_lib(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1587:69 [INFO] [stdout] | [INFO] [stdout] 1587 | pub fn with_base_path(&'a mut self, base_path: &str) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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] 1587 | pub fn with_base_path(&'a mut self, base_path: &str) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1593:88 [INFO] [stdout] | [INFO] [stdout] 1593 | pub fn with_maven_settings(&'a mut self, maven_settings: MavenSettings) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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] 1593 | pub fn with_maven_settings(&'a mut self, maven_settings: MavenSettings) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1599:57 [INFO] [stdout] | [INFO] [stdout] 1599 | pub fn with_javafx_support(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1599 | pub fn with_javafx_support(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1625:62 [INFO] [stdout] | [INFO] [stdout] 1625 | pub fn with_default_classloader(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named 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] 1625 | pub fn with_default_classloader(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/mod.rs:1861:33 [INFO] [stdout] | [INFO] [stdout] 1861 | 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] 1861 | 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:1877:26 [INFO] [stdout] | [INFO] [stdout] 1877 | 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] 1877 | pub fn new(java_opt: &str) -> JavaOpt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:177:60 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) fn new(instance: Instance, jvm: &'a Jvm) -> ChainableInstance { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 177 | pub(crate) fn new(instance: Instance, jvm: &'a Jvm) -> ChainableInstance<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/instance.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 201 | ) -> 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] 201 | ) -> 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:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | 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] 207 | 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:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | 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] 213 | 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:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | 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] 219 | 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:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:71 [INFO] [stdout] | [INFO] [stdout] 24 | 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: variable `methodID` should have a snake case name [INFO] [stdout] --> src/cache.rs:87:58 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe extern "C" fn(env: *mut JNIEnv, obj: jobject, methodID: jmethodID, ...) -> jobject; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `method_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.01s [INFO] running `Command { std: "docker" "inspect" "7fd207c3f06d4207774fc651ff133718e5db4b182461d2fed9d8aab0e28ccffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd207c3f06d4207774fc651ff133718e5db4b182461d2fed9d8aab0e28ccffe", kill_on_drop: false }` [INFO] [stdout] 7fd207c3f06d4207774fc651ff133718e5db4b182461d2fed9d8aab0e28ccffe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4fa1238bd0bbae355845fbfcf8b91aafed80a6453c7c271d46b84cf9242e4fd0 [INFO] running `Command { std: "docker" "start" "-a" "4fa1238bd0bbae355845fbfcf8b91aafed80a6453c7c271d46b84cf9242e4fd0", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `javafx` [INFO] [stderr] --> build.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | if cfg!(feature = "javafx") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` and `no-runtime-libloading` [INFO] [stderr] = help: consider adding `javafx` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `j4rs-171h` (build script) generated 1 warning [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1321:18 [INFO] [stderr] | [INFO] [stderr] 1321 | 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] 1321 | 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:1326:23 [INFO] [stderr] | [INFO] [stderr] 1326 | 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] 1326 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1522:83 [INFO] [stderr] | [INFO] [stderr] 1522 | pub fn classpath_entry(&'a mut self, cp_entry: ClasspathEntry<'a>) -> &'a mut JvmBuilder { [INFO] [stderr] | -- -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1522 | pub fn classpath_entry(&'a mut self, cp_entry: ClasspathEntry<'a>) -> &'a mut JvmBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1531:18 [INFO] [stderr] | [INFO] [stderr] 1529 | &'a mut self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 1530 | cp_entries: Vec>, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 1531 | ) -> &'a mut JvmBuilder { [INFO] [stderr] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1531 | ) -> &'a mut JvmBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1539:64 [INFO] [stderr] | [INFO] [stderr] 1539 | pub fn java_opt(&'a mut self, opt: JavaOpt<'a>) -> &'a mut JvmBuilder { [INFO] [stderr] | -- -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1539 | pub fn java_opt(&'a mut self, opt: JavaOpt<'a>) -> &'a mut JvmBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1545:71 [INFO] [stderr] | [INFO] [stderr] 1545 | pub fn java_opts(&'a mut self, opts: Vec>) -> &'a mut JvmBuilder { [INFO] [stderr] | -- -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1545 | pub fn java_opts(&'a mut self, opts: Vec>) -> &'a mut JvmBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1554:64 [INFO] [stderr] | [INFO] [stderr] 1554 | pub fn with_no_implicit_classpath(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stderr] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1554 | pub fn with_no_implicit_classpath(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1564:88 [INFO] [stderr] | [INFO] [stderr] 1564 | pub fn detach_thread_on_drop(&'a mut self, detach_thread_on_drop: bool) -> &'a mut JvmBuilder { [INFO] [stderr] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1564 | pub fn detach_thread_on_drop(&'a mut self, detach_thread_on_drop: bool) -> &'a mut JvmBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1573:74 [INFO] [stderr] | [INFO] [stderr] 1573 | pub fn with_native_lib_name(&'a mut self, lib_name: &str) -> &'a mut JvmBuilder { [INFO] [stderr] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1573 | pub fn with_native_lib_name(&'a mut self, lib_name: &str) -> &'a mut JvmBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1580:61 [INFO] [stderr] | [INFO] [stderr] 1580 | pub fn skip_setting_native_lib(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stderr] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1580 | pub fn skip_setting_native_lib(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1587:69 [INFO] [stderr] | [INFO] [stderr] 1587 | pub fn with_base_path(&'a mut self, base_path: &str) -> &'a mut JvmBuilder { [INFO] [stderr] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1587 | pub fn with_base_path(&'a mut self, base_path: &str) -> &'a mut JvmBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1593:88 [INFO] [stderr] | [INFO] [stderr] 1593 | pub fn with_maven_settings(&'a mut self, maven_settings: MavenSettings) -> &'a mut JvmBuilder { [INFO] [stderr] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1593 | pub fn with_maven_settings(&'a mut self, maven_settings: MavenSettings) -> &'a mut JvmBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1599:57 [INFO] [stderr] | [INFO] [stderr] 1599 | pub fn with_javafx_support(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stderr] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1599 | pub fn with_javafx_support(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1625:62 [INFO] [stderr] | [INFO] [stderr] 1625 | pub fn with_default_classloader(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stderr] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 1625 | pub fn with_default_classloader(&'a mut self) -> &'a mut JvmBuilder<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/mod.rs:1861:33 [INFO] [stderr] | [INFO] [stderr] 1861 | 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] 1861 | 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:1877:26 [INFO] [stderr] | [INFO] [stderr] 1877 | 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] 1877 | pub fn new(java_opt: &str) -> JavaOpt<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/instance.rs:177:60 [INFO] [stderr] | [INFO] [stderr] 177 | pub(crate) fn new(instance: Instance, jvm: &'a Jvm) -> ChainableInstance { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 177 | pub(crate) fn new(instance: Instance, jvm: &'a Jvm) -> ChainableInstance<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/instance.rs:198:9 [INFO] [stderr] | [INFO] [stderr] 198 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 201 | ) -> 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] 201 | ) -> errors::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/instance.rs:207:27 [INFO] [stderr] | [INFO] [stderr] 207 | 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] 207 | 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:213:17 [INFO] [stderr] | [INFO] [stderr] 213 | 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] 213 | 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:219:18 [INFO] [stderr] | [INFO] [stderr] 219 | 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] 219 | 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:24:31 [INFO] [stderr] | [INFO] [stderr] 24 | 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:24:56 [INFO] [stderr] | [INFO] [stderr] 24 | 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:24:71 [INFO] [stderr] | [INFO] [stderr] 24 | 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: variable `methodID` should have a snake case name [INFO] [stderr] --> src/cache.rs:87:58 [INFO] [stderr] | [INFO] [stderr] 87 | unsafe extern "C" fn(env: *mut JNIEnv, obj: jobject, methodID: jmethodID, ...) -> jobject; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `method_id` [INFO] [stderr] [INFO] [stderr] warning: `j4rs-171h` (lib) generated 25 warnings (run `cargo fix --lib -p j4rs-171h` to apply 21 suggestions) [INFO] [stderr] warning: `j4rs-171h` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/j4rs-5103460fe1013478) [INFO] [stdout] [INFO] [stdout] running 63 tests [INFO] [stdout] test api::api_unit_tests::test_copy_j4rs_libs_under ... FAILED [INFO] [stdout] test api::api_unit_tests::test_java_class_creation ... ok [INFO] [stdout] test api::api_unit_tests::test_select ... ok [INFO] [stdout] test api::api_unit_tests::test_select_timeout ... ok [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-5103460fe1013478` (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" "4fa1238bd0bbae355845fbfcf8b91aafed80a6453c7c271d46b84cf9242e4fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fa1238bd0bbae355845fbfcf8b91aafed80a6453c7c271d46b84cf9242e4fd0", kill_on_drop: false }` [INFO] [stdout] 4fa1238bd0bbae355845fbfcf8b91aafed80a6453c7c271d46b84cf9242e4fd0