[INFO] cloning repository https://github.com/serjzimmerman/compiler-stuff-with-llvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/serjzimmerman/compiler-stuff-with-llvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserjzimmerman%2Fcompiler-stuff-with-llvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserjzimmerman%2Fcompiler-stuff-with-llvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 885f4477b065703012fb9a6d341c8fb27e53ca27 [INFO] checking serjzimmerman/compiler-stuff-with-llvm/885f4477b065703012fb9a6d341c8fb27e53ca27 against master#f8c27dfe1a2e7fb538fd91dad53de06992c7c967 for pr-138915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserjzimmerman%2Fcompiler-stuff-with-llvm" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/serjzimmerman/compiler-stuff-with-llvm on toolchain f8c27dfe1a2e7fb538fd91dad53de06992c7c967 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8c27dfe1a2e7fb538fd91dad53de06992c7c967" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/serjzimmerman/compiler-stuff-with-llvm [INFO] finished tweaking git repo https://github.com/serjzimmerman/compiler-stuff-with-llvm [INFO] tweaked toml for git repo https://github.com/serjzimmerman/compiler-stuff-with-llvm written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/serjzimmerman/compiler-stuff-with-llvm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8c27dfe1a2e7fb538fd91dad53de06992c7c967" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inkwell_internals v0.10.0 [INFO] [stderr] Downloaded semver-parser v0.10.3 [INFO] [stderr] Downloaded endian-num v0.2.0 [INFO] [stderr] Downloaded llvm-sys v140.1.3 [INFO] [stderr] Downloaded llvm-sys v130.1.2 [INFO] [stderr] Downloaded llvm-sys v170.2.0 [INFO] [stderr] Downloaded llvm-sys v150.2.1 [INFO] [stderr] Downloaded llvm-sys v160.2.1 [INFO] [stderr] Downloaded llvm-sys v180.0.0 [INFO] [stderr] Downloaded inkwell v0.5.0 [INFO] [stderr] Downloaded llvm-sys v120.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+f8c27dfe1a2e7fb538fd91dad53de06992c7c967" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a27d40a6b7b47d3f5308a8a86bc99b26250343b9943322581ca6330398df6950 [INFO] running `Command { std: "docker" "start" "-a" "a27d40a6b7b47d3f5308a8a86bc99b26250343b9943322581ca6330398df6950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a27d40a6b7b47d3f5308a8a86bc99b26250343b9943322581ca6330398df6950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a27d40a6b7b47d3f5308a8a86bc99b26250343b9943322581ca6330398df6950", kill_on_drop: false }` [INFO] [stdout] a27d40a6b7b47d3f5308a8a86bc99b26250343b9943322581ca6330398df6950 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+f8c27dfe1a2e7fb538fd91dad53de06992c7c967" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7cbc785ca1160e182366e4c642449f15c60d2d5ebdd02f839a710d96ad0fab4 [INFO] running `Command { std: "docker" "start" "-a" "c7cbc785ca1160e182366e4c642449f15c60d2d5ebdd02f839a710d96ad0fab4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling cbindgen v0.27.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking endian-num v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling inkwell v0.5.0 [INFO] [stderr] Checking cswl-pass-logger v0.1.0 (/opt/rustwide/workdir/subprojects/cswl-pass-logger) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-pass-logger/src/lib.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | if unsafe { WRITER.is_none() } { [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 is discouraged [INFO] [stdout] --> subprojects/cswl-pass-logger/src/lib.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { WRITER.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-pass-logger/src/lib.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | if unsafe { WRITER.is_none() } { [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 is discouraged [INFO] [stdout] --> subprojects/cswl-pass-logger/src/lib.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { WRITER.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling llvm-sys v180.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.19.0 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling bitfield-struct v0.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling inkwell_internals v0.10.0 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling cswl-sim v0.1.0 (/opt/rustwide/workdir/subprojects/cswl-sim) [INFO] [stdout] warning: unused import: `Reg` [INFO] [stdout] --> subprojects/cswl-sim/src/simulator/instructions/encodings.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::simulator::reg::{InvalidRegister, Reg}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegFile` is never constructed [INFO] [stdout] --> subprojects/cswl-sim/src/simulator/regfile.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct RegFile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegFile` is never constructed [INFO] [stdout] --> subprojects/cswl-sim/src/simulator/regfile.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct RegFile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write`, `read`, and `update` are never used [INFO] [stdout] --> subprojects/cswl-sim/src/simulator/regfile.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl RegFile { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 8 | pub fn write(&mut self, reg: Reg, val: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn read(&self, reg: Reg) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn update u32>(&mut self, reg: Reg, f: F) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-sim/src/graphics/mod.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { SDL_CONTEXT.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write`, `read`, and `update` are never used [INFO] [stdout] --> subprojects/cswl-sim/src/simulator/regfile.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl RegFile { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 8 | pub fn write(&mut self, reg: Reg, val: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn read(&self, reg: Reg) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn update u32>(&mut self, reg: Reg, f: F) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-sim/src/graphics/mod.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { SDL_CONTEXT.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-sim/src/graphics/mod.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { SDL_CANVAS.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-sim/src/graphics/mod.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { SDL_TIMER.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-sim/src/graphics/mod.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { SDL_CANVAS.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-sim/src/graphics/mod.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let _ = SDL_CONTEXT.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-sim/src/graphics/mod.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let _ = SDL_CANVAS.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-sim/src/graphics/mod.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let _ = SDL_TIMER.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-sim/src/graphics/mod.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { SDL_TIMER.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-sim/src/graphics/mod.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let _ = SDL_CONTEXT.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-sim/src/graphics/mod.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let _ = SDL_CANVAS.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> subprojects/cswl-sim/src/graphics/mod.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let _ = SDL_TIMER.take(); [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] [stderr] Checking cswl-irgen v0.1.0 (/opt/rustwide/workdir/subprojects/cswl-irgen) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.90s [INFO] running `Command { std: "docker" "inspect" "c7cbc785ca1160e182366e4c642449f15c60d2d5ebdd02f839a710d96ad0fab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7cbc785ca1160e182366e4c642449f15c60d2d5ebdd02f839a710d96ad0fab4", kill_on_drop: false }` [INFO] [stdout] c7cbc785ca1160e182366e4c642449f15c60d2d5ebdd02f839a710d96ad0fab4