[INFO] cloning repository https://github.com/zed-industries/refactor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zed-industries/refactor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzed-industries%2Frefactor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzed-industries%2Frefactor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e084c16808ab9ca55a2fa2a82d09c58e49bce59b [INFO] testing zed-industries/refactor against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzed-industries%2Frefactor" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zed-industries/refactor [INFO] finished tweaking git repo https://github.com/zed-industries/refactor [INFO] tweaked toml for git repo https://github.com/zed-industries/refactor written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zed-industries/refactor on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zed-industries/refactor 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fea996141a3cf58718e652b491ae2a6a13fd344b7260ea20f9a085a423882ac [INFO] running `Command { std: "docker" "start" "-a" "7fea996141a3cf58718e652b491ae2a6a13fd344b7260ea20f9a085a423882ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fea996141a3cf58718e652b491ae2a6a13fd344b7260ea20f9a085a423882ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fea996141a3cf58718e652b491ae2a6a13fd344b7260ea20f9a085a423882ac", kill_on_drop: false }` [INFO] [stdout] 7fea996141a3cf58718e652b491ae2a6a13fd344b7260ea20f9a085a423882ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f2982b6bc92b4f5dd47a80491b7fb203210ab7bbfa36cec76f5772539d6b56b [INFO] running `Command { std: "docker" "start" "-a" "5f2982b6bc92b4f5dd47a80491b7fb203210ab7bbfa36cec76f5772539d6b56b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling protobuf v3.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling tree-sitter-language v0.1.3 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling tree-sitter v0.24.5 [INFO] [stderr] Compiling tree-sitter-rust v0.23.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling protobuf-support v3.7.1 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling scip v0.5.1 [INFO] [stderr] Compiling refactor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/refactor.rs:5:55 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{collections::BTreeSet, iter, path::PathBuf, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalId` is never constructed [INFO] [stdout] --> src/scip_index.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct LocalId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lookup_symbol`, `lookup_point`, `lookup_node`, and `find_local_definition_and_references` are never used [INFO] [stdout] --> src/scip_index.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 198 | impl Document { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 199 | pub fn lookup_symbol<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn lookup_point<'a>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn lookup_node<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn find_local_definition_and_references( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_role` and `range_string` are never used [INFO] [stdout] --> src/scip_index.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 273 | impl Occurrence { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 274 | pub fn has_role(&self, role: SymbolRole) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn range_string(&self, relative_path: &RelativePath) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `signature` is never used [INFO] [stdout] --> src/scip_index.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 283 | impl SymbolInformation { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 284 | pub fn signature(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file_editor.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn find_node(&self, range: &Range) -> Result { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn find_node(&self, range: &Range) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc3V8jrZ/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libtree_sitter_rust-0a71b2ae374e2920.rlib,libscip-09490566ce62dedb.rlib,libprotobuf-a8aba3852d07817e.rlib,libprotobuf_support-e97baa2a7e53908e.rlib,libthiserror-e35f7187a8c0f83c.rlib,libonce_cell-debe7c411cf97340.rlib,libitertools-81524015b6b5198d.rlib,libeither-38d43fea6173fdf6.rlib,libtree_sitter-5347c5ab9810462b.rlib,libregex-74bf5cc0ac07d627.rlib,libregex_automata-98e112aa09be40b4.rlib,libaho_corasick-50150a17a2667fa6.rlib,libmemchr-4f0714dc45d95749.rlib,libregex_syntax-ee625191289218b8.rlib,libtree_sitter_language-c60af0a1c15e44ba.rlib,libstreaming_iterator-a6bfc9f1d17a860d.rlib,libclap-2c27fb4ad3709281.rlib,libclap_builder-fe6641bff6b6c432.rlib,libstrsim-24acdad2526b95b7.rlib,libanstream-3a5850ea78bcd0e3.rlib,libanstyle_query-f0be367a66cb0b02.rlib,libis_terminal_polyfill-c14c9d53c4f80a97.rlib,libcolorchoice-dfb6701820ae12a0.rlib,libanstyle_parse-80647c630cc5391e.rlib,libutf8parse-8828ddbb63eb8bad.rlib,libclap_lex-8f7e36dc12b04c16.rlib,libanstyle-df82d657645c4a5c.rlib,libanyhow-7c6c4967043ac346.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc3V8jrZ/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/tree-sitter-88e3fa4d90758f47/out" "-L" "/opt/rustwide/target/debug/build/tree-sitter-rust-8879105ae9ecc327/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/refactor-9f8e4e48c10a42fc" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] #0 0x00007a8c81538897 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/rustwide/rustup-home/toolchains/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/lib/libLLVM.so.20.1-rust-1.90.0-nightly+0x5738897) [INFO] [stdout] #1 0x00007a8c81538cb3 SignalHandler(int) (/opt/rustwide/rustup-home/toolchains/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/lib/libLLVM.so.20.1-rust-1.90.0-nightly+0x5738cb3) [INFO] [stdout] #2 0x00007a8c7bc33330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) [INFO] [stdout] #3 0x00005902b2e9dd81 lld::elf::RelocationSection>::writeTo(unsigned char*) SyntheticSections.cpp:0:0 [INFO] [stdout] #4 0x00005902b2dd3a4a void lld::elf::OutputSection::writeTo>(lld::elf::Ctx&, unsigned char*, llvm::parallel::TaskGroup&)::'lambda'(unsigned long, unsigned long)::operator()(unsigned long, unsigned long) const OutputSections.cpp:0:0 [INFO] [stdout] #5 0x00007a8c814e84b2 std::_Function_handler)::$_0>::_M_invoke(std::_Any_data const&) (/opt/rustwide/rustup-home/toolchains/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/lib/libLLVM.so.20.1-rust-1.90.0-nightly+0x56e84b2) [INFO] [stdout] #6 0x00007a8c814e7f1a llvm::parallel::detail::(anonymous namespace)::ThreadPoolExecutor::work(llvm::ThreadPoolStrategy, unsigned int) (/opt/rustwide/rustup-home/toolchains/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/lib/libLLVM.so.20.1-rust-1.90.0-nightly+0x56e7f1a) [INFO] [stdout] #7 0x00007a8c81462b50 execute_native_thread_routine (/opt/rustwide/rustup-home/toolchains/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/lib/libLLVM.so.20.1-rust-1.90.0-nightly+0x5662b50) [INFO] [stdout] #8 0x00007a8c7bc8aaa4 (/lib/x86_64-linux-gnu/libc.so.6+0x9caa4) [INFO] [stdout] #9 0x00007a8c7bd17a34 clone (/lib/x86_64-linux-gnu/libc.so.6+0x129a34) [INFO] [stdout] collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `refactor` (bin "refactor") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5f2982b6bc92b4f5dd47a80491b7fb203210ab7bbfa36cec76f5772539d6b56b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f2982b6bc92b4f5dd47a80491b7fb203210ab7bbfa36cec76f5772539d6b56b", kill_on_drop: false }` [INFO] [stdout] 5f2982b6bc92b4f5dd47a80491b7fb203210ab7bbfa36cec76f5772539d6b56b