[INFO] cloning repository https://github.com/traxys/tree-sitter-lalrpop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/traxys/tree-sitter-lalrpop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftraxys%2Ftree-sitter-lalrpop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftraxys%2Ftree-sitter-lalrpop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d38e9755c05d37df8a24dadb0fc64f6588ac188 [INFO] checking traxys/tree-sitter-lalrpop against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftraxys%2Ftree-sitter-lalrpop" "/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/traxys/tree-sitter-lalrpop [INFO] finished tweaking git repo https://github.com/traxys/tree-sitter-lalrpop [INFO] tweaked toml for git repo https://github.com/traxys/tree-sitter-lalrpop written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/traxys/tree-sitter-lalrpop on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/traxys/tree-sitter-lalrpop 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding tree-sitter-language v0.1.5 [INFO] [stderr] Blocking waiting for file lock on package cache [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76ca7a2f78fef94e05bb311abb1f2147af667c134af1a024db4e7f5539fd089e [INFO] running `Command { std: "docker" "start" "-a" "76ca7a2f78fef94e05bb311abb1f2147af667c134af1a024db4e7f5539fd089e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76ca7a2f78fef94e05bb311abb1f2147af667c134af1a024db4e7f5539fd089e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76ca7a2f78fef94e05bb311abb1f2147af667c134af1a024db4e7f5539fd089e", kill_on_drop: false }` [INFO] [stdout] 76ca7a2f78fef94e05bb311abb1f2147af667c134af1a024db4e7f5539fd089e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aab814443d5da2c779eaf800e9a289d9c3aca19da706cb3ca870fb72c8cb0987 [INFO] running `Command { std: "docker" "start" "-a" "aab814443d5da2c779eaf800e9a289d9c3aca19da706cb3ca870fb72c8cb0987", kill_on_drop: false }` [INFO] [stderr] Compiling tree-sitter-LALRPOP v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c: In function 'other_variants': [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:17:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 17 | i < sizeof(variants) / sizeof(enum TokenType); \ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:24:9: note: in expansion of macro 'for_each_symbol' [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 24 | for_each_symbol(iter_var) { [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:25:30: warning: comparison of integer expressions of different signedness: 'int' and 'enum TokenType' [-Wsign-compare] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 25 | if (iter_var == variant) { [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:23:24: warning: unused variable 'iter_var' [-Wunused-variable] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 23 | enum TokenType iter_var = variants[0]; [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~~~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c: In function 'print_valid_syms': [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:17:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 17 | i < sizeof(variants) / sizeof(enum TokenType); \ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:39:9: note: in expansion of macro 'for_each_symbol' [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 39 | for_each_symbol(var) { [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:36:24: warning: unused variable 'var' [-Wunused-variable] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 36 | enum TokenType var = variants[0]; [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c: In function 'string_literal': [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:71:14: warning: unused variable 'terminate' [-Wunused-variable] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 71 | bool terminate = false; [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~~~~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c: In function 'regex_literal': [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:283:16: warning: unused variable 'state' [-Wunused-variable] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 283 | size_t state = 0; [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c: At top level: [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:35:13: warning: 'print_valid_syms' defined but not used [-Wunused-function] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 35 | static void print_valid_syms(const bool *valid_symbols) { [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:20:13: warning: 'other_variants' defined but not used [-Wunused-function] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 20 | static bool other_variants(const bool *valid_symbols, enum TokenType variant) { [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~~~~~~~~~~ [INFO] [stdout] warning: crate `tree_sitter_LALRPOP` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `tree_sitter_lalrpop` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tree_sitter` [INFO] [stdout] --> bindings/rust/lib.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | let mut parser = tree_sitter::Parser::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tree_sitter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tree_sitter`, use `cargo add tree_sitter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c: In function 'other_variants': [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:17:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 17 | i < sizeof(variants) / sizeof(enum TokenType); \ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:24:9: note: in expansion of macro 'for_each_symbol' [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 24 | for_each_symbol(iter_var) { [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:25:30: warning: comparison of integer expressions of different signedness: 'int' and 'enum TokenType' [-Wsign-compare] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 25 | if (iter_var == variant) { [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:23:24: warning: unused variable 'iter_var' [-Wunused-variable] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 23 | enum TokenType iter_var = variants[0]; [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~~~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c: In function 'print_valid_syms': [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:17:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 17 | i < sizeof(variants) / sizeof(enum TokenType); \ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:39:9: note: in expansion of macro 'for_each_symbol' [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 39 | for_each_symbol(var) { [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:36:24: warning: unused variable 'var' [-Wunused-variable] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 36 | enum TokenType var = variants[0]; [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c: In function 'string_literal': [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:71:14: warning: unused variable 'terminate' [-Wunused-variable] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 71 | bool terminate = false; [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~~~~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c: In function 'regex_literal': [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:283:16: warning: unused variable 'state' [-Wunused-variable] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 283 | size_t state = 0; [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c: At top level: [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:35:13: warning: 'print_valid_syms' defined but not used [-Wunused-function] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 35 | static void print_valid_syms(const bool *valid_symbols) { [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: src/scanner.c:20:13: warning: 'other_variants' defined but not used [-Wunused-function] [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: 20 | static bool other_variants(const bool *valid_symbols, enum TokenType variant) { [INFO] [stderr] warning: tree-sitter-LALRPOP@0.0.1: | ^~~~~~~~~~~~~~ [INFO] [stderr] error: could not compile `tree-sitter-LALRPOP` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "aab814443d5da2c779eaf800e9a289d9c3aca19da706cb3ca870fb72c8cb0987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aab814443d5da2c779eaf800e9a289d9c3aca19da706cb3ca870fb72c8cb0987", kill_on_drop: false }` [INFO] [stdout] aab814443d5da2c779eaf800e9a289d9c3aca19da706cb3ca870fb72c8cb0987