[INFO] cloning repository https://github.com/brian-dawn/trep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brian-dawn/trep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian-dawn%2Ftrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian-dawn%2Ftrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bf8215c522ed5df25e19cfc0b712abc5cab0bf3 [INFO] building brian-dawn/trep against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian-dawn%2Ftrep" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/brian-dawn/trep [INFO] finished tweaking git repo https://github.com/brian-dawn/trep [INFO] tweaked toml for git repo https://github.com/brian-dawn/trep written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brian-dawn/trep 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/brian-dawn/trep 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0a1821a40085aadd4971b8c5232515d32f75fe0d8d5b273e24bdd0cbdddf4c50 [INFO] running `Command { std: "docker" "start" "-a" "0a1821a40085aadd4971b8c5232515d32f75fe0d8d5b273e24bdd0cbdddf4c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a1821a40085aadd4971b8c5232515d32f75fe0d8d5b273e24bdd0cbdddf4c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a1821a40085aadd4971b8c5232515d32f75fe0d8d5b273e24bdd0cbdddf4c50", kill_on_drop: false }` [INFO] [stdout] 0a1821a40085aadd4971b8c5232515d32f75fe0d8d5b273e24bdd0cbdddf4c50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d1942b4b44e20faaf2e9315185719fdd89fc5e9f604629afc42d904d51ef9522 [INFO] running `Command { std: "docker" "start" "-a" "d1942b4b44e20faaf2e9315185719fdd89fc5e9f604629afc42d904d51ef9522", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.5 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling bstr v1.9.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling tree-sitter-python v0.20.4 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling trep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{error::Error, path::Path}; [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: `Tree` [INFO] [stdout] --> src/main.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use tree_sitter::{Node, Tree}; [INFO] [stdout] | ^^^^ [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" "<5 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libtree_sitter_python-bdea21d56c4ca2d9,libtree_sitter-c6b8d35fa8755810,libregex-1dfe4cbc99322715,libignore-fae5ce50af61d221,libwalkdir-cdfe8cce84a04b67,libsame_file-d90975b76a214118,libcrossbeam_deque-9776ee77deed7c94,libcrossbeam_epoch-7e4ae21eb665b8d0,libcrossbeam_utils-86091be7b66388bc,libglobset-5a8f312a2f8ed21a,liblog-2df1d538f4c13c57,libregex_automata-ecc51c0d8bd6dc9b,libregex_syntax-ce36f47e8a6d95e0,libbstr-b2e8d073129b2137,libaho_corasick-44ae89b848848e07,libmemchr-21b23dcc9e8a6419,libclap-00ba13205ae62340,libclap_builder-8ed48e1878b78fd1,libstrsim-39ec6cd5a47c2372,libanstream-4cdcfc6efbf1d960,libanstyle_query-762ab2e6ee56ccd9,libcolorchoice-f843408b53bb43d3,libanstyle_parse-43b39865f2d18548,libutf8parse-c7a8e2c1750ad77c,libclap_lex-4b59dc0886c0688f,libanstyle-1d208cf57525cf79,libanyhow-cc291afd76ef0481}.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-f66bff11d800e1e0/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/tree-sitter-python-092df075a4158c77/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/trep-3fae77d3d9e4913f.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_python-bdea21d56c4ca2d9.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_python-bdea21d56c4ca2d9.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-c6b8d35fa8755810.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/trep-3fae77d3d9e4913f.trep.e15b1de048675d76-cgu.3.rcgu.o: undefined symbol: ts_parser_parse [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/trep-3fae77d3d9e4913f.trep.e15b1de048675d76-cgu.3.rcgu.o: undefined symbol: ts_node_child_by_field_name [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter_python-bdea21d56c4ca2d9.rlib(tree_sitter_python-bdea21d56c4ca2d9.tree_sitter_python.1f46ea8843acdfb0-cgu.0.rcgu.o): undefined symbol: tree_sitter_python [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_parser_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_parser_set_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_parser_set_language [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_language_version [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-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-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_parser_new [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_tree_root_node [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_node_start_byte [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_node_end_byte [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_node_child_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_node_type [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_node_child [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_node_parent [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_parser_delete [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-c6b8d35fa8755810.rlib(tree_sitter-c6b8d35fa8755810.tree_sitter.8e92755be9d758c7-cgu.2.rcgu.o): undefined symbol: ts_tree_delete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trep` (bin "trep") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d1942b4b44e20faaf2e9315185719fdd89fc5e9f604629afc42d904d51ef9522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1942b4b44e20faaf2e9315185719fdd89fc5e9f604629afc42d904d51ef9522", kill_on_drop: false }` [INFO] [stdout] d1942b4b44e20faaf2e9315185719fdd89fc5e9f604629afc42d904d51ef9522