[INFO] fetching crate rust-jni 0.1.0... [INFO] testing rust-jni-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rust-jni 0.1.0 into /workspace/builds/worker-7-tc1/source [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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-jni 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b675115b2866d972e2d4cbe5c8960ef40bb6bd3a2c91e4912f72f163c566751 [INFO] running `Command { std: "docker" "start" "-a" "3b675115b2866d972e2d4cbe5c8960ef40bb6bd3a2c91e4912f72f163c566751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b675115b2866d972e2d4cbe5c8960ef40bb6bd3a2c91e4912f72f163c566751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b675115b2866d972e2d4cbe5c8960ef40bb6bd3a2c91e4912f72f163c566751", kill_on_drop: false }` [INFO] [stdout] 3b675115b2866d972e2d4cbe5c8960ef40bb6bd3a2c91e4912f72f163c566751 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 509310d40de295f6ada7af533bf8cb24112c01718f676990e02da631110f089a [INFO] running `Command { std: "docker" "start" "-a" "509310d40de295f6ada7af533bf8cb24112c01718f676990e02da631110f089a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling jni-sys v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rust-jni v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/java_string.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_java_string(buffer: &[u8]) -> Result, Cesu8DecodingError> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_java_string(buffer: &[u8]) -> Result, Cesu8DecodingError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jni/mod.rs:466:19 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn attach(&self, arguments: &AttachArguments) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 466 | pub fn attach(&self, arguments: &AttachArguments) -> Result, JniError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jni/mod.rs:475:26 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn attach_daemon(&self, arguments: &AttachArguments) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 475 | pub fn attach_daemon(&self, arguments: &AttachArguments) -> Result, JniError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jni/mod.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 496 | ) -> Result { [INFO] [stdout] | ------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 496 | ) -> Result, JniError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jni/mod.rs:1252:18 [INFO] [stdout] | [INFO] [stdout] 1252 | pub fn token(&self) -> NoException { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1252 | pub fn token(&self) -> NoException<'_> { [INFO] [stdout] | ++++ [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `Command { std: "docker" "inspect" "509310d40de295f6ada7af533bf8cb24112c01718f676990e02da631110f089a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "509310d40de295f6ada7af533bf8cb24112c01718f676990e02da631110f089a", kill_on_drop: false }` [INFO] [stdout] 509310d40de295f6ada7af533bf8cb24112c01718f676990e02da631110f089a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a352527b722f7b7123d552e3ed1ad6545e84abd9988fb992568fd8502887710f [INFO] running `Command { std: "docker" "start" "-a" "a352527b722f7b7123d552e3ed1ad6545e84abd9988fb992568fd8502887710f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/java_string.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_java_string(buffer: &[u8]) -> Result, Cesu8DecodingError> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_java_string(buffer: &[u8]) -> Result, Cesu8DecodingError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jni/mod.rs:466:19 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn attach(&self, arguments: &AttachArguments) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 466 | pub fn attach(&self, arguments: &AttachArguments) -> Result, JniError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jni/mod.rs:475:26 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn attach_daemon(&self, arguments: &AttachArguments) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 475 | pub fn attach_daemon(&self, arguments: &AttachArguments) -> Result, JniError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jni/mod.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 496 | ) -> Result { [INFO] [stdout] | ------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 496 | ) -> Result, JniError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jni/mod.rs:1252:18 [INFO] [stdout] | [INFO] [stdout] 1252 | pub fn token(&self) -> NoException { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1252 | pub fn token(&self) -> NoException<'_> { [INFO] [stdout] | ++++ [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] [stderr] Compiling rust-jni v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/native_method_env.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | panic!(message); [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 68 | panic!("{}", message); [INFO] [stdout] | +++++ [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/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] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/java_string.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_java_string(buffer: &[u8]) -> Result, Cesu8DecodingError> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_java_string(buffer: &[u8]) -> Result, Cesu8DecodingError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jni/mod.rs:466:19 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn attach(&self, arguments: &AttachArguments) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 466 | pub fn attach(&self, arguments: &AttachArguments) -> Result, JniError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jni/mod.rs:475:26 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn attach_daemon(&self, arguments: &AttachArguments) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 475 | pub fn attach_daemon(&self, arguments: &AttachArguments) -> Result, JniError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jni/mod.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 496 | ) -> Result { [INFO] [stdout] | ------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 496 | ) -> Result, JniError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jni/mod.rs:1252:18 [INFO] [stdout] | [INFO] [stdout] 1252 | pub fn token(&self) -> NoException { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1252 | pub fn token(&self) -> NoException<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 - panic!(123); [INFO] [stdout] 256 + std::panic::panic_any(123); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.31s [INFO] running `Command { std: "docker" "inspect" "a352527b722f7b7123d552e3ed1ad6545e84abd9988fb992568fd8502887710f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a352527b722f7b7123d552e3ed1ad6545e84abd9988fb992568fd8502887710f", kill_on_drop: false }` [INFO] [stdout] a352527b722f7b7123d552e3ed1ad6545e84abd9988fb992568fd8502887710f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 140c0a92ee2fc544bf8451c8a46ff22195a777bd331359d2791caf738d741c4f [INFO] running `Command { std: "docker" "start" "-a" "140c0a92ee2fc544bf8451c8a46ff22195a777bd331359d2791caf738d741c4f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/java_string.rs:36:33 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn from_java_string(buffer: &[u8]) -> Result, Cesu8DecodingError> { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 36 | pub fn from_java_string(buffer: &[u8]) -> Result, Cesu8DecodingError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/jni/mod.rs:466:19 [INFO] [stderr] | [INFO] [stderr] 466 | pub fn attach(&self, arguments: &AttachArguments) -> Result { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------ the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 466 | pub fn attach(&self, arguments: &AttachArguments) -> Result, JniError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/jni/mod.rs:475:26 [INFO] [stderr] | [INFO] [stderr] 475 | pub fn attach_daemon(&self, arguments: &AttachArguments) -> Result { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------ the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 475 | pub fn attach_daemon(&self, arguments: &AttachArguments) -> Result, JniError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/jni/mod.rs:489:9 [INFO] [stderr] | [INFO] [stderr] 489 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 496 | ) -> Result { [INFO] [stderr] | ------ the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 496 | ) -> Result, JniError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/jni/mod.rs:1252:18 [INFO] [stderr] | [INFO] [stderr] 1252 | pub fn token(&self) -> NoException { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 1252 | pub fn token(&self) -> NoException<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/jni/native_method.rs:50:20 [INFO] [stderr] | [INFO] [stderr] 50 | panic!(format!("Could not get Java VM. Status: {:?}", status)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 50 - panic!(format!("Could not get Java VM. Status: {:?}", status)); [INFO] [stderr] 50 + panic!("Could not get Java VM. Status: {:?}", status); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/jni/generate_class.rs:923:25 [INFO] [stderr] | [INFO] [stderr] 923 | &object as &Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/jni/class.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = note: this warning originates in the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/jni/generate_class.rs:923:25 [INFO] [stderr] | [INFO] [stderr] 923 | &object as &Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/jni/string.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | generate_tests!(String, "Ljava/lang/String;"); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/jni/generate_class.rs:923:25 [INFO] [stderr] | [INFO] [stderr] 923 | &object as &Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/jni/throwable.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | generate_tests!(Throwable, "Ljava/lang/Throwable;"); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/generate_class.rs:530:28 [INFO] [stderr] | [INFO] [stderr] 530 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/jni/class.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/generate_class.rs:531:28 [INFO] [stderr] | [INFO] [stderr] 531 | assert_eq!(METHOD_ENV_ARGUMENT, calls.env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/jni/class.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unused return value of `must_use` that must be used [INFO] [stderr] --> src/jni/class.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/generate_class.rs:718:37 [INFO] [stderr] | [INFO] [stderr] 718 | assert_eq!(env, METHOD_ENV_ARGUMENT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/jni/class.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/generate_class.rs:823:37 [INFO] [stderr] | [INFO] [stderr] 823 | assert_eq!(env, METHOD_ENV_ARGUMENT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/jni/class.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | generate_tests!(Class, "Ljava/lang/Class;"); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/method_calls.rs:179:24 [INFO] [stderr] | [INFO] [stderr] 179 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/method_calls.rs:180:24 [INFO] [stderr] | [INFO] [stderr] 180 | assert_eq!(METHOD_ENV_ARGUMENT, calls.env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/method_calls.rs:181:24 [INFO] [stderr] | [INFO] [stderr] 181 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/method_calls.rs:182:24 [INFO] [stderr] | [INFO] [stderr] 182 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/method_calls.rs:383:24 [INFO] [stderr] | [INFO] [stderr] 383 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/method_calls.rs:384:24 [INFO] [stderr] | [INFO] [stderr] 384 | assert_eq!(METHOD_ENV_ARGUMENT, calls.env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/method_calls.rs:385:24 [INFO] [stderr] | [INFO] [stderr] 385 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/method_calls.rs:386:24 [INFO] [stderr] | [INFO] [stderr] 386 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/method_calls.rs:604:24 [INFO] [stderr] | [INFO] [stderr] 604 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/method_calls.rs:605:24 [INFO] [stderr] | [INFO] [stderr] 605 | assert_eq!(METHOD_ENV_ARGUMENT, calls.env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/method_calls.rs:606:24 [INFO] [stderr] | [INFO] [stderr] 606 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/method_calls.rs:607:24 [INFO] [stderr] | [INFO] [stderr] 607 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/jni/native_method.rs:223:24 [INFO] [stderr] | [INFO] [stderr] 223 | panic!("ERROR".to_owned()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 223 | panic!("{}", "ERROR".to_owned()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/jni/native_method.rs:256:24 [INFO] [stderr] | [INFO] [stderr] 256 | panic!(123); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 256 | panic!("{}", 123); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 256 - panic!(123); [INFO] [stderr] 256 + std::panic::panic_any(123); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 226 | / generate_jni_type_tests!( [INFO] [stderr] 227 | | jni_type_void_tests, [INFO] [stderr] 228 | | (), [INFO] [stderr] 229 | | (), [INFO] [stderr] ... | [INFO] [stderr] 232 | | CallStaticVoidMethod [INFO] [stderr] 233 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:149:32 [INFO] [stderr] | [INFO] [stderr] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 226 | / generate_jni_type_tests!( [INFO] [stderr] 227 | | jni_type_void_tests, [INFO] [stderr] 228 | | (), [INFO] [stderr] 229 | | (), [INFO] [stderr] ... | [INFO] [stderr] 232 | | CallStaticVoidMethod [INFO] [stderr] 233 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:150:32 [INFO] [stderr] | [INFO] [stderr] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 226 | / generate_jni_type_tests!( [INFO] [stderr] 227 | | jni_type_void_tests, [INFO] [stderr] 228 | | (), [INFO] [stderr] 229 | | (), [INFO] [stderr] ... | [INFO] [stderr] 232 | | CallStaticVoidMethod [INFO] [stderr] 233 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:151:32 [INFO] [stderr] | [INFO] [stderr] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 226 | / generate_jni_type_tests!( [INFO] [stderr] 227 | | jni_type_void_tests, [INFO] [stderr] 228 | | (), [INFO] [stderr] 229 | | (), [INFO] [stderr] ... | [INFO] [stderr] 232 | | CallStaticVoidMethod [INFO] [stderr] 233 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:152:32 [INFO] [stderr] | [INFO] [stderr] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 226 | / generate_jni_type_tests!( [INFO] [stderr] 227 | | jni_type_void_tests, [INFO] [stderr] 228 | | (), [INFO] [stderr] 229 | | (), [INFO] [stderr] ... | [INFO] [stderr] 232 | | CallStaticVoidMethod [INFO] [stderr] 233 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:153:32 [INFO] [stderr] | [INFO] [stderr] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 226 | / generate_jni_type_tests!( [INFO] [stderr] 227 | | jni_type_void_tests, [INFO] [stderr] 228 | | (), [INFO] [stderr] 229 | | (), [INFO] [stderr] ... | [INFO] [stderr] 232 | | CallStaticVoidMethod [INFO] [stderr] 233 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:214:32 [INFO] [stderr] | [INFO] [stderr] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 226 | / generate_jni_type_tests!( [INFO] [stderr] 227 | | jni_type_void_tests, [INFO] [stderr] 228 | | (), [INFO] [stderr] 229 | | (), [INFO] [stderr] ... | [INFO] [stderr] 232 | | CallStaticVoidMethod [INFO] [stderr] 233 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:215:32 [INFO] [stderr] | [INFO] [stderr] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 226 | / generate_jni_type_tests!( [INFO] [stderr] 227 | | jni_type_void_tests, [INFO] [stderr] 228 | | (), [INFO] [stderr] 229 | | (), [INFO] [stderr] ... | [INFO] [stderr] 232 | | CallStaticVoidMethod [INFO] [stderr] 233 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:216:32 [INFO] [stderr] | [INFO] [stderr] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 226 | / generate_jni_type_tests!( [INFO] [stderr] 227 | | jni_type_void_tests, [INFO] [stderr] 228 | | (), [INFO] [stderr] 229 | | (), [INFO] [stderr] ... | [INFO] [stderr] 232 | | CallStaticVoidMethod [INFO] [stderr] 233 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:217:32 [INFO] [stderr] | [INFO] [stderr] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 226 | / generate_jni_type_tests!( [INFO] [stderr] 227 | | jni_type_void_tests, [INFO] [stderr] 228 | | (), [INFO] [stderr] 229 | | (), [INFO] [stderr] ... | [INFO] [stderr] 232 | | CallStaticVoidMethod [INFO] [stderr] 233 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:218:32 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 226 | / generate_jni_type_tests!( [INFO] [stderr] 227 | | jni_type_void_tests, [INFO] [stderr] 228 | | (), [INFO] [stderr] 229 | | (), [INFO] [stderr] ... | [INFO] [stderr] 232 | | CallStaticVoidMethod [INFO] [stderr] 233 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:219:32 [INFO] [stderr] | [INFO] [stderr] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 226 | / generate_jni_type_tests!( [INFO] [stderr] 227 | | jni_type_void_tests, [INFO] [stderr] 228 | | (), [INFO] [stderr] 229 | | (), [INFO] [stderr] ... | [INFO] [stderr] 232 | | CallStaticVoidMethod [INFO] [stderr] 233 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 235 | / generate_jni_type_tests!( [INFO] [stderr] 236 | | jni_type_boolean_tests, [INFO] [stderr] 237 | | jni_sys::jboolean, [INFO] [stderr] 238 | | jni_sys::JNI_FALSE, [INFO] [stderr] ... | [INFO] [stderr] 241 | | CallStaticBooleanMethod [INFO] [stderr] 242 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:149:32 [INFO] [stderr] | [INFO] [stderr] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 235 | / generate_jni_type_tests!( [INFO] [stderr] 236 | | jni_type_boolean_tests, [INFO] [stderr] 237 | | jni_sys::jboolean, [INFO] [stderr] 238 | | jni_sys::JNI_FALSE, [INFO] [stderr] ... | [INFO] [stderr] 241 | | CallStaticBooleanMethod [INFO] [stderr] 242 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:150:32 [INFO] [stderr] | [INFO] [stderr] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 235 | / generate_jni_type_tests!( [INFO] [stderr] 236 | | jni_type_boolean_tests, [INFO] [stderr] 237 | | jni_sys::jboolean, [INFO] [stderr] 238 | | jni_sys::JNI_FALSE, [INFO] [stderr] ... | [INFO] [stderr] 241 | | CallStaticBooleanMethod [INFO] [stderr] 242 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:151:32 [INFO] [stderr] | [INFO] [stderr] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 235 | / generate_jni_type_tests!( [INFO] [stderr] 236 | | jni_type_boolean_tests, [INFO] [stderr] 237 | | jni_sys::jboolean, [INFO] [stderr] 238 | | jni_sys::JNI_FALSE, [INFO] [stderr] ... | [INFO] [stderr] 241 | | CallStaticBooleanMethod [INFO] [stderr] 242 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:152:32 [INFO] [stderr] | [INFO] [stderr] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 235 | / generate_jni_type_tests!( [INFO] [stderr] 236 | | jni_type_boolean_tests, [INFO] [stderr] 237 | | jni_sys::jboolean, [INFO] [stderr] 238 | | jni_sys::JNI_FALSE, [INFO] [stderr] ... | [INFO] [stderr] 241 | | CallStaticBooleanMethod [INFO] [stderr] 242 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:153:32 [INFO] [stderr] | [INFO] [stderr] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 235 | / generate_jni_type_tests!( [INFO] [stderr] 236 | | jni_type_boolean_tests, [INFO] [stderr] 237 | | jni_sys::jboolean, [INFO] [stderr] 238 | | jni_sys::JNI_FALSE, [INFO] [stderr] ... | [INFO] [stderr] 241 | | CallStaticBooleanMethod [INFO] [stderr] 242 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:214:32 [INFO] [stderr] | [INFO] [stderr] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 235 | / generate_jni_type_tests!( [INFO] [stderr] 236 | | jni_type_boolean_tests, [INFO] [stderr] 237 | | jni_sys::jboolean, [INFO] [stderr] 238 | | jni_sys::JNI_FALSE, [INFO] [stderr] ... | [INFO] [stderr] 241 | | CallStaticBooleanMethod [INFO] [stderr] 242 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:215:32 [INFO] [stderr] | [INFO] [stderr] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 235 | / generate_jni_type_tests!( [INFO] [stderr] 236 | | jni_type_boolean_tests, [INFO] [stderr] 237 | | jni_sys::jboolean, [INFO] [stderr] 238 | | jni_sys::JNI_FALSE, [INFO] [stderr] ... | [INFO] [stderr] 241 | | CallStaticBooleanMethod [INFO] [stderr] 242 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:216:32 [INFO] [stderr] | [INFO] [stderr] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 235 | / generate_jni_type_tests!( [INFO] [stderr] 236 | | jni_type_boolean_tests, [INFO] [stderr] 237 | | jni_sys::jboolean, [INFO] [stderr] 238 | | jni_sys::JNI_FALSE, [INFO] [stderr] ... | [INFO] [stderr] 241 | | CallStaticBooleanMethod [INFO] [stderr] 242 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:217:32 [INFO] [stderr] | [INFO] [stderr] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 235 | / generate_jni_type_tests!( [INFO] [stderr] 236 | | jni_type_boolean_tests, [INFO] [stderr] 237 | | jni_sys::jboolean, [INFO] [stderr] 238 | | jni_sys::JNI_FALSE, [INFO] [stderr] ... | [INFO] [stderr] 241 | | CallStaticBooleanMethod [INFO] [stderr] 242 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:218:32 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 235 | / generate_jni_type_tests!( [INFO] [stderr] 236 | | jni_type_boolean_tests, [INFO] [stderr] 237 | | jni_sys::jboolean, [INFO] [stderr] 238 | | jni_sys::JNI_FALSE, [INFO] [stderr] ... | [INFO] [stderr] 241 | | CallStaticBooleanMethod [INFO] [stderr] 242 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:219:32 [INFO] [stderr] | [INFO] [stderr] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 235 | / generate_jni_type_tests!( [INFO] [stderr] 236 | | jni_type_boolean_tests, [INFO] [stderr] 237 | | jni_sys::jboolean, [INFO] [stderr] 238 | | jni_sys::JNI_FALSE, [INFO] [stderr] ... | [INFO] [stderr] 241 | | CallStaticBooleanMethod [INFO] [stderr] 242 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 244 | / generate_jni_type_tests!( [INFO] [stderr] 245 | | jni_type_char_tests, [INFO] [stderr] 246 | | jni_sys::jchar, [INFO] [stderr] 247 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 250 | | CallStaticCharMethod [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:149:32 [INFO] [stderr] | [INFO] [stderr] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 244 | / generate_jni_type_tests!( [INFO] [stderr] 245 | | jni_type_char_tests, [INFO] [stderr] 246 | | jni_sys::jchar, [INFO] [stderr] 247 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 250 | | CallStaticCharMethod [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:150:32 [INFO] [stderr] | [INFO] [stderr] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 244 | / generate_jni_type_tests!( [INFO] [stderr] 245 | | jni_type_char_tests, [INFO] [stderr] 246 | | jni_sys::jchar, [INFO] [stderr] 247 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 250 | | CallStaticCharMethod [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:151:32 [INFO] [stderr] | [INFO] [stderr] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 244 | / generate_jni_type_tests!( [INFO] [stderr] 245 | | jni_type_char_tests, [INFO] [stderr] 246 | | jni_sys::jchar, [INFO] [stderr] 247 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 250 | | CallStaticCharMethod [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:152:32 [INFO] [stderr] | [INFO] [stderr] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 244 | / generate_jni_type_tests!( [INFO] [stderr] 245 | | jni_type_char_tests, [INFO] [stderr] 246 | | jni_sys::jchar, [INFO] [stderr] 247 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 250 | | CallStaticCharMethod [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:153:32 [INFO] [stderr] | [INFO] [stderr] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 244 | / generate_jni_type_tests!( [INFO] [stderr] 245 | | jni_type_char_tests, [INFO] [stderr] 246 | | jni_sys::jchar, [INFO] [stderr] 247 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 250 | | CallStaticCharMethod [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:214:32 [INFO] [stderr] | [INFO] [stderr] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 244 | / generate_jni_type_tests!( [INFO] [stderr] 245 | | jni_type_char_tests, [INFO] [stderr] 246 | | jni_sys::jchar, [INFO] [stderr] 247 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 250 | | CallStaticCharMethod [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:215:32 [INFO] [stderr] | [INFO] [stderr] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 244 | / generate_jni_type_tests!( [INFO] [stderr] 245 | | jni_type_char_tests, [INFO] [stderr] 246 | | jni_sys::jchar, [INFO] [stderr] 247 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 250 | | CallStaticCharMethod [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:216:32 [INFO] [stderr] | [INFO] [stderr] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 244 | / generate_jni_type_tests!( [INFO] [stderr] 245 | | jni_type_char_tests, [INFO] [stderr] 246 | | jni_sys::jchar, [INFO] [stderr] 247 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 250 | | CallStaticCharMethod [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:217:32 [INFO] [stderr] | [INFO] [stderr] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 244 | / generate_jni_type_tests!( [INFO] [stderr] 245 | | jni_type_char_tests, [INFO] [stderr] 246 | | jni_sys::jchar, [INFO] [stderr] 247 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 250 | | CallStaticCharMethod [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:218:32 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 244 | / generate_jni_type_tests!( [INFO] [stderr] 245 | | jni_type_char_tests, [INFO] [stderr] 246 | | jni_sys::jchar, [INFO] [stderr] 247 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 250 | | CallStaticCharMethod [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:219:32 [INFO] [stderr] | [INFO] [stderr] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 244 | / generate_jni_type_tests!( [INFO] [stderr] 245 | | jni_type_char_tests, [INFO] [stderr] 246 | | jni_sys::jchar, [INFO] [stderr] 247 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 250 | | CallStaticCharMethod [INFO] [stderr] 251 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / generate_jni_type_tests!( [INFO] [stderr] 254 | | jni_type_byte_tests, [INFO] [stderr] 255 | | jni_sys::jbyte, [INFO] [stderr] 256 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 259 | | CallStaticByteMethod [INFO] [stderr] 260 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:149:32 [INFO] [stderr] | [INFO] [stderr] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / generate_jni_type_tests!( [INFO] [stderr] 254 | | jni_type_byte_tests, [INFO] [stderr] 255 | | jni_sys::jbyte, [INFO] [stderr] 256 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 259 | | CallStaticByteMethod [INFO] [stderr] 260 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:150:32 [INFO] [stderr] | [INFO] [stderr] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / generate_jni_type_tests!( [INFO] [stderr] 254 | | jni_type_byte_tests, [INFO] [stderr] 255 | | jni_sys::jbyte, [INFO] [stderr] 256 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 259 | | CallStaticByteMethod [INFO] [stderr] 260 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:151:32 [INFO] [stderr] | [INFO] [stderr] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / generate_jni_type_tests!( [INFO] [stderr] 254 | | jni_type_byte_tests, [INFO] [stderr] 255 | | jni_sys::jbyte, [INFO] [stderr] 256 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 259 | | CallStaticByteMethod [INFO] [stderr] 260 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:152:32 [INFO] [stderr] | [INFO] [stderr] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / generate_jni_type_tests!( [INFO] [stderr] 254 | | jni_type_byte_tests, [INFO] [stderr] 255 | | jni_sys::jbyte, [INFO] [stderr] 256 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 259 | | CallStaticByteMethod [INFO] [stderr] 260 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:153:32 [INFO] [stderr] | [INFO] [stderr] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / generate_jni_type_tests!( [INFO] [stderr] 254 | | jni_type_byte_tests, [INFO] [stderr] 255 | | jni_sys::jbyte, [INFO] [stderr] 256 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 259 | | CallStaticByteMethod [INFO] [stderr] 260 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:214:32 [INFO] [stderr] | [INFO] [stderr] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / generate_jni_type_tests!( [INFO] [stderr] 254 | | jni_type_byte_tests, [INFO] [stderr] 255 | | jni_sys::jbyte, [INFO] [stderr] 256 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 259 | | CallStaticByteMethod [INFO] [stderr] 260 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:215:32 [INFO] [stderr] | [INFO] [stderr] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / generate_jni_type_tests!( [INFO] [stderr] 254 | | jni_type_byte_tests, [INFO] [stderr] 255 | | jni_sys::jbyte, [INFO] [stderr] 256 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 259 | | CallStaticByteMethod [INFO] [stderr] 260 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:216:32 [INFO] [stderr] | [INFO] [stderr] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / generate_jni_type_tests!( [INFO] [stderr] 254 | | jni_type_byte_tests, [INFO] [stderr] 255 | | jni_sys::jbyte, [INFO] [stderr] 256 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 259 | | CallStaticByteMethod [INFO] [stderr] 260 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:217:32 [INFO] [stderr] | [INFO] [stderr] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / generate_jni_type_tests!( [INFO] [stderr] 254 | | jni_type_byte_tests, [INFO] [stderr] 255 | | jni_sys::jbyte, [INFO] [stderr] 256 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 259 | | CallStaticByteMethod [INFO] [stderr] 260 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:218:32 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / generate_jni_type_tests!( [INFO] [stderr] 254 | | jni_type_byte_tests, [INFO] [stderr] 255 | | jni_sys::jbyte, [INFO] [stderr] 256 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 259 | | CallStaticByteMethod [INFO] [stderr] 260 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:219:32 [INFO] [stderr] | [INFO] [stderr] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / generate_jni_type_tests!( [INFO] [stderr] 254 | | jni_type_byte_tests, [INFO] [stderr] 255 | | jni_sys::jbyte, [INFO] [stderr] 256 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 259 | | CallStaticByteMethod [INFO] [stderr] 260 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 262 | / generate_jni_type_tests!( [INFO] [stderr] 263 | | jni_type_short_tests, [INFO] [stderr] 264 | | jni_sys::jshort, [INFO] [stderr] 265 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 268 | | CallStaticShortMethod [INFO] [stderr] 269 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:149:32 [INFO] [stderr] | [INFO] [stderr] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 262 | / generate_jni_type_tests!( [INFO] [stderr] 263 | | jni_type_short_tests, [INFO] [stderr] 264 | | jni_sys::jshort, [INFO] [stderr] 265 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 268 | | CallStaticShortMethod [INFO] [stderr] 269 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:150:32 [INFO] [stderr] | [INFO] [stderr] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 262 | / generate_jni_type_tests!( [INFO] [stderr] 263 | | jni_type_short_tests, [INFO] [stderr] 264 | | jni_sys::jshort, [INFO] [stderr] 265 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 268 | | CallStaticShortMethod [INFO] [stderr] 269 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:151:32 [INFO] [stderr] | [INFO] [stderr] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 262 | / generate_jni_type_tests!( [INFO] [stderr] 263 | | jni_type_short_tests, [INFO] [stderr] 264 | | jni_sys::jshort, [INFO] [stderr] 265 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 268 | | CallStaticShortMethod [INFO] [stderr] 269 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:152:32 [INFO] [stderr] | [INFO] [stderr] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 262 | / generate_jni_type_tests!( [INFO] [stderr] 263 | | jni_type_short_tests, [INFO] [stderr] 264 | | jni_sys::jshort, [INFO] [stderr] 265 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 268 | | CallStaticShortMethod [INFO] [stderr] 269 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:153:32 [INFO] [stderr] | [INFO] [stderr] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 262 | / generate_jni_type_tests!( [INFO] [stderr] 263 | | jni_type_short_tests, [INFO] [stderr] 264 | | jni_sys::jshort, [INFO] [stderr] 265 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 268 | | CallStaticShortMethod [INFO] [stderr] 269 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:214:32 [INFO] [stderr] | [INFO] [stderr] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 262 | / generate_jni_type_tests!( [INFO] [stderr] 263 | | jni_type_short_tests, [INFO] [stderr] 264 | | jni_sys::jshort, [INFO] [stderr] 265 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 268 | | CallStaticShortMethod [INFO] [stderr] 269 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:215:32 [INFO] [stderr] | [INFO] [stderr] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 262 | / generate_jni_type_tests!( [INFO] [stderr] 263 | | jni_type_short_tests, [INFO] [stderr] 264 | | jni_sys::jshort, [INFO] [stderr] 265 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 268 | | CallStaticShortMethod [INFO] [stderr] 269 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:216:32 [INFO] [stderr] | [INFO] [stderr] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 262 | / generate_jni_type_tests!( [INFO] [stderr] 263 | | jni_type_short_tests, [INFO] [stderr] 264 | | jni_sys::jshort, [INFO] [stderr] 265 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 268 | | CallStaticShortMethod [INFO] [stderr] 269 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:217:32 [INFO] [stderr] | [INFO] [stderr] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 262 | / generate_jni_type_tests!( [INFO] [stderr] 263 | | jni_type_short_tests, [INFO] [stderr] 264 | | jni_sys::jshort, [INFO] [stderr] 265 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 268 | | CallStaticShortMethod [INFO] [stderr] 269 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:218:32 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 262 | / generate_jni_type_tests!( [INFO] [stderr] 263 | | jni_type_short_tests, [INFO] [stderr] 264 | | jni_sys::jshort, [INFO] [stderr] 265 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 268 | | CallStaticShortMethod [INFO] [stderr] 269 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:219:32 [INFO] [stderr] | [INFO] [stderr] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 262 | / generate_jni_type_tests!( [INFO] [stderr] 263 | | jni_type_short_tests, [INFO] [stderr] 264 | | jni_sys::jshort, [INFO] [stderr] 265 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 268 | | CallStaticShortMethod [INFO] [stderr] 269 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 271 | / generate_jni_type_tests!( [INFO] [stderr] 272 | | jni_type_int_tests, [INFO] [stderr] 273 | | jni_sys::jint, [INFO] [stderr] 274 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 277 | | CallStaticIntMethod [INFO] [stderr] 278 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:149:32 [INFO] [stderr] | [INFO] [stderr] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 271 | / generate_jni_type_tests!( [INFO] [stderr] 272 | | jni_type_int_tests, [INFO] [stderr] 273 | | jni_sys::jint, [INFO] [stderr] 274 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 277 | | CallStaticIntMethod [INFO] [stderr] 278 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:150:32 [INFO] [stderr] | [INFO] [stderr] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 271 | / generate_jni_type_tests!( [INFO] [stderr] 272 | | jni_type_int_tests, [INFO] [stderr] 273 | | jni_sys::jint, [INFO] [stderr] 274 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 277 | | CallStaticIntMethod [INFO] [stderr] 278 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:151:32 [INFO] [stderr] | [INFO] [stderr] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 271 | / generate_jni_type_tests!( [INFO] [stderr] 272 | | jni_type_int_tests, [INFO] [stderr] 273 | | jni_sys::jint, [INFO] [stderr] 274 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 277 | | CallStaticIntMethod [INFO] [stderr] 278 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:152:32 [INFO] [stderr] | [INFO] [stderr] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 271 | / generate_jni_type_tests!( [INFO] [stderr] 272 | | jni_type_int_tests, [INFO] [stderr] 273 | | jni_sys::jint, [INFO] [stderr] 274 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 277 | | CallStaticIntMethod [INFO] [stderr] 278 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:153:32 [INFO] [stderr] | [INFO] [stderr] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 271 | / generate_jni_type_tests!( [INFO] [stderr] 272 | | jni_type_int_tests, [INFO] [stderr] 273 | | jni_sys::jint, [INFO] [stderr] 274 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 277 | | CallStaticIntMethod [INFO] [stderr] 278 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:214:32 [INFO] [stderr] | [INFO] [stderr] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 271 | / generate_jni_type_tests!( [INFO] [stderr] 272 | | jni_type_int_tests, [INFO] [stderr] 273 | | jni_sys::jint, [INFO] [stderr] 274 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 277 | | CallStaticIntMethod [INFO] [stderr] 278 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:215:32 [INFO] [stderr] | [INFO] [stderr] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 271 | / generate_jni_type_tests!( [INFO] [stderr] 272 | | jni_type_int_tests, [INFO] [stderr] 273 | | jni_sys::jint, [INFO] [stderr] 274 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 277 | | CallStaticIntMethod [INFO] [stderr] 278 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:216:32 [INFO] [stderr] | [INFO] [stderr] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 271 | / generate_jni_type_tests!( [INFO] [stderr] 272 | | jni_type_int_tests, [INFO] [stderr] 273 | | jni_sys::jint, [INFO] [stderr] 274 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 277 | | CallStaticIntMethod [INFO] [stderr] 278 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:217:32 [INFO] [stderr] | [INFO] [stderr] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 271 | / generate_jni_type_tests!( [INFO] [stderr] 272 | | jni_type_int_tests, [INFO] [stderr] 273 | | jni_sys::jint, [INFO] [stderr] 274 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 277 | | CallStaticIntMethod [INFO] [stderr] 278 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:218:32 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 271 | / generate_jni_type_tests!( [INFO] [stderr] 272 | | jni_type_int_tests, [INFO] [stderr] 273 | | jni_sys::jint, [INFO] [stderr] 274 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 277 | | CallStaticIntMethod [INFO] [stderr] 278 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:219:32 [INFO] [stderr] | [INFO] [stderr] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 271 | / generate_jni_type_tests!( [INFO] [stderr] 272 | | jni_type_int_tests, [INFO] [stderr] 273 | | jni_sys::jint, [INFO] [stderr] 274 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 277 | | CallStaticIntMethod [INFO] [stderr] 278 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 280 | / generate_jni_type_tests!( [INFO] [stderr] 281 | | jni_type_long_tests, [INFO] [stderr] 282 | | jni_sys::jlong, [INFO] [stderr] 283 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 286 | | CallStaticLongMethod [INFO] [stderr] 287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:149:32 [INFO] [stderr] | [INFO] [stderr] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 280 | / generate_jni_type_tests!( [INFO] [stderr] 281 | | jni_type_long_tests, [INFO] [stderr] 282 | | jni_sys::jlong, [INFO] [stderr] 283 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 286 | | CallStaticLongMethod [INFO] [stderr] 287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:150:32 [INFO] [stderr] | [INFO] [stderr] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 280 | / generate_jni_type_tests!( [INFO] [stderr] 281 | | jni_type_long_tests, [INFO] [stderr] 282 | | jni_sys::jlong, [INFO] [stderr] 283 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 286 | | CallStaticLongMethod [INFO] [stderr] 287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:151:32 [INFO] [stderr] | [INFO] [stderr] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 280 | / generate_jni_type_tests!( [INFO] [stderr] 281 | | jni_type_long_tests, [INFO] [stderr] 282 | | jni_sys::jlong, [INFO] [stderr] 283 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 286 | | CallStaticLongMethod [INFO] [stderr] 287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:152:32 [INFO] [stderr] | [INFO] [stderr] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 280 | / generate_jni_type_tests!( [INFO] [stderr] 281 | | jni_type_long_tests, [INFO] [stderr] 282 | | jni_sys::jlong, [INFO] [stderr] 283 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 286 | | CallStaticLongMethod [INFO] [stderr] 287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:153:32 [INFO] [stderr] | [INFO] [stderr] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 280 | / generate_jni_type_tests!( [INFO] [stderr] 281 | | jni_type_long_tests, [INFO] [stderr] 282 | | jni_sys::jlong, [INFO] [stderr] 283 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 286 | | CallStaticLongMethod [INFO] [stderr] 287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:214:32 [INFO] [stderr] | [INFO] [stderr] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 280 | / generate_jni_type_tests!( [INFO] [stderr] 281 | | jni_type_long_tests, [INFO] [stderr] 282 | | jni_sys::jlong, [INFO] [stderr] 283 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 286 | | CallStaticLongMethod [INFO] [stderr] 287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:215:32 [INFO] [stderr] | [INFO] [stderr] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 280 | / generate_jni_type_tests!( [INFO] [stderr] 281 | | jni_type_long_tests, [INFO] [stderr] 282 | | jni_sys::jlong, [INFO] [stderr] 283 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 286 | | CallStaticLongMethod [INFO] [stderr] 287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:216:32 [INFO] [stderr] | [INFO] [stderr] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 280 | / generate_jni_type_tests!( [INFO] [stderr] 281 | | jni_type_long_tests, [INFO] [stderr] 282 | | jni_sys::jlong, [INFO] [stderr] 283 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 286 | | CallStaticLongMethod [INFO] [stderr] 287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:217:32 [INFO] [stderr] | [INFO] [stderr] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 280 | / generate_jni_type_tests!( [INFO] [stderr] 281 | | jni_type_long_tests, [INFO] [stderr] 282 | | jni_sys::jlong, [INFO] [stderr] 283 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 286 | | CallStaticLongMethod [INFO] [stderr] 287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:218:32 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 280 | / generate_jni_type_tests!( [INFO] [stderr] 281 | | jni_type_long_tests, [INFO] [stderr] 282 | | jni_sys::jlong, [INFO] [stderr] 283 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 286 | | CallStaticLongMethod [INFO] [stderr] 287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:219:32 [INFO] [stderr] | [INFO] [stderr] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 280 | / generate_jni_type_tests!( [INFO] [stderr] 281 | | jni_type_long_tests, [INFO] [stderr] 282 | | jni_sys::jlong, [INFO] [stderr] 283 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 286 | | CallStaticLongMethod [INFO] [stderr] 287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 289 | / generate_jni_type_tests!( [INFO] [stderr] 290 | | jni_type_float_tests, [INFO] [stderr] 291 | | jni_sys::jfloat, [INFO] [stderr] 292 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 295 | | CallStaticFloatMethod [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:149:32 [INFO] [stderr] | [INFO] [stderr] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 289 | / generate_jni_type_tests!( [INFO] [stderr] 290 | | jni_type_float_tests, [INFO] [stderr] 291 | | jni_sys::jfloat, [INFO] [stderr] 292 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 295 | | CallStaticFloatMethod [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:150:32 [INFO] [stderr] | [INFO] [stderr] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 289 | / generate_jni_type_tests!( [INFO] [stderr] 290 | | jni_type_float_tests, [INFO] [stderr] 291 | | jni_sys::jfloat, [INFO] [stderr] 292 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 295 | | CallStaticFloatMethod [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:151:32 [INFO] [stderr] | [INFO] [stderr] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 289 | / generate_jni_type_tests!( [INFO] [stderr] 290 | | jni_type_float_tests, [INFO] [stderr] 291 | | jni_sys::jfloat, [INFO] [stderr] 292 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 295 | | CallStaticFloatMethod [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:152:32 [INFO] [stderr] | [INFO] [stderr] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 289 | / generate_jni_type_tests!( [INFO] [stderr] 290 | | jni_type_float_tests, [INFO] [stderr] 291 | | jni_sys::jfloat, [INFO] [stderr] 292 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 295 | | CallStaticFloatMethod [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:153:32 [INFO] [stderr] | [INFO] [stderr] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 289 | / generate_jni_type_tests!( [INFO] [stderr] 290 | | jni_type_float_tests, [INFO] [stderr] 291 | | jni_sys::jfloat, [INFO] [stderr] 292 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 295 | | CallStaticFloatMethod [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:214:32 [INFO] [stderr] | [INFO] [stderr] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 289 | / generate_jni_type_tests!( [INFO] [stderr] 290 | | jni_type_float_tests, [INFO] [stderr] 291 | | jni_sys::jfloat, [INFO] [stderr] 292 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 295 | | CallStaticFloatMethod [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:215:32 [INFO] [stderr] | [INFO] [stderr] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 289 | / generate_jni_type_tests!( [INFO] [stderr] 290 | | jni_type_float_tests, [INFO] [stderr] 291 | | jni_sys::jfloat, [INFO] [stderr] 292 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 295 | | CallStaticFloatMethod [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:216:32 [INFO] [stderr] | [INFO] [stderr] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 289 | / generate_jni_type_tests!( [INFO] [stderr] 290 | | jni_type_float_tests, [INFO] [stderr] 291 | | jni_sys::jfloat, [INFO] [stderr] 292 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 295 | | CallStaticFloatMethod [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:217:32 [INFO] [stderr] | [INFO] [stderr] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 289 | / generate_jni_type_tests!( [INFO] [stderr] 290 | | jni_type_float_tests, [INFO] [stderr] 291 | | jni_sys::jfloat, [INFO] [stderr] 292 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 295 | | CallStaticFloatMethod [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:218:32 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 289 | / generate_jni_type_tests!( [INFO] [stderr] 290 | | jni_type_float_tests, [INFO] [stderr] 291 | | jni_sys::jfloat, [INFO] [stderr] 292 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 295 | | CallStaticFloatMethod [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:219:32 [INFO] [stderr] | [INFO] [stderr] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 289 | / generate_jni_type_tests!( [INFO] [stderr] 290 | | jni_type_float_tests, [INFO] [stderr] 291 | | jni_sys::jfloat, [INFO] [stderr] 292 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 295 | | CallStaticFloatMethod [INFO] [stderr] 296 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | / generate_jni_type_tests!( [INFO] [stderr] 299 | | jni_type_double_tests, [INFO] [stderr] 300 | | jni_sys::jdouble, [INFO] [stderr] 301 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 304 | | CallStaticDoubleMethod [INFO] [stderr] 305 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:149:32 [INFO] [stderr] | [INFO] [stderr] 149 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | / generate_jni_type_tests!( [INFO] [stderr] 299 | | jni_type_double_tests, [INFO] [stderr] 300 | | jni_sys::jdouble, [INFO] [stderr] 301 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 304 | | CallStaticDoubleMethod [INFO] [stderr] 305 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:150:32 [INFO] [stderr] | [INFO] [stderr] 150 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | / generate_jni_type_tests!( [INFO] [stderr] 299 | | jni_type_double_tests, [INFO] [stderr] 300 | | jni_sys::jdouble, [INFO] [stderr] 301 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 304 | | CallStaticDoubleMethod [INFO] [stderr] 305 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:151:32 [INFO] [stderr] | [INFO] [stderr] 151 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | / generate_jni_type_tests!( [INFO] [stderr] 299 | | jni_type_double_tests, [INFO] [stderr] 300 | | jni_sys::jdouble, [INFO] [stderr] 301 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 304 | | CallStaticDoubleMethod [INFO] [stderr] 305 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:152:32 [INFO] [stderr] | [INFO] [stderr] 152 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | / generate_jni_type_tests!( [INFO] [stderr] 299 | | jni_type_double_tests, [INFO] [stderr] 300 | | jni_sys::jdouble, [INFO] [stderr] 301 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 304 | | CallStaticDoubleMethod [INFO] [stderr] 305 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:153:32 [INFO] [stderr] | [INFO] [stderr] 153 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | / generate_jni_type_tests!( [INFO] [stderr] 299 | | jni_type_double_tests, [INFO] [stderr] 300 | | jni_sys::jdouble, [INFO] [stderr] 301 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 304 | | CallStaticDoubleMethod [INFO] [stderr] 305 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:214:32 [INFO] [stderr] | [INFO] [stderr] 214 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | / generate_jni_type_tests!( [INFO] [stderr] 299 | | jni_type_double_tests, [INFO] [stderr] 300 | | jni_sys::jdouble, [INFO] [stderr] 301 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 304 | | CallStaticDoubleMethod [INFO] [stderr] 305 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:215:32 [INFO] [stderr] | [INFO] [stderr] 215 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | / generate_jni_type_tests!( [INFO] [stderr] 299 | | jni_type_double_tests, [INFO] [stderr] 300 | | jni_sys::jdouble, [INFO] [stderr] 301 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 304 | | CallStaticDoubleMethod [INFO] [stderr] 305 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:216:32 [INFO] [stderr] | [INFO] [stderr] 216 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | / generate_jni_type_tests!( [INFO] [stderr] 299 | | jni_type_double_tests, [INFO] [stderr] 300 | | jni_sys::jdouble, [INFO] [stderr] 301 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 304 | | CallStaticDoubleMethod [INFO] [stderr] 305 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:217:32 [INFO] [stderr] | [INFO] [stderr] 217 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | / generate_jni_type_tests!( [INFO] [stderr] 299 | | jni_type_double_tests, [INFO] [stderr] 300 | | jni_sys::jdouble, [INFO] [stderr] 301 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 304 | | CallStaticDoubleMethod [INFO] [stderr] 305 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:218:32 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | / generate_jni_type_tests!( [INFO] [stderr] 299 | | jni_type_double_tests, [INFO] [stderr] 300 | | jni_sys::jdouble, [INFO] [stderr] 301 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 304 | | CallStaticDoubleMethod [INFO] [stderr] 305 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:219:32 [INFO] [stderr] | [INFO] [stderr] 219 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | / generate_jni_type_tests!( [INFO] [stderr] 299 | | jni_type_double_tests, [INFO] [stderr] 300 | | jni_sys::jdouble, [INFO] [stderr] 301 | | 0., [INFO] [stderr] ... | [INFO] [stderr] 304 | | CallStaticDoubleMethod [INFO] [stderr] 305 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_jni_type_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:578:28 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 659 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 660 | | jni_sys::jobject, [INFO] [stderr] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stderr] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stderr] ... | [INFO] [stderr] 666 | | CallStaticObjectMethod [INFO] [stderr] 667 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:579:28 [INFO] [stderr] | [INFO] [stderr] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 659 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 660 | | jni_sys::jobject, [INFO] [stderr] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stderr] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stderr] ... | [INFO] [stderr] 666 | | CallStaticObjectMethod [INFO] [stderr] 667 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:580:28 [INFO] [stderr] | [INFO] [stderr] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 659 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 660 | | jni_sys::jobject, [INFO] [stderr] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stderr] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stderr] ... | [INFO] [stderr] 666 | | CallStaticObjectMethod [INFO] [stderr] 667 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:581:28 [INFO] [stderr] | [INFO] [stderr] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 659 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 660 | | jni_sys::jobject, [INFO] [stderr] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stderr] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stderr] ... | [INFO] [stderr] 666 | | CallStaticObjectMethod [INFO] [stderr] 667 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:582:28 [INFO] [stderr] | [INFO] [stderr] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 659 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 660 | | jni_sys::jobject, [INFO] [stderr] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stderr] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stderr] ... | [INFO] [stderr] 666 | | CallStaticObjectMethod [INFO] [stderr] 667 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:583:28 [INFO] [stderr] | [INFO] [stderr] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 659 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 660 | | jni_sys::jobject, [INFO] [stderr] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stderr] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stderr] ... | [INFO] [stderr] 666 | | CallStaticObjectMethod [INFO] [stderr] 667 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:642:28 [INFO] [stderr] | [INFO] [stderr] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 659 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 660 | | jni_sys::jobject, [INFO] [stderr] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stderr] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stderr] ... | [INFO] [stderr] 666 | | CallStaticObjectMethod [INFO] [stderr] 667 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:643:28 [INFO] [stderr] | [INFO] [stderr] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 659 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 660 | | jni_sys::jobject, [INFO] [stderr] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stderr] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stderr] ... | [INFO] [stderr] 666 | | CallStaticObjectMethod [INFO] [stderr] 667 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:644:28 [INFO] [stderr] | [INFO] [stderr] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 659 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 660 | | jni_sys::jobject, [INFO] [stderr] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stderr] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stderr] ... | [INFO] [stderr] 666 | | CallStaticObjectMethod [INFO] [stderr] 667 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:645:28 [INFO] [stderr] | [INFO] [stderr] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 659 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 660 | | jni_sys::jobject, [INFO] [stderr] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stderr] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stderr] ... | [INFO] [stderr] 666 | | CallStaticObjectMethod [INFO] [stderr] 667 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:646:28 [INFO] [stderr] | [INFO] [stderr] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 659 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 660 | | jni_sys::jobject, [INFO] [stderr] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stderr] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stderr] ... | [INFO] [stderr] 666 | | CallStaticObjectMethod [INFO] [stderr] 667 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:647:28 [INFO] [stderr] | [INFO] [stderr] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 659 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 660 | | jni_sys::jobject, [INFO] [stderr] 661 | | ptr::null_mut() as jni_sys::jobject, [INFO] [stderr] 662 | | 0x1234 as jni_sys::jobject, [INFO] [stderr] ... | [INFO] [stderr] 666 | | CallStaticObjectMethod [INFO] [stderr] 667 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:578:28 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 669 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 670 | | (), [INFO] [stderr] 671 | | (), [INFO] [stderr] 672 | | (), [INFO] [stderr] ... | [INFO] [stderr] 676 | | CallStaticVoidMethod [INFO] [stderr] 677 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:579:28 [INFO] [stderr] | [INFO] [stderr] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 669 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 670 | | (), [INFO] [stderr] 671 | | (), [INFO] [stderr] 672 | | (), [INFO] [stderr] ... | [INFO] [stderr] 676 | | CallStaticVoidMethod [INFO] [stderr] 677 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:580:28 [INFO] [stderr] | [INFO] [stderr] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 669 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 670 | | (), [INFO] [stderr] 671 | | (), [INFO] [stderr] 672 | | (), [INFO] [stderr] ... | [INFO] [stderr] 676 | | CallStaticVoidMethod [INFO] [stderr] 677 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:581:28 [INFO] [stderr] | [INFO] [stderr] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 669 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 670 | | (), [INFO] [stderr] 671 | | (), [INFO] [stderr] 672 | | (), [INFO] [stderr] ... | [INFO] [stderr] 676 | | CallStaticVoidMethod [INFO] [stderr] 677 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:582:28 [INFO] [stderr] | [INFO] [stderr] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 669 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 670 | | (), [INFO] [stderr] 671 | | (), [INFO] [stderr] 672 | | (), [INFO] [stderr] ... | [INFO] [stderr] 676 | | CallStaticVoidMethod [INFO] [stderr] 677 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:583:28 [INFO] [stderr] | [INFO] [stderr] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 669 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 670 | | (), [INFO] [stderr] 671 | | (), [INFO] [stderr] 672 | | (), [INFO] [stderr] ... | [INFO] [stderr] 676 | | CallStaticVoidMethod [INFO] [stderr] 677 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:642:28 [INFO] [stderr] | [INFO] [stderr] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 669 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 670 | | (), [INFO] [stderr] 671 | | (), [INFO] [stderr] 672 | | (), [INFO] [stderr] ... | [INFO] [stderr] 676 | | CallStaticVoidMethod [INFO] [stderr] 677 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:643:28 [INFO] [stderr] | [INFO] [stderr] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 669 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 670 | | (), [INFO] [stderr] 671 | | (), [INFO] [stderr] 672 | | (), [INFO] [stderr] ... | [INFO] [stderr] 676 | | CallStaticVoidMethod [INFO] [stderr] 677 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:644:28 [INFO] [stderr] | [INFO] [stderr] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 669 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 670 | | (), [INFO] [stderr] 671 | | (), [INFO] [stderr] 672 | | (), [INFO] [stderr] ... | [INFO] [stderr] 676 | | CallStaticVoidMethod [INFO] [stderr] 677 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:645:28 [INFO] [stderr] | [INFO] [stderr] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 669 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 670 | | (), [INFO] [stderr] 671 | | (), [INFO] [stderr] 672 | | (), [INFO] [stderr] ... | [INFO] [stderr] 676 | | CallStaticVoidMethod [INFO] [stderr] 677 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:646:28 [INFO] [stderr] | [INFO] [stderr] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 669 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 670 | | (), [INFO] [stderr] 671 | | (), [INFO] [stderr] 672 | | (), [INFO] [stderr] ... | [INFO] [stderr] 676 | | CallStaticVoidMethod [INFO] [stderr] 677 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:647:28 [INFO] [stderr] | [INFO] [stderr] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 669 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 670 | | (), [INFO] [stderr] 671 | | (), [INFO] [stderr] 672 | | (), [INFO] [stderr] ... | [INFO] [stderr] 676 | | CallStaticVoidMethod [INFO] [stderr] 677 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:578:28 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 679 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 680 | | jni_sys::jboolean, [INFO] [stderr] 681 | | jni_sys::JNI_FALSE, [INFO] [stderr] 682 | | jni_sys::JNI_TRUE, [INFO] [stderr] ... | [INFO] [stderr] 686 | | CallStaticBooleanMethod [INFO] [stderr] 687 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:579:28 [INFO] [stderr] | [INFO] [stderr] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 679 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 680 | | jni_sys::jboolean, [INFO] [stderr] 681 | | jni_sys::JNI_FALSE, [INFO] [stderr] 682 | | jni_sys::JNI_TRUE, [INFO] [stderr] ... | [INFO] [stderr] 686 | | CallStaticBooleanMethod [INFO] [stderr] 687 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:580:28 [INFO] [stderr] | [INFO] [stderr] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 679 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 680 | | jni_sys::jboolean, [INFO] [stderr] 681 | | jni_sys::JNI_FALSE, [INFO] [stderr] 682 | | jni_sys::JNI_TRUE, [INFO] [stderr] ... | [INFO] [stderr] 686 | | CallStaticBooleanMethod [INFO] [stderr] 687 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:581:28 [INFO] [stderr] | [INFO] [stderr] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 679 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 680 | | jni_sys::jboolean, [INFO] [stderr] 681 | | jni_sys::JNI_FALSE, [INFO] [stderr] 682 | | jni_sys::JNI_TRUE, [INFO] [stderr] ... | [INFO] [stderr] 686 | | CallStaticBooleanMethod [INFO] [stderr] 687 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:582:28 [INFO] [stderr] | [INFO] [stderr] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 679 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 680 | | jni_sys::jboolean, [INFO] [stderr] 681 | | jni_sys::JNI_FALSE, [INFO] [stderr] 682 | | jni_sys::JNI_TRUE, [INFO] [stderr] ... | [INFO] [stderr] 686 | | CallStaticBooleanMethod [INFO] [stderr] 687 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:583:28 [INFO] [stderr] | [INFO] [stderr] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 679 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 680 | | jni_sys::jboolean, [INFO] [stderr] 681 | | jni_sys::JNI_FALSE, [INFO] [stderr] 682 | | jni_sys::JNI_TRUE, [INFO] [stderr] ... | [INFO] [stderr] 686 | | CallStaticBooleanMethod [INFO] [stderr] 687 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:642:28 [INFO] [stderr] | [INFO] [stderr] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 679 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 680 | | jni_sys::jboolean, [INFO] [stderr] 681 | | jni_sys::JNI_FALSE, [INFO] [stderr] 682 | | jni_sys::JNI_TRUE, [INFO] [stderr] ... | [INFO] [stderr] 686 | | CallStaticBooleanMethod [INFO] [stderr] 687 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:643:28 [INFO] [stderr] | [INFO] [stderr] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 679 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 680 | | jni_sys::jboolean, [INFO] [stderr] 681 | | jni_sys::JNI_FALSE, [INFO] [stderr] 682 | | jni_sys::JNI_TRUE, [INFO] [stderr] ... | [INFO] [stderr] 686 | | CallStaticBooleanMethod [INFO] [stderr] 687 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:644:28 [INFO] [stderr] | [INFO] [stderr] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 679 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 680 | | jni_sys::jboolean, [INFO] [stderr] 681 | | jni_sys::JNI_FALSE, [INFO] [stderr] 682 | | jni_sys::JNI_TRUE, [INFO] [stderr] ... | [INFO] [stderr] 686 | | CallStaticBooleanMethod [INFO] [stderr] 687 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:645:28 [INFO] [stderr] | [INFO] [stderr] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 679 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 680 | | jni_sys::jboolean, [INFO] [stderr] 681 | | jni_sys::JNI_FALSE, [INFO] [stderr] 682 | | jni_sys::JNI_TRUE, [INFO] [stderr] ... | [INFO] [stderr] 686 | | CallStaticBooleanMethod [INFO] [stderr] 687 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:646:28 [INFO] [stderr] | [INFO] [stderr] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 679 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 680 | | jni_sys::jboolean, [INFO] [stderr] 681 | | jni_sys::JNI_FALSE, [INFO] [stderr] 682 | | jni_sys::JNI_TRUE, [INFO] [stderr] ... | [INFO] [stderr] 686 | | CallStaticBooleanMethod [INFO] [stderr] 687 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:647:28 [INFO] [stderr] | [INFO] [stderr] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 679 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 680 | | jni_sys::jboolean, [INFO] [stderr] 681 | | jni_sys::JNI_FALSE, [INFO] [stderr] 682 | | jni_sys::JNI_TRUE, [INFO] [stderr] ... | [INFO] [stderr] 686 | | CallStaticBooleanMethod [INFO] [stderr] 687 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:578:28 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 689 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 690 | | jni_sys::jchar, [INFO] [stderr] 691 | | 0, [INFO] [stderr] 692 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 696 | | CallStaticCharMethod [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:579:28 [INFO] [stderr] | [INFO] [stderr] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 689 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 690 | | jni_sys::jchar, [INFO] [stderr] 691 | | 0, [INFO] [stderr] 692 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 696 | | CallStaticCharMethod [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:580:28 [INFO] [stderr] | [INFO] [stderr] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 689 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 690 | | jni_sys::jchar, [INFO] [stderr] 691 | | 0, [INFO] [stderr] 692 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 696 | | CallStaticCharMethod [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:581:28 [INFO] [stderr] | [INFO] [stderr] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 689 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 690 | | jni_sys::jchar, [INFO] [stderr] 691 | | 0, [INFO] [stderr] 692 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 696 | | CallStaticCharMethod [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:582:28 [INFO] [stderr] | [INFO] [stderr] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 689 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 690 | | jni_sys::jchar, [INFO] [stderr] 691 | | 0, [INFO] [stderr] 692 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 696 | | CallStaticCharMethod [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:583:28 [INFO] [stderr] | [INFO] [stderr] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 689 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 690 | | jni_sys::jchar, [INFO] [stderr] 691 | | 0, [INFO] [stderr] 692 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 696 | | CallStaticCharMethod [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:642:28 [INFO] [stderr] | [INFO] [stderr] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 689 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 690 | | jni_sys::jchar, [INFO] [stderr] 691 | | 0, [INFO] [stderr] 692 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 696 | | CallStaticCharMethod [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:643:28 [INFO] [stderr] | [INFO] [stderr] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 689 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 690 | | jni_sys::jchar, [INFO] [stderr] 691 | | 0, [INFO] [stderr] 692 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 696 | | CallStaticCharMethod [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:644:28 [INFO] [stderr] | [INFO] [stderr] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 689 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 690 | | jni_sys::jchar, [INFO] [stderr] 691 | | 0, [INFO] [stderr] 692 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 696 | | CallStaticCharMethod [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:645:28 [INFO] [stderr] | [INFO] [stderr] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 689 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 690 | | jni_sys::jchar, [INFO] [stderr] 691 | | 0, [INFO] [stderr] 692 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 696 | | CallStaticCharMethod [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:646:28 [INFO] [stderr] | [INFO] [stderr] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 689 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 690 | | jni_sys::jchar, [INFO] [stderr] 691 | | 0, [INFO] [stderr] 692 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 696 | | CallStaticCharMethod [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:647:28 [INFO] [stderr] | [INFO] [stderr] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 689 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 690 | | jni_sys::jchar, [INFO] [stderr] 691 | | 0, [INFO] [stderr] 692 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 696 | | CallStaticCharMethod [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:578:28 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 699 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 700 | | jni_sys::jbyte, [INFO] [stderr] 701 | | 0, [INFO] [stderr] 702 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 706 | | CallStaticByteMethod [INFO] [stderr] 707 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:579:28 [INFO] [stderr] | [INFO] [stderr] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 699 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 700 | | jni_sys::jbyte, [INFO] [stderr] 701 | | 0, [INFO] [stderr] 702 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 706 | | CallStaticByteMethod [INFO] [stderr] 707 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:580:28 [INFO] [stderr] | [INFO] [stderr] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 699 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 700 | | jni_sys::jbyte, [INFO] [stderr] 701 | | 0, [INFO] [stderr] 702 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 706 | | CallStaticByteMethod [INFO] [stderr] 707 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:581:28 [INFO] [stderr] | [INFO] [stderr] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 699 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 700 | | jni_sys::jbyte, [INFO] [stderr] 701 | | 0, [INFO] [stderr] 702 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 706 | | CallStaticByteMethod [INFO] [stderr] 707 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:582:28 [INFO] [stderr] | [INFO] [stderr] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 699 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 700 | | jni_sys::jbyte, [INFO] [stderr] 701 | | 0, [INFO] [stderr] 702 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 706 | | CallStaticByteMethod [INFO] [stderr] 707 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:583:28 [INFO] [stderr] | [INFO] [stderr] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 699 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 700 | | jni_sys::jbyte, [INFO] [stderr] 701 | | 0, [INFO] [stderr] 702 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 706 | | CallStaticByteMethod [INFO] [stderr] 707 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:642:28 [INFO] [stderr] | [INFO] [stderr] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 699 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 700 | | jni_sys::jbyte, [INFO] [stderr] 701 | | 0, [INFO] [stderr] 702 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 706 | | CallStaticByteMethod [INFO] [stderr] 707 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:643:28 [INFO] [stderr] | [INFO] [stderr] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 699 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 700 | | jni_sys::jbyte, [INFO] [stderr] 701 | | 0, [INFO] [stderr] 702 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 706 | | CallStaticByteMethod [INFO] [stderr] 707 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:644:28 [INFO] [stderr] | [INFO] [stderr] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 699 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 700 | | jni_sys::jbyte, [INFO] [stderr] 701 | | 0, [INFO] [stderr] 702 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 706 | | CallStaticByteMethod [INFO] [stderr] 707 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:645:28 [INFO] [stderr] | [INFO] [stderr] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 699 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 700 | | jni_sys::jbyte, [INFO] [stderr] 701 | | 0, [INFO] [stderr] 702 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 706 | | CallStaticByteMethod [INFO] [stderr] 707 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:646:28 [INFO] [stderr] | [INFO] [stderr] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 699 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 700 | | jni_sys::jbyte, [INFO] [stderr] 701 | | 0, [INFO] [stderr] 702 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 706 | | CallStaticByteMethod [INFO] [stderr] 707 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:647:28 [INFO] [stderr] | [INFO] [stderr] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 699 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 700 | | jni_sys::jbyte, [INFO] [stderr] 701 | | 0, [INFO] [stderr] 702 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 706 | | CallStaticByteMethod [INFO] [stderr] 707 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:578:28 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 709 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 710 | | jni_sys::jshort, [INFO] [stderr] 711 | | 0, [INFO] [stderr] 712 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 716 | | CallStaticShortMethod [INFO] [stderr] 717 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:579:28 [INFO] [stderr] | [INFO] [stderr] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 709 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 710 | | jni_sys::jshort, [INFO] [stderr] 711 | | 0, [INFO] [stderr] 712 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 716 | | CallStaticShortMethod [INFO] [stderr] 717 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:580:28 [INFO] [stderr] | [INFO] [stderr] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 709 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 710 | | jni_sys::jshort, [INFO] [stderr] 711 | | 0, [INFO] [stderr] 712 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 716 | | CallStaticShortMethod [INFO] [stderr] 717 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:581:28 [INFO] [stderr] | [INFO] [stderr] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 709 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 710 | | jni_sys::jshort, [INFO] [stderr] 711 | | 0, [INFO] [stderr] 712 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 716 | | CallStaticShortMethod [INFO] [stderr] 717 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:582:28 [INFO] [stderr] | [INFO] [stderr] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 709 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 710 | | jni_sys::jshort, [INFO] [stderr] 711 | | 0, [INFO] [stderr] 712 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 716 | | CallStaticShortMethod [INFO] [stderr] 717 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:583:28 [INFO] [stderr] | [INFO] [stderr] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 709 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 710 | | jni_sys::jshort, [INFO] [stderr] 711 | | 0, [INFO] [stderr] 712 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 716 | | CallStaticShortMethod [INFO] [stderr] 717 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:642:28 [INFO] [stderr] | [INFO] [stderr] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 709 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 710 | | jni_sys::jshort, [INFO] [stderr] 711 | | 0, [INFO] [stderr] 712 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 716 | | CallStaticShortMethod [INFO] [stderr] 717 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:643:28 [INFO] [stderr] | [INFO] [stderr] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 709 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 710 | | jni_sys::jshort, [INFO] [stderr] 711 | | 0, [INFO] [stderr] 712 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 716 | | CallStaticShortMethod [INFO] [stderr] 717 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:644:28 [INFO] [stderr] | [INFO] [stderr] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 709 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 710 | | jni_sys::jshort, [INFO] [stderr] 711 | | 0, [INFO] [stderr] 712 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 716 | | CallStaticShortMethod [INFO] [stderr] 717 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:645:28 [INFO] [stderr] | [INFO] [stderr] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 709 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 710 | | jni_sys::jshort, [INFO] [stderr] 711 | | 0, [INFO] [stderr] 712 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 716 | | CallStaticShortMethod [INFO] [stderr] 717 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:646:28 [INFO] [stderr] | [INFO] [stderr] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 709 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 710 | | jni_sys::jshort, [INFO] [stderr] 711 | | 0, [INFO] [stderr] 712 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 716 | | CallStaticShortMethod [INFO] [stderr] 717 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:647:28 [INFO] [stderr] | [INFO] [stderr] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 709 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 710 | | jni_sys::jshort, [INFO] [stderr] 711 | | 0, [INFO] [stderr] 712 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 716 | | CallStaticShortMethod [INFO] [stderr] 717 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:578:28 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 719 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 720 | | jni_sys::jint, [INFO] [stderr] 721 | | 0, [INFO] [stderr] 722 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 726 | | CallStaticIntMethod [INFO] [stderr] 727 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:579:28 [INFO] [stderr] | [INFO] [stderr] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 719 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 720 | | jni_sys::jint, [INFO] [stderr] 721 | | 0, [INFO] [stderr] 722 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 726 | | CallStaticIntMethod [INFO] [stderr] 727 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:580:28 [INFO] [stderr] | [INFO] [stderr] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 719 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 720 | | jni_sys::jint, [INFO] [stderr] 721 | | 0, [INFO] [stderr] 722 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 726 | | CallStaticIntMethod [INFO] [stderr] 727 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:581:28 [INFO] [stderr] | [INFO] [stderr] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 719 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 720 | | jni_sys::jint, [INFO] [stderr] 721 | | 0, [INFO] [stderr] 722 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 726 | | CallStaticIntMethod [INFO] [stderr] 727 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:582:28 [INFO] [stderr] | [INFO] [stderr] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 719 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 720 | | jni_sys::jint, [INFO] [stderr] 721 | | 0, [INFO] [stderr] 722 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 726 | | CallStaticIntMethod [INFO] [stderr] 727 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:583:28 [INFO] [stderr] | [INFO] [stderr] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 719 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 720 | | jni_sys::jint, [INFO] [stderr] 721 | | 0, [INFO] [stderr] 722 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 726 | | CallStaticIntMethod [INFO] [stderr] 727 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:642:28 [INFO] [stderr] | [INFO] [stderr] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 719 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 720 | | jni_sys::jint, [INFO] [stderr] 721 | | 0, [INFO] [stderr] 722 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 726 | | CallStaticIntMethod [INFO] [stderr] 727 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:643:28 [INFO] [stderr] | [INFO] [stderr] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 719 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 720 | | jni_sys::jint, [INFO] [stderr] 721 | | 0, [INFO] [stderr] 722 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 726 | | CallStaticIntMethod [INFO] [stderr] 727 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:644:28 [INFO] [stderr] | [INFO] [stderr] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 719 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 720 | | jni_sys::jint, [INFO] [stderr] 721 | | 0, [INFO] [stderr] 722 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 726 | | CallStaticIntMethod [INFO] [stderr] 727 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:645:28 [INFO] [stderr] | [INFO] [stderr] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 719 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 720 | | jni_sys::jint, [INFO] [stderr] 721 | | 0, [INFO] [stderr] 722 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 726 | | CallStaticIntMethod [INFO] [stderr] 727 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:646:28 [INFO] [stderr] | [INFO] [stderr] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 719 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 720 | | jni_sys::jint, [INFO] [stderr] 721 | | 0, [INFO] [stderr] 722 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 726 | | CallStaticIntMethod [INFO] [stderr] 727 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:647:28 [INFO] [stderr] | [INFO] [stderr] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 719 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 720 | | jni_sys::jint, [INFO] [stderr] 721 | | 0, [INFO] [stderr] 722 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 726 | | CallStaticIntMethod [INFO] [stderr] 727 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:578:28 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 729 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 730 | | jni_sys::jlong, [INFO] [stderr] 731 | | 0, [INFO] [stderr] 732 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 736 | | CallStaticLongMethod [INFO] [stderr] 737 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:579:28 [INFO] [stderr] | [INFO] [stderr] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 729 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 730 | | jni_sys::jlong, [INFO] [stderr] 731 | | 0, [INFO] [stderr] 732 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 736 | | CallStaticLongMethod [INFO] [stderr] 737 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:580:28 [INFO] [stderr] | [INFO] [stderr] 580 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 729 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 730 | | jni_sys::jlong, [INFO] [stderr] 731 | | 0, [INFO] [stderr] 732 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 736 | | CallStaticLongMethod [INFO] [stderr] 737 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:581:28 [INFO] [stderr] | [INFO] [stderr] 581 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 729 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 730 | | jni_sys::jlong, [INFO] [stderr] 731 | | 0, [INFO] [stderr] 732 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 736 | | CallStaticLongMethod [INFO] [stderr] 737 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:582:28 [INFO] [stderr] | [INFO] [stderr] 582 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 729 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 730 | | jni_sys::jlong, [INFO] [stderr] 731 | | 0, [INFO] [stderr] 732 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 736 | | CallStaticLongMethod [INFO] [stderr] 737 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:583:28 [INFO] [stderr] | [INFO] [stderr] 583 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] running 298 tests [INFO] [stderr] 729 | / generate_to_jni_tuple_tests!( [INFO] [stdout] test attach_arguments::tests::new ... ok [INFO] [stderr] 730 | | jni_sys::jlong, [INFO] [stdout] test attach_arguments::tests::version ... ok [INFO] [stderr] 731 | | 0, [INFO] [stdout] test init_arguments::jvm_option_tests::from_raw_checked_jni ... ok [INFO] [stderr] 732 | | 42, [INFO] [stdout] test attach_arguments::to_raw_tests::to_raw_named ... ok [INFO] [stderr] ... | [INFO] [stdout] test init_arguments::tests::fail_on_unrecognized_options ... ok [INFO] [stderr] 736 | | CallStaticLongMethod [INFO] [stdout] test init_arguments::tests::get_default_supported ... ok [INFO] [stderr] 737 | | ); [INFO] [stdout] test init_arguments::tests::get_default_unsupported ... ok [INFO] [stderr] | |_____- in this macro invocation [INFO] [stdout] test init_arguments::jvm_option_tests::to_string ... ok [INFO] [stderr] | [INFO] [stdout] test init_arguments::tests::get_latest_default ... ok [INFO] [stderr] = note: for more information, see [INFO] [stdout] test init_arguments::jvm_option_tests::from_raw_unknown ... ok [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] test init_arguments::tests::get_default_or_closest_supported ... ok [INFO] [stderr] = 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] test init_arguments::jvm_option_tests::from_raw_system_property ... ok [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:642:28 [INFO] [stderr] | [INFO] [stderr] 642 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 729 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 730 | | jni_sys::jlong, [INFO] [stderr] 731 | | 0, [INFO] [stderr] 732 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 736 | | CallStaticLongMethod [INFO] [stderr] 737 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:643:28 [INFO] [stderr] | [INFO] [stderr] 643 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 729 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 730 | | jni_sys::jlong, [INFO] [stderr] 731 | | 0, [INFO] [stderr] 732 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 736 | | CallStaticLongMethod [INFO] [stderr] 737 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:644:28 [INFO] [stderr] | [INFO] [stderr] 644 | assert_eq!(METHOD_OBJECT_ARGUMENT, raw_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 729 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 730 | | jni_sys::jlong, [INFO] [stderr] 731 | | 0, [INFO] [stderr] 732 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 736 | | CallStaticLongMethod [INFO] [stderr] 737 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:645:28 [INFO] [stderr] | [INFO] [stderr] 645 | assert_eq!(METHOD_METHOD_ARGUMENT, method_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 729 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 730 | | jni_sys::jlong, [INFO] [stderr] 731 | | 0, [INFO] [stderr] 732 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 736 | | CallStaticLongMethod [INFO] [stderr] 737 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:646:28 [INFO] [stderr] | [INFO] [stderr] 646 | assert_eq!(METHOD_ARGUMENT0, arguments.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 729 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 730 | | jni_sys::jlong, [INFO] [stderr] 731 | | 0, [INFO] [stderr] 732 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 736 | | CallStaticLongMethod [INFO] [stderr] 737 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:647:28 [INFO] [stderr] | [INFO] [stderr] 647 | assert_eq!(METHOD_ARGUMENT1, arguments.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 729 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 730 | | jni_sys::jlong, [INFO] [stderr] 731 | | 0, [INFO] [stderr] 732 | | 42, [INFO] [stderr] ... | [INFO] [stderr] 736 | | CallStaticLongMethod [INFO] [stderr] 737 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:578:28 [INFO] [stderr] | [INFO] [stderr] 578 | assert_eq!(METHOD_CALLS, 1); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 739 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 740 | | jni_sys::jfloat, [INFO] [stderr] 741 | | 0., [INFO] [stderr] 742 | | 42., [INFO] [stderr] ... | [INFO] [stderr] 746 | | CallStaticFloatMethod [INFO] [stderr] 747 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `generate_to_jni_tuple_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/jni/primitives.rs:579:28 [INFO] [stderr] | [INFO] [stderr] 579 | assert_eq!(METHOD_ENV_ARGUMENT, raw_jni_env); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 739 | / generate_to_jni_tuple_tests!( [INFO] [stderr] 740 | | jni_sys::jfloat, [INFO] [stderr] 741 | | 0., [INFO] [stderr] 742 | | 42., [INFO] [stderr] ... | [INFO] [stderr] 746 | | CallStaticFloatMethod [WARN] too many lines in the log, truncating it