[INFO] fetching crate jni 0.21.1... [INFO] checking jni-0.21.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate jni 0.21.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate jni 0.21.1 [INFO] finished tweaking crates.io crate jni 0.21.1 [INFO] tweaked toml for crates.io crate jni 0.21.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jni 0.21.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.8) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.60.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6940fb1fabadbd7defff02d30c6ebb30dfb5bd07fa6a6398152ad68d458cfb1 [INFO] running `Command { std: "docker" "start" "-a" "e6940fb1fabadbd7defff02d30c6ebb30dfb5bd07fa6a6398152ad68d458cfb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6940fb1fabadbd7defff02d30c6ebb30dfb5bd07fa6a6398152ad68d458cfb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6940fb1fabadbd7defff02d30c6ebb30dfb5bd07fa6a6398152ad68d458cfb1", kill_on_drop: false }` [INFO] [stdout] e6940fb1fabadbd7defff02d30c6ebb30dfb5bd07fa6a6398152ad68d458cfb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85560f3e6c18d3d2448cc62f958fa147c7d1c1d2100a2dbe4ec505b4fdf77c94 [INFO] running `Command { std: "docker" "start" "-a" "85560f3e6c18d3d2448cc62f958fa147c7d1c1d2100a2dbe4ec505b4fdf77c94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking jni v0.21.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::class_desc::*` [INFO] [stdout] --> src/wrapper/descriptors/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::class_desc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::method_desc::*` [INFO] [stdout] --> src/wrapper/descriptors/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::method_desc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::field_desc::*` [INFO] [stdout] --> src/wrapper/descriptors/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::field_desc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::exception_desc::*` [INFO] [stdout] --> src/wrapper/descriptors/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::exception_desc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::class_desc::*` [INFO] [stdout] --> src/wrapper/descriptors/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::class_desc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::method_desc::*` [INFO] [stdout] --> src/wrapper/descriptors/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::method_desc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::field_desc::*` [INFO] [stdout] --> src/wrapper/descriptors/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::field_desc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::exception_desc::*` [INFO] [stdout] --> src/wrapper/descriptors/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::exception_desc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/jprimitive_array.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | fn from(other: JPrimitiveArray<'local, T>) -> JObject { [INFO] [stdout] | ^^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'local` [INFO] [stdout] | [INFO] [stdout] 51 | fn from(other: JPrimitiveArray<'local, T>) -> JObject<'local> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2657:9 [INFO] [stdout] | [INFO] [stdout] 2657 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 2660 | ) -> Result> [INFO] [stdout] | ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2660 | ) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/java_vm/vm.rs:259:46 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn attach_current_thread_permanently(&self) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 259 | pub fn attach_current_thread_permanently(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/java_vm/vm.rs:279:34 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn attach_current_thread(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 279 | pub fn attach_current_thread(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/java_vm/vm.rs:332:44 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn attach_current_thread_as_daemon(&self) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 332 | pub fn attach_current_thread_as_daemon(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/java_vm/vm.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn get_env(&self) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 349 | pub fn get_env(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/java_vm/vm.rs:360:35 [INFO] [stdout] | [INFO] [stdout] 360 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 360 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/wrapper/objects/jprimitive_array.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | fn from(other: JPrimitiveArray<'local, T>) -> JObject { [INFO] [stdout] | ^^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'local` [INFO] [stdout] | [INFO] [stdout] 51 | fn from(other: JPrimitiveArray<'local, T>) -> JObject<'local> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/jnienv.rs:2657:9 [INFO] [stdout] | [INFO] [stdout] 2657 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 2660 | ) -> Result> [INFO] [stdout] | ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2660 | ) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/java_vm/vm.rs:259:46 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn attach_current_thread_permanently(&self) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 259 | pub fn attach_current_thread_permanently(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/java_vm/vm.rs:279:34 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn attach_current_thread(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 279 | pub fn attach_current_thread(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/java_vm/vm.rs:332:44 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn attach_current_thread_as_daemon(&self) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 332 | pub fn attach_current_thread_as_daemon(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/java_vm/vm.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn get_env(&self) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 349 | pub fn get_env(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wrapper/java_vm/vm.rs:360:35 [INFO] [stdout] | [INFO] [stdout] 360 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 360 | fn attach_current_thread_impl(&self, thread_type: ThreadType) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.13s [INFO] running `Command { std: "docker" "inspect" "85560f3e6c18d3d2448cc62f958fa147c7d1c1d2100a2dbe4ec505b4fdf77c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85560f3e6c18d3d2448cc62f958fa147c7d1c1d2100a2dbe4ec505b4fdf77c94", kill_on_drop: false }` [INFO] [stdout] 85560f3e6c18d3d2448cc62f958fa147c7d1c1d2100a2dbe4ec505b4fdf77c94