[INFO] cloning repository https://github.com/tangentstorm/codesketch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tangentstorm/codesketch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftangentstorm%2Fcodesketch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftangentstorm%2Fcodesketch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c626adc1eb5992e3ea4789e5c3a6e3e5aface130 [INFO] testing tangentstorm/codesketch against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftangentstorm%2Fcodesketch" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tangentstorm/codesketch [INFO] finished tweaking git repo https://github.com/tangentstorm/codesketch [INFO] tweaked toml for git repo https://github.com/tangentstorm/codesketch written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tangentstorm/codesketch on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tangentstorm/codesketch 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.106 [INFO] [stderr] Downloaded plist v1.7.0 [INFO] [stderr] Downloaded time v0.3.38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e971234ac1d205089b09fd70a2fbc28b9015b6b3209bce60d5b31d027673fe0 [INFO] running `Command { std: "docker" "start" "-a" "7e971234ac1d205089b09fd70a2fbc28b9015b6b3209bce60d5b31d027673fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e971234ac1d205089b09fd70a2fbc28b9015b6b3209bce60d5b31d027673fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e971234ac1d205089b09fd70a2fbc28b9015b6b3209bce60d5b31d027673fe0", kill_on_drop: false }` [INFO] [stdout] 7e971234ac1d205089b09fd70a2fbc28b9015b6b3209bce60d5b31d027673fe0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f1348758659bb97fed8ddfb624b8349e69851d4321a393fe88f31b8388ff5ff [INFO] running `Command { std: "docker" "start" "-a" "2f1348758659bb97fed8ddfb624b8349e69851d4321a393fe88f31b8388ff5ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling quick-xml v0.32.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling time v0.3.38 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling tree-sitter-rust v0.20.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.25.0 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling plist v1.7.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling codesketch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/browser/ui.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | fn simple_highlight_rust(line: &str) -> Vec { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | fn simple_highlight_rust(line: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/browser/ui.rs:326:27 [INFO] [stdout] | [INFO] [stdout] 326 | fn syntax_highlight(text: &str) -> Vec { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 326 | fn syntax_highlight(text: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/browser/ui.rs:328:55 [INFO] [stdout] | [INFO] [stdout] 328 | if let (Some(syntax_set), Some(theme_set)) = (&SYNTAX_SET, &THEME_SET) { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 328 | if let (Some(syntax_set), Some(theme_set)) = (&raw const SYNTAX_SET, &THEME_SET) { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/browser/ui.rs:328:68 [INFO] [stdout] | [INFO] [stdout] 328 | if let (Some(syntax_set), Some(theme_set)) = (&SYNTAX_SET, &THEME_SET) { [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 328 | if let (Some(syntax_set), Some(theme_set)) = (&SYNTAX_SET, &raw const THEME_SET) { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.47s [INFO] running `Command { std: "docker" "inspect" "2f1348758659bb97fed8ddfb624b8349e69851d4321a393fe88f31b8388ff5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f1348758659bb97fed8ddfb624b8349e69851d4321a393fe88f31b8388ff5ff", kill_on_drop: false }` [INFO] [stdout] 2f1348758659bb97fed8ddfb624b8349e69851d4321a393fe88f31b8388ff5ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26e16d81c2d5e94b5bf7c5c961125376fbc065f23956c85d9ff9c601024062fb [INFO] running `Command { std: "docker" "start" "-a" "26e16d81c2d5e94b5bf7c5c961125376fbc065f23956c85d9ff9c601024062fb", kill_on_drop: false }` [INFO] [stderr] Compiling codesketch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/browser/ui.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | fn simple_highlight_rust(line: &str) -> Vec { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | fn simple_highlight_rust(line: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/browser/ui.rs:326:27 [INFO] [stdout] | [INFO] [stdout] 326 | fn syntax_highlight(text: &str) -> Vec { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 326 | fn syntax_highlight(text: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/browser/ui.rs:328:55 [INFO] [stdout] | [INFO] [stdout] 328 | if let (Some(syntax_set), Some(theme_set)) = (&SYNTAX_SET, &THEME_SET) { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 328 | if let (Some(syntax_set), Some(theme_set)) = (&raw const SYNTAX_SET, &THEME_SET) { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/browser/ui.rs:328:68 [INFO] [stdout] | [INFO] [stdout] 328 | if let (Some(syntax_set), Some(theme_set)) = (&SYNTAX_SET, &THEME_SET) { [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 328 | if let (Some(syntax_set), Some(theme_set)) = (&SYNTAX_SET, &raw const THEME_SET) { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "26e16d81c2d5e94b5bf7c5c961125376fbc065f23956c85d9ff9c601024062fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26e16d81c2d5e94b5bf7c5c961125376fbc065f23956c85d9ff9c601024062fb", kill_on_drop: false }` [INFO] [stdout] 26e16d81c2d5e94b5bf7c5c961125376fbc065f23956c85d9ff9c601024062fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d20887e04b7c48cac855bda5050160921cf7b476ccbf559b5e8edb37f02acd9e [INFO] running `Command { std: "docker" "start" "-a" "d20887e04b7c48cac855bda5050160921cf7b476ccbf559b5e8edb37f02acd9e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/browser/ui.rs:238:32 [INFO] [stderr] | [INFO] [stderr] 238 | fn simple_highlight_rust(line: &str) -> Vec { [INFO] [stderr] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 238 | fn simple_highlight_rust(line: &str) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/browser/ui.rs:326:27 [INFO] [stderr] | [INFO] [stderr] 326 | fn syntax_highlight(text: &str) -> Vec { [INFO] [stderr] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 326 | fn syntax_highlight(text: &str) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/browser/ui.rs:328:55 [INFO] [stderr] | [INFO] [stderr] 328 | if let (Some(syntax_set), Some(theme_set)) = (&SYNTAX_SET, &THEME_SET) { [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 328 | if let (Some(syntax_set), Some(theme_set)) = (&raw const SYNTAX_SET, &THEME_SET) { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/browser/ui.rs:328:68 [INFO] [stderr] | [INFO] [stderr] 328 | if let (Some(syntax_set), Some(theme_set)) = (&SYNTAX_SET, &THEME_SET) { [INFO] [stderr] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 328 | if let (Some(syntax_set), Some(theme_set)) = (&SYNTAX_SET, &raw const THEME_SET) { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: `codesketch` (bin "codesketch" test) generated 4 warnings (run `cargo fix --bin "codesketch" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codesketch-10babe5a6cb925bf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d20887e04b7c48cac855bda5050160921cf7b476ccbf559b5e8edb37f02acd9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d20887e04b7c48cac855bda5050160921cf7b476ccbf559b5e8edb37f02acd9e", kill_on_drop: false }` [INFO] [stdout] d20887e04b7c48cac855bda5050160921cf7b476ccbf559b5e8edb37f02acd9e