[INFO] cloning repository https://github.com/gmornin/brewer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gmornin/brewer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmornin%2Fbrewer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmornin%2Fbrewer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8e5418f94e7604c1d00b634c4f1f10a626b7a05 [INFO] checking gmornin/brewer against master#f2d69d5a7c04617d122facd0a7a5bdde0af928ae for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmornin%2Fbrewer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gmornin/brewer on toolchain f2d69d5a7c04617d122facd0a7a5bdde0af928ae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/gmornin/brewer [INFO] finished tweaking git repo https://github.com/gmornin/brewer [INFO] tweaked toml for git repo https://github.com/gmornin/brewer written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gmornin/brewer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/gmornin/rust-bindings` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typetag-impl v0.2.18 [INFO] [stderr] Downloaded serde-inline-default v0.2.2 [INFO] [stderr] Downloaded serde_default v0.2.0 [INFO] [stderr] Downloaded typetag v0.2.18 [INFO] [stderr] Downloaded argp_derive v0.3.0 [INFO] [stderr] Downloaded argp v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3908d9a6a59aba2b46c4db96adae6eabba47c2f08715472fd804375dccb7f46 [INFO] running `Command { std: "docker" "start" "-a" "e3908d9a6a59aba2b46c4db96adae6eabba47c2f08715472fd804375dccb7f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3908d9a6a59aba2b46c4db96adae6eabba47c2f08715472fd804375dccb7f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3908d9a6a59aba2b46c4db96adae6eabba47c2f08715472fd804375dccb7f46", kill_on_drop: false }` [INFO] [stdout] e3908d9a6a59aba2b46c4db96adae6eabba47c2f08715472fd804375dccb7f46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c4d305d0204c187d0307572f206bd05795f20040a5f7839832f353c116f05e2 [INFO] running `Command { std: "docker" "start" "-a" "3c4d305d0204c187d0307572f206bd05795f20040a5f7839832f353c116f05e2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking is-docker v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking anstyle v1.0.9 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking is-wsl v0.4.0 [INFO] [stderr] Checking anstream v0.6.17 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking pathdiff v0.2.2 [INFO] [stderr] Compiling brewer v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking open v5.3.0 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Compiling argp_derive v0.3.0 [INFO] [stderr] Compiling argp v0.3.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling config_macro v0.1.0 (/opt/rustwide/workdir/macros/config_macro) [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling typetag-impl v0.2.18 [INFO] [stderr] Compiling cmdarg_macro_derive v0.1.0 (/opt/rustwide/workdir/macros/cmdarg_macro_derive) [INFO] [stderr] Compiling serde-inline-default v0.2.2 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling config_macro_derive v0.1.0 (/opt/rustwide/workdir/macros/config_macro_derive) [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Compiling command_macro v0.1.0 (/opt/rustwide/workdir/macros/command_macro) [INFO] [stderr] Compiling command_macro_derive v0.1.0 (/opt/rustwide/workdir/macros/command_macro_derive) [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_default v0.2.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking typetag v0.2.18 [INFO] [stderr] Checking goodmorning-bindings v0.1.0 (https://github.com/gmornin/rust-bindings?rev=1cc93a0#1cc93a07) [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.9 [INFO] [stdout] warning: the feature `trait_upcasting` has been stable since 1.86.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(trait_upcasting)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `trait_upcasting` has been stable since 1.86.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(trait_upcasting)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/register.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | if unsafe { CREDS.get().unwrap().is_loggedin() } { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/register.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe { INSTANCE.set(self.instance.clone()).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/login.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | if unsafe { CREDS.get().unwrap().is_loggedin() } { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/login.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe { INSTANCE.set(self.instance.clone()).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/logout.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/regen.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/delete.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/status.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/rename.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/passwd.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/email.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/verify.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/jobs.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/enable.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/allow.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/deny.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/access.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/accessto.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/invite.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/ls.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { *FULLPATH.get_mut().unwrap() = self.full }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/ls.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/mv.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/cp.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/touch.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/rm.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/exist.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/mkdir.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/vis.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/tree.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { *FULLPATH.get_mut().unwrap() = self.full }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/tree.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/upload.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/open.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/repo/clone.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let creds = unsafe { CREDS.get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/repo/pull.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | let creds = unsafe { CREDS.get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/repo/push.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | let creds = unsafe { CREDS.get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/repo/bind.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | let creds = unsafe { CREDS.get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/util/clean.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { DELETED_COUNT.get().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/util/clean.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | filesize(unsafe { *DELETED_SIZE.get().unwrap() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/util/clean.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | DELETED_SIZE.set(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/util/clean.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | DELETED_COUNT.set(0).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/util/clean.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | *DELETED_SIZE.get_mut().unwrap() += metadata.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/util/clean.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | *DELETED_COUNT.get_mut().unwrap() += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/tex/compile.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/tex/publish.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/tex/publishes.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/tex/publishes.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { *INSTANCE.get_mut().unwrap() = instance.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/tex/publishes.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe { USER_ID.set(id).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/blue/render.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/requests.rs:103:66 [INFO] [stdout] | [INFO] [stdout] 103 | HeaderValue::from_str(&format!("token={}", unsafe { &CREDS.get().unwrap().token })) [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/get_instance.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | match unsafe { INSTANCE.get() } { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it'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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/get_instance.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | *unsafe { INSTANCE.get_mut().unwrap() } = i.trim().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/get_instance.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | *unsafe { INSTANCE.get_mut().unwrap() } = i.trim().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe{ CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | instance: unsafe { INSTANCE.get().unwrap().clone() }, [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it'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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | instance: unsafe { INSTANCE.get().unwrap().clone() }, [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it'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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:163:117 [INFO] [stdout] | [INFO] [stdout] 163 | ...shes_to_string(items.as_slice(), unsafe { INSTANCE.get().unwrap() }, *unsafe { USER_ID.get().unwrap() })), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:163:154 [INFO] [stdout] | [INFO] [stdout] 163 | ...afe { INSTANCE.get().unwrap() }, *unsafe { USER_ID.get().unwrap() })), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/to_strings.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | if unsafe { *FULLPATH.get().unwrap() } { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/structs/diff.rs:493:34 [INFO] [stdout] | [INFO] [stdout] 493 | let creds = unsafe { CREDS.get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/structs/diff.rs:598:30 [INFO] [stdout] | [INFO] [stdout] 598 | let creds = unsafe { CREDS.get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/values.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | INSTANCE.set(creds.instance.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/values.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | CREDS.set(creds).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/values.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | unsafe { FULLPATH.set(true).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/register.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | if unsafe { CREDS.get().unwrap().is_loggedin() } { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/register.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe { INSTANCE.set(self.instance.clone()).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/login.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | if unsafe { CREDS.get().unwrap().is_loggedin() } { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/login.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe { INSTANCE.set(self.instance.clone()).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/logout.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/regen.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/delete.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/status.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/rename.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/passwd.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/email.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/verify.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/jobs.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/enable.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/allow.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/deny.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/access.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/accessto.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/account/invite.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/ls.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { *FULLPATH.get_mut().unwrap() = self.full }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/ls.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/mv.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/cp.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/touch.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/rm.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/exist.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/mkdir.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/vis.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/tree.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { *FULLPATH.get_mut().unwrap() = self.full }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/tree.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/upload.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/fs/open.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/repo/clone.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let creds = unsafe { CREDS.get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/repo/pull.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | let creds = unsafe { CREDS.get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/repo/push.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | let creds = unsafe { CREDS.get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/repo/bind.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | let creds = unsafe { CREDS.get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/util/clean.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { DELETED_COUNT.get().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/util/clean.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | filesize(unsafe { *DELETED_SIZE.get().unwrap() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/util/clean.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | DELETED_SIZE.set(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/util/clean.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | DELETED_COUNT.set(0).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/util/clean.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | *DELETED_SIZE.get_mut().unwrap() += metadata.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/util/clean.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | *DELETED_COUNT.get_mut().unwrap() += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/tex/compile.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/tex/publish.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/tex/publishes.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/tex/publishes.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { *INSTANCE.get_mut().unwrap() = instance.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/tex/publishes.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe { USER_ID.set(id).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/commands/core/blue/render.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/requests.rs:103:66 [INFO] [stdout] | [INFO] [stdout] 103 | HeaderValue::from_str(&format!("token={}", unsafe { &CREDS.get().unwrap().token })) [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/get_instance.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | match unsafe { INSTANCE.get() } { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it'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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/get_instance.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | *unsafe { INSTANCE.get_mut().unwrap() } = i.trim().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/get_instance.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | *unsafe { INSTANCE.get_mut().unwrap() } = i.trim().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | let creds = unsafe{ CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | instance: unsafe { INSTANCE.get().unwrap().clone() }, [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it'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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | instance: unsafe { INSTANCE.get().unwrap().clone() }, [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it'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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | let creds = unsafe { CREDS.get_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:163:117 [INFO] [stdout] | [INFO] [stdout] 163 | ...shes_to_string(items.as_slice(), unsafe { INSTANCE.get().unwrap() }, *unsafe { USER_ID.get().unwrap() })), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/handle_res.rs:163:154 [INFO] [stdout] | [INFO] [stdout] 163 | ...afe { INSTANCE.get().unwrap() }, *unsafe { USER_ID.get().unwrap() })), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/functions/to_strings.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | if unsafe { *FULLPATH.get().unwrap() } { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/structs/diff.rs:493:34 [INFO] [stdout] | [INFO] [stdout] 493 | let creds = unsafe { CREDS.get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/structs/diff.rs:598:30 [INFO] [stdout] | [INFO] [stdout] 598 | let creds = unsafe { CREDS.get().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/values.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | INSTANCE.set(creds.instance.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/values.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | CREDS.set(creds).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/values.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | unsafe { FULLPATH.set(true).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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.81s [INFO] running `Command { std: "docker" "inspect" "3c4d305d0204c187d0307572f206bd05795f20040a5f7839832f353c116f05e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c4d305d0204c187d0307572f206bd05795f20040a5f7839832f353c116f05e2", kill_on_drop: false }` [INFO] [stdout] 3c4d305d0204c187d0307572f206bd05795f20040a5f7839832f353c116f05e2