[INFO] cloning repository https://github.com/yutaro-sakamoto/tree-sitter-cobol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yutaro-sakamoto/tree-sitter-cobol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutaro-sakamoto%2Ftree-sitter-cobol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutaro-sakamoto%2Ftree-sitter-cobol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e99dbdc3d800d5fa2796476efd60af91f6b43d93 [INFO] building yutaro-sakamoto/tree-sitter-cobol against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutaro-sakamoto%2Ftree-sitter-cobol" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yutaro-sakamoto/tree-sitter-cobol [INFO] finished tweaking git repo https://github.com/yutaro-sakamoto/tree-sitter-cobol [INFO] tweaked toml for git repo https://github.com/yutaro-sakamoto/tree-sitter-cobol written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yutaro-sakamoto/tree-sitter-cobol 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/yutaro-sakamoto/tree-sitter-cobol 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ed0d44ad69ba25cc01541b2297299cc7d0975b85d1ad60611f0f185450449881 [INFO] running `Command { std: "docker" "start" "-a" "ed0d44ad69ba25cc01541b2297299cc7d0975b85d1ad60611f0f185450449881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed0d44ad69ba25cc01541b2297299cc7d0975b85d1ad60611f0f185450449881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed0d44ad69ba25cc01541b2297299cc7d0975b85d1ad60611f0f185450449881", kill_on_drop: false }` [INFO] [stdout] ed0d44ad69ba25cc01541b2297299cc7d0975b85d1ad60611f0f185450449881 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 00e3f96e3b3abedd28d623a05ccad4491920f4d9515e7e4e32ddd9f062927557 [INFO] running `Command { std: "docker" "start" "-a" "00e3f96e3b3abedd28d623a05ccad4491920f4d9515e7e4e32ddd9f062927557", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.76 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling tree-sitter v0.20.9 [INFO] [stderr] Compiling tree-sitter-COBOL v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: src/scanner.c: In function 'start_with_word': [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: src/scanner.c:79:39: warning: comparison of integer expressions of different signedness: 'char' and 'wint_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: 79 | continue_check[i] = c == towupper(k) || c == towlower(k); [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: | ^~ [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: src/scanner.c:79:59: warning: comparison of integer expressions of different signedness: 'char' and 'wint_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: 79 | continue_check[i] = c == towupper(k) || c == towlower(k); [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: | ^~ [INFO] [stdout] warning: crate `tree_sitter_COBOL` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `tree_sitter_cobol` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.79s [INFO] running `Command { std: "docker" "inspect" "00e3f96e3b3abedd28d623a05ccad4491920f4d9515e7e4e32ddd9f062927557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00e3f96e3b3abedd28d623a05ccad4491920f4d9515e7e4e32ddd9f062927557", kill_on_drop: false }` [INFO] [stdout] 00e3f96e3b3abedd28d623a05ccad4491920f4d9515e7e4e32ddd9f062927557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 785f96f991b978b1d352f02da2d525a645ffa82e9c0661b3c40b48afda6bd882 [INFO] running `Command { std: "docker" "start" "-a" "785f96f991b978b1d352f02da2d525a645ffa82e9c0661b3c40b48afda6bd882", kill_on_drop: false }` [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: src/scanner.c: In function 'start_with_word': [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: src/scanner.c:79:39: warning: comparison of integer expressions of different signedness: 'char' and 'wint_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: 79 | continue_check[i] = c == towupper(k) || c == towlower(k); [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: | ^~ [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: src/scanner.c:79:59: warning: comparison of integer expressions of different signedness: 'char' and 'wint_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: 79 | continue_check[i] = c == towupper(k) || c == towlower(k); [INFO] [stdout] warning: crate `tree_sitter_COBOL` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `tree_sitter_cobol` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: | ^~ [INFO] [stderr] Compiling tree-sitter-COBOL 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-8ac08565d4e8c1fe,libregex-ec7b75fae19c1b0f,libaho_corasick-3a7e38a200a7a11b,libmemchr-b559ff6c4bd2cfb8,libregex_syntax-0da2ab57ff4de41e}.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-COBOL-553b760bf649ab64/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/tree-sitter-8c30999467fb2ad9/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/tree_sitter_COBOL-42215de2cc84a5e6.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-COBOL-553b760bf649ab64/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/build/tree-sitter-COBOL-553b760bf649ab64/out/libparser.a: 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-8ac08565d4e8c1fe.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_COBOL-42215de2cc84a5e6.tree_sitter_COBOL.10b64ca024dd06a0-cgu.0.rcgu.o: undefined symbol: tree_sitter_COBOL [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-8ac08565d4e8c1fe.rlib(tree_sitter-8ac08565d4e8c1fe.tree_sitter.39ad716f5c73426a-cgu.2.rcgu.o): undefined symbol: ts_parser_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-8ac08565d4e8c1fe.rlib(tree_sitter-8ac08565d4e8c1fe.tree_sitter.39ad716f5c73426a-cgu.2.rcgu.o): undefined symbol: ts_parser_set_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-8ac08565d4e8c1fe.rlib(tree_sitter-8ac08565d4e8c1fe.tree_sitter.39ad716f5c73426a-cgu.2.rcgu.o): undefined symbol: ts_parser_set_language [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-8ac08565d4e8c1fe.rlib(tree_sitter-8ac08565d4e8c1fe.tree_sitter.39ad716f5c73426a-cgu.2.rcgu.o): undefined symbol: ts_language_version [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-8ac08565d4e8c1fe.rlib(tree_sitter-8ac08565d4e8c1fe.tree_sitter.39ad716f5c73426a-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-8ac08565d4e8c1fe.rlib(tree_sitter-8ac08565d4e8c1fe.tree_sitter.39ad716f5c73426a-cgu.2.rcgu.o): undefined symbol: ts_parser_new [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-8ac08565d4e8c1fe.rlib(tree_sitter-8ac08565d4e8c1fe.tree_sitter.39ad716f5c73426a-cgu.2.rcgu.o): undefined symbol: ts_parser_delete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: src/scanner.c: In function 'start_with_word': [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: src/scanner.c:79:39: warning: comparison of integer expressions of different signedness: 'char' and 'wint_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: 79 | continue_check[i] = c == towupper(k) || c == towlower(k); [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: | ^~ [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: src/scanner.c:79:59: warning: comparison of integer expressions of different signedness: 'char' and 'wint_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: 79 | continue_check[i] = c == towupper(k) || c == towlower(k); [INFO] [stderr] warning: tree-sitter-COBOL@0.0.1: | ^~ [INFO] [stderr] error: could not compile `tree-sitter-COBOL` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "785f96f991b978b1d352f02da2d525a645ffa82e9c0661b3c40b48afda6bd882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785f96f991b978b1d352f02da2d525a645ffa82e9c0661b3c40b48afda6bd882", kill_on_drop: false }` [INFO] [stdout] 785f96f991b978b1d352f02da2d525a645ffa82e9c0661b3c40b48afda6bd882