[INFO] fetching crate ast-grep 0.14.1... [INFO] checking ast-grep-0.14.1 against master#74c3f5a146860c94ff4d179fc3bfa34f879adf41 for pr-120248 [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 74c3f5a146860c94ff4d179fc3bfa34f879adf41 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "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" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-io v0.3.23 [INFO] [stderr] Downloaded tree-sitter-facade-sg v0.9.2 [INFO] [stderr] Downloaded futures-task v0.3.23 [INFO] [stderr] Downloaded async-trait v0.1.57 [INFO] [stderr] Downloaded futures-channel v0.3.23 [INFO] [stderr] Downloaded futures-core v0.3.23 [INFO] [stderr] Downloaded ast-grep-language v0.14.1 [INFO] [stderr] Downloaded globset v0.4.14 [INFO] [stderr] Downloaded auto_impl v1.0.1 [INFO] [stderr] Downloaded ast-grep-config v0.14.1 [INFO] [stderr] Downloaded ast-grep-lsp v0.14.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.63 [INFO] [stderr] Downloaded tower-lsp-macros v0.9.0 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded anstyle-parse v0.2.0 [INFO] [stderr] Downloaded tree-sitter-lua v0.0.19 [INFO] [stderr] Downloaded tracing v0.1.36 [INFO] [stderr] Downloaded tree-sitter-go v0.19.1 [INFO] [stderr] Downloaded tree-sitter-python v0.20.3 [INFO] [stderr] Downloaded memchr v2.6.3 [INFO] [stderr] Downloaded tree-sitter-ruby v0.20.0 [INFO] [stderr] Downloaded tree-sitter-typescript v0.20.3 [INFO] [stderr] Downloaded ast-grep-tree-sitter-c-sharp v0.20.0 [INFO] [stderr] Downloaded tree-sitter-kotlin v0.3.1 [INFO] [stderr] Downloaded tree-sitter-scala v0.20.2 [INFO] [stderr] Downloaded tree-sitter-css v0.19.0 [INFO] [stderr] Downloaded tree-sitter-cpp v0.20.3 [INFO] [stderr] Downloaded tree-sitter-swift v0.3.6 [INFO] [stderr] Downloaded tree-sitter-rust v0.20.4 [INFO] [stderr] Downloaded bstr v1.8.0 [INFO] [stderr] Downloaded crossterm v0.25.0 [INFO] [stderr] Downloaded tree-sitter-c v0.20.6 [INFO] [stderr] Downloaded tree-sitter-dart v0.0.3 [INFO] [stderr] Downloaded tree-sitter-javascript v0.20.1 [INFO] [stderr] Downloaded tokio v1.20.1 [INFO] [stderr] Downloaded tree-sitter-java v0.20.2 [INFO] [stderr] Downloaded tree-sitter v0.20.10 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.7 [INFO] [stderr] Downloaded indexmap v2.0.0 [INFO] [stderr] Downloaded crossterm v0.27.0 [INFO] [stderr] Downloaded tracing-core v0.1.29 [INFO] [stderr] Downloaded ignore v0.4.21 [INFO] [stderr] Downloaded tower-lsp v0.20.0 [INFO] [stderr] Downloaded unicode-segmentation v1.10.0 [INFO] [stderr] Downloaded signal-hook v0.3.17 [INFO] [stderr] Downloaded serde_yaml v0.9.27 [INFO] [stderr] Downloaded hashbrown v0.14.0 [INFO] [stderr] Downloaded similar v2.3.0 [INFO] [stderr] Downloaded termtree v0.4.0 [INFO] [stderr] Downloaded assert_cmd v2.0.12 [INFO] [stderr] Downloaded tree-sitter-html v0.19.0 [INFO] [stderr] Downloaded tree-sitter-json v0.20.1 [INFO] [stderr] Downloaded clap_complete v4.4.4 [INFO] [stderr] Downloaded anstyle-wincon v3.0.1 [INFO] [stderr] Downloaded unicode-width v0.1.9 [INFO] [stderr] Downloaded crossterm_winapi v0.9.1 [INFO] [stderr] Downloaded quote v1.0.29 [INFO] [stderr] Downloaded itoa v1.0.3 [INFO] [stderr] Downloaded serde_repr v0.1.9 [INFO] [stderr] Downloaded lsp-types v0.94.1 [INFO] [stderr] Downloaded utf8parse v0.2.1 [INFO] [stderr] Downloaded signal-hook-mio v0.2.3 [INFO] [stderr] Downloaded anstyle v1.0.0 [INFO] [stderr] Downloaded anstream v0.6.4 [INFO] [stderr] Downloaded ast-grep-core v0.14.1 [INFO] [stderr] Downloaded web-tree-sitter-sg v1.3.4 [INFO] [stderr] Downloaded tree-sitter-thrift v0.5.0 [INFO] [stderr] Downloaded anstyle-query v1.0.0 [INFO] [stderr] Downloaded bytes v1.2.1 [INFO] [stderr] Downloaded futures v0.3.23 [INFO] [stderr] Downloaded newline-converter v0.2.2 [INFO] [stderr] Downloaded inquire v0.6.2 [INFO] [stderr] Downloaded signal-hook-registry v1.4.0 [INFO] [stderr] Downloaded predicates-tree v1.0.7 [INFO] [stderr] Downloaded ast-grep-dynamic v0.14.1 [INFO] [stderr] Downloaded futures-sink v0.3.23 [INFO] [stderr] Downloaded equivalent v1.0.0 [INFO] [stderr] Downloaded futures-macro v0.3.23 [INFO] [stderr] Downloaded predicates v3.0.4 [INFO] [stderr] Downloaded colorchoice v1.0.0 [INFO] [stderr] Downloaded futures-util v0.3.23 [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" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20ab2daece64e067215698a84c917cf70167a0ee4f2dac3de7e403db2dd1ce40 [INFO] running `Command { std: "docker" "start" "-a" "20ab2daece64e067215698a84c917cf70167a0ee4f2dac3de7e403db2dd1ce40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20ab2daece64e067215698a84c917cf70167a0ee4f2dac3de7e403db2dd1ce40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20ab2daece64e067215698a84c917cf70167a0ee4f2dac3de7e403db2dd1ce40", kill_on_drop: false }` [INFO] [stdout] 20ab2daece64e067215698a84c917cf70167a0ee4f2dac3de7e403db2dd1ce40 [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" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acd46e1c4f3ccdc164cc136e4d2624b0afb116db817e094d81751d5adf5a6556 [INFO] running `Command { std: "docker" "start" "-a" "acd46e1c4f3ccdc164cc136e4d2624b0afb116db817e094d81751d5adf5a6556", 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] Checking memchr v2.6.3 [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] Checking log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Checking memoffset v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking dyn-clone v1.0.11 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.7 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking newline-converter v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking similar v2.3.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.4.0 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking predicates-tree v1.0.7 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling tree-sitter-kotlin v0.3.1 [INFO] [stderr] Compiling tree-sitter-html v0.19.0 [INFO] [stderr] Compiling tree-sitter-thrift v0.5.0 [INFO] [stderr] Compiling tree-sitter-ruby v0.20.0 [INFO] [stderr] Compiling tree-sitter-swift v0.3.6 [INFO] [stderr] Compiling tree-sitter-python v0.20.3 [INFO] [stderr] Compiling tree-sitter-java v0.20.2 [INFO] [stderr] Compiling tree-sitter-typescript v0.20.3 [INFO] [stderr] Compiling tree-sitter-c v0.20.6 [INFO] [stderr] Compiling tree-sitter-rust v0.20.4 [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-dart v0.0.3 [INFO] [stderr] Compiling tree-sitter-javascript v0.20.1 [INFO] [stderr] Compiling tree-sitter-scala v0.20.2 [INFO] [stderr] Compiling tree-sitter-cpp v0.20.3 [INFO] [stderr] Compiling tree-sitter-lua v0.0.19 [INFO] [stderr] Compiling tree-sitter-json v0.20.1 [INFO] [stderr] Compiling tree-sitter-css v0.19.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking bstr v1.8.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking assert_cmd v2.0.12 [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] Checking ignore v0.4.21 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling serde_repr v0.1.9 [INFO] [stderr] Compiling auto_impl v1.0.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Checking inquire v0.6.2 [INFO] [stderr] Checking tree-sitter-facade-sg v0.9.2 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Checking clap_complete v4.4.4 [INFO] [stderr] Checking ast-grep-core v0.14.1 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking futures v0.3.23 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_yaml v0.9.27 [INFO] [stderr] Checking ast-grep-dynamic v0.14.1 [INFO] [stderr] Checking ast-grep-language v0.14.1 [INFO] [stderr] Checking schemars v0.8.16 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking ast-grep-config 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 [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 [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 [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 [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 [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 [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 18.86s [INFO] running `Command { std: "docker" "inspect" "acd46e1c4f3ccdc164cc136e4d2624b0afb116db817e094d81751d5adf5a6556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd46e1c4f3ccdc164cc136e4d2624b0afb116db817e094d81751d5adf5a6556", kill_on_drop: false }` [INFO] [stdout] acd46e1c4f3ccdc164cc136e4d2624b0afb116db817e094d81751d5adf5a6556 [INFO] checking ast-grep-0.14.1 against try#13cae6066db2d5e6c9bb508caceec8d34ca49980 for pr-120248 [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 13cae6066db2d5e6c9bb508caceec8d34ca49980 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "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" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "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" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de01657fb7e1f1c45fc1407940dd1da30f2f465920206140da6647f77c11c8fd [INFO] running `Command { std: "docker" "start" "-a" "de01657fb7e1f1c45fc1407940dd1da30f2f465920206140da6647f77c11c8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de01657fb7e1f1c45fc1407940dd1da30f2f465920206140da6647f77c11c8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de01657fb7e1f1c45fc1407940dd1da30f2f465920206140da6647f77c11c8fd", kill_on_drop: false }` [INFO] [stdout] de01657fb7e1f1c45fc1407940dd1da30f2f465920206140da6647f77c11c8fd [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" "-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" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 716e861af9147a70f22090a6bc2c9940bd57733a221876551878deb732b54c81 [INFO] running `Command { std: "docker" "start" "-a" "716e861af9147a70f22090a6bc2c9940bd57733a221876551878deb732b54c81", 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] Checking memchr v2.6.3 [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] Checking log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Checking memoffset v0.8.0 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking dyn-clone v1.0.11 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.7 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking newline-converter v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking similar v2.3.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [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 itertools v0.11.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking predicates-tree v1.0.7 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling ast-grep-tree-sitter-c-sharp v0.20.0 [INFO] [stderr] Compiling tree-sitter-javascript v0.20.1 [INFO] [stderr] Compiling tree-sitter-json v0.20.1 [INFO] [stderr] Compiling tree-sitter-java v0.20.2 [INFO] [stderr] Compiling tree-sitter-c v0.20.6 [INFO] [stderr] Compiling tree-sitter-python v0.20.3 [INFO] [stderr] Compiling tree-sitter-ruby v0.20.0 [INFO] [stderr] Compiling tree-sitter-cpp v0.20.3 [INFO] [stderr] Compiling tree-sitter-lua v0.0.19 [INFO] [stderr] Compiling tree-sitter-thrift v0.5.0 [INFO] [stderr] Compiling tree-sitter-rust v0.20.4 [INFO] [stderr] Compiling tree-sitter-dart v0.0.3 [INFO] [stderr] Compiling tree-sitter-typescript v0.20.3 [INFO] [stderr] Compiling tree-sitter-html v0.19.0 [INFO] [stderr] Compiling tree-sitter-scala v0.20.2 [INFO] [stderr] Compiling tree-sitter-css v0.19.0 [INFO] [stderr] Compiling tree-sitter-kotlin v0.3.1 [INFO] [stderr] Compiling tree-sitter-go v0.19.1 [INFO] [stderr] Compiling tree-sitter-swift v0.3.6 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking bstr v1.8.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking ignore v0.4.21 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: tree-sitter-cpp@0.20.3: cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] warning: tree-sitter-cpp@0.20.3: compilation terminated. [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `tree-sitter-cpp v0.20.3` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/tree-sitter-cpp-8a86ad0ace344ca4/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=src/scanner.c [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CC [INFO] [stderr] HOST_CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC [INFO] [stderr] CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CFLAGS [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS [INFO] [stderr] CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CC [INFO] [stderr] HOST_CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC [INFO] [stderr] CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CFLAGS [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS [INFO] [stderr] CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CC [INFO] [stderr] HOST_CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC [INFO] [stderr] CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CFLAGS [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS [INFO] [stderr] CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CC [INFO] [stderr] HOST_CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC [INFO] [stderr] CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CFLAGS [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS [INFO] [stderr] CFLAGS = None [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "src" "-Wall" "-Wextra" "-Wno-unused-parameter" "-Wno-unused-but-set-variable" "-Wno-trigraphs" "-o" "/opt/rustwide/target/debug/build/tree-sitter-cpp-1d2eb5417160c8ea/out/src/parser.o" "-c" "src/parser.c" [INFO] [stderr] exit status: 1 [INFO] [stderr] cargo:warning=cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] [INFO] [stderr] cargo:warning=compilation terminated. [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "src" "-Wall" "-Wextra" "-Wno-unused-parameter" "-Wno-unused-but-set-variable" "-Wno-trigraphs" "-o" "/opt/rustwide/target/debug/build/tree-sitter-cpp-1d2eb5417160c8ea/out/src/parser.o" "-c" "src/parser.c" with args "cc" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "716e861af9147a70f22090a6bc2c9940bd57733a221876551878deb732b54c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "716e861af9147a70f22090a6bc2c9940bd57733a221876551878deb732b54c81", kill_on_drop: false }` [INFO] [stdout] 716e861af9147a70f22090a6bc2c9940bd57733a221876551878deb732b54c81