[INFO] cloning repository https://github.com/SjVer/MQS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SjVer/MQS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSjVer%2FMQS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSjVer%2FMQS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bec1d9f6ad04c382703fb16bb0a7482ebe69f3be [INFO] checking SjVer/MQS against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSjVer%2FMQS" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SjVer/MQS [INFO] finished tweaking git repo https://github.com/SjVer/MQS [INFO] tweaked toml for git repo https://github.com/SjVer/MQS written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SjVer/MQS on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.51) [INFO] [stderr] Adding convert_case v0.5.0 (available: v0.9.0) [INFO] [stderr] Adding num_enum v0.5.11 (available: v0.7.5) [INFO] [stderr] Adding yansi v0.5.1 (available: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: alias [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9c2174a8522b850043e1b4d5e8af290f3f11f554b8641e4a2d654eb7ab17b5e [INFO] running `Command { std: "docker" "start" "-a" "a9c2174a8522b850043e1b4d5e8af290f3f11f554b8641e4a2d654eb7ab17b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9c2174a8522b850043e1b4d5e8af290f3f11f554b8641e4a2d654eb7ab17b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c2174a8522b850043e1b4d5e8af290f3f11f554b8641e4a2d654eb7ab17b5e", kill_on_drop: false }` [INFO] [stdout] a9c2174a8522b850043e1b4d5e8af290f3f11f554b8641e4a2d654eb7ab17b5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2c6ee24e3e3586b2ca952eca58c89baa8fd787c3bec6d5ff2d0c2b9110596b5 [INFO] running `Command { std: "docker" "start" "-a" "b2c6ee24e3e3586b2ca952eca58c89baa8fd787c3bec6d5ff2d0c2b9110596b5", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: alias [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking eio v0.1.2 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking convert_case v0.5.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking mqs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lex/token.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 102 | '&' => __somekind!(Conclusion), [INFO] [stdout] | --- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 117 | '&' => __somekind!(And), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lex/token.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 102 | '&' => __somekind!(Conclusion), [INFO] [stdout] | --- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 117 | '&' => __somekind!(And), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/object/question.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | if get_cli_arg!(markdown) { [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/object/question.rs:147:6 [INFO] [stdout] | [INFO] [stdout] 147 | if get_cli_arg!(markdown) { [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lex/source.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | crate::lex::source::__SOURCES.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/mod.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | let src = match SOURCES!().new_source(fspath.clone()) { [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 `SOURCES` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Or => normal_or_md!("|", "\\operatorname{|}"), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | And => normal_or_md!("&", "\\operatorname{\\&}"), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Not => normal_or_md!("~", "\\neg"), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Implies => normal_or_md!("<=>", "\\iff"), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | NotImplies => normal_or_md!("", "\\centernot\\iff"), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | DefEquals => normal_or_md!("==", "\\equiv"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | DefNotEquals => normal_or_md!("!=", "\\not\\equiv"), [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | RoughlyEquals => normal_or_md!("~=", "\\approx"), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | GreaterEqual => normal_or_md!(">=", "\\geq"), [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | LesserEqual => normal_or_md!("<=", "\\leq"), [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/object/question.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | if get_cli_arg!(markdown) { [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | TokenKind::Divisible => normal_or_md!("%", "\\operatorname{\\%}"), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/object/question.rs:147:6 [INFO] [stdout] | [INFO] [stdout] 147 | if get_cli_arg!(markdown) { [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | TokenKind::Exists => normal_or_md!("??", "\\operatorname{??}"), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lex/source.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | crate::lex::source::__SOURCES.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/mod.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | let src = match SOURCES!().new_source(fspath.clone()) { [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 `SOURCES` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Or => normal_or_md!("|", "\\operatorname{|}"), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | And => normal_or_md!("&", "\\operatorname{\\&}"), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | / normal_or_md!( [INFO] [stdout] 81 | | format!("({})", self.visit(expr)), [INFO] [stdout] 82 | | format!("\\left( {} \\right)", self.visit(expr)) [INFO] [stdout] 83 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | NotEquals => normal_or_md!("/=", "\\neq"), [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Not => normal_or_md!("~", "\\neg"), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | Divide => normal_or_md!("/", { [INFO] [stdout] | _______________________- [INFO] [stdout] 127 | | return format!("\\frac{{{}}}{{{}}}", self.visit(lhs), self.visit(rhs)) [INFO] [stdout] 128 | | }), [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:149:3 [INFO] [stdout] | [INFO] [stdout] 149 | / normal_or_md!( [INFO] [stdout] 150 | | format!("({})", self.visit(expr)), [INFO] [stdout] 151 | | format!("\\left( {} \\right)", self.visit(expr)) [INFO] [stdout] 152 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Implies => normal_or_md!("<=>", "\\iff"), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | normal_or_md!(path.to_string(), format!("\\text{{{}}}", path)) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | NotImplies => normal_or_md!("", "\\centernot\\iff"), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/report.rs:162:7 [INFO] [stdout] | [INFO] [stdout] 162 | if get_cli_arg!(compact) { [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/report.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | quote.to_string(!get_cli_arg!(compact) && (!self.notes.is_empty() || !self.sub_quotes.is_empty())) [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | DefEquals => normal_or_md!("==", "\\equiv"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/report.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let dotail = !get_cli_arg!(compact) && !self.notes.is_empty(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/report.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | if !get_cli_arg!(compact) { [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | DefNotEquals => normal_or_md!("!=", "\\not\\equiv"), [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/report.rs:296:6 [INFO] [stdout] | [INFO] [stdout] 296 | if lint_mode_is!(Diag) { [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `lint_mode_is` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | RoughlyEquals => normal_or_md!("~=", "\\approx"), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/ecode.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | get_cli_arg!(quiet) [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | GreaterEqual => normal_or_md!(">=", "\\geq"), [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/wcode.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | get_cli_arg!(quiet) || get_cli_arg!(mute) [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/wcode.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | get_cli_arg!(quiet) || get_cli_arg!(mute) [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | LesserEqual => normal_or_md!("<=", "\\leq"), [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/report/lint.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { MAIN_LIST.push(value).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 [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | TokenKind::Divisible => normal_or_md!("%", "\\operatorname{\\%}"), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/lint.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | if crate::lint_mode_is!(Diag) { [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `crate::lint_mode_is` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/lint.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | if crate::lint_mode_is!(Diag) { [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `crate::lint_mode_is` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/report/lint.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe{ println!("{}", json::stringify_pretty(MAIN_LIST.clone(), 4)); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | TokenKind::Exists => normal_or_md!("??", "\\operatorname{??}"), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | / normal_or_md!( [INFO] [stdout] 81 | | format!("({})", self.visit(expr)), [INFO] [stdout] 82 | | format!("\\left( {} \\right)", self.visit(expr)) [INFO] [stdout] 83 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | NotEquals => normal_or_md!("/=", "\\neq"), [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mqs` (lib test) due to 4 previous errors; 33 warnings emitted [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | Divide => normal_or_md!("/", { [INFO] [stdout] | _______________________- [INFO] [stdout] 127 | | return format!("\\frac{{{}}}{{{}}}", self.visit(lhs), self.visit(rhs)) [INFO] [stdout] 128 | | }), [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:149:3 [INFO] [stdout] | [INFO] [stdout] 149 | / normal_or_md!( [INFO] [stdout] 150 | | format!("({})", self.visit(expr)), [INFO] [stdout] 151 | | format!("\\left( {} \\right)", self.visit(expr)) [INFO] [stdout] 152 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mqs` (lib) due to 4 previous errors; 33 warnings emitted [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/parse/astprinter.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | normal_or_md!(path.to_string(), format!("\\text{{{}}}", path)) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `normal_or_md` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/report.rs:162:7 [INFO] [stdout] | [INFO] [stdout] 162 | if get_cli_arg!(compact) { [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/report.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | quote.to_string(!get_cli_arg!(compact) && (!self.notes.is_empty() || !self.sub_quotes.is_empty())) [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/report.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let dotail = !get_cli_arg!(compact) && !self.notes.is_empty(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/report.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | if !get_cli_arg!(compact) { [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/report.rs:296:6 [INFO] [stdout] | [INFO] [stdout] 296 | if lint_mode_is!(Diag) { [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `lint_mode_is` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/ecode.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | get_cli_arg!(quiet) [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub infile: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub dis: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/wcode.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | get_cli_arg!(quiet) || get_cli_arg!(mute) [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub at: Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/wcode.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | get_cli_arg!(quiet) || get_cli_arg!(mute) [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `get_cli_arg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub explain: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/report/lint.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { MAIN_LIST.push(value).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 [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/lint.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | if crate::lint_mode_is!(Diag) { [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `crate::lint_mode_is` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cli.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | ($field:ident) => ( unsafe { crate::CLI_ARGS.clone().unwrap().$field } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/report/lint.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | if crate::lint_mode_is!(Diag) { [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `crate::get_cli_arg` which comes from the expansion of the macro `crate::lint_mode_is` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/report/lint.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe{ println!("{}", json::stringify_pretty(MAIN_LIST.clone(), 4)); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it'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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub infile: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub dis: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub at: Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub explain: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b2c6ee24e3e3586b2ca952eca58c89baa8fd787c3bec6d5ff2d0c2b9110596b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2c6ee24e3e3586b2ca952eca58c89baa8fd787c3bec6d5ff2d0c2b9110596b5", kill_on_drop: false }` [INFO] [stdout] b2c6ee24e3e3586b2ca952eca58c89baa8fd787c3bec6d5ff2d0c2b9110596b5