[INFO] fetching crate tlogger 0.1.4... [INFO] checking tlogger-0.1.4 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate tlogger 0.1.4 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tlogger 0.1.4 [INFO] finished tweaking crates.io crate tlogger 0.1.4 [INFO] tweaked toml for crates.io crate tlogger 0.1.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tlogger 0.1.4 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c49b9655512625e436b1cfc94d5c0ae1064a37075855f85ad9ed77c2d8895ea [INFO] running `Command { std: "docker" "start" "-a" "1c49b9655512625e436b1cfc94d5c0ae1064a37075855f85ad9ed77c2d8895ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c49b9655512625e436b1cfc94d5c0ae1064a37075855f85ad9ed77c2d8895ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c49b9655512625e436b1cfc94d5c0ae1064a37075855f85ad9ed77c2d8895ea", kill_on_drop: false }` [INFO] [stdout] 1c49b9655512625e436b1cfc94d5c0ae1064a37075855f85ad9ed77c2d8895ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 596a1fd52d58a0c24589a760ca18234cf99e60366fa57a15bb5e0c3b28dab483 [INFO] running `Command { std: "docker" "start" "-a" "596a1fd52d58a0c24589a760ca18234cf99e60366fa57a15bb5e0c3b28dab483", kill_on_drop: false }` [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tlogger v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LogLevel` [INFO] [stdout] --> src/lib.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use logger::{LogInterval, LogLevel, Logger}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | LOGGER.set(logger).unwrap_or(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's 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 mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | _ = LOGGER.get_mut().unwrap().clear_log_levels(); [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 [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | LOGGER.set(logger).unwrap_or(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's 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 mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | _ = LOGGER.get_mut().unwrap().clear_log_levels(); [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 [INFO] [stdout] --> src/lib.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | _ = LOGGER.get_mut().unwrap().add_log_level($level); [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | add_log_levels!(LogLevel::Debug, LogLevel::Warn, LogLevel::Error); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `add_log_levels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 576 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | info!("Server", "Starting"); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:643:35 [INFO] [stdout] | [INFO] [stdout] 643 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | success!("Login", "User _{}_ connected", "Alice"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `success` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:668:35 [INFO] [stdout] | [INFO] [stdout] 668 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | debug!("Processing", "Items in queue: {}", 42); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:599:35 [INFO] [stdout] | [INFO] [stdout] 599 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | warn!("Memory", "Usage at {}%", 85); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:621:35 [INFO] [stdout] | [INFO] [stdout] 621 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | error!("Database", "* **Connection _failed_***"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:324:35 [INFO] [stdout] | [INFO] [stdout] 324 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / info_box!( [INFO] [stdout] 33 | | "System", [INFO] [stdout] 34 | | "**Your _super secure super system_ is starting up.**" [INFO] [stdout] 35 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `info_box` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:354:35 [INFO] [stdout] | [INFO] [stdout] 354 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | warn_box!("Memory", "Memory usage is at **{}%**", 85); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `warn_box` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:384:35 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | error_box!("Database", "Database connection failed"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `error_box` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:414:35 [INFO] [stdout] | [INFO] [stdout] 414 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | success_box!("Login", "User {} connected", "Alice"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `success_box` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:447:35 [INFO] [stdout] | [INFO] [stdout] 447 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | debug_box!("Processing", "*_Items in queue:_* **{}**", 42); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `debug_box` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 576 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | info!("Styles", "Here are all available styles:"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 576 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | info!("Bold", "**bold text**"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 576 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | info!("Italic", "*italic text*"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 576 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | info!("Underline", "_underlined text_"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 576 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | info!("Strikethrough", "~strikethrough text~"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 576 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | info!("Dim", "@dimmed text@"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 576 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | info!("Combined", "**Bold _and underlined_ text**"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 576 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | info!("Mixed", "*Italic with **bold** and _underlined_ parts*"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 576 | if let Some(logger) = $crate::LOGGER.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / info!( [INFO] [stdout] 52 | | "Complex", [INFO] [stdout] 53 | | "**Bold *italic* _underlined_ ~strikethrough~ !blinking!**" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "596a1fd52d58a0c24589a760ca18234cf99e60366fa57a15bb5e0c3b28dab483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596a1fd52d58a0c24589a760ca18234cf99e60366fa57a15bb5e0c3b28dab483", kill_on_drop: false }` [INFO] [stdout] 596a1fd52d58a0c24589a760ca18234cf99e60366fa57a15bb5e0c3b28dab483