[INFO] fetching crate ts3plugin 0.3.0... [INFO] testing ts3plugin-0.3.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate ts3plugin 0.3.0 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ts3plugin 0.3.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 101 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9e357455e0ad02ca6a1142be5bd3e7e5fba7a18953894f920e422ce87790179 [INFO] running `Command { std: "docker" "start" "-a" "e9e357455e0ad02ca6a1142be5bd3e7e5fba7a18953894f920e422ce87790179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9e357455e0ad02ca6a1142be5bd3e7e5fba7a18953894f920e422ce87790179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9e357455e0ad02ca6a1142be5bd3e7e5fba7a18953894f920e422ce87790179", kill_on_drop: false }` [INFO] [stdout] e9e357455e0ad02ca6a1142be5bd3e7e5fba7a18953894f920e422ce87790179 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45a6b76567b78029278b42c1dd7c6805584297c91fc353d1a987fdb7ad363454 [INFO] running `Command { std: "docker" "start" "-a" "45a6b76567b78029278b42c1dd7c6805584297c91fc353d1a987fdb7ad363454", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling ts3plugin-sys v0.5.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling ts3plugin v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/ts3plugin-f334dcc9ba4f0423/out/channel.rs:1112:20 [INFO] [stdout] | [INFO] [stdout] 1112 | pub fn properties(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1112 | pub fn properties(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/ts3plugin-f334dcc9ba4f0423/out/connection.rs:4743:20 [INFO] [stdout] | [INFO] [stdout] 4743 | pub fn properties(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 4743 | pub fn properties(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/ts3plugin-f334dcc9ba4f0423/out/server.rs:3136:20 [INFO] [stdout] | [INFO] [stdout] 3136 | pub fn properties(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3136 | pub fn properties(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn get_connection(&self) -> Option { self.server.get_connection(self.id) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 211 | pub fn get_connection(&self) -> Option> { self.server.get_connection(self.id) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1219:20 [INFO] [stdout] | [INFO] [stdout] 1219 | pub fn get_server(&self, server_id: ServerId) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1219 | pub fn get_server(&self, server_id: ServerId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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 [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 [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 50.67s [INFO] running `Command { std: "docker" "inspect" "45a6b76567b78029278b42c1dd7c6805584297c91fc353d1a987fdb7ad363454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45a6b76567b78029278b42c1dd7c6805584297c91fc353d1a987fdb7ad363454", kill_on_drop: false }` [INFO] [stdout] 45a6b76567b78029278b42c1dd7c6805584297c91fc353d1a987fdb7ad363454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a822a25dd732708db6857e5311ed09a2f0366ccda4ad9b4346387f9659fe84fd [INFO] running `Command { std: "docker" "start" "-a" "a822a25dd732708db6857e5311ed09a2f0366ccda4ad9b4346387f9659fe84fd", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/ts3plugin-f334dcc9ba4f0423/out/channel.rs:1112:20 [INFO] [stdout] | [INFO] [stdout] 1112 | pub fn properties(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1112 | pub fn properties(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/ts3plugin-f334dcc9ba4f0423/out/connection.rs:4743:20 [INFO] [stdout] | [INFO] [stdout] 4743 | pub fn properties(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 4743 | pub fn properties(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/ts3plugin-f334dcc9ba4f0423/out/server.rs:3136:20 [INFO] [stdout] | [INFO] [stdout] 3136 | pub fn properties(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3136 | pub fn properties(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn get_connection(&self) -> Option { self.server.get_connection(self.id) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 211 | pub fn get_connection(&self) -> Option> { self.server.get_connection(self.id) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1219:20 [INFO] [stdout] | [INFO] [stdout] 1219 | pub fn get_server(&self, server_id: ServerId) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1219 | pub fn get_server(&self, server_id: ServerId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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 [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 [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] Compiling ts3plugin v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/ts3plugin-f334dcc9ba4f0423/out/channel.rs:1112:20 [INFO] [stdout] | [INFO] [stdout] 1112 | pub fn properties(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1112 | pub fn properties(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/ts3plugin-f334dcc9ba4f0423/out/connection.rs:4743:20 [INFO] [stdout] | [INFO] [stdout] 4743 | pub fn properties(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 4743 | pub fn properties(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/ts3plugin-f334dcc9ba4f0423/out/server.rs:3136:20 [INFO] [stdout] | [INFO] [stdout] 3136 | pub fn properties(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3136 | pub fn properties(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn get_connection(&self) -> Option { self.server.get_connection(self.id) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 211 | pub fn get_connection(&self) -> Option> { self.server.get_connection(self.id) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1219:20 [INFO] [stdout] | [INFO] [stdout] 1219 | pub fn get_server(&self, server_id: ServerId) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1219 | pub fn get_server(&self, server_id: ServerId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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 [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 [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 `test` profile [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "a822a25dd732708db6857e5311ed09a2f0366ccda4ad9b4346387f9659fe84fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a822a25dd732708db6857e5311ed09a2f0366ccda4ad9b4346387f9659fe84fd", kill_on_drop: false }` [INFO] [stdout] a822a25dd732708db6857e5311ed09a2f0366ccda4ad9b4346387f9659fe84fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46816af05fa71c6353d8468a0f9710e0a196e969083cc13c2d34539aa93fe72b [INFO] running `Command { std: "docker" "start" "-a" "46816af05fa71c6353d8468a0f9710e0a196e969083cc13c2d34539aa93fe72b", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/target/debug/build/ts3plugin-f334dcc9ba4f0423/out/channel.rs:1112:20 [INFO] [stderr] | [INFO] [stderr] 1112 | pub fn properties(&self) -> Vec { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1112 | pub fn properties(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/target/debug/build/ts3plugin-f334dcc9ba4f0423/out/connection.rs:4743:20 [INFO] [stderr] | [INFO] [stderr] 4743 | pub fn properties(&self) -> Vec { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 4743 | pub fn properties(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/target/debug/build/ts3plugin-f334dcc9ba4f0423/out/server.rs:3136:20 [INFO] [stderr] | [INFO] [stderr] 3136 | pub fn properties(&self) -> Vec { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 3136 | pub fn properties(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:211:24 [INFO] [stderr] | [INFO] [stderr] 211 | pub fn get_connection(&self) -> Option { self.server.get_connection(self.id) } [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 211 | pub fn get_connection(&self) -> Option> { self.server.get_connection(self.id) } [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:244:16 [INFO] [stderr] | [INFO] [stderr] 244 | transmute((TS3_FUNCTIONS [INFO] [stderr] | ____________________________^ [INFO] [stderr] 245 | | .as_ref() [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:260:16 [INFO] [stderr] | [INFO] [stderr] 260 | transmute((TS3_FUNCTIONS [INFO] [stderr] | ____________________________^ [INFO] [stderr] 261 | | .as_ref() [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/lib.rs:277:32 [INFO] [stderr] | [INFO] [stderr] 277 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 278 | | .as_ref() [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/lib.rs:295:32 [INFO] [stderr] | [INFO] [stderr] 295 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 296 | | .as_ref() [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/lib.rs:315:16 [INFO] [stderr] | [INFO] [stderr] 315 | transmute((TS3_FUNCTIONS [INFO] [stderr] | ____________________________^ [INFO] [stderr] 316 | | .as_ref() [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/lib.rs:343:15 [INFO] [stderr] | [INFO] [stderr] 343 | transmute((TS3_FUNCTIONS [INFO] [stderr] | ________________________^ [INFO] [stderr] 344 | | .as_ref() [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/lib.rs:532:32 [INFO] [stderr] | [INFO] [stderr] 532 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 533 | | .as_ref() [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/lib.rs:554:5 [INFO] [stderr] | [INFO] [stderr] 554 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").send_plugin_command)( [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/lib.rs:570:5 [INFO] [stderr] | [INFO] [stderr] 570 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").print_message)( [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/lib.rs:612:32 [INFO] [stderr] | [INFO] [stderr] 612 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 613 | | .as_ref() [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/lib.rs:631:32 [INFO] [stderr] | [INFO] [stderr] 631 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 632 | | .as_ref() [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/lib.rs:650:32 [INFO] [stderr] | [INFO] [stderr] 650 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 651 | | .as_ref() [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/lib.rs:668:16 [INFO] [stderr] | [INFO] [stderr] 668 | transmute((TS3_FUNCTIONS [INFO] [stderr] | ____________________________^ [INFO] [stderr] 669 | | .as_ref() [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/lib.rs:721:32 [INFO] [stderr] | [INFO] [stderr] 721 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 722 | | .as_ref() [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/lib.rs:771:32 [INFO] [stderr] | [INFO] [stderr] 771 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 772 | | .as_ref() [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/lib.rs:790:32 [INFO] [stderr] | [INFO] [stderr] 790 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 791 | | .as_ref() [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/lib.rs:809:32 [INFO] [stderr] | [INFO] [stderr] 809 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 810 | | .as_ref() [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/lib.rs:828:32 [INFO] [stderr] | [INFO] [stderr] 828 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 829 | | .as_ref() [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/lib.rs:847:32 [INFO] [stderr] | [INFO] [stderr] 847 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 848 | | .as_ref() [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/lib.rs:864:32 [INFO] [stderr] | [INFO] [stderr] 864 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 865 | | .as_ref() [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/lib.rs:880:32 [INFO] [stderr] | [INFO] [stderr] 880 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 881 | | .as_ref() [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/lib.rs:954:32 [INFO] [stderr] | [INFO] [stderr] 954 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 955 | | .as_ref() [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/lib.rs:1014:15 [INFO] [stderr] | [INFO] [stderr] 1014 | transmute((TS3_FUNCTIONS [INFO] [stderr] | ________________________^ [INFO] [stderr] 1015 | | .as_ref() [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/lib.rs:1026:34 [INFO] [stderr] | [INFO] [stderr] 1026 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________________^ [INFO] [stderr] 1027 | | .as_ref() [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/lib.rs:1063:32 [INFO] [stderr] | [INFO] [stderr] 1063 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 1064 | | .as_ref() [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/lib.rs:1099:32 [INFO] [stderr] | [INFO] [stderr] 1099 | let res: Error = transmute((TS3_FUNCTIONS [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 1100 | | .as_ref() [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/lib.rs:1192:57 [INFO] [stderr] | [INFO] [stderr] 1192 | pub unsafe fn get_raw_api() -> &'static Ts3Functions { TS3_FUNCTIONS.as_ref().unwrap() } [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:1219:20 [INFO] [stderr] | [INFO] [stderr] 1219 | pub fn get_server(&self, server_id: ServerId) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1219 | pub fn get_server(&self, server_id: ServerId) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:1230:5 [INFO] [stderr] | [INFO] [stderr] 1230 | (TS3_FUNCTIONS [INFO] [stderr] | ______________^ [INFO] [stderr] 1231 | | .as_ref() [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/lib.rs:1241:6 [INFO] [stderr] | [INFO] [stderr] 1241 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").get_app_path)(p, l) [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/lib.rs:1250:6 [INFO] [stderr] | [INFO] [stderr] 1250 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").get_resources_path)( [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/lib.rs:1262:6 [INFO] [stderr] | [INFO] [stderr] 1262 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").get_config_path)(p, l) [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/lib.rs:1271:6 [INFO] [stderr] | [INFO] [stderr] 1271 | (TS3_FUNCTIONS.as_ref().expect("Functions should be loaded").get_plugin_path)( [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: `ts3plugin` (lib) generated 37 warnings (run `cargo fix --lib -p ts3plugin` to apply 5 suggestions) [INFO] [stderr] warning: `ts3plugin` (lib test) generated 37 warnings (37 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ts3plugin-e6551ab03796f668) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ts3plugin [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/plugin.rs - plugin::create_plugin (line 422) ... ignored [INFO] [stdout] test src/lib.rs - (line 31) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "46816af05fa71c6353d8468a0f9710e0a196e969083cc13c2d34539aa93fe72b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46816af05fa71c6353d8468a0f9710e0a196e969083cc13c2d34539aa93fe72b", kill_on_drop: false }` [INFO] [stdout] 46816af05fa71c6353d8468a0f9710e0a196e969083cc13c2d34539aa93fe72b