[INFO] cloning repository https://github.com/wangold/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/wangold/tree-sitter-cobol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangold%2Ftree-sitter-cobol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangold%2Ftree-sitter-cobol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27402d58fc3acd091c2a4c8956bcec9561290d8f [INFO] building wangold/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%2Fwangold%2Ftree-sitter-cobol" "/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/wangold/tree-sitter-cobol [INFO] finished tweaking git repo https://github.com/wangold/tree-sitter-cobol [INFO] tweaked toml for git repo https://github.com/wangold/tree-sitter-cobol written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wangold/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/wangold/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] [stderr] Blocking waiting for file lock on package cache [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff38d5843bdade9d99c4e04348eab3d249b2e50a9b13e3282132c0f3c6cc5042 [INFO] running `Command { std: "docker" "start" "-a" "ff38d5843bdade9d99c4e04348eab3d249b2e50a9b13e3282132c0f3c6cc5042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff38d5843bdade9d99c4e04348eab3d249b2e50a9b13e3282132c0f3c6cc5042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff38d5843bdade9d99c4e04348eab3d249b2e50a9b13e3282132c0f3c6cc5042", kill_on_drop: false }` [INFO] [stdout] ff38d5843bdade9d99c4e04348eab3d249b2e50a9b13e3282132c0f3c6cc5042 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] b68a13529ef0ce67dab01dd5a99f41ae3eb1cf3b5d8a8a3024c8dd751c78af4f [INFO] running `Command { std: "docker" "start" "-a" "b68a13529ef0ce67dab01dd5a99f41ae3eb1cf3b5d8a8a3024c8dd751c78af4f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [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] [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 20.03s [INFO] running `Command { std: "docker" "inspect" "b68a13529ef0ce67dab01dd5a99f41ae3eb1cf3b5d8a8a3024c8dd751c78af4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68a13529ef0ce67dab01dd5a99f41ae3eb1cf3b5d8a8a3024c8dd751c78af4f", kill_on_drop: false }` [INFO] [stdout] b68a13529ef0ce67dab01dd5a99f41ae3eb1cf3b5d8a8a3024c8dd751c78af4f [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 6527f979af5b96ca14d9820f0ca65f68c1c068bc0dbf9bbd87018e8a5a9b6695 [INFO] running `Command { std: "docker" "start" "-a" "6527f979af5b96ca14d9820f0ca65f68c1c068bc0dbf9bbd87018e8a5a9b6695", kill_on_drop: false }` [INFO] [stderr] Compiling tree-sitter-COBOL v0.0.1 (/opt/rustwide/workdir) [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] [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] error: could not compile `tree-sitter-COBOL` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "6527f979af5b96ca14d9820f0ca65f68c1c068bc0dbf9bbd87018e8a5a9b6695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6527f979af5b96ca14d9820f0ca65f68c1c068bc0dbf9bbd87018e8a5a9b6695", kill_on_drop: false }` [INFO] [stdout] 6527f979af5b96ca14d9820f0ca65f68c1c068bc0dbf9bbd87018e8a5a9b6695