[INFO] fetching crate ts3plugin 0.3.0... [INFO] checking ts3plugin-0.3.0 against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] extracting crate ts3plugin 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate ts3plugin 0.3.0 on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ts3plugin 0.3.0 [INFO] finished tweaking crates.io crate ts3plugin 0.3.0 [INFO] tweaked toml for crates.io crate ts3plugin 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 104 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ts3plugin-sys v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 049a47fd69283c68bd6851b2da1b8d4e53736ba3c9cd0b3b9224a0af83167783 [INFO] running `Command { std: "docker" "start" "-a" "049a47fd69283c68bd6851b2da1b8d4e53736ba3c9cd0b3b9224a0af83167783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "049a47fd69283c68bd6851b2da1b8d4e53736ba3c9cd0b3b9224a0af83167783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "049a47fd69283c68bd6851b2da1b8d4e53736ba3c9cd0b3b9224a0af83167783", kill_on_drop: false }` [INFO] [stdout] 049a47fd69283c68bd6851b2da1b8d4e53736ba3c9cd0b3b9224a0af83167783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4930b6e8f3bc4b5edb9fd3ac331a1fa6f09903ceb41b060628bc813c650f4c74 [INFO] running `Command { std: "docker" "start" "-a" "4930b6e8f3bc4b5edb9fd3ac331a1fa6f09903ceb41b060628bc813c650f4c74", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Checking ts3plugin-sys v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling ts3plugin v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | transmute((TS3_FUNCTIONS [INFO] [stdout] | ____________________________^ [INFO] [stdout] 245 | | .as_ref() [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:260:16 [INFO] [stdout] | [INFO] [stdout] 260 | transmute((TS3_FUNCTIONS [INFO] [stdout] | ____________________________^ [INFO] [stdout] 261 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:277:32 [INFO] [stdout] | [INFO] [stdout] 277 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 278 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:295:32 [INFO] [stdout] | [INFO] [stdout] 295 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 296 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:315:16 [INFO] [stdout] | [INFO] [stdout] 315 | transmute((TS3_FUNCTIONS [INFO] [stdout] | ____________________________^ [INFO] [stdout] 316 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:343:15 [INFO] [stdout] | [INFO] [stdout] 343 | transmute((TS3_FUNCTIONS [INFO] [stdout] | ________________________^ [INFO] [stdout] 344 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:532:32 [INFO] [stdout] | [INFO] [stdout] 532 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 533 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:554:5 [INFO] [stdout] | [INFO] [stdout] 554 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").send_plugin_command)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 570 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").print_message)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:612:32 [INFO] [stdout] | [INFO] [stdout] 612 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 613 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:631:32 [INFO] [stdout] | [INFO] [stdout] 631 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 632 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:650:32 [INFO] [stdout] | [INFO] [stdout] 650 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 651 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:668:16 [INFO] [stdout] | [INFO] [stdout] 668 | transmute((TS3_FUNCTIONS [INFO] [stdout] | ____________________________^ [INFO] [stdout] 669 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:721:32 [INFO] [stdout] | [INFO] [stdout] 721 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 722 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:771:32 [INFO] [stdout] | [INFO] [stdout] 771 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 772 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:790:32 [INFO] [stdout] | [INFO] [stdout] 790 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 791 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:809:32 [INFO] [stdout] | [INFO] [stdout] 809 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 810 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:828:32 [INFO] [stdout] | [INFO] [stdout] 828 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 829 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:847:32 [INFO] [stdout] | [INFO] [stdout] 847 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 848 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:864:32 [INFO] [stdout] | [INFO] [stdout] 864 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 865 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:880:32 [INFO] [stdout] | [INFO] [stdout] 880 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 881 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:954:32 [INFO] [stdout] | [INFO] [stdout] 954 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 955 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1014:15 [INFO] [stdout] | [INFO] [stdout] 1014 | transmute((TS3_FUNCTIONS [INFO] [stdout] | ________________________^ [INFO] [stdout] 1015 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1026:34 [INFO] [stdout] | [INFO] [stdout] 1026 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 1027 | | .as_ref() [INFO] [stdout] | |_________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1063:32 [INFO] [stdout] | [INFO] [stdout] 1063 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1064 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1099:32 [INFO] [stdout] | [INFO] [stdout] 1099 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1100 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1192:57 [INFO] [stdout] | [INFO] [stdout] 1192 | pub unsafe fn get_raw_api() -> &'static Ts3Functions { TS3_FUNCTIONS.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1230:5 [INFO] [stdout] | [INFO] [stdout] 1230 | (TS3_FUNCTIONS [INFO] [stdout] | ______________^ [INFO] [stdout] 1231 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1241:6 [INFO] [stdout] | [INFO] [stdout] 1241 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").get_app_path)(p, l) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1250:6 [INFO] [stdout] | [INFO] [stdout] 1250 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").get_resources_path)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1262:6 [INFO] [stdout] | [INFO] [stdout] 1262 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").get_config_path)(p, l) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1271:6 [INFO] [stdout] | [INFO] [stdout] 1271 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").get_plugin_path)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | transmute((TS3_FUNCTIONS [INFO] [stdout] | ____________________________^ [INFO] [stdout] 245 | | .as_ref() [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:260:16 [INFO] [stdout] | [INFO] [stdout] 260 | transmute((TS3_FUNCTIONS [INFO] [stdout] | ____________________________^ [INFO] [stdout] 261 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:277:32 [INFO] [stdout] | [INFO] [stdout] 277 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 278 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:295:32 [INFO] [stdout] | [INFO] [stdout] 295 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 296 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:315:16 [INFO] [stdout] | [INFO] [stdout] 315 | transmute((TS3_FUNCTIONS [INFO] [stdout] | ____________________________^ [INFO] [stdout] 316 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:343:15 [INFO] [stdout] | [INFO] [stdout] 343 | transmute((TS3_FUNCTIONS [INFO] [stdout] | ________________________^ [INFO] [stdout] 344 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:532:32 [INFO] [stdout] | [INFO] [stdout] 532 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 533 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:554:5 [INFO] [stdout] | [INFO] [stdout] 554 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").send_plugin_command)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 570 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").print_message)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:612:32 [INFO] [stdout] | [INFO] [stdout] 612 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 613 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:631:32 [INFO] [stdout] | [INFO] [stdout] 631 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 632 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:650:32 [INFO] [stdout] | [INFO] [stdout] 650 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 651 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:668:16 [INFO] [stdout] | [INFO] [stdout] 668 | transmute((TS3_FUNCTIONS [INFO] [stdout] | ____________________________^ [INFO] [stdout] 669 | | .as_ref() [INFO] [stdout] | |_____________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:721:32 [INFO] [stdout] | [INFO] [stdout] 721 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 722 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:771:32 [INFO] [stdout] | [INFO] [stdout] 771 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 772 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:790:32 [INFO] [stdout] | [INFO] [stdout] 790 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 791 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:809:32 [INFO] [stdout] | [INFO] [stdout] 809 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 810 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:828:32 [INFO] [stdout] | [INFO] [stdout] 828 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 829 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:847:32 [INFO] [stdout] | [INFO] [stdout] 847 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 848 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:864:32 [INFO] [stdout] | [INFO] [stdout] 864 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 865 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:880:32 [INFO] [stdout] | [INFO] [stdout] 880 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 881 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:954:32 [INFO] [stdout] | [INFO] [stdout] 954 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 955 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1014:15 [INFO] [stdout] | [INFO] [stdout] 1014 | transmute((TS3_FUNCTIONS [INFO] [stdout] | ________________________^ [INFO] [stdout] 1015 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1026:34 [INFO] [stdout] | [INFO] [stdout] 1026 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 1027 | | .as_ref() [INFO] [stdout] | |_________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1063:32 [INFO] [stdout] | [INFO] [stdout] 1063 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1064 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1099:32 [INFO] [stdout] | [INFO] [stdout] 1099 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1100 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1192:57 [INFO] [stdout] | [INFO] [stdout] 1192 | pub unsafe fn get_raw_api() -> &'static Ts3Functions { TS3_FUNCTIONS.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1230:5 [INFO] [stdout] | [INFO] [stdout] 1230 | (TS3_FUNCTIONS [INFO] [stdout] | ______________^ [INFO] [stdout] 1231 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1241:6 [INFO] [stdout] | [INFO] [stdout] 1241 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").get_app_path)(p, l) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1250:6 [INFO] [stdout] | [INFO] [stdout] 1250 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").get_resources_path)( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1262:6 [INFO] [stdout] | [INFO] [stdout] 1262 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").get_config_path)(p, l) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:1271:6 [INFO] [stdout] | [INFO] [stdout] 1271 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").get_plugin_path)( [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 `dev` profile [unoptimized + debuginfo] target(s) in 31.34s [INFO] running `Command { std: "docker" "inspect" "4930b6e8f3bc4b5edb9fd3ac331a1fa6f09903ceb41b060628bc813c650f4c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4930b6e8f3bc4b5edb9fd3ac331a1fa6f09903ceb41b060628bc813c650f4c74", kill_on_drop: false }` [INFO] [stdout] 4930b6e8f3bc4b5edb9fd3ac331a1fa6f09903ceb41b060628bc813c650f4c74