[INFO] cloning repository https://github.com/dead10ck/tree-sitter-nu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dead10ck/tree-sitter-nu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdead10ck%2Ftree-sitter-nu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdead10ck%2Ftree-sitter-nu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 035a504605cfd2f527e1e1461783f82ad1bb54c8 [INFO] building dead10ck/tree-sitter-nu against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdead10ck%2Ftree-sitter-nu" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dead10ck/tree-sitter-nu [INFO] finished tweaking git repo https://github.com/dead10ck/tree-sitter-nu [INFO] tweaked toml for git repo https://github.com/dead10ck/tree-sitter-nu written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dead10ck/tree-sitter-nu 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/dead10ck/tree-sitter-nu 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7f1edbe19420ec3ff899fd49f5bd92b01669a968d6626288f3f68dea9d9df08a [INFO] running `Command { std: "docker" "start" "-a" "7f1edbe19420ec3ff899fd49f5bd92b01669a968d6626288f3f68dea9d9df08a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f1edbe19420ec3ff899fd49f5bd92b01669a968d6626288f3f68dea9d9df08a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f1edbe19420ec3ff899fd49f5bd92b01669a968d6626288f3f68dea9d9df08a", kill_on_drop: false }` [INFO] [stdout] 7f1edbe19420ec3ff899fd49f5bd92b01669a968d6626288f3f68dea9d9df08a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 51f952ee13ff58118e9dde3222e94037bd79292cb15d9c70aa81dc5db495921e [INFO] running `Command { std: "docker" "start" "-a" "51f952ee13ff58118e9dde3222e94037bd79292cb15d9c70aa81dc5db495921e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling tree-sitter v0.20.9 [INFO] [stderr] Compiling tree-sitter-nu v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: tree-sitter-nu@0.0.1: In file included from src/parser.c:1: [INFO] [stderr] warning: tree-sitter-nu@0.0.1: src/parser.c: In function 'ts_lex_keywords': [INFO] [stderr] warning: tree-sitter-nu@0.0.1: src/tree_sitter/parser.h:145:3: warning: label 'next_state' defined but not used [-Wunused-label] [INFO] [stderr] warning: tree-sitter-nu@0.0.1: 145 | next_state: \ [INFO] [stderr] warning: tree-sitter-nu@0.0.1: | ^~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-nu@0.0.1: src/parser.c:2647:3: note: in expansion of macro 'START_LEXER' [INFO] [stderr] warning: tree-sitter-nu@0.0.1: 2647 | START_LEXER(); [INFO] [stderr] warning: tree-sitter-nu@0.0.1: | ^~~~~~~~~~~ [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.32s [INFO] running `Command { std: "docker" "inspect" "51f952ee13ff58118e9dde3222e94037bd79292cb15d9c70aa81dc5db495921e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f952ee13ff58118e9dde3222e94037bd79292cb15d9c70aa81dc5db495921e", kill_on_drop: false }` [INFO] [stdout] 51f952ee13ff58118e9dde3222e94037bd79292cb15d9c70aa81dc5db495921e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 282c3277426061dc10342f1865a106a2ae226a247f94faae8b99c5615416a821 [INFO] running `Command { std: "docker" "start" "-a" "282c3277426061dc10342f1865a106a2ae226a247f94faae8b99c5615416a821", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] warning: tree-sitter-nu@0.0.1: In file included from src/parser.c:1: [INFO] [stderr] warning: tree-sitter-nu@0.0.1: src/parser.c: In function 'ts_lex_keywords': [INFO] [stderr] warning: tree-sitter-nu@0.0.1: src/tree_sitter/parser.h:145:3: warning: label 'next_state' defined but not used [-Wunused-label] [INFO] [stderr] warning: tree-sitter-nu@0.0.1: 145 | next_state: \ [INFO] [stderr] warning: tree-sitter-nu@0.0.1: | ^~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-nu@0.0.1: src/parser.c:2647:3: note: in expansion of macro 'START_LEXER' [INFO] [stderr] warning: tree-sitter-nu@0.0.1: 2647 | START_LEXER(); [INFO] [stderr] warning: tree-sitter-nu@0.0.1: | ^~~~~~~~~~~ [INFO] [stderr] Compiling tree-sitter-nu v0.0.1 (/opt/rustwide/workdir) [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>" "-l" "parser" "/lib/rustlib/wasm32-wasip1/lib/{libpanic_abort-*,libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libtree_sitter-d9313b848b22adcc,libregex-af8e9e27bb58aa63,libaho_corasick-3a7e38a200a7a11b,libmemchr-b559ff6c4bd2cfb8,libregex_syntax-11d3323a9e30eb65}.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-nu-cb90d337e8b3f0e0/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/tree-sitter-5aa24cbb0bb3e0ae/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/tree_sitter_nu-0c1484a852b4a59d.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/build/tree-sitter-nu-cb90d337e8b3f0e0/out/libparser.a: 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-d9313b848b22adcc.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/tree_sitter_nu-0c1484a852b4a59d.tree_sitter_nu.ef15d206bb0ea724-cgu.0.rcgu.o: undefined symbol: tree_sitter_nu [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-d9313b848b22adcc.rlib(tree_sitter-d9313b848b22adcc.tree_sitter.b8bd66ab1150844f-cgu.2.rcgu.o): undefined symbol: ts_parser_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-d9313b848b22adcc.rlib(tree_sitter-d9313b848b22adcc.tree_sitter.b8bd66ab1150844f-cgu.2.rcgu.o): undefined symbol: ts_parser_set_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-d9313b848b22adcc.rlib(tree_sitter-d9313b848b22adcc.tree_sitter.b8bd66ab1150844f-cgu.2.rcgu.o): undefined symbol: ts_parser_set_language [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-d9313b848b22adcc.rlib(tree_sitter-d9313b848b22adcc.tree_sitter.b8bd66ab1150844f-cgu.2.rcgu.o): undefined symbol: ts_language_version [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-d9313b848b22adcc.rlib(tree_sitter-d9313b848b22adcc.tree_sitter.b8bd66ab1150844f-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-d9313b848b22adcc.rlib(tree_sitter-d9313b848b22adcc.tree_sitter.b8bd66ab1150844f-cgu.2.rcgu.o): undefined symbol: ts_parser_new [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-d9313b848b22adcc.rlib(tree_sitter-d9313b848b22adcc.tree_sitter.b8bd66ab1150844f-cgu.2.rcgu.o): undefined symbol: ts_parser_delete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: tree-sitter-nu@0.0.1: In file included from src/parser.c:1: [INFO] [stderr] warning: tree-sitter-nu@0.0.1: src/parser.c: In function 'ts_lex_keywords': [INFO] [stderr] warning: tree-sitter-nu@0.0.1: src/tree_sitter/parser.h:145:3: warning: label 'next_state' defined but not used [-Wunused-label] [INFO] [stderr] warning: tree-sitter-nu@0.0.1: 145 | next_state: \ [INFO] [stderr] warning: tree-sitter-nu@0.0.1: | ^~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-nu@0.0.1: src/parser.c:2647:3: note: in expansion of macro 'START_LEXER' [INFO] [stderr] warning: tree-sitter-nu@0.0.1: 2647 | START_LEXER(); [INFO] [stderr] warning: tree-sitter-nu@0.0.1: | ^~~~~~~~~~~ [INFO] [stderr] error: could not compile `tree-sitter-nu` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "282c3277426061dc10342f1865a106a2ae226a247f94faae8b99c5615416a821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "282c3277426061dc10342f1865a106a2ae226a247f94faae8b99c5615416a821", kill_on_drop: false }` [INFO] [stdout] 282c3277426061dc10342f1865a106a2ae226a247f94faae8b99c5615416a821