[INFO] fetching crate jni-bind 0.1.6... [INFO] testing jni-bind-0.1.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate jni-bind 0.1.6 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate jni-bind 0.1.6 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate jni-bind 0.1.6 [INFO] tweaked toml for crates.io crate jni-bind 0.1.6 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jni-bind 0.1.6 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jni-bind 0.1.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5db913a37049db54f4f5965db4da1f5d7fae306eb9b3ac8ddfd6d9e1b72f791 [INFO] running `Command { std: "docker" "start" "-a" "a5db913a37049db54f4f5965db4da1f5d7fae306eb9b3ac8ddfd6d9e1b72f791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5db913a37049db54f4f5965db4da1f5d7fae306eb9b3ac8ddfd6d9e1b72f791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5db913a37049db54f4f5965db4da1f5d7fae306eb9b3ac8ddfd6d9e1b72f791", kill_on_drop: false }` [INFO] [stdout] a5db913a37049db54f4f5965db4da1f5d7fae306eb9b3ac8ddfd6d9e1b72f791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1ae08a5b48d7751b4421a8dbf155a012062e5687265bbabfa89760bed380640 [INFO] running `Command { std: "docker" "start" "-a" "b1ae08a5b48d7751b4421a8dbf155a012062e5687265bbabfa89760bed380640", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling jni-sys v0.3.0 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling jni v0.21.1 [INFO] [stderr] Compiling jni-bind v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `JByteArray` is never constructed [INFO] [stdout] --> src/primitives.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 252 | pub struct JByteArray { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:49:65 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref>; [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 49 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref>; [INFO] [stdout] 49 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 20 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 20 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:50:65 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 50 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 50 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:80:65 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 80 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 80 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:110:65 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 110 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 110 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:140:65 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 140 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 140 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:170:65 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 170 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 170 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:200:65 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 200 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 200 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:230:65 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 230 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 230 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:266:65 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 266 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 266 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.55s [INFO] running `Command { std: "docker" "inspect" "b1ae08a5b48d7751b4421a8dbf155a012062e5687265bbabfa89760bed380640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1ae08a5b48d7751b4421a8dbf155a012062e5687265bbabfa89760bed380640", kill_on_drop: false }` [INFO] [stdout] b1ae08a5b48d7751b4421a8dbf155a012062e5687265bbabfa89760bed380640 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1d0781fd5084dcbcbfde785fe7c216c27dbb0a7dcc3a4b0f9776e36a8299742 [INFO] running `Command { std: "docker" "start" "-a" "e1d0781fd5084dcbcbfde785fe7c216c27dbb0a7dcc3a4b0f9776e36a8299742", kill_on_drop: false }` [INFO] [stdout] warning: struct `JByteArray` is never constructed [INFO] [stdout] --> src/primitives.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 252 | pub struct JByteArray { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:49:65 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref>; [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 49 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref>; [INFO] [stdout] 49 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 20 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 20 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:50:65 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 50 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 50 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:80:65 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 80 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 80 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:110:65 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 110 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 110 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:140:65 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 140 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 140 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:170:65 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 170 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 170 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:200:65 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 200 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 200 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:230:65 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 230 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 230 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:266:65 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 266 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 266 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jni-bind v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `JByteArray` is never constructed [INFO] [stdout] --> src/primitives.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 252 | pub struct JByteArray { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:49:65 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref>; [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 49 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref>; [INFO] [stdout] 49 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 20 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 20 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:50:65 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 50 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 50 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:80:65 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 80 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 80 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:110:65 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 110 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 110 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:140:65 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 140 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 140 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:170:65 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 170 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 170 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:200:65 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 200 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 200 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:230:65 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 230 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 230 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/primitives.rs:266:65 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] | -------- ^^ -------- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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 `'obj_ref` [INFO] [stdout] | [INFO] [stdout] 266 - unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'_, 'obj_ref> { [INFO] [stdout] 266 + unsafe fn to_jvalue_ref<'obj_ref>(&'obj_ref self) -> JValue<'obj_ref, 'obj_ref> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcR8uULU/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libjni_bind-4ea219b9f92ece17,libconst_format-c2221364d41322a8,libjni-74319bec03a9265c,libcesu8-a5d16749e03fc3cd,liblog-5fb51f756c1191b0,libcombine-700cfa4b73b14f2f,libmemchr-4f0714dc45d95749,libbytes-b8c2ca00b3c0e98e,libthiserror-f414efd503c0eab7,libjni_sys-10dbf9e079eca315}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcR8uULU/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/object-85a872d0e67f1876" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: main [INFO] [stdout] >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jni-bind` (example "object") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "e1d0781fd5084dcbcbfde785fe7c216c27dbb0a7dcc3a4b0f9776e36a8299742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1d0781fd5084dcbcbfde785fe7c216c27dbb0a7dcc3a4b0f9776e36a8299742", kill_on_drop: false }` [INFO] [stdout] e1d0781fd5084dcbcbfde785fe7c216c27dbb0a7dcc3a4b0f9776e36a8299742