[INFO] fetching crate ast-grep 0.14.1...
[INFO] checking ast-grep-0.14.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate ast-grep 0.14.1 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate ast-grep 0.14.1 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ast-grep 0.14.1
[INFO] finished tweaking crates.io crate ast-grep 0.14.1
[INFO] tweaked toml for crates.io crate ast-grep 0.14.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate crates.io crate ast-grep 0.14.1 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded schemars_derive v0.8.16
[INFO] [stderr]   Downloaded predicates-core v1.0.6
[INFO] [stderr]   Downloaded serde_yaml v0.9.27
[INFO] [stderr]   Downloaded web-tree-sitter-sg v1.3.4
[INFO] [stderr]   Downloaded ast-grep-lsp v0.14.1
[INFO] [stderr]   Downloaded newline-converter v0.2.2
[INFO] [stderr]   Downloaded normalize-line-endings v0.3.0
[INFO] [stderr]   Downloaded schemars v0.8.16
[INFO] [stderr]   Downloaded termtree v0.4.0
[INFO] [stderr]   Downloaded tree-sitter-lua v0.0.19
[INFO] [stderr]   Downloaded tree-sitter-facade-sg v0.9.2
[INFO] [stderr]   Downloaded serde_derive v1.0.190
[INFO] [stderr]   Downloaded serde_repr v0.1.9
[INFO] [stderr]   Downloaded tree-sitter-json v0.20.1
[INFO] [stderr]   Downloaded lsp-types v0.94.1
[INFO] [stderr]   Downloaded tree-sitter-dart v0.0.3
[INFO] [stderr]   Downloaded bstr v1.8.0
[INFO] [stderr]   Downloaded tree-sitter-cpp v0.20.3
[INFO] [stderr]   Downloaded tree-sitter-kotlin v0.3.1
[INFO] [stderr]   Downloaded ast-grep-tree-sitter-c-sharp v0.20.0
[INFO] [stderr]   Downloaded tree-sitter-scala v0.20.2
[INFO] [stderr]   Downloaded tree-sitter-typescript v0.20.3
[INFO] [stderr]   Downloaded ast-grep-config v0.14.1
[INFO] [stderr]   Downloaded tree-sitter-css v0.19.0
[INFO] [stderr]   Downloaded tree-sitter-swift v0.3.6
[INFO] [stderr]   Downloaded tree-sitter-ruby v0.20.0
[INFO] [stderr]   Downloaded tokio v1.20.1
[INFO] [stderr]   Downloaded futures-util v0.3.23
[INFO] [stderr]   Downloaded tree-sitter-python v0.20.3
[INFO] [stderr]   Downloaded tree-sitter-java v0.20.2
[INFO] [stderr]   Downloaded tree-sitter-javascript v0.20.1
[INFO] [stderr]   Downloaded syn v2.0.32
[INFO] [stderr]   Downloaded tree-sitter v0.20.10
[INFO] [stderr]   Downloaded tree-sitter-rust v0.20.4
[INFO] [stderr]   Downloaded tree-sitter-c v0.20.6
[INFO] [stderr]   Downloaded futures-channel v0.3.23
[INFO] [stderr]   Downloaded futures-core v0.3.23
[INFO] [stderr]   Downloaded unicode-segmentation v1.10.0
[INFO] [stderr]   Downloaded tree-sitter-go v0.19.1
[INFO] [stderr]   Downloaded tower-lsp v0.20.0
[INFO] [stderr]   Downloaded serde v1.0.190
[INFO] [stderr]   Downloaded tree-sitter-thrift v0.5.0
[INFO] [stderr]   Downloaded unsafe-libyaml v0.2.7
[INFO] [stderr]   Downloaded inquire v0.6.2
[INFO] [stderr]   Downloaded crossterm v0.25.0
[INFO] [stderr]   Downloaded assert_cmd v2.0.12
[INFO] [stderr]   Downloaded ignore v0.4.21
[INFO] [stderr]   Downloaded ast-grep-language v0.14.1
[INFO] [stderr]   Downloaded futures-io v0.3.23
[INFO] [stderr]   Downloaded ast-grep-dynamic v0.14.1
[INFO] [stderr]   Downloaded futures-sink v0.3.23
[INFO] [stderr]   Downloaded futures-task v0.3.23
[INFO] [stderr]   Downloaded tree-sitter-html v0.19.0
[INFO] [stderr]   Downloaded clap_complete v4.4.4
[INFO] [stderr]   Downloaded equivalent v1.0.0
[INFO] [stderr]   Downloaded tower-lsp-macros v0.9.0
[INFO] [stderr]   Downloaded futures-macro v0.3.23
[INFO] [stderr]   Downloaded predicates v3.0.4
[INFO] [stderr]   Downloaded futures v0.3.23
[INFO] [stderr]   Downloaded difflib v0.4.0
[INFO] [stderr]   Downloaded tower-layer v0.3.1
[INFO] [stderr]   Downloaded quote v1.0.29
[INFO] [stderr]   Downloaded float-cmp v0.9.0
[INFO] [stderr]   Downloaded dyn-clone v1.0.11
[INFO] [stderr]   Downloaded proc-macro2 v1.0.63
[INFO] [stderr]   Downloaded predicates-tree v1.0.7
[INFO] [stderr]   Downloaded auto_impl v1.0.1
[INFO] [stderr]   Downloaded ast-grep-core v0.14.1
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ae093d3816bddd6c3001c7b4c386e9de2e19789a959b65435a981b11dd33c1e0
[INFO] running `Command { std: "docker" "start" "-a" "ae093d3816bddd6c3001c7b4c386e9de2e19789a959b65435a981b11dd33c1e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae093d3816bddd6c3001c7b4c386e9de2e19789a959b65435a981b11dd33c1e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae093d3816bddd6c3001c7b4c386e9de2e19789a959b65435a981b11dd33c1e0", kill_on_drop: false }`
[INFO] [stdout] ae093d3816bddd6c3001c7b4c386e9de2e19789a959b65435a981b11dd33c1e0
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af78c501fa8d33f8e9129482d870d6f9860d0c37979c9fd914e17221b958e18a
[INFO] running `Command { std: "docker" "start" "-a" "af78c501fa8d33f8e9129482d870d6f9860d0c37979c9fd914e17221b958e18a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling proc-macro2 v1.0.63
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.29
[INFO] [stderr]     Checking memchr v2.6.3
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.83
[INFO] [stderr]    Compiling serde v1.0.190
[INFO] [stderr]    Compiling bumpalo v3.10.0
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling syn v2.0.32
[INFO] [stderr]    Compiling futures-core v0.3.23
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling wasm-bindgen v0.2.83
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking futures-sink v0.3.23
[INFO] [stderr]    Compiling futures-task v0.3.23
[INFO] [stderr]    Compiling futures-channel v0.3.23
[INFO] [stderr]    Compiling crossbeam-utils v0.8.15
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.14
[INFO] [stderr]     Checking hashbrown v0.14.0
[INFO] [stderr]     Checking anstyle v1.0.0
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling futures-util v0.3.23
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling tree-sitter v0.20.10
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking slab v0.4.7
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking futures-io v0.3.23
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking anstyle-parse v0.2.0
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking anstyle-query v1.0.0
[INFO] [stderr]    Compiling schemars v0.8.16
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking dyn-clone v1.0.11
[INFO] [stderr]     Checking equivalent v1.0.0
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking bstr v1.8.0
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]     Checking indexmap v2.0.0
[INFO] [stderr]     Checking walkdir v2.4.0
[INFO] [stderr]     Checking anstream v0.6.4
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling ast-grep-tree-sitter-c-sharp v0.20.0
[INFO] [stderr]    Compiling tree-sitter-c v0.20.6
[INFO] [stderr]     Checking globset v0.4.14
[INFO] [stderr]    Compiling tree-sitter-kotlin v0.3.1
[INFO] [stderr]    Compiling tree-sitter-cpp v0.20.3
[INFO] [stderr]    Compiling tree-sitter-html v0.19.0
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.83
[INFO] [stderr]    Compiling serde_derive_internals v0.26.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tree-sitter-typescript v0.20.3
[INFO] [stderr]    Compiling tree-sitter-css v0.19.0
[INFO] [stderr]    Compiling tree-sitter-rust v0.20.4
[INFO] [stderr]    Compiling tree-sitter-json v0.20.1
[INFO] [stderr]    Compiling tree-sitter-python v0.20.3
[INFO] [stderr]    Compiling tree-sitter-lua v0.0.19
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.83
[INFO] [stderr]    Compiling tree-sitter-thrift v0.5.0
[INFO] [stderr]    Compiling tree-sitter-swift v0.3.6
[INFO] [stderr]    Compiling tree-sitter-go v0.19.1
[INFO] [stderr]    Compiling tree-sitter-java v0.20.2
[INFO] [stderr]    Compiling serde_derive v1.0.190
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]    Compiling tree-sitter-ruby v0.20.0
[INFO] [stderr]    Compiling tree-sitter-dart v0.0.3
[INFO] [stderr]    Compiling tree-sitter-javascript v0.20.1
[INFO] [stderr]    Compiling tree-sitter-scala v0.20.2
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking unsafe-libyaml v0.2.7
[INFO] [stderr]     Checking clap_lex v0.6.0
[INFO] [stderr]     Checking tower-layer v0.3.1
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]    Compiling clap_derive v4.4.7
[INFO] [stderr]     Checking clap_builder v4.4.8
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.83
[INFO] [stderr]    Compiling futures-macro v0.3.23
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling tracing-attributes v0.1.23
[INFO] [stderr]    Compiling schemars_derive v0.8.16
[INFO] [stderr]     Checking tree-sitter-facade-sg v0.9.2
[INFO] [stderr]     Checking ast-grep-core v0.14.1
[INFO] [stderr]    Compiling serde_repr v0.1.9
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]    Compiling auto_impl v1.0.1
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking futures v0.3.23
[INFO] [stderr]    Compiling tower-lsp-macros v0.9.0
[INFO] [stderr]     Checking serde_json v1.0.108
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking serde_yaml v0.9.27
[INFO] [stderr]     Checking lsp-types v0.94.1
[INFO] [stderr]     Checking ignore v0.4.21
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking unicode-segmentation v1.10.0
[INFO] [stderr]     Checking ast-grep-config v0.14.1
[INFO] [stderr]     Checking newline-converter v0.2.2
[INFO] [stderr]     Checking clap v4.4.8
[INFO] [stderr]     Checking crossterm v0.25.0
[INFO] [stderr]     Checking libloading v0.8.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking bitflags v2.3.3
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]     Checking ast-grep-dynamic v0.14.1
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking clap_complete v4.4.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking inquire v0.6.2
[INFO] [stderr]     Checking similar v2.3.0
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking predicates-core v1.0.6
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking termtree v0.4.0
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking predicates-tree v1.0.7
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking predicates v3.0.4
[INFO] [stderr]     Checking assert_cmd v2.0.12
[INFO] [stderr]     Checking ast-grep-language v0.14.1
[INFO] [stderr]     Checking tower-lsp v0.20.0
[INFO] [stderr]     Checking ast-grep-lsp v0.14.1
[INFO] [stderr]     Checking ast-grep v0.14.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/lang/lang_globs.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |   _ = std::mem::replace(&mut LANG_GLOBS, lang_globs);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 26 |   _ = std::mem::replace(addr_of_mut!(LANG_GLOBS), lang_globs);
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/lang/lang_globs.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |   for (l, types) in unsafe { &LANG_GLOBS } {
[INFO] [stdout]    |                              ^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 52 |   for (l, types) in unsafe { addr_of!(LANG_GLOBS) } {
[INFO] [stdout]    |                              ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/lang/lang_globs.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 |   for (lang, types) in unsafe { &LANG_GLOBS } {
[INFO] [stdout]    |                                 ^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |   for (lang, types) in unsafe { addr_of!(LANG_GLOBS) } {
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/lang/lang_globs.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |   _ = std::mem::replace(&mut LANG_GLOBS, lang_globs);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 26 |   _ = std::mem::replace(addr_of_mut!(LANG_GLOBS), lang_globs);
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/lang/lang_globs.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |   for (l, types) in unsafe { &LANG_GLOBS } {
[INFO] [stdout]    |                              ^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 52 |   for (l, types) in unsafe { addr_of!(LANG_GLOBS) } {
[INFO] [stdout]    |                              ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/lang/lang_globs.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 |   for (lang, types) in unsafe { &LANG_GLOBS } {
[INFO] [stdout]    |                                 ^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |   for (lang, types) in unsafe { addr_of!(LANG_GLOBS) } {
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 33.95s
[INFO] running `Command { std: "docker" "inspect" "af78c501fa8d33f8e9129482d870d6f9860d0c37979c9fd914e17221b958e18a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af78c501fa8d33f8e9129482d870d6f9860d0c37979c9fd914e17221b958e18a", kill_on_drop: false }`
[INFO] [stdout] af78c501fa8d33f8e9129482d870d6f9860d0c37979c9fd914e17221b958e18a
[INFO] checking ast-grep-0.14.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate ast-grep 0.14.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate ast-grep 0.14.1 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ast-grep 0.14.1
[INFO] finished tweaking crates.io crate ast-grep 0.14.1
[INFO] tweaked toml for crates.io crate ast-grep 0.14.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate crates.io crate ast-grep 0.14.1 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d58b81971e8fa76479052a434fc4713deedde7b0ba7b1200379fd629a07db30c
[INFO] running `Command { std: "docker" "start" "-a" "d58b81971e8fa76479052a434fc4713deedde7b0ba7b1200379fd629a07db30c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d58b81971e8fa76479052a434fc4713deedde7b0ba7b1200379fd629a07db30c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d58b81971e8fa76479052a434fc4713deedde7b0ba7b1200379fd629a07db30c", kill_on_drop: false }`
[INFO] [stdout] d58b81971e8fa76479052a434fc4713deedde7b0ba7b1200379fd629a07db30c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f4a2f2ec46f5ad488541bc5220f2ce45b3140ee5e8282c09b58ab52a0eb73c25
[INFO] running `Command { std: "docker" "start" "-a" "f4a2f2ec46f5ad488541bc5220f2ce45b3140ee5e8282c09b58ab52a0eb73c25", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling proc-macro2 v1.0.63
[INFO] [stderr]    Compiling quote v1.0.29
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]     Checking memchr v2.6.3
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling serde v1.0.190
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.83
[INFO] [stderr]    Compiling bumpalo v3.10.0
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]    Compiling futures-core v0.3.23
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling wasm-bindgen v0.2.83
[INFO] [stderr]    Compiling syn v2.0.32
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.15
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]    Compiling futures-channel v0.3.23
[INFO] [stderr]     Checking futures-sink v0.3.23
[INFO] [stderr]    Compiling futures-task v0.3.23
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.14
[INFO] [stderr]     Checking anstyle v1.0.0
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling futures-util v0.3.23
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]     Checking hashbrown v0.14.0
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]    Compiling tree-sitter v0.20.10
[INFO] [stderr]     Checking slab v0.4.7
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]     Checking futures-io v0.3.23
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking anstyle-parse v0.2.0
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking anstyle-query v1.0.0
[INFO] [stderr]    Compiling schemars v0.8.16
[INFO] [stderr]     Checking equivalent v1.0.0
[INFO] [stderr]     Checking dyn-clone v1.0.11
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]     Checking walkdir v2.4.0
[INFO] [stderr]     Checking anstream v0.6.4
[INFO] [stderr]     Checking indexmap v2.0.0
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling tree-sitter-cpp v0.20.3
[INFO] [stderr]    Compiling tree-sitter-kotlin v0.3.1
[INFO] [stderr]    Compiling tree-sitter-java v0.20.2
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking bstr v1.8.0
[INFO] [stderr]    Compiling tree-sitter-typescript v0.20.3
[INFO] [stderr]    Compiling tree-sitter-json v0.20.1
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.83
[INFO] [stderr]    Compiling serde_derive_internals v0.26.0
[INFO] [stderr]     Checking globset v0.4.14
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tree-sitter-python v0.20.3
[INFO] [stderr]    Compiling tree-sitter-c v0.20.6
[INFO] [stderr]    Compiling tree-sitter-rust v0.20.4
[INFO] [stderr]    Compiling tree-sitter-html v0.19.0
[INFO] [stderr]    Compiling tree-sitter-dart v0.0.3
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.83
[INFO] [stderr]    Compiling ast-grep-tree-sitter-c-sharp v0.20.0
[INFO] [stderr]    Compiling tree-sitter-go v0.19.1
[INFO] [stderr]    Compiling tree-sitter-lua v0.0.19
[INFO] [stderr]    Compiling serde_derive v1.0.190
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]    Compiling tree-sitter-swift v0.3.6
[INFO] [stderr]    Compiling tree-sitter-javascript v0.20.1
[INFO] [stderr]    Compiling tree-sitter-ruby v0.20.0
[INFO] [stderr]    Compiling tree-sitter-scala v0.20.2
[INFO] [stderr]    Compiling tree-sitter-css v0.19.0
[INFO] [stderr]    Compiling tree-sitter-thrift v0.5.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking unsafe-libyaml v0.2.7
[INFO] [stderr]     Checking clap_lex v0.6.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking tower-layer v0.3.1
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]    Compiling clap_derive v4.4.7
[INFO] [stderr]     Checking clap_builder v4.4.8
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.83
[INFO] [stderr]    Compiling futures-macro v0.3.23
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]     Checking tree-sitter-facade-sg v0.9.2
[INFO] [stderr]     Checking ast-grep-core v0.14.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.23
[INFO] [stderr]    Compiling serde_repr v0.1.9
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]    Compiling schemars_derive v0.8.16
[INFO] [stderr]    Compiling auto_impl v1.0.1
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking futures v0.3.23
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]    Compiling tower-lsp-macros v0.9.0
[INFO] [stderr]     Checking serde_json v1.0.108
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking serde_yaml v0.9.27
[INFO] [stderr]     Checking lsp-types v0.94.1
[INFO] [stderr]     Checking ignore v0.4.21
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking unicode-segmentation v1.10.0
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking newline-converter v0.2.2
[INFO] [stderr]     Checking ast-grep-config v0.14.1
[INFO] [stderr]     Checking clap v4.4.8
[INFO] [stderr]     Checking crossterm v0.25.0
[INFO] [stderr]     Checking libloading v0.8.0
[INFO] [stderr]     Checking bitflags v2.3.3
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]     Checking ast-grep-dynamic v0.14.1
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking clap_complete v4.4.4
[INFO] [stderr]     Checking inquire v0.6.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]     Checking predicates-core v1.0.6
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking similar v2.3.0
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking termtree v0.4.0
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]     Checking predicates-tree v1.0.7
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking predicates v3.0.4
[INFO] [stderr]     Checking ast-grep-language v0.14.1
[INFO] [stderr]     Checking assert_cmd v2.0.12
[INFO] [stderr]     Checking tower-lsp v0.20.0
[INFO] [stderr]     Checking ast-grep-lsp v0.14.1
[INFO] [stderr]     Checking ast-grep v0.14.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/lang/lang_globs.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |   _ = std::mem::replace(&mut LANG_GLOBS, lang_globs);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 26 |   _ = std::mem::replace(addr_of_mut!(LANG_GLOBS), lang_globs);
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/lang/lang_globs.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |   for (l, types) in unsafe { &LANG_GLOBS } {
[INFO] [stdout]    |                              ^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 52 |   for (l, types) in unsafe { addr_of!(LANG_GLOBS) } {
[INFO] [stdout]    |                              ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/lang/lang_globs.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 |   for (lang, types) in unsafe { &LANG_GLOBS } {
[INFO] [stdout]    |                                 ^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |   for (lang, types) in unsafe { addr_of!(LANG_GLOBS) } {
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/lang/lang_globs.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |   _ = std::mem::replace(&mut LANG_GLOBS, lang_globs);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 26 |   _ = std::mem::replace(addr_of_mut!(LANG_GLOBS), lang_globs);
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/lang/lang_globs.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |   for (l, types) in unsafe { &LANG_GLOBS } {
[INFO] [stdout]    |                              ^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 52 |   for (l, types) in unsafe { addr_of!(LANG_GLOBS) } {
[INFO] [stdout]    |                              ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]   --> src/lang/lang_globs.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 |   for (lang, types) in unsafe { &LANG_GLOBS } {
[INFO] [stdout]    |                                 ^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |   for (lang, types) in unsafe { addr_of!(LANG_GLOBS) } {
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 29.58s
[INFO] running `Command { std: "docker" "inspect" "f4a2f2ec46f5ad488541bc5220f2ce45b3140ee5e8282c09b58ab52a0eb73c25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4a2f2ec46f5ad488541bc5220f2ce45b3140ee5e8282c09b58ab52a0eb73c25", kill_on_drop: false }`
[INFO] [stdout] f4a2f2ec46f5ad488541bc5220f2ce45b3140ee5e8282c09b58ab52a0eb73c25
