[INFO] fetching crate j4rs-171h 0.18.1... [INFO] building j4rs-171h-0.18.1 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] extracting crate j4rs-171h 0.18.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate j4rs-171h 0.18.1 on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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.6.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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded java-locator v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 870393cff57ee22ffa31f9fd6b7a263e7f7e1b4381f6908c066fd77845b3a1a2 [INFO] running `Command { std: "docker" "start" "-a" "870393cff57ee22ffa31f9fd6b7a263e7f7e1b4381f6908c066fd77845b3a1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "870393cff57ee22ffa31f9fd6b7a263e7f7e1b4381f6908c066fd77845b3a1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "870393cff57ee22ffa31f9fd6b7a263e7f7e1b4381f6908c066fd77845b3a1a2", kill_on_drop: false }` [INFO] [stdout] 870393cff57ee22ffa31f9fd6b7a263e7f7e1b4381f6908c066fd77845b3a1a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c97587e65d1c7b94c537151baf93350d9902d961701eb0ff43117b7692e5d0f4 [INFO] running `Command { std: "docker" "start" "-a" "c97587e65d1c7b94c537151baf93350d9902d961701eb0ff43117b7692e5d0f4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling java-locator v0.1.9 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling dirs v5.0.1 [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 jni-sys-macros v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling jni-sys v0.4.0 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1321:18 [INFO] [stdout] | [INFO] [stdout] 1321 | pub fn chain(&self, instance: &Instance) -> errors::Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1321 | pub fn chain(&self, instance: &Instance) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1326:23 [INFO] [stdout] | [INFO] [stdout] 1326 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1326 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1522:29 [INFO] [stdout] | [INFO] [stdout] 1522 | pub fn classpath_entry(&'a mut self, cp_entry: ClasspathEntry<'a>) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | these lifetimes flow to the output these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1529:10 [INFO] [stdout] | [INFO] [stdout] 1529 | &'a mut self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1530 | cp_entries: Vec>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1531 | ) -> &'a mut JvmBuilder { [INFO] [stdout] | -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1531 | ) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1539:22 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn java_opt(&'a mut self, opt: JavaOpt<'a>) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1545:23 [INFO] [stdout] | [INFO] [stdout] 1545 | pub fn java_opts(&'a mut self, opts: Vec>) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1554:40 [INFO] [stdout] | [INFO] [stdout] 1554 | pub fn with_no_implicit_classpath(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1564:35 [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 lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1573:34 [INFO] [stdout] | [INFO] [stdout] 1573 | pub fn with_native_lib_name(&'a mut self, lib_name: &str) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1580:37 [INFO] [stdout] | [INFO] [stdout] 1580 | pub fn skip_setting_native_lib(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1587:28 [INFO] [stdout] | [INFO] [stdout] 1587 | pub fn with_base_path(&'a mut self, base_path: &str) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1593:33 [INFO] [stdout] | [INFO] [stdout] 1593 | pub fn with_maven_settings(&'a mut self, maven_settings: MavenSettings) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1599:33 [INFO] [stdout] | [INFO] [stdout] 1599 | pub fn with_javafx_support(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1625:38 [INFO] [stdout] | [INFO] [stdout] 1625 | pub fn with_default_classloader(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1861:33 [INFO] [stdout] | [INFO] [stdout] 1861 | pub fn new(classpath_entry: &str) -> ClasspathEntry { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1861 | pub fn new(classpath_entry: &str) -> ClasspathEntry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1877:26 [INFO] [stdout] | [INFO] [stdout] 1877 | pub fn new(java_opt: &str) -> JavaOpt { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1877 | pub fn new(java_opt: &str) -> JavaOpt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:177:49 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) fn new(instance: Instance, jvm: &'a Jvm) -> ChainableInstance { [INFO] [stdout] | ^^ ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 201 | ) -> errors::Result { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | ) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn clone_instance(&self) -> errors::Result { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 207 | pub fn clone_instance(&self) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn cast(&self, to_class: &str) -> errors::Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 213 | pub fn cast(&self, to_class: &str) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn field(&self, field_name: &str) -> errors::Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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)]` 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 22.15s [INFO] running `Command { std: "docker" "inspect" "c97587e65d1c7b94c537151baf93350d9902d961701eb0ff43117b7692e5d0f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97587e65d1c7b94c537151baf93350d9902d961701eb0ff43117b7692e5d0f4", kill_on_drop: false }` [INFO] [stdout] c97587e65d1c7b94c537151baf93350d9902d961701eb0ff43117b7692e5d0f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa14de78363897ad715daa96a6be8c8dfef04cc176901c71004cd6a13777fbbe [INFO] running `Command { std: "docker" "start" "-a" "aa14de78363897ad715daa96a6be8c8dfef04cc176901c71004cd6a13777fbbe", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling futures-util v0.3.31 [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 itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling j4rs-171h v0.18.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1321:18 [INFO] [stdout] | [INFO] [stdout] 1321 | pub fn chain(&self, instance: &Instance) -> errors::Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1321 | pub fn chain(&self, instance: &Instance) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1326:23 [INFO] [stdout] | [INFO] [stdout] 1326 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1326 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1522:29 [INFO] [stdout] | [INFO] [stdout] 1522 | pub fn classpath_entry(&'a mut self, cp_entry: ClasspathEntry<'a>) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | these lifetimes flow to the output these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1529:10 [INFO] [stdout] | [INFO] [stdout] 1529 | &'a mut self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1530 | cp_entries: Vec>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1531 | ) -> &'a mut JvmBuilder { [INFO] [stdout] | -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1531 | ) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1539:22 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn java_opt(&'a mut self, opt: JavaOpt<'a>) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1545:23 [INFO] [stdout] | [INFO] [stdout] 1545 | pub fn java_opts(&'a mut self, opts: Vec>) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1554:40 [INFO] [stdout] | [INFO] [stdout] 1554 | pub fn with_no_implicit_classpath(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1564:35 [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 lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1573:34 [INFO] [stdout] | [INFO] [stdout] 1573 | pub fn with_native_lib_name(&'a mut self, lib_name: &str) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1580:37 [INFO] [stdout] | [INFO] [stdout] 1580 | pub fn skip_setting_native_lib(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1587:28 [INFO] [stdout] | [INFO] [stdout] 1587 | pub fn with_base_path(&'a mut self, base_path: &str) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1593:33 [INFO] [stdout] | [INFO] [stdout] 1593 | pub fn with_maven_settings(&'a mut self, maven_settings: MavenSettings) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1599:33 [INFO] [stdout] | [INFO] [stdout] 1599 | pub fn with_javafx_support(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1625:38 [INFO] [stdout] | [INFO] [stdout] 1625 | pub fn with_default_classloader(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1861:33 [INFO] [stdout] | [INFO] [stdout] 1861 | pub fn new(classpath_entry: &str) -> ClasspathEntry { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1861 | pub fn new(classpath_entry: &str) -> ClasspathEntry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1877:26 [INFO] [stdout] | [INFO] [stdout] 1877 | pub fn new(java_opt: &str) -> JavaOpt { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1877 | pub fn new(java_opt: &str) -> JavaOpt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:177:49 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) fn new(instance: Instance, jvm: &'a Jvm) -> ChainableInstance { [INFO] [stdout] | ^^ ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 201 | ) -> errors::Result { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | ) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn clone_instance(&self) -> errors::Result { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 207 | pub fn clone_instance(&self) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn cast(&self, to_class: &str) -> errors::Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 213 | pub fn cast(&self, to_class: &str) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn field(&self, field_name: &str) -> errors::Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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)]` 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 polling v3.8.0 [INFO] [stderr] Compiling async-io v2.4.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1321:18 [INFO] [stdout] | [INFO] [stdout] 1321 | pub fn chain(&self, instance: &Instance) -> errors::Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1321 | pub fn chain(&self, instance: &Instance) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1326:23 [INFO] [stdout] | [INFO] [stdout] 1326 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1326 | pub fn into_chain(&self, instance: Instance) -> ChainableInstance<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1522:29 [INFO] [stdout] | [INFO] [stdout] 1522 | pub fn classpath_entry(&'a mut self, cp_entry: ClasspathEntry<'a>) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | these lifetimes flow to the output these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1529:10 [INFO] [stdout] | [INFO] [stdout] 1529 | &'a mut self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1530 | cp_entries: Vec>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1531 | ) -> &'a mut JvmBuilder { [INFO] [stdout] | -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1531 | ) -> &'a mut JvmBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1539:22 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn java_opt(&'a mut self, opt: JavaOpt<'a>) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1545:23 [INFO] [stdout] | [INFO] [stdout] 1545 | pub fn java_opts(&'a mut self, opts: Vec>) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1554:40 [INFO] [stdout] | [INFO] [stdout] 1554 | pub fn with_no_implicit_classpath(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1564:35 [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 lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1573:34 [INFO] [stdout] | [INFO] [stdout] 1573 | pub fn with_native_lib_name(&'a mut self, lib_name: &str) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1580:37 [INFO] [stdout] | [INFO] [stdout] 1580 | pub fn skip_setting_native_lib(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1587:28 [INFO] [stdout] | [INFO] [stdout] 1587 | pub fn with_base_path(&'a mut self, base_path: &str) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1593:33 [INFO] [stdout] | [INFO] [stdout] 1593 | pub fn with_maven_settings(&'a mut self, maven_settings: MavenSettings) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1599:33 [INFO] [stdout] | [INFO] [stdout] 1599 | pub fn with_javafx_support(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1625:38 [INFO] [stdout] | [INFO] [stdout] 1625 | pub fn with_default_classloader(&'a mut self) -> &'a mut JvmBuilder { [INFO] [stdout] | ^^ -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1861:33 [INFO] [stdout] | [INFO] [stdout] 1861 | pub fn new(classpath_entry: &str) -> ClasspathEntry { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1861 | pub fn new(classpath_entry: &str) -> ClasspathEntry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/mod.rs:1877:26 [INFO] [stdout] | [INFO] [stdout] 1877 | pub fn new(java_opt: &str) -> JavaOpt { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1877 | pub fn new(java_opt: &str) -> JavaOpt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:177:49 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) fn new(instance: Instance, jvm: &'a Jvm) -> ChainableInstance { [INFO] [stdout] | ^^ ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 201 | ) -> errors::Result { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | ) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn clone_instance(&self) -> errors::Result { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 207 | pub fn clone_instance(&self) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn cast(&self, to_class: &str) -> errors::Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 213 | pub fn cast(&self, to_class: &str) -> errors::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/instance.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn field(&self, field_name: &str) -> errors::Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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)]` 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 30.79s [INFO] running `Command { std: "docker" "inspect" "aa14de78363897ad715daa96a6be8c8dfef04cc176901c71004cd6a13777fbbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa14de78363897ad715daa96a6be8c8dfef04cc176901c71004cd6a13777fbbe", kill_on_drop: false }` [INFO] [stdout] aa14de78363897ad715daa96a6be8c8dfef04cc176901c71004cd6a13777fbbe