[INFO] fetching crate rust-jni 0.1.0... [INFO] checking rust-jni-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rust-jni 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rust-jni 0.1.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-jni 0.1.0 [INFO] finished tweaking crates.io crate rust-jni 0.1.0 [INFO] tweaked toml for crates.io crate rust-jni 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67d4adf6137f95de87c1947f5df3245efc1b57319a67d5854dafaf95fe960310 [INFO] running `Command { std: "docker" "start" "-a" "67d4adf6137f95de87c1947f5df3245efc1b57319a67d5854dafaf95fe960310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67d4adf6137f95de87c1947f5df3245efc1b57319a67d5854dafaf95fe960310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67d4adf6137f95de87c1947f5df3245efc1b57319a67d5854dafaf95fe960310", kill_on_drop: false }` [INFO] [stdout] 67d4adf6137f95de87c1947f5df3245efc1b57319a67d5854dafaf95fe960310 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e142378f7b9758ca328d23078fbc7186318da99317e7c8bb65da2155973d90a3 [INFO] running `Command { std: "docker" "start" "-a" "e142378f7b9758ca328d23078fbc7186318da99317e7c8bb65da2155973d90a3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rust-jni v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/method_calls.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 65 | result: Out::__JniType, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | ) -> JavaResult<'env, Out> { [INFO] [stdout] 67 | match maybe_get_and_clear_exception(env) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/jni/native_method.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | panic!(format!("Could not get Java VM. Status: {:?}", status)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 50 - panic!(format!("Could not get Java VM. Status: {:?}", status)); [INFO] [stdout] 50 + panic!("Could not get Java VM. Status: {:?}", status); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-jni` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/jni/generate_class.rs:923:25 [INFO] [stdout] | [INFO] [stdout] 923 | &object as &Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/class.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = note: this warning originates in the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/jni/generate_class.rs:923:25 [INFO] [stdout] | [INFO] [stdout] 923 | &object as &Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/string.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | generate_tests!(String, "Ljava/lang/String;"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/jni/generate_class.rs:923:25 [INFO] [stdout] | [INFO] [stdout] 923 | &object as &Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/throwable.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | generate_tests!(Throwable, "Ljava/lang/Throwable;"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `class::Class<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 323 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | let jni_env = 0x5678 as *mut jni_sys::JNIEnv; [INFO] [stdout] 325 | let env = test_env(&vm, jni_env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | let object = $class::__from_jni(&env, raw_object); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/class.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `class::Class<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 353 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | let env = test_env(&vm, ptr::null_mut()); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 357 | let object = $class::__from_jni(&env, raw_object); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/class.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `class::Class<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 369 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | let env = test_env(&vm, calls.env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | { [INFO] [stdout] 372 | let _object = test_value(&env, RAW_OBJECT); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/class.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `jni::string::String<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 524 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 525 | let env = test_env(&vm, calls.env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 526 | let object = test_value(&env, RAW_OBJECT); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 527 | unsafe { [INFO] [stdout] 528 | let string = object.to_string(&NoException::test()).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/class.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/method_calls.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 65 | result: Out::__JniType, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | ) -> JavaResult<'env, Out> { [INFO] [stdout] 67 | match maybe_get_and_clear_exception(env) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `jni::Object<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/method_calls.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 594 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 595 | let env = test_env(&vm, calls.env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 598 | let object = super::call_constructor::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `jni::string::String<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 323 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | let jni_env = 0x5678 as *mut jni_sys::JNIEnv; [INFO] [stdout] 325 | let env = test_env(&vm, jni_env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | let object = $class::__from_jni(&env, raw_object); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/string.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | generate_tests!(String, "Ljava/lang/String;"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `jni::string::String<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 353 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | let env = test_env(&vm, ptr::null_mut()); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 357 | let object = $class::__from_jni(&env, raw_object); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/string.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | generate_tests!(String, "Ljava/lang/String;"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `jni::string::String<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 369 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | let env = test_env(&vm, calls.env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | { [INFO] [stdout] 372 | let _object = test_value(&env, RAW_OBJECT); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/string.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | generate_tests!(String, "Ljava/lang/String;"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `jni::string::String<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 524 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 525 | let env = test_env(&vm, calls.env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 526 | let object = test_value(&env, RAW_OBJECT); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 527 | unsafe { [INFO] [stdout] 528 | let string = object.to_string(&NoException::test()).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/string.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | generate_tests!(String, "Ljava/lang/String;"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `throwable::Throwable<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 323 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | let jni_env = 0x5678 as *mut jni_sys::JNIEnv; [INFO] [stdout] 325 | let env = test_env(&vm, jni_env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | let object = $class::__from_jni(&env, raw_object); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/throwable.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | generate_tests!(Throwable, "Ljava/lang/Throwable;"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `throwable::Throwable<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 353 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | let env = test_env(&vm, ptr::null_mut()); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 357 | let object = $class::__from_jni(&env, raw_object); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/throwable.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | generate_tests!(Throwable, "Ljava/lang/Throwable;"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `throwable::Throwable<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 369 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | let env = test_env(&vm, calls.env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | { [INFO] [stdout] 372 | let _object = test_value(&env, RAW_OBJECT); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/throwable.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | generate_tests!(Throwable, "Ljava/lang/Throwable;"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `jni::string::String<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 524 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 525 | let env = test_env(&vm, calls.env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 526 | let object = test_value(&env, RAW_OBJECT); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 527 | unsafe { [INFO] [stdout] 528 | let string = object.to_string(&NoException::test()).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/throwable.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | generate_tests!(Throwable, "Ljava/lang/Throwable;"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `jni::Object<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 323 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | let jni_env = 0x5678 as *mut jni_sys::JNIEnv; [INFO] [stdout] 325 | let env = test_env(&vm, jni_env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | let object = $class::__from_jni(&env, raw_object); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/mod.rs:2040:5 [INFO] [stdout] | [INFO] [stdout] 2040 | generate_object_tests!(Object, "Ljava/lang/Object;"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `jni::Object<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 353 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | let env = test_env(&vm, ptr::null_mut()); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 357 | let object = $class::__from_jni(&env, raw_object); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/mod.rs:2040:5 [INFO] [stdout] | [INFO] [stdout] 2040 | generate_object_tests!(Object, "Ljava/lang/Object;"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `jni::Object<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 369 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | let env = test_env(&vm, calls.env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | { [INFO] [stdout] 372 | let _object = test_value(&env, RAW_OBJECT); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/mod.rs:2040:5 [INFO] [stdout] | [INFO] [stdout] 2040 | generate_object_tests!(Object, "Ljava/lang/Object;"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `jni::string::String<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/jni/generate_class.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 524 | let vm = test_vm(ptr::null_mut()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 525 | let env = test_env(&vm, calls.env); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 526 | let object = test_value(&env, RAW_OBJECT); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 527 | unsafe { [INFO] [stdout] 528 | let string = object.to_string(&NoException::test()).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/jni/mod.rs:2040:5 [INFO] [stdout] | [INFO] [stdout] 2040 | generate_object_tests!(Object, "Ljava/lang/Object;"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_object_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/class.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | assert_eq!(METHOD_ENV_ARGUMENT, calls.env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/class.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/jni/class.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:718:37 [INFO] [stdout] | [INFO] [stdout] 718 | assert_eq!(env, METHOD_ENV_ARGUMENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/class.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:823:37 [INFO] [stdout] | [INFO] [stdout] 823 | assert_eq!(env, METHOD_ENV_ARGUMENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/class.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/method_calls.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/method_calls.rs:180:24 [INFO] [stdout] | [INFO] [stdout] 180 | assert_eq!(METHOD_ENV_ARGUMENT, calls.env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/method_calls.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/method_calls.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/method_calls.rs:383:24 [INFO] [stdout] | [INFO] [stdout] 383 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/method_calls.rs:384:24 [INFO] [stdout] | [INFO] [stdout] 384 | assert_eq!(METHOD_ENV_ARGUMENT, calls.env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/method_calls.rs:385:24 [INFO] [stdout] | [INFO] [stdout] 385 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/method_calls.rs:386:24 [INFO] [stdout] | [INFO] [stdout] 386 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/method_calls.rs:604:24 [INFO] [stdout] | [INFO] [stdout] 604 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/method_calls.rs:605:24 [INFO] [stdout] | [INFO] [stdout] 605 | assert_eq!(METHOD_ENV_ARGUMENT, calls.env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/method_calls.rs:606:24 [INFO] [stdout] | [INFO] [stdout] 606 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/method_calls.rs:607:24 [INFO] [stdout] | [INFO] [stdout] 607 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/jni/native_method.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | panic!(format!("Could not get Java VM. Status: {:?}", status)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 50 - panic!(format!("Could not get Java VM. Status: {:?}", status)); [INFO] [stdout] 50 + panic!("Could not get Java VM. Status: {:?}", status); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/jni/native_method.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | panic!("ERROR".to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 223 | panic!("{}", "ERROR".to_owned()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/jni/native_method.rs:256:24 [INFO] [stdout] | [INFO] [stdout] 256 | panic!(123); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 256 | panic!("{}", 123); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 256 | std::panic::panic_any(123); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 226 | / generate_jni_type_tests!( [INFO] [stdout] 227 | | jni_type_void_tests, [INFO] [stdout] 228 | | (), [INFO] [stdout] 229 | | (), [INFO] [stdout] ... | [INFO] [stdout] 232 | | CallStaticVoidMethod [INFO] [stdout] 233 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 226 | / generate_jni_type_tests!( [INFO] [stdout] 227 | | jni_type_void_tests, [INFO] [stdout] 228 | | (), [INFO] [stdout] 229 | | (), [INFO] [stdout] ... | [INFO] [stdout] 232 | | CallStaticVoidMethod [INFO] [stdout] 233 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 226 | / generate_jni_type_tests!( [INFO] [stdout] 227 | | jni_type_void_tests, [INFO] [stdout] 228 | | (), [INFO] [stdout] 229 | | (), [INFO] [stdout] ... | [INFO] [stdout] 232 | | CallStaticVoidMethod [INFO] [stdout] 233 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 226 | / generate_jni_type_tests!( [INFO] [stdout] 227 | | jni_type_void_tests, [INFO] [stdout] 228 | | (), [INFO] [stdout] 229 | | (), [INFO] [stdout] ... | [INFO] [stdout] 232 | | CallStaticVoidMethod [INFO] [stdout] 233 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 226 | / generate_jni_type_tests!( [INFO] [stdout] 227 | | jni_type_void_tests, [INFO] [stdout] 228 | | (), [INFO] [stdout] 229 | | (), [INFO] [stdout] ... | [INFO] [stdout] 232 | | CallStaticVoidMethod [INFO] [stdout] 233 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 226 | / generate_jni_type_tests!( [INFO] [stdout] 227 | | jni_type_void_tests, [INFO] [stdout] 228 | | (), [INFO] [stdout] 229 | | (), [INFO] [stdout] ... | [INFO] [stdout] 232 | | CallStaticVoidMethod [INFO] [stdout] 233 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 226 | / generate_jni_type_tests!( [INFO] [stdout] 227 | | jni_type_void_tests, [INFO] [stdout] 228 | | (), [INFO] [stdout] 229 | | (), [INFO] [stdout] ... | [INFO] [stdout] 232 | | CallStaticVoidMethod [INFO] [stdout] 233 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 226 | / generate_jni_type_tests!( [INFO] [stdout] 227 | | jni_type_void_tests, [INFO] [stdout] 228 | | (), [INFO] [stdout] 229 | | (), [INFO] [stdout] ... | [INFO] [stdout] 232 | | CallStaticVoidMethod [INFO] [stdout] 233 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 226 | / generate_jni_type_tests!( [INFO] [stdout] 227 | | jni_type_void_tests, [INFO] [stdout] 228 | | (), [INFO] [stdout] 229 | | (), [INFO] [stdout] ... | [INFO] [stdout] 232 | | CallStaticVoidMethod [INFO] [stdout] 233 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 226 | / generate_jni_type_tests!( [INFO] [stdout] 227 | | jni_type_void_tests, [INFO] [stdout] 228 | | (), [INFO] [stdout] 229 | | (), [INFO] [stdout] ... | [INFO] [stdout] 232 | | CallStaticVoidMethod [INFO] [stdout] 233 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 226 | / generate_jni_type_tests!( [INFO] [stdout] 227 | | jni_type_void_tests, [INFO] [stdout] 228 | | (), [INFO] [stdout] 229 | | (), [INFO] [stdout] ... | [INFO] [stdout] 232 | | CallStaticVoidMethod [INFO] [stdout] 233 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 226 | / generate_jni_type_tests!( [INFO] [stdout] 227 | | jni_type_void_tests, [INFO] [stdout] 228 | | (), [INFO] [stdout] 229 | | (), [INFO] [stdout] ... | [INFO] [stdout] 232 | | CallStaticVoidMethod [INFO] [stdout] 233 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_jni_type_tests!( [INFO] [stdout] 236 | | jni_type_boolean_tests, [INFO] [stdout] 237 | | jni_sys::jboolean, [INFO] [stdout] 238 | | jni_sys::JNI_FALSE, [INFO] [stdout] ... | [INFO] [stdout] 241 | | CallStaticBooleanMethod [INFO] [stdout] 242 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_jni_type_tests!( [INFO] [stdout] 236 | | jni_type_boolean_tests, [INFO] [stdout] 237 | | jni_sys::jboolean, [INFO] [stdout] 238 | | jni_sys::JNI_FALSE, [INFO] [stdout] ... | [INFO] [stdout] 241 | | CallStaticBooleanMethod [INFO] [stdout] 242 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_jni_type_tests!( [INFO] [stdout] 236 | | jni_type_boolean_tests, [INFO] [stdout] 237 | | jni_sys::jboolean, [INFO] [stdout] 238 | | jni_sys::JNI_FALSE, [INFO] [stdout] ... | [INFO] [stdout] 241 | | CallStaticBooleanMethod [INFO] [stdout] 242 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_jni_type_tests!( [INFO] [stdout] 236 | | jni_type_boolean_tests, [INFO] [stdout] 237 | | jni_sys::jboolean, [INFO] [stdout] 238 | | jni_sys::JNI_FALSE, [INFO] [stdout] ... | [INFO] [stdout] 241 | | CallStaticBooleanMethod [INFO] [stdout] 242 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_jni_type_tests!( [INFO] [stdout] 236 | | jni_type_boolean_tests, [INFO] [stdout] 237 | | jni_sys::jboolean, [INFO] [stdout] 238 | | jni_sys::JNI_FALSE, [INFO] [stdout] ... | [INFO] [stdout] 241 | | CallStaticBooleanMethod [INFO] [stdout] 242 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_jni_type_tests!( [INFO] [stdout] 236 | | jni_type_boolean_tests, [INFO] [stdout] 237 | | jni_sys::jboolean, [INFO] [stdout] 238 | | jni_sys::JNI_FALSE, [INFO] [stdout] ... | [INFO] [stdout] 241 | | CallStaticBooleanMethod [INFO] [stdout] 242 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_jni_type_tests!( [INFO] [stdout] 236 | | jni_type_boolean_tests, [INFO] [stdout] 237 | | jni_sys::jboolean, [INFO] [stdout] 238 | | jni_sys::JNI_FALSE, [INFO] [stdout] ... | [INFO] [stdout] 241 | | CallStaticBooleanMethod [INFO] [stdout] 242 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_jni_type_tests!( [INFO] [stdout] 236 | | jni_type_boolean_tests, [INFO] [stdout] 237 | | jni_sys::jboolean, [INFO] [stdout] 238 | | jni_sys::JNI_FALSE, [INFO] [stdout] ... | [INFO] [stdout] 241 | | CallStaticBooleanMethod [INFO] [stdout] 242 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_jni_type_tests!( [INFO] [stdout] 236 | | jni_type_boolean_tests, [INFO] [stdout] 237 | | jni_sys::jboolean, [INFO] [stdout] 238 | | jni_sys::JNI_FALSE, [INFO] [stdout] ... | [INFO] [stdout] 241 | | CallStaticBooleanMethod [INFO] [stdout] 242 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_jni_type_tests!( [INFO] [stdout] 236 | | jni_type_boolean_tests, [INFO] [stdout] 237 | | jni_sys::jboolean, [INFO] [stdout] 238 | | jni_sys::JNI_FALSE, [INFO] [stdout] ... | [INFO] [stdout] 241 | | CallStaticBooleanMethod [INFO] [stdout] 242 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_jni_type_tests!( [INFO] [stdout] 236 | | jni_type_boolean_tests, [INFO] [stdout] 237 | | jni_sys::jboolean, [INFO] [stdout] 238 | | jni_sys::JNI_FALSE, [INFO] [stdout] ... | [INFO] [stdout] 241 | | CallStaticBooleanMethod [INFO] [stdout] 242 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 235 | / generate_jni_type_tests!( [INFO] [stdout] 236 | | jni_type_boolean_tests, [INFO] [stdout] 237 | | jni_sys::jboolean, [INFO] [stdout] 238 | | jni_sys::JNI_FALSE, [INFO] [stdout] ... | [INFO] [stdout] 241 | | CallStaticBooleanMethod [INFO] [stdout] 242 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | / generate_jni_type_tests!( [INFO] [stdout] 245 | | jni_type_char_tests, [INFO] [stdout] 246 | | jni_sys::jchar, [INFO] [stdout] 247 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 250 | | CallStaticCharMethod [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | / generate_jni_type_tests!( [INFO] [stdout] 245 | | jni_type_char_tests, [INFO] [stdout] 246 | | jni_sys::jchar, [INFO] [stdout] 247 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 250 | | CallStaticCharMethod [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | / generate_jni_type_tests!( [INFO] [stdout] 245 | | jni_type_char_tests, [INFO] [stdout] 246 | | jni_sys::jchar, [INFO] [stdout] 247 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 250 | | CallStaticCharMethod [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | / generate_jni_type_tests!( [INFO] [stdout] 245 | | jni_type_char_tests, [INFO] [stdout] 246 | | jni_sys::jchar, [INFO] [stdout] 247 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 250 | | CallStaticCharMethod [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | / generate_jni_type_tests!( [INFO] [stdout] 245 | | jni_type_char_tests, [INFO] [stdout] 246 | | jni_sys::jchar, [INFO] [stdout] 247 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 250 | | CallStaticCharMethod [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | / generate_jni_type_tests!( [INFO] [stdout] 245 | | jni_type_char_tests, [INFO] [stdout] 246 | | jni_sys::jchar, [INFO] [stdout] 247 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 250 | | CallStaticCharMethod [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | / generate_jni_type_tests!( [INFO] [stdout] 245 | | jni_type_char_tests, [INFO] [stdout] 246 | | jni_sys::jchar, [INFO] [stdout] 247 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 250 | | CallStaticCharMethod [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | / generate_jni_type_tests!( [INFO] [stdout] 245 | | jni_type_char_tests, [INFO] [stdout] 246 | | jni_sys::jchar, [INFO] [stdout] 247 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 250 | | CallStaticCharMethod [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | / generate_jni_type_tests!( [INFO] [stdout] 245 | | jni_type_char_tests, [INFO] [stdout] 246 | | jni_sys::jchar, [INFO] [stdout] 247 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 250 | | CallStaticCharMethod [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | / generate_jni_type_tests!( [INFO] [stdout] 245 | | jni_type_char_tests, [INFO] [stdout] 246 | | jni_sys::jchar, [INFO] [stdout] 247 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 250 | | CallStaticCharMethod [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | / generate_jni_type_tests!( [INFO] [stdout] 245 | | jni_type_char_tests, [INFO] [stdout] 246 | | jni_sys::jchar, [INFO] [stdout] 247 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 250 | | CallStaticCharMethod [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | / generate_jni_type_tests!( [INFO] [stdout] 245 | | jni_type_char_tests, [INFO] [stdout] 246 | | jni_sys::jchar, [INFO] [stdout] 247 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 250 | | CallStaticCharMethod [INFO] [stdout] 251 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / generate_jni_type_tests!( [INFO] [stdout] 254 | | jni_type_byte_tests, [INFO] [stdout] 255 | | jni_sys::jbyte, [INFO] [stdout] 256 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 259 | | CallStaticByteMethod [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / generate_jni_type_tests!( [INFO] [stdout] 254 | | jni_type_byte_tests, [INFO] [stdout] 255 | | jni_sys::jbyte, [INFO] [stdout] 256 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 259 | | CallStaticByteMethod [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / generate_jni_type_tests!( [INFO] [stdout] 254 | | jni_type_byte_tests, [INFO] [stdout] 255 | | jni_sys::jbyte, [INFO] [stdout] 256 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 259 | | CallStaticByteMethod [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / generate_jni_type_tests!( [INFO] [stdout] 254 | | jni_type_byte_tests, [INFO] [stdout] 255 | | jni_sys::jbyte, [INFO] [stdout] 256 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 259 | | CallStaticByteMethod [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / generate_jni_type_tests!( [INFO] [stdout] 254 | | jni_type_byte_tests, [INFO] [stdout] 255 | | jni_sys::jbyte, [INFO] [stdout] 256 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 259 | | CallStaticByteMethod [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / generate_jni_type_tests!( [INFO] [stdout] 254 | | jni_type_byte_tests, [INFO] [stdout] 255 | | jni_sys::jbyte, [INFO] [stdout] 256 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 259 | | CallStaticByteMethod [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / generate_jni_type_tests!( [INFO] [stdout] 254 | | jni_type_byte_tests, [INFO] [stdout] 255 | | jni_sys::jbyte, [INFO] [stdout] 256 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 259 | | CallStaticByteMethod [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / generate_jni_type_tests!( [INFO] [stdout] 254 | | jni_type_byte_tests, [INFO] [stdout] 255 | | jni_sys::jbyte, [INFO] [stdout] 256 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 259 | | CallStaticByteMethod [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / generate_jni_type_tests!( [INFO] [stdout] 254 | | jni_type_byte_tests, [INFO] [stdout] 255 | | jni_sys::jbyte, [INFO] [stdout] 256 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 259 | | CallStaticByteMethod [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / generate_jni_type_tests!( [INFO] [stdout] 254 | | jni_type_byte_tests, [INFO] [stdout] 255 | | jni_sys::jbyte, [INFO] [stdout] 256 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 259 | | CallStaticByteMethod [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / generate_jni_type_tests!( [INFO] [stdout] 254 | | jni_type_byte_tests, [INFO] [stdout] 255 | | jni_sys::jbyte, [INFO] [stdout] 256 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 259 | | CallStaticByteMethod [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / generate_jni_type_tests!( [INFO] [stdout] 254 | | jni_type_byte_tests, [INFO] [stdout] 255 | | jni_sys::jbyte, [INFO] [stdout] 256 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 259 | | CallStaticByteMethod [INFO] [stdout] 260 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 262 | / generate_jni_type_tests!( [INFO] [stdout] 263 | | jni_type_short_tests, [INFO] [stdout] 264 | | jni_sys::jshort, [INFO] [stdout] 265 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 268 | | CallStaticShortMethod [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 262 | / generate_jni_type_tests!( [INFO] [stdout] 263 | | jni_type_short_tests, [INFO] [stdout] 264 | | jni_sys::jshort, [INFO] [stdout] 265 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 268 | | CallStaticShortMethod [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 262 | / generate_jni_type_tests!( [INFO] [stdout] 263 | | jni_type_short_tests, [INFO] [stdout] 264 | | jni_sys::jshort, [INFO] [stdout] 265 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 268 | | CallStaticShortMethod [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 262 | / generate_jni_type_tests!( [INFO] [stdout] 263 | | jni_type_short_tests, [INFO] [stdout] 264 | | jni_sys::jshort, [INFO] [stdout] 265 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 268 | | CallStaticShortMethod [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 262 | / generate_jni_type_tests!( [INFO] [stdout] 263 | | jni_type_short_tests, [INFO] [stdout] 264 | | jni_sys::jshort, [INFO] [stdout] 265 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 268 | | CallStaticShortMethod [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 262 | / generate_jni_type_tests!( [INFO] [stdout] 263 | | jni_type_short_tests, [INFO] [stdout] 264 | | jni_sys::jshort, [INFO] [stdout] 265 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 268 | | CallStaticShortMethod [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 262 | / generate_jni_type_tests!( [INFO] [stdout] 263 | | jni_type_short_tests, [INFO] [stdout] 264 | | jni_sys::jshort, [INFO] [stdout] 265 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 268 | | CallStaticShortMethod [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 262 | / generate_jni_type_tests!( [INFO] [stdout] 263 | | jni_type_short_tests, [INFO] [stdout] 264 | | jni_sys::jshort, [INFO] [stdout] 265 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 268 | | CallStaticShortMethod [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 262 | / generate_jni_type_tests!( [INFO] [stdout] 263 | | jni_type_short_tests, [INFO] [stdout] 264 | | jni_sys::jshort, [INFO] [stdout] 265 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 268 | | CallStaticShortMethod [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 262 | / generate_jni_type_tests!( [INFO] [stdout] 263 | | jni_type_short_tests, [INFO] [stdout] 264 | | jni_sys::jshort, [INFO] [stdout] 265 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 268 | | CallStaticShortMethod [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 262 | / generate_jni_type_tests!( [INFO] [stdout] 263 | | jni_type_short_tests, [INFO] [stdout] 264 | | jni_sys::jshort, [INFO] [stdout] 265 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 268 | | CallStaticShortMethod [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 262 | / generate_jni_type_tests!( [INFO] [stdout] 263 | | jni_type_short_tests, [INFO] [stdout] 264 | | jni_sys::jshort, [INFO] [stdout] 265 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 268 | | CallStaticShortMethod [INFO] [stdout] 269 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 271 | / generate_jni_type_tests!( [INFO] [stdout] 272 | | jni_type_int_tests, [INFO] [stdout] 273 | | jni_sys::jint, [INFO] [stdout] 274 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 277 | | CallStaticIntMethod [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 271 | / generate_jni_type_tests!( [INFO] [stdout] 272 | | jni_type_int_tests, [INFO] [stdout] 273 | | jni_sys::jint, [INFO] [stdout] 274 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 277 | | CallStaticIntMethod [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 271 | / generate_jni_type_tests!( [INFO] [stdout] 272 | | jni_type_int_tests, [INFO] [stdout] 273 | | jni_sys::jint, [INFO] [stdout] 274 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 277 | | CallStaticIntMethod [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 271 | / generate_jni_type_tests!( [INFO] [stdout] 272 | | jni_type_int_tests, [INFO] [stdout] 273 | | jni_sys::jint, [INFO] [stdout] 274 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 277 | | CallStaticIntMethod [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 271 | / generate_jni_type_tests!( [INFO] [stdout] 272 | | jni_type_int_tests, [INFO] [stdout] 273 | | jni_sys::jint, [INFO] [stdout] 274 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 277 | | CallStaticIntMethod [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 271 | / generate_jni_type_tests!( [INFO] [stdout] 272 | | jni_type_int_tests, [INFO] [stdout] 273 | | jni_sys::jint, [INFO] [stdout] 274 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 277 | | CallStaticIntMethod [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 271 | / generate_jni_type_tests!( [INFO] [stdout] 272 | | jni_type_int_tests, [INFO] [stdout] 273 | | jni_sys::jint, [INFO] [stdout] 274 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 277 | | CallStaticIntMethod [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 271 | / generate_jni_type_tests!( [INFO] [stdout] 272 | | jni_type_int_tests, [INFO] [stdout] 273 | | jni_sys::jint, [INFO] [stdout] 274 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 277 | | CallStaticIntMethod [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 271 | / generate_jni_type_tests!( [INFO] [stdout] 272 | | jni_type_int_tests, [INFO] [stdout] 273 | | jni_sys::jint, [INFO] [stdout] 274 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 277 | | CallStaticIntMethod [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 271 | / generate_jni_type_tests!( [INFO] [stdout] 272 | | jni_type_int_tests, [INFO] [stdout] 273 | | jni_sys::jint, [INFO] [stdout] 274 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 277 | | CallStaticIntMethod [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 271 | / generate_jni_type_tests!( [INFO] [stdout] 272 | | jni_type_int_tests, [INFO] [stdout] 273 | | jni_sys::jint, [INFO] [stdout] 274 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 277 | | CallStaticIntMethod [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 271 | / generate_jni_type_tests!( [INFO] [stdout] 272 | | jni_type_int_tests, [INFO] [stdout] 273 | | jni_sys::jint, [INFO] [stdout] 274 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 277 | | CallStaticIntMethod [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_jni_type_tests!( [INFO] [stdout] 281 | | jni_type_long_tests, [INFO] [stdout] 282 | | jni_sys::jlong, [INFO] [stdout] 283 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 286 | | CallStaticLongMethod [INFO] [stdout] 287 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_jni_type_tests!( [INFO] [stdout] 281 | | jni_type_long_tests, [INFO] [stdout] 282 | | jni_sys::jlong, [INFO] [stdout] 283 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 286 | | CallStaticLongMethod [INFO] [stdout] 287 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_jni_type_tests!( [INFO] [stdout] 281 | | jni_type_long_tests, [INFO] [stdout] 282 | | jni_sys::jlong, [INFO] [stdout] 283 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 286 | | CallStaticLongMethod [INFO] [stdout] 287 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_jni_type_tests!( [INFO] [stdout] 281 | | jni_type_long_tests, [INFO] [stdout] 282 | | jni_sys::jlong, [INFO] [stdout] 283 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 286 | | CallStaticLongMethod [INFO] [stdout] 287 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_jni_type_tests!( [INFO] [stdout] 281 | | jni_type_long_tests, [INFO] [stdout] 282 | | jni_sys::jlong, [INFO] [stdout] 283 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 286 | | CallStaticLongMethod [INFO] [stdout] 287 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_jni_type_tests!( [INFO] [stdout] 281 | | jni_type_long_tests, [INFO] [stdout] 282 | | jni_sys::jlong, [INFO] [stdout] 283 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 286 | | CallStaticLongMethod [INFO] [stdout] 287 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_jni_type_tests!( [INFO] [stdout] 281 | | jni_type_long_tests, [INFO] [stdout] 282 | | jni_sys::jlong, [INFO] [stdout] 283 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 286 | | CallStaticLongMethod [INFO] [stdout] 287 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_jni_type_tests!( [INFO] [stdout] 281 | | jni_type_long_tests, [INFO] [stdout] 282 | | jni_sys::jlong, [INFO] [stdout] 283 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 286 | | CallStaticLongMethod [INFO] [stdout] 287 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_jni_type_tests!( [INFO] [stdout] 281 | | jni_type_long_tests, [INFO] [stdout] 282 | | jni_sys::jlong, [INFO] [stdout] 283 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 286 | | CallStaticLongMethod [INFO] [stdout] 287 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_jni_type_tests!( [INFO] [stdout] 281 | | jni_type_long_tests, [INFO] [stdout] 282 | | jni_sys::jlong, [INFO] [stdout] 283 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 286 | | CallStaticLongMethod [INFO] [stdout] 287 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_jni_type_tests!( [INFO] [stdout] 281 | | jni_type_long_tests, [INFO] [stdout] 282 | | jni_sys::jlong, [INFO] [stdout] 283 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 286 | | CallStaticLongMethod [INFO] [stdout] 287 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_jni_type_tests!( [INFO] [stdout] 281 | | jni_type_long_tests, [INFO] [stdout] 282 | | jni_sys::jlong, [INFO] [stdout] 283 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 286 | | CallStaticLongMethod [INFO] [stdout] 287 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 289 | / generate_jni_type_tests!( [INFO] [stdout] 290 | | jni_type_float_tests, [INFO] [stdout] 291 | | jni_sys::jfloat, [INFO] [stdout] 292 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 295 | | CallStaticFloatMethod [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 289 | / generate_jni_type_tests!( [INFO] [stdout] 290 | | jni_type_float_tests, [INFO] [stdout] 291 | | jni_sys::jfloat, [INFO] [stdout] 292 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 295 | | CallStaticFloatMethod [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 289 | / generate_jni_type_tests!( [INFO] [stdout] 290 | | jni_type_float_tests, [INFO] [stdout] 291 | | jni_sys::jfloat, [INFO] [stdout] 292 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 295 | | CallStaticFloatMethod [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 289 | / generate_jni_type_tests!( [INFO] [stdout] 290 | | jni_type_float_tests, [INFO] [stdout] 291 | | jni_sys::jfloat, [INFO] [stdout] 292 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 295 | | CallStaticFloatMethod [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 289 | / generate_jni_type_tests!( [INFO] [stdout] 290 | | jni_type_float_tests, [INFO] [stdout] 291 | | jni_sys::jfloat, [INFO] [stdout] 292 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 295 | | CallStaticFloatMethod [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 289 | / generate_jni_type_tests!( [INFO] [stdout] 290 | | jni_type_float_tests, [INFO] [stdout] 291 | | jni_sys::jfloat, [INFO] [stdout] 292 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 295 | | CallStaticFloatMethod [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 289 | / generate_jni_type_tests!( [INFO] [stdout] 290 | | jni_type_float_tests, [INFO] [stdout] 291 | | jni_sys::jfloat, [INFO] [stdout] 292 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 295 | | CallStaticFloatMethod [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 289 | / generate_jni_type_tests!( [INFO] [stdout] 290 | | jni_type_float_tests, [INFO] [stdout] 291 | | jni_sys::jfloat, [INFO] [stdout] 292 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 295 | | CallStaticFloatMethod [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 289 | / generate_jni_type_tests!( [INFO] [stdout] 290 | | jni_type_float_tests, [INFO] [stdout] 291 | | jni_sys::jfloat, [INFO] [stdout] 292 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 295 | | CallStaticFloatMethod [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 289 | / generate_jni_type_tests!( [INFO] [stdout] 290 | | jni_type_float_tests, [INFO] [stdout] 291 | | jni_sys::jfloat, [INFO] [stdout] 292 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 295 | | CallStaticFloatMethod [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 289 | / generate_jni_type_tests!( [INFO] [stdout] 290 | | jni_type_float_tests, [INFO] [stdout] 291 | | jni_sys::jfloat, [INFO] [stdout] 292 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 295 | | CallStaticFloatMethod [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 289 | / generate_jni_type_tests!( [INFO] [stdout] 290 | | jni_type_float_tests, [INFO] [stdout] 291 | | jni_sys::jfloat, [INFO] [stdout] 292 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 295 | | CallStaticFloatMethod [INFO] [stdout] 296 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_jni_type_tests!( [INFO] [stdout] 299 | | jni_type_double_tests, [INFO] [stdout] 300 | | jni_sys::jdouble, [INFO] [stdout] 301 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 304 | | CallStaticDoubleMethod [INFO] [stdout] 305 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_jni_type_tests!( [INFO] [stdout] 299 | | jni_type_double_tests, [INFO] [stdout] 300 | | jni_sys::jdouble, [INFO] [stdout] 301 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 304 | | CallStaticDoubleMethod [INFO] [stdout] 305 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_jni_type_tests!( [INFO] [stdout] 299 | | jni_type_double_tests, [INFO] [stdout] 300 | | jni_sys::jdouble, [INFO] [stdout] 301 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 304 | | CallStaticDoubleMethod [INFO] [stdout] 305 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_jni_type_tests!( [INFO] [stdout] 299 | | jni_type_double_tests, [INFO] [stdout] 300 | | jni_sys::jdouble, [INFO] [stdout] 301 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 304 | | CallStaticDoubleMethod [INFO] [stdout] 305 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_jni_type_tests!( [INFO] [stdout] 299 | | jni_type_double_tests, [INFO] [stdout] 300 | | jni_sys::jdouble, [INFO] [stdout] 301 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 304 | | CallStaticDoubleMethod [INFO] [stdout] 305 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_jni_type_tests!( [INFO] [stdout] 299 | | jni_type_double_tests, [INFO] [stdout] 300 | | jni_sys::jdouble, [INFO] [stdout] 301 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 304 | | CallStaticDoubleMethod [INFO] [stdout] 305 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_jni_type_tests!( [INFO] [stdout] 299 | | jni_type_double_tests, [INFO] [stdout] 300 | | jni_sys::jdouble, [INFO] [stdout] 301 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 304 | | CallStaticDoubleMethod [INFO] [stdout] 305 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_jni_type_tests!( [INFO] [stdout] 299 | | jni_type_double_tests, [INFO] [stdout] 300 | | jni_sys::jdouble, [INFO] [stdout] 301 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 304 | | CallStaticDoubleMethod [INFO] [stdout] 305 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_jni_type_tests!( [INFO] [stdout] 299 | | jni_type_double_tests, [INFO] [stdout] 300 | | jni_sys::jdouble, [INFO] [stdout] 301 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 304 | | CallStaticDoubleMethod [INFO] [stdout] 305 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_jni_type_tests!( [INFO] [stdout] 299 | | jni_type_double_tests, [INFO] [stdout] 300 | | jni_sys::jdouble, [INFO] [stdout] 301 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 304 | | CallStaticDoubleMethod [INFO] [stdout] 305 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_jni_type_tests!( [INFO] [stdout] 299 | | jni_type_double_tests, [INFO] [stdout] 300 | | jni_sys::jdouble, [INFO] [stdout] 301 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 304 | | CallStaticDoubleMethod [INFO] [stdout] 305 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_jni_type_tests!( [INFO] [stdout] 299 | | jni_type_double_tests, [INFO] [stdout] 300 | | jni_sys::jdouble, [INFO] [stdout] 301 | | 0., [INFO] [stdout] ... | [INFO] [stdout] 304 | | CallStaticDoubleMethod [INFO] [stdout] 305 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 659 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 660 | | jni_sys::jobject, [INFO] [stdout] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stdout] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stdout] ... | [INFO] [stdout] 666 | | CallStaticObjectMethod [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 659 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 660 | | jni_sys::jobject, [INFO] [stdout] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stdout] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stdout] ... | [INFO] [stdout] 666 | | CallStaticObjectMethod [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:580:28 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 659 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 660 | | jni_sys::jobject, [INFO] [stdout] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stdout] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stdout] ... | [INFO] [stdout] 666 | | CallStaticObjectMethod [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 659 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 660 | | jni_sys::jobject, [INFO] [stdout] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stdout] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stdout] ... | [INFO] [stdout] 666 | | CallStaticObjectMethod [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:582:28 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 659 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 660 | | jni_sys::jobject, [INFO] [stdout] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stdout] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stdout] ... | [INFO] [stdout] 666 | | CallStaticObjectMethod [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:583:28 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 659 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 660 | | jni_sys::jobject, [INFO] [stdout] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stdout] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stdout] ... | [INFO] [stdout] 666 | | CallStaticObjectMethod [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 659 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 660 | | jni_sys::jobject, [INFO] [stdout] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stdout] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stdout] ... | [INFO] [stdout] 666 | | CallStaticObjectMethod [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:643:28 [INFO] [stdout] | [INFO] [stdout] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 659 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 660 | | jni_sys::jobject, [INFO] [stdout] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stdout] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stdout] ... | [INFO] [stdout] 666 | | CallStaticObjectMethod [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:644:28 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 659 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 660 | | jni_sys::jobject, [INFO] [stdout] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stdout] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stdout] ... | [INFO] [stdout] 666 | | CallStaticObjectMethod [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:645:28 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 659 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 660 | | jni_sys::jobject, [INFO] [stdout] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stdout] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stdout] ... | [INFO] [stdout] 666 | | CallStaticObjectMethod [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:646:28 [INFO] [stdout] | [INFO] [stdout] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 659 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 660 | | jni_sys::jobject, [INFO] [stdout] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stdout] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stdout] ... | [INFO] [stdout] 666 | | CallStaticObjectMethod [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 659 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 660 | | jni_sys::jobject, [INFO] [stdout] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stdout] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stdout] ... | [INFO] [stdout] 666 | | CallStaticObjectMethod [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 669 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 670 | | (), [INFO] [stdout] 671 | | (), [INFO] [stdout] 672 | | (), [INFO] [stdout] ... | [INFO] [stdout] 676 | | CallStaticVoidMethod [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 669 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 670 | | (), [INFO] [stdout] 671 | | (), [INFO] [stdout] 672 | | (), [INFO] [stdout] ... | [INFO] [stdout] 676 | | CallStaticVoidMethod [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:580:28 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 669 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 670 | | (), [INFO] [stdout] 671 | | (), [INFO] [stdout] 672 | | (), [INFO] [stdout] ... | [INFO] [stdout] 676 | | CallStaticVoidMethod [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 669 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 670 | | (), [INFO] [stdout] 671 | | (), [INFO] [stdout] 672 | | (), [INFO] [stdout] ... | [INFO] [stdout] 676 | | CallStaticVoidMethod [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:582:28 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 669 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 670 | | (), [INFO] [stdout] 671 | | (), [INFO] [stdout] 672 | | (), [INFO] [stdout] ... | [INFO] [stdout] 676 | | CallStaticVoidMethod [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:583:28 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 669 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 670 | | (), [INFO] [stdout] 671 | | (), [INFO] [stdout] 672 | | (), [INFO] [stdout] ... | [INFO] [stdout] 676 | | CallStaticVoidMethod [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 669 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 670 | | (), [INFO] [stdout] 671 | | (), [INFO] [stdout] 672 | | (), [INFO] [stdout] ... | [INFO] [stdout] 676 | | CallStaticVoidMethod [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:643:28 [INFO] [stdout] | [INFO] [stdout] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 669 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 670 | | (), [INFO] [stdout] 671 | | (), [INFO] [stdout] 672 | | (), [INFO] [stdout] ... | [INFO] [stdout] 676 | | CallStaticVoidMethod [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:644:28 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 669 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 670 | | (), [INFO] [stdout] 671 | | (), [INFO] [stdout] 672 | | (), [INFO] [stdout] ... | [INFO] [stdout] 676 | | CallStaticVoidMethod [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:645:28 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 669 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 670 | | (), [INFO] [stdout] 671 | | (), [INFO] [stdout] 672 | | (), [INFO] [stdout] ... | [INFO] [stdout] 676 | | CallStaticVoidMethod [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:646:28 [INFO] [stdout] | [INFO] [stdout] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 669 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 670 | | (), [INFO] [stdout] 671 | | (), [INFO] [stdout] 672 | | (), [INFO] [stdout] ... | [INFO] [stdout] 676 | | CallStaticVoidMethod [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 669 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 670 | | (), [INFO] [stdout] 671 | | (), [INFO] [stdout] 672 | | (), [INFO] [stdout] ... | [INFO] [stdout] 676 | | CallStaticVoidMethod [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 679 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 680 | | jni_sys::jboolean, [INFO] [stdout] 681 | | jni_sys::JNI_FALSE, [INFO] [stdout] 682 | | jni_sys::JNI_TRUE, [INFO] [stdout] ... | [INFO] [stdout] 686 | | CallStaticBooleanMethod [INFO] [stdout] 687 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 679 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 680 | | jni_sys::jboolean, [INFO] [stdout] 681 | | jni_sys::JNI_FALSE, [INFO] [stdout] 682 | | jni_sys::JNI_TRUE, [INFO] [stdout] ... | [INFO] [stdout] 686 | | CallStaticBooleanMethod [INFO] [stdout] 687 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:580:28 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 679 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 680 | | jni_sys::jboolean, [INFO] [stdout] 681 | | jni_sys::JNI_FALSE, [INFO] [stdout] 682 | | jni_sys::JNI_TRUE, [INFO] [stdout] ... | [INFO] [stdout] 686 | | CallStaticBooleanMethod [INFO] [stdout] 687 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 679 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 680 | | jni_sys::jboolean, [INFO] [stdout] 681 | | jni_sys::JNI_FALSE, [INFO] [stdout] 682 | | jni_sys::JNI_TRUE, [INFO] [stdout] ... | [INFO] [stdout] 686 | | CallStaticBooleanMethod [INFO] [stdout] 687 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:582:28 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 679 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 680 | | jni_sys::jboolean, [INFO] [stdout] 681 | | jni_sys::JNI_FALSE, [INFO] [stdout] 682 | | jni_sys::JNI_TRUE, [INFO] [stdout] ... | [INFO] [stdout] 686 | | CallStaticBooleanMethod [INFO] [stdout] 687 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:583:28 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 679 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 680 | | jni_sys::jboolean, [INFO] [stdout] 681 | | jni_sys::JNI_FALSE, [INFO] [stdout] 682 | | jni_sys::JNI_TRUE, [INFO] [stdout] ... | [INFO] [stdout] 686 | | CallStaticBooleanMethod [INFO] [stdout] 687 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 679 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 680 | | jni_sys::jboolean, [INFO] [stdout] 681 | | jni_sys::JNI_FALSE, [INFO] [stdout] 682 | | jni_sys::JNI_TRUE, [INFO] [stdout] ... | [INFO] [stdout] 686 | | CallStaticBooleanMethod [INFO] [stdout] 687 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:643:28 [INFO] [stdout] | [INFO] [stdout] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 679 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 680 | | jni_sys::jboolean, [INFO] [stdout] 681 | | jni_sys::JNI_FALSE, [INFO] [stdout] 682 | | jni_sys::JNI_TRUE, [INFO] [stdout] ... | [INFO] [stdout] 686 | | CallStaticBooleanMethod [INFO] [stdout] 687 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:644:28 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 679 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 680 | | jni_sys::jboolean, [INFO] [stdout] 681 | | jni_sys::JNI_FALSE, [INFO] [stdout] 682 | | jni_sys::JNI_TRUE, [INFO] [stdout] ... | [INFO] [stdout] 686 | | CallStaticBooleanMethod [INFO] [stdout] 687 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:645:28 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 679 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 680 | | jni_sys::jboolean, [INFO] [stdout] 681 | | jni_sys::JNI_FALSE, [INFO] [stdout] 682 | | jni_sys::JNI_TRUE, [INFO] [stdout] ... | [INFO] [stdout] 686 | | CallStaticBooleanMethod [INFO] [stdout] 687 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:646:28 [INFO] [stdout] | [INFO] [stdout] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 679 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 680 | | jni_sys::jboolean, [INFO] [stdout] 681 | | jni_sys::JNI_FALSE, [INFO] [stdout] 682 | | jni_sys::JNI_TRUE, [INFO] [stdout] ... | [INFO] [stdout] 686 | | CallStaticBooleanMethod [INFO] [stdout] 687 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 679 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 680 | | jni_sys::jboolean, [INFO] [stdout] 681 | | jni_sys::JNI_FALSE, [INFO] [stdout] 682 | | jni_sys::JNI_TRUE, [INFO] [stdout] ... | [INFO] [stdout] 686 | | CallStaticBooleanMethod [INFO] [stdout] 687 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 689 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 690 | | jni_sys::jchar, [INFO] [stdout] 691 | | 0, [INFO] [stdout] 692 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 696 | | CallStaticCharMethod [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 689 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 690 | | jni_sys::jchar, [INFO] [stdout] 691 | | 0, [INFO] [stdout] 692 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 696 | | CallStaticCharMethod [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:580:28 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 689 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 690 | | jni_sys::jchar, [INFO] [stdout] 691 | | 0, [INFO] [stdout] 692 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 696 | | CallStaticCharMethod [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 689 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 690 | | jni_sys::jchar, [INFO] [stdout] 691 | | 0, [INFO] [stdout] 692 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 696 | | CallStaticCharMethod [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:582:28 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 689 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 690 | | jni_sys::jchar, [INFO] [stdout] 691 | | 0, [INFO] [stdout] 692 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 696 | | CallStaticCharMethod [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:583:28 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 689 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 690 | | jni_sys::jchar, [INFO] [stdout] 691 | | 0, [INFO] [stdout] 692 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 696 | | CallStaticCharMethod [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 689 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 690 | | jni_sys::jchar, [INFO] [stdout] 691 | | 0, [INFO] [stdout] 692 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 696 | | CallStaticCharMethod [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:643:28 [INFO] [stdout] | [INFO] [stdout] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 689 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 690 | | jni_sys::jchar, [INFO] [stdout] 691 | | 0, [INFO] [stdout] 692 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 696 | | CallStaticCharMethod [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:644:28 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 689 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 690 | | jni_sys::jchar, [INFO] [stdout] 691 | | 0, [INFO] [stdout] 692 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 696 | | CallStaticCharMethod [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:645:28 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 689 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 690 | | jni_sys::jchar, [INFO] [stdout] 691 | | 0, [INFO] [stdout] 692 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 696 | | CallStaticCharMethod [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:646:28 [INFO] [stdout] | [INFO] [stdout] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 689 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 690 | | jni_sys::jchar, [INFO] [stdout] 691 | | 0, [INFO] [stdout] 692 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 696 | | CallStaticCharMethod [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 689 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 690 | | jni_sys::jchar, [INFO] [stdout] 691 | | 0, [INFO] [stdout] 692 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 696 | | CallStaticCharMethod [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 699 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 700 | | jni_sys::jbyte, [INFO] [stdout] 701 | | 0, [INFO] [stdout] 702 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 706 | | CallStaticByteMethod [INFO] [stdout] 707 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 699 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 700 | | jni_sys::jbyte, [INFO] [stdout] 701 | | 0, [INFO] [stdout] 702 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 706 | | CallStaticByteMethod [INFO] [stdout] 707 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:580:28 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 699 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 700 | | jni_sys::jbyte, [INFO] [stdout] 701 | | 0, [INFO] [stdout] 702 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 706 | | CallStaticByteMethod [INFO] [stdout] 707 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 699 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 700 | | jni_sys::jbyte, [INFO] [stdout] 701 | | 0, [INFO] [stdout] 702 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 706 | | CallStaticByteMethod [INFO] [stdout] 707 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:582:28 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 699 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 700 | | jni_sys::jbyte, [INFO] [stdout] 701 | | 0, [INFO] [stdout] 702 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 706 | | CallStaticByteMethod [INFO] [stdout] 707 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:583:28 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 699 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 700 | | jni_sys::jbyte, [INFO] [stdout] 701 | | 0, [INFO] [stdout] 702 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 706 | | CallStaticByteMethod [INFO] [stdout] 707 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 699 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 700 | | jni_sys::jbyte, [INFO] [stdout] 701 | | 0, [INFO] [stdout] 702 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 706 | | CallStaticByteMethod [INFO] [stdout] 707 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:643:28 [INFO] [stdout] | [INFO] [stdout] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 699 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 700 | | jni_sys::jbyte, [INFO] [stdout] 701 | | 0, [INFO] [stdout] 702 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 706 | | CallStaticByteMethod [INFO] [stdout] 707 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:644:28 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 699 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 700 | | jni_sys::jbyte, [INFO] [stdout] 701 | | 0, [INFO] [stdout] 702 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 706 | | CallStaticByteMethod [INFO] [stdout] 707 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:645:28 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 699 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 700 | | jni_sys::jbyte, [INFO] [stdout] 701 | | 0, [INFO] [stdout] 702 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 706 | | CallStaticByteMethod [INFO] [stdout] 707 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:646:28 [INFO] [stdout] | [INFO] [stdout] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 699 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 700 | | jni_sys::jbyte, [INFO] [stdout] 701 | | 0, [INFO] [stdout] 702 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 706 | | CallStaticByteMethod [INFO] [stdout] 707 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 699 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 700 | | jni_sys::jbyte, [INFO] [stdout] 701 | | 0, [INFO] [stdout] 702 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 706 | | CallStaticByteMethod [INFO] [stdout] 707 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 709 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 710 | | jni_sys::jshort, [INFO] [stdout] 711 | | 0, [INFO] [stdout] 712 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 716 | | CallStaticShortMethod [INFO] [stdout] 717 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 709 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 710 | | jni_sys::jshort, [INFO] [stdout] 711 | | 0, [INFO] [stdout] 712 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 716 | | CallStaticShortMethod [INFO] [stdout] 717 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:580:28 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 709 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 710 | | jni_sys::jshort, [INFO] [stdout] 711 | | 0, [INFO] [stdout] 712 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 716 | | CallStaticShortMethod [INFO] [stdout] 717 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 709 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 710 | | jni_sys::jshort, [INFO] [stdout] 711 | | 0, [INFO] [stdout] 712 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 716 | | CallStaticShortMethod [INFO] [stdout] 717 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:582:28 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 709 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 710 | | jni_sys::jshort, [INFO] [stdout] 711 | | 0, [INFO] [stdout] 712 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 716 | | CallStaticShortMethod [INFO] [stdout] 717 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:583:28 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 709 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 710 | | jni_sys::jshort, [INFO] [stdout] 711 | | 0, [INFO] [stdout] 712 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 716 | | CallStaticShortMethod [INFO] [stdout] 717 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 709 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 710 | | jni_sys::jshort, [INFO] [stdout] 711 | | 0, [INFO] [stdout] 712 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 716 | | CallStaticShortMethod [INFO] [stdout] 717 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:643:28 [INFO] [stdout] | [INFO] [stdout] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 709 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 710 | | jni_sys::jshort, [INFO] [stdout] 711 | | 0, [INFO] [stdout] 712 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 716 | | CallStaticShortMethod [INFO] [stdout] 717 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:644:28 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 709 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 710 | | jni_sys::jshort, [INFO] [stdout] 711 | | 0, [INFO] [stdout] 712 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 716 | | CallStaticShortMethod [INFO] [stdout] 717 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:645:28 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 709 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 710 | | jni_sys::jshort, [INFO] [stdout] 711 | | 0, [INFO] [stdout] 712 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 716 | | CallStaticShortMethod [INFO] [stdout] 717 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:646:28 [INFO] [stdout] | [INFO] [stdout] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 709 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 710 | | jni_sys::jshort, [INFO] [stdout] 711 | | 0, [INFO] [stdout] 712 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 716 | | CallStaticShortMethod [INFO] [stdout] 717 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 709 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 710 | | jni_sys::jshort, [INFO] [stdout] 711 | | 0, [INFO] [stdout] 712 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 716 | | CallStaticShortMethod [INFO] [stdout] 717 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 719 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 720 | | jni_sys::jint, [INFO] [stdout] 721 | | 0, [INFO] [stdout] 722 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 726 | | CallStaticIntMethod [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 719 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 720 | | jni_sys::jint, [INFO] [stdout] 721 | | 0, [INFO] [stdout] 722 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 726 | | CallStaticIntMethod [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:580:28 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 719 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 720 | | jni_sys::jint, [INFO] [stdout] 721 | | 0, [INFO] [stdout] 722 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 726 | | CallStaticIntMethod [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 719 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 720 | | jni_sys::jint, [INFO] [stdout] 721 | | 0, [INFO] [stdout] 722 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 726 | | CallStaticIntMethod [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:582:28 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 719 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 720 | | jni_sys::jint, [INFO] [stdout] 721 | | 0, [INFO] [stdout] 722 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 726 | | CallStaticIntMethod [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:583:28 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 719 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 720 | | jni_sys::jint, [INFO] [stdout] 721 | | 0, [INFO] [stdout] 722 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 726 | | CallStaticIntMethod [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 719 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 720 | | jni_sys::jint, [INFO] [stdout] 721 | | 0, [INFO] [stdout] 722 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 726 | | CallStaticIntMethod [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:643:28 [INFO] [stdout] | [INFO] [stdout] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 719 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 720 | | jni_sys::jint, [INFO] [stdout] 721 | | 0, [INFO] [stdout] 722 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 726 | | CallStaticIntMethod [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:644:28 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 719 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 720 | | jni_sys::jint, [INFO] [stdout] 721 | | 0, [INFO] [stdout] 722 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 726 | | CallStaticIntMethod [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:645:28 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 719 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 720 | | jni_sys::jint, [INFO] [stdout] 721 | | 0, [INFO] [stdout] 722 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 726 | | CallStaticIntMethod [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:646:28 [INFO] [stdout] | [INFO] [stdout] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 719 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 720 | | jni_sys::jint, [INFO] [stdout] 721 | | 0, [INFO] [stdout] 722 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 726 | | CallStaticIntMethod [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 719 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 720 | | jni_sys::jint, [INFO] [stdout] 721 | | 0, [INFO] [stdout] 722 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 726 | | CallStaticIntMethod [INFO] [stdout] 727 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 730 | | jni_sys::jlong, [INFO] [stdout] 731 | | 0, [INFO] [stdout] 732 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 736 | | CallStaticLongMethod [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 730 | | jni_sys::jlong, [INFO] [stdout] 731 | | 0, [INFO] [stdout] 732 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 736 | | CallStaticLongMethod [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:580:28 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 730 | | jni_sys::jlong, [INFO] [stdout] 731 | | 0, [INFO] [stdout] 732 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 736 | | CallStaticLongMethod [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 730 | | jni_sys::jlong, [INFO] [stdout] 731 | | 0, [INFO] [stdout] 732 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 736 | | CallStaticLongMethod [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:582:28 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 730 | | jni_sys::jlong, [INFO] [stdout] 731 | | 0, [INFO] [stdout] 732 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 736 | | CallStaticLongMethod [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:583:28 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 730 | | jni_sys::jlong, [INFO] [stdout] 731 | | 0, [INFO] [stdout] 732 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 736 | | CallStaticLongMethod [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 730 | | jni_sys::jlong, [INFO] [stdout] 731 | | 0, [INFO] [stdout] 732 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 736 | | CallStaticLongMethod [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:643:28 [INFO] [stdout] | [INFO] [stdout] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 730 | | jni_sys::jlong, [INFO] [stdout] 731 | | 0, [INFO] [stdout] 732 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 736 | | CallStaticLongMethod [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:644:28 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 730 | | jni_sys::jlong, [INFO] [stdout] 731 | | 0, [INFO] [stdout] 732 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 736 | | CallStaticLongMethod [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:645:28 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 730 | | jni_sys::jlong, [INFO] [stdout] 731 | | 0, [INFO] [stdout] 732 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 736 | | CallStaticLongMethod [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:646:28 [INFO] [stdout] | [INFO] [stdout] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 730 | | jni_sys::jlong, [INFO] [stdout] 731 | | 0, [INFO] [stdout] 732 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 736 | | CallStaticLongMethod [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 730 | | jni_sys::jlong, [INFO] [stdout] 731 | | 0, [INFO] [stdout] 732 | | 42, [INFO] [stdout] ... | [INFO] [stdout] 736 | | CallStaticLongMethod [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 739 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 740 | | jni_sys::jfloat, [INFO] [stdout] 741 | | 0., [INFO] [stdout] 742 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 746 | | CallStaticFloatMethod [INFO] [stdout] 747 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 739 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 740 | | jni_sys::jfloat, [INFO] [stdout] 741 | | 0., [INFO] [stdout] 742 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 746 | | CallStaticFloatMethod [INFO] [stdout] 747 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:580:28 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 739 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 740 | | jni_sys::jfloat, [INFO] [stdout] 741 | | 0., [INFO] [stdout] 742 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 746 | | CallStaticFloatMethod [INFO] [stdout] 747 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 739 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 740 | | jni_sys::jfloat, [INFO] [stdout] 741 | | 0., [INFO] [stdout] 742 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 746 | | CallStaticFloatMethod [INFO] [stdout] 747 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:582:28 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 739 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 740 | | jni_sys::jfloat, [INFO] [stdout] 741 | | 0., [INFO] [stdout] 742 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 746 | | CallStaticFloatMethod [INFO] [stdout] 747 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:583:28 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 739 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 740 | | jni_sys::jfloat, [INFO] [stdout] 741 | | 0., [INFO] [stdout] 742 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 746 | | CallStaticFloatMethod [INFO] [stdout] 747 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 739 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 740 | | jni_sys::jfloat, [INFO] [stdout] 741 | | 0., [INFO] [stdout] 742 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 746 | | CallStaticFloatMethod [INFO] [stdout] 747 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:643:28 [INFO] [stdout] | [INFO] [stdout] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 739 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 740 | | jni_sys::jfloat, [INFO] [stdout] 741 | | 0., [INFO] [stdout] 742 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 746 | | CallStaticFloatMethod [INFO] [stdout] 747 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:644:28 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 739 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 740 | | jni_sys::jfloat, [INFO] [stdout] 741 | | 0., [INFO] [stdout] 742 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 746 | | CallStaticFloatMethod [INFO] [stdout] 747 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:645:28 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 739 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 740 | | jni_sys::jfloat, [INFO] [stdout] 741 | | 0., [INFO] [stdout] 742 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 746 | | CallStaticFloatMethod [INFO] [stdout] 747 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:646:28 [INFO] [stdout] | [INFO] [stdout] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 739 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 740 | | jni_sys::jfloat, [INFO] [stdout] 741 | | 0., [INFO] [stdout] 742 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 746 | | CallStaticFloatMethod [INFO] [stdout] 747 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 739 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 740 | | jni_sys::jfloat, [INFO] [stdout] 741 | | 0., [INFO] [stdout] 742 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 746 | | CallStaticFloatMethod [INFO] [stdout] 747 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 749 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 750 | | jni_sys::jdouble, [INFO] [stdout] 751 | | 0., [INFO] [stdout] 752 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 756 | | CallStaticDoubleMethod [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 749 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 750 | | jni_sys::jdouble, [INFO] [stdout] 751 | | 0., [INFO] [stdout] 752 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 756 | | CallStaticDoubleMethod [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:580:28 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 749 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 750 | | jni_sys::jdouble, [INFO] [stdout] 751 | | 0., [INFO] [stdout] 752 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 756 | | CallStaticDoubleMethod [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 749 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 750 | | jni_sys::jdouble, [INFO] [stdout] 751 | | 0., [INFO] [stdout] 752 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 756 | | CallStaticDoubleMethod [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:582:28 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 749 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 750 | | jni_sys::jdouble, [INFO] [stdout] 751 | | 0., [INFO] [stdout] 752 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 756 | | CallStaticDoubleMethod [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:583:28 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 749 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 750 | | jni_sys::jdouble, [INFO] [stdout] 751 | | 0., [INFO] [stdout] 752 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 756 | | CallStaticDoubleMethod [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 749 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 750 | | jni_sys::jdouble, [INFO] [stdout] 751 | | 0., [INFO] [stdout] 752 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 756 | | CallStaticDoubleMethod [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:643:28 [INFO] [stdout] | [INFO] [stdout] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 749 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 750 | | jni_sys::jdouble, [INFO] [stdout] 751 | | 0., [INFO] [stdout] 752 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 756 | | CallStaticDoubleMethod [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:644:28 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 749 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 750 | | jni_sys::jdouble, [INFO] [stdout] 751 | | 0., [INFO] [stdout] 752 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 756 | | CallStaticDoubleMethod [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:645:28 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 749 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 750 | | jni_sys::jdouble, [INFO] [stdout] 751 | | 0., [INFO] [stdout] 752 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 756 | | CallStaticDoubleMethod [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:646:28 [INFO] [stdout] | [INFO] [stdout] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 749 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 750 | | jni_sys::jdouble, [INFO] [stdout] 751 | | 0., [INFO] [stdout] 752 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 756 | | CallStaticDoubleMethod [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 749 | / generate_to_jni_tuple_tests!( [INFO] [stdout] 750 | | jni_sys::jdouble, [INFO] [stdout] 751 | | 0., [INFO] [stdout] 752 | | 42., [INFO] [stdout] ... | [INFO] [stdout] 756 | | CallStaticDoubleMethod [INFO] [stdout] 757 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:858:24 [INFO] [stdout] | [INFO] [stdout] 858 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:859:24 [INFO] [stdout] | [INFO] [stdout] 859 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:860:24 [INFO] [stdout] | [INFO] [stdout] 860 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:861:24 [INFO] [stdout] | [INFO] [stdout] 861 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:862:24 [INFO] [stdout] | [INFO] [stdout] 862 | assert_eq!(METHOD_ARGUMENT0, arguments.0.__to_jni()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:863:24 [INFO] [stdout] | [INFO] [stdout] 863 | assert_eq!(METHOD_ARGUMENT1, arguments.1.__to_jni()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:864:24 [INFO] [stdout] | [INFO] [stdout] 864 | assert_eq!(METHOD_ARGUMENT2, arguments.2.__to_jni()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:865:24 [INFO] [stdout] | [INFO] [stdout] 865 | assert_eq!(METHOD_ARGUMENT3, arguments.3.__to_jni()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:866:24 [INFO] [stdout] | [INFO] [stdout] 866 | assert_eq!(METHOD_ARGUMENT4, arguments.4.__to_jni()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:867:24 [INFO] [stdout] | [INFO] [stdout] 867 | assert_eq!(METHOD_ARGUMENT5, arguments.5.__to_jni()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:868:24 [INFO] [stdout] | [INFO] [stdout] 868 | assert_eq!(METHOD_ARGUMENT7, arguments.6.__to_jni()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:869:24 [INFO] [stdout] | [INFO] [stdout] 869 | assert_eq!(METHOD_ARGUMENT8, arguments.7.__to_jni()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:870:24 [INFO] [stdout] | [INFO] [stdout] 870 | assert_eq!(METHOD_ARGUMENT9, arguments.8.__to_jni()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:871:24 [INFO] [stdout] | [INFO] [stdout] 871 | assert_eq!(METHOD_ARGUMENT10, arguments.9.__to_jni()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:872:24 [INFO] [stdout] | [INFO] [stdout] 872 | assert_eq!(METHOD_ARGUMENT11, arguments.10.__to_jni()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/primitives.rs:873:24 [INFO] [stdout] | [INFO] [stdout] 873 | assert_eq!(METHOD_ARGUMENT12, arguments.11.__to_jni()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/string.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | generate_tests!(String, "Ljava/lang/String;"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | assert_eq!(METHOD_ENV_ARGUMENT, calls.env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/string.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | generate_tests!(String, "Ljava/lang/String;"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/jni/string.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | generate_tests!(String, "Ljava/lang/String;"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `format` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:718:37 [INFO] [stdout] | [INFO] [stdout] 718 | assert_eq!(env, METHOD_ENV_ARGUMENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/string.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | generate_tests!(String, "Ljava/lang/String;"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:823:37 [INFO] [stdout] | [INFO] [stdout] 823 | assert_eq!(env, METHOD_ENV_ARGUMENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/string.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | generate_tests!(String, "Ljava/lang/String;"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/throwable.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | generate_tests!(Throwable, "Ljava/lang/Throwable;"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | assert_eq!(METHOD_ENV_ARGUMENT, calls.env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/throwable.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | generate_tests!(Throwable, "Ljava/lang/Throwable;"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/jni/throwable.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | generate_tests!(Throwable, "Ljava/lang/Throwable;"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `format` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:718:37 [INFO] [stdout] | [INFO] [stdout] 718 | assert_eq!(env, METHOD_ENV_ARGUMENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/throwable.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | generate_tests!(Throwable, "Ljava/lang/Throwable;"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:823:37 [INFO] [stdout] | [INFO] [stdout] 823 | assert_eq!(env, METHOD_ENV_ARGUMENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/throwable.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | generate_tests!(Throwable, "Ljava/lang/Throwable;"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` which comes from the expansion of the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:644:24 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(DETACH_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:645:24 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(DETACH_ARGUMENT, raw_java_vm_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:718:33 [INFO] [stdout] | [INFO] [stdout] 718 | unsafe { assert_eq!(DESTROY_CALLS, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:721:24 [INFO] [stdout] | [INFO] [stdout] 721 | assert_eq!(DESTROY_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:722:24 [INFO] [stdout] | [INFO] [stdout] 722 | assert_eq!(DESTROY_ARGUMENT, raw_java_vm_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:745:24 [INFO] [stdout] | [INFO] [stdout] 745 | assert_eq!(DESTROY_CALLS, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:868:24 [INFO] [stdout] | [INFO] [stdout] 868 | assert_eq!(GET_ENV_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:869:24 [INFO] [stdout] | [INFO] [stdout] 869 | assert_eq!(GET_ENV_VM_ARGUMENT, raw_java_vm_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:870:24 [INFO] [stdout] | [INFO] [stdout] 870 | assert_eq!(GET_ENV_VERSION_ARGUMENT, version::to_raw(JniVersion::V8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:871:24 [INFO] [stdout] | [INFO] [stdout] 871 | assert_eq!(ATTACH_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:872:24 [INFO] [stdout] | [INFO] [stdout] 872 | assert_eq!(ATTACH_VM_ARGUMENT, raw_java_vm_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:1114:24 [INFO] [stdout] | [INFO] [stdout] 1114 | assert_eq!(GET_ENV_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:1115:24 [INFO] [stdout] | [INFO] [stdout] 1115 | assert_eq!(GET_ENV_VM_ARGUMENT, raw_java_vm_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:1116:24 [INFO] [stdout] | [INFO] [stdout] 1116 | assert_eq!(GET_ENV_VERSION_ARGUMENT, version::to_raw(JniVersion::V8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:1117:24 [INFO] [stdout] | [INFO] [stdout] 1117 | assert_eq!(ATTACH_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:1118:24 [INFO] [stdout] | [INFO] [stdout] 1118 | assert_eq!(ATTACH_VM_ARGUMENT, raw_java_vm_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:1383:28 [INFO] [stdout] | [INFO] [stdout] 1383 | assert_eq!(DETACH_CALLS, 0); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:1387:24 [INFO] [stdout] | [INFO] [stdout] 1387 | assert_eq!(DETACH_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:1388:24 [INFO] [stdout] | [INFO] [stdout] 1388 | assert_eq!(DETACH_ARGUMENT, vm.java_vm); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | assert_eq!(METHOD_CALLS, 1); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/mod.rs:2040:5 [INFO] [stdout] | [INFO] [stdout] 2040 | generate_object_tests!(Object, "Ljava/lang/Object;"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | assert_eq!(METHOD_ENV_ARGUMENT, calls.env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/mod.rs:2040:5 [INFO] [stdout] | [INFO] [stdout] 2040 | generate_object_tests!(Object, "Ljava/lang/Object;"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/jni/mod.rs:2040:5 [INFO] [stdout] | [INFO] [stdout] 2040 | generate_object_tests!(Object, "Ljava/lang/Object;"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `format` which comes from the expansion of the macro `generate_object_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:718:37 [INFO] [stdout] | [INFO] [stdout] 718 | assert_eq!(env, METHOD_ENV_ARGUMENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/mod.rs:2040:5 [INFO] [stdout] | [INFO] [stdout] 2040 | generate_object_tests!(Object, "Ljava/lang/Object;"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/generate_class.rs:823:37 [INFO] [stdout] | [INFO] [stdout] 823 | assert_eq!(env, METHOD_ENV_ARGUMENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/jni/mod.rs:2040:5 [INFO] [stdout] | [INFO] [stdout] 2040 | generate_object_tests!(Object, "Ljava/lang/Object;"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `generate_object_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:2299:33 [INFO] [stdout] | [INFO] [stdout] 2299 | assert_eq!(env, METHOD_ENV_ARGUMENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/jni/mod.rs:2404:33 [INFO] [stdout] | [INFO] [stdout] 2404 | assert_eq!(env, METHOD_ENV_ARGUMENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 303 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-jni` (lib test) due to 19 previous errors; 303 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e142378f7b9758ca328d23078fbc7186318da99317e7c8bb65da2155973d90a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e142378f7b9758ca328d23078fbc7186318da99317e7c8bb65da2155973d90a3", kill_on_drop: false }` [INFO] [stdout] e142378f7b9758ca328d23078fbc7186318da99317e7c8bb65da2155973d90a3