[INFO] fetching crate tree-sitter-latex 0.1.0... [INFO] testing tree-sitter-latex-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tree-sitter-latex 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate tree-sitter-latex 0.1.0 [INFO] finished tweaking crates.io crate tree-sitter-latex 0.1.0 [INFO] tweaked toml for crates.io crate tree-sitter-latex 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tree-sitter-latex 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tree-sitter-latex 0.1.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c731c85a36e8c6230f1d8c4c380c6ef497a2188bba60fa02710af0caf56260f2 [INFO] running `Command { std: "docker" "start" "-a" "c731c85a36e8c6230f1d8c4c380c6ef497a2188bba60fa02710af0caf56260f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c731c85a36e8c6230f1d8c4c380c6ef497a2188bba60fa02710af0caf56260f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c731c85a36e8c6230f1d8c4c380c6ef497a2188bba60fa02710af0caf56260f2", kill_on_drop: false }` [INFO] [stdout] c731c85a36e8c6230f1d8c4c380c6ef497a2188bba60fa02710af0caf56260f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2f93e0ea95d05ef130d6af0ecf7e278a9c43bbc2957b3fc16ef588482761c96 [INFO] running `Command { std: "docker" "start" "-a" "d2f93e0ea95d05ef130d6af0ecf7e278a9c43bbc2957b3fc16ef588482761c96", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling tree-sitter-language v0.1.4 [INFO] [stderr] Compiling tree-sitter-latex v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: tree-sitter-latex@0.1.0: In file included from src/parser.c:3: [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/parser.c: In function 'ts_lex_keywords': [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/tree_sitter/parser.h:190:3: warning: label 'next_state' defined but not used [-Wunused-label] [INFO] [stderr] warning: tree-sitter-latex@0.1.0: 190 | next_state: \ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: | ^~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/parser.c:22541:3: note: in expansion of macro 'START_LEXER' [INFO] [stderr] warning: tree-sitter-latex@0.1.0: 22541 | START_LEXER(); [INFO] [stderr] warning: tree-sitter-latex@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/tree_sitter/parser.h:188:11: warning: variable 'lookahead' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: tree-sitter-latex@0.1.0: 188 | int32_t lookahead; \ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: | ^~~~~~~~~ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/parser.c:22541:3: note: in expansion of macro 'START_LEXER' [INFO] [stderr] warning: tree-sitter-latex@0.1.0: 22541 | START_LEXER(); [INFO] [stderr] warning: tree-sitter-latex@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.87s [INFO] running `Command { std: "docker" "inspect" "d2f93e0ea95d05ef130d6af0ecf7e278a9c43bbc2957b3fc16ef588482761c96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f93e0ea95d05ef130d6af0ecf7e278a9c43bbc2957b3fc16ef588482761c96", kill_on_drop: false }` [INFO] [stdout] d2f93e0ea95d05ef130d6af0ecf7e278a9c43bbc2957b3fc16ef588482761c96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1711d9d399ef8ab72f5f7d674ec88ba81f1017c0e0f4f82684e044d3e5daa5c8 [INFO] running `Command { std: "docker" "start" "-a" "1711d9d399ef8ab72f5f7d674ec88ba81f1017c0e0f4f82684e044d3e5daa5c8", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] warning: tree-sitter-latex@0.1.0: In file included from src/parser.c:3: [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/parser.c: In function 'ts_lex_keywords': [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/tree_sitter/parser.h:190:3: warning: label 'next_state' defined but not used [-Wunused-label] [INFO] [stderr] warning: tree-sitter-latex@0.1.0: 190 | next_state: \ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: | ^~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/parser.c:22541:3: note: in expansion of macro 'START_LEXER' [INFO] [stderr] warning: tree-sitter-latex@0.1.0: 22541 | START_LEXER(); [INFO] [stderr] warning: tree-sitter-latex@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/tree_sitter/parser.h:188:11: warning: variable 'lookahead' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: tree-sitter-latex@0.1.0: 188 | int32_t lookahead; \ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: | ^~~~~~~~~ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/parser.c:22541:3: note: in expansion of macro 'START_LEXER' [INFO] [stderr] warning: tree-sitter-latex@0.1.0: 22541 | START_LEXER(); [INFO] [stderr] warning: tree-sitter-latex@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] Compiling tree-sitter v0.25.1 [INFO] [stderr] Compiling tree-sitter-latex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcPDv0cC/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-ltree-sitter-latex" "/opt/rustwide/target/debug/deps/{libtree_sitter-fc320592f874b2e1,libregex-74bf5cc0ac07d627,libregex_automata-98e112aa09be40b4,libaho_corasick-50150a17a2667fa6,libmemchr-4f0714dc45d95749,libregex_syntax-ee625191289218b8,libstreaming_iterator-a6bfc9f1d17a860d}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/libtree_sitter_language-f1ea4a762ac344b4.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcPDv0cC/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/tree-sitter-latex-06fae4bcee885d9c/out" "-L" "/opt/rustwide/target/debug/build/tree-sitter-dc985bac9ea07fcc/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/tree_sitter_latex-b7ce59bdc96f7d0c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: tree_sitter_latex_external_scanner_create [INFO] [stdout] >>> referenced by parser.c [INFO] [stdout] >>> ea708c7824d36062-parser.o:(language.0) in archive /opt/rustwide/target/debug/build/tree-sitter-latex-06fae4bcee885d9c/out/libtree-sitter-latex.a [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: tree_sitter_latex_external_scanner_destroy [INFO] [stdout] >>> referenced by parser.c [INFO] [stdout] >>> ea708c7824d36062-parser.o:(language.0) in archive /opt/rustwide/target/debug/build/tree-sitter-latex-06fae4bcee885d9c/out/libtree-sitter-latex.a [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: tree_sitter_latex_external_scanner_scan [INFO] [stdout] >>> referenced by parser.c [INFO] [stdout] >>> ea708c7824d36062-parser.o:(language.0) in archive /opt/rustwide/target/debug/build/tree-sitter-latex-06fae4bcee885d9c/out/libtree-sitter-latex.a [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: tree_sitter_latex_external_scanner_serialize [INFO] [stdout] >>> referenced by parser.c [INFO] [stdout] >>> ea708c7824d36062-parser.o:(language.0) in archive /opt/rustwide/target/debug/build/tree-sitter-latex-06fae4bcee885d9c/out/libtree-sitter-latex.a [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: tree_sitter_latex_external_scanner_deserialize [INFO] [stdout] >>> referenced by parser.c [INFO] [stdout] >>> ea708c7824d36062-parser.o:(language.0) in archive /opt/rustwide/target/debug/build/tree-sitter-latex-06fae4bcee885d9c/out/libtree-sitter-latex.a [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: tree-sitter-latex@0.1.0: In file included from src/parser.c:3: [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/parser.c: In function 'ts_lex_keywords': [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/tree_sitter/parser.h:190:3: warning: label 'next_state' defined but not used [-Wunused-label] [INFO] [stderr] warning: tree-sitter-latex@0.1.0: 190 | next_state: \ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: | ^~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/parser.c:22541:3: note: in expansion of macro 'START_LEXER' [INFO] [stderr] warning: tree-sitter-latex@0.1.0: 22541 | START_LEXER(); [INFO] [stderr] warning: tree-sitter-latex@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/tree_sitter/parser.h:188:11: warning: variable 'lookahead' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: tree-sitter-latex@0.1.0: 188 | int32_t lookahead; \ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: | ^~~~~~~~~ [INFO] [stderr] warning: tree-sitter-latex@0.1.0: src/parser.c:22541:3: note: in expansion of macro 'START_LEXER' [INFO] [stderr] warning: tree-sitter-latex@0.1.0: 22541 | START_LEXER(); [INFO] [stderr] warning: tree-sitter-latex@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] error: could not compile `tree-sitter-latex` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1711d9d399ef8ab72f5f7d674ec88ba81f1017c0e0f4f82684e044d3e5daa5c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1711d9d399ef8ab72f5f7d674ec88ba81f1017c0e0f4f82684e044d3e5daa5c8", kill_on_drop: false }` [INFO] [stdout] 1711d9d399ef8ab72f5f7d674ec88ba81f1017c0e0f4f82684e044d3e5daa5c8