[INFO] cloning repository https://github.com/timClicks/heatshield [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timClicks/heatshield" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtimClicks%2Fheatshield", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtimClicks%2Fheatshield'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56fe57288a79158c92db0247bbcec31dc68af5de [INFO] building timClicks/heatshield against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtimClicks%2Fheatshield" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/timClicks/heatshield [INFO] finished tweaking git repo https://github.com/timClicks/heatshield [INFO] tweaked toml for git repo https://github.com/timClicks/heatshield written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/timClicks/heatshield on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/timClicks/heatshield 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35b07e34968d7f7b99f0fa8b6085d6c3962e1bae141a003f33a82245184ae786 [INFO] running `Command { std: "docker" "start" "-a" "35b07e34968d7f7b99f0fa8b6085d6c3962e1bae141a003f33a82245184ae786", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35b07e34968d7f7b99f0fa8b6085d6c3962e1bae141a003f33a82245184ae786", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35b07e34968d7f7b99f0fa8b6085d6c3962e1bae141a003f33a82245184ae786", kill_on_drop: false }` [INFO] [stdout] 35b07e34968d7f7b99f0fa8b6085d6c3962e1bae141a003f33a82245184ae786 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] c4cfa6383242cc63f030b4771375356e44f139d5d306d32127dae4cc53b14744 [INFO] running `Command { std: "docker" "start" "-a" "c4cfa6383242cc63f030b4771375356e44f139d5d306d32127dae4cc53b14744", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling errno v0.3.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.36 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling clap_builder v4.4.11 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling tree-sitter-rust v0.20.4 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling clap v4.4.11 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling heatshield v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/parse-crates-io-dump.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Read, BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/parse-crates-io-dump.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{fs, path::PathBuf}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/unsafe-sitter.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tree_sitter::{Language, Parser, Query, QueryCursor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/parse-crates-io-dump.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Read, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `created_at`, `homepage`, `id`, `name`, and `updated_at` are never read [INFO] [stdout] --> src/parse-crates-io-dump.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct CrateMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | homepage: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 20 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CrateMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libtree_sitter_rust-b9ff08003f6fcbb5,libtree_sitter-66cfb6c325e24df9,libregex-3cb5a133fc777087,libregex_automata-d090f6b4cd1ba206,libaho_corasick-5569bcafe1093b9e,libmemchr-09dc1549a31c4b3f,libregex_syntax-6ce128974345f74c,libprettyplease-e44702044fec53f4,libsyn-58f5ba1cadd8e199,libquote-4fafc31bd7b233a8,libproc_macro2-2a4884d2d578f0c1,libunicode_ident-09e396d079367666}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/tree-sitter-4da1ffefc4296bef/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/tree-sitter-rust-21ba181aa3e14bbc/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/unsafe_sitter-f87ec95ee08442f9.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter_rust-b9ff08003f6fcbb5.rlib: archive member 'parser.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter_rust-b9ff08003f6fcbb5.rlib: archive member 'scanner.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib: archive member 'lib.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/unsafe_sitter-f87ec95ee08442f9.unsafe_sitter.496549bc1d943ca1-cgu.0.rcgu.o: undefined symbol: ts_parser_parse [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/unsafe_sitter-f87ec95ee08442f9.unsafe_sitter.496549bc1d943ca1-cgu.0.rcgu.o: undefined symbol: ts_query_cursor_exec [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/unsafe_sitter-f87ec95ee08442f9.unsafe_sitter.496549bc1d943ca1-cgu.0.rcgu.o: undefined symbol: ts_query_cursor_next_match [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter_rust-b9ff08003f6fcbb5.rlib(tree_sitter_rust-b9ff08003f6fcbb5.tree_sitter_rust.dd42b3b3faee952e-cgu.0.rcgu.o): undefined symbol: tree_sitter_rust [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_query_string_value_for_id [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_parser_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_parser_set_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_parser_set_language [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_language_version [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_parser_print_dot_graphs [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_parser_new [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_tree_root_node [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_node_start_byte [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_node_end_byte [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_node_end_point [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_node_start_point [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_query_new [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_query_string_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_query_capture_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-66cfb6c325e24df9.rlib(tree_sitter-66cfb6c325e24df9.tree_sitter.7ed302c4e90728fe-cgu.2.rcgu.o): undefined symbol: ts_query_pattern_count [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `heatshield` (bin "unsafe-sitter") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c4cfa6383242cc63f030b4771375356e44f139d5d306d32127dae4cc53b14744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4cfa6383242cc63f030b4771375356e44f139d5d306d32127dae4cc53b14744", kill_on_drop: false }` [INFO] [stdout] c4cfa6383242cc63f030b4771375356e44f139d5d306d32127dae4cc53b14744