[INFO] fetching crate npezza93-tree-sitter-ruby 0.20.2... [INFO] testing npezza93-tree-sitter-ruby-0.20.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate npezza93-tree-sitter-ruby 0.20.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate npezza93-tree-sitter-ruby 0.20.2 [INFO] finished tweaking crates.io crate npezza93-tree-sitter-ruby 0.20.2 [INFO] tweaked toml for crates.io crate npezza93-tree-sitter-ruby 0.20.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate npezza93-tree-sitter-ruby 0.20.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee8183c76c2c39b4c75d70a6551c56f1b852e6b38c5606d803ab899d592a8742 [INFO] running `Command { std: "docker" "start" "-a" "ee8183c76c2c39b4c75d70a6551c56f1b852e6b38c5606d803ab899d592a8742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee8183c76c2c39b4c75d70a6551c56f1b852e6b38c5606d803ab899d592a8742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee8183c76c2c39b4c75d70a6551c56f1b852e6b38c5606d803ab899d592a8742", kill_on_drop: false }` [INFO] [stdout] ee8183c76c2c39b4c75d70a6551c56f1b852e6b38c5606d803ab899d592a8742 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da26535ee643bae07c48b40c9c855e84624461aead1d54d875605363ad667042 [INFO] running `Command { std: "docker" "start" "-a" "da26535ee643bae07c48b40c9c855e84624461aead1d54d875605363ad667042", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling tree-sitter-language v0.1.7 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling npezza93-tree-sitter-ruby v0.20.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling tree-sitter v0.26.8 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c: In function 'scan_literal_content': [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:853:30: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 853 | if (lexer->lookahead == literal->close_delimiter) { [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^~ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:874:37: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 874 | } else if (lexer->lookahead == literal->open_delimiter) { [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^~ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c: In function 'scan': [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:1091:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses] [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 1091 | if ((valid_symbols[HASH_KEY_SYMBOL] || valid_symbols[IDENTIFIER_SUFFIX]) && [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 1092 | (iswalpha(lexer->lookahead) || lexer->lookahead == '_') || [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c: In function 'scan_open_delimiter': [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:625:24: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 625 | if (valid_symbols[FORWARD_SLASH]) { [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:629:17: note: here [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 629 | case '|': [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^~~~ [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.25s [INFO] running `Command { std: "docker" "inspect" "da26535ee643bae07c48b40c9c855e84624461aead1d54d875605363ad667042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da26535ee643bae07c48b40c9c855e84624461aead1d54d875605363ad667042", kill_on_drop: false }` [INFO] [stdout] da26535ee643bae07c48b40c9c855e84624461aead1d54d875605363ad667042 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dccecc8fcedb4a343527fbf33b36cb0c259ab9defa456a8960292caf18c36825 [INFO] running `Command { std: "docker" "start" "-a" "dccecc8fcedb4a343527fbf33b36cb0c259ab9defa456a8960292caf18c36825", kill_on_drop: false }` [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c: In function 'scan_literal_content': [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:853:30: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 853 | if (lexer->lookahead == literal->close_delimiter) { [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^~ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:874:37: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 874 | } else if (lexer->lookahead == literal->open_delimiter) { [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^~ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c: In function 'scan': [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:1091:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses] [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 1091 | if ((valid_symbols[HASH_KEY_SYMBOL] || valid_symbols[IDENTIFIER_SUFFIX]) && [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 1092 | (iswalpha(lexer->lookahead) || lexer->lookahead == '_') || [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c: In function 'scan_open_delimiter': [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:625:24: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 625 | if (valid_symbols[FORWARD_SLASH]) { [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:629:17: note: here [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 629 | case '|': [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^~~~ [INFO] [stderr] Compiling npezza93-tree-sitter-ruby v0.20.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "dccecc8fcedb4a343527fbf33b36cb0c259ab9defa456a8960292caf18c36825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dccecc8fcedb4a343527fbf33b36cb0c259ab9defa456a8960292caf18c36825", kill_on_drop: false }` [INFO] [stdout] dccecc8fcedb4a343527fbf33b36cb0c259ab9defa456a8960292caf18c36825 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 565bde414bb60ca30f596fb49f3ce57642779dee6b756bb1b240d8780fb1fd34 [INFO] running `Command { std: "docker" "start" "-a" "565bde414bb60ca30f596fb49f3ce57642779dee6b756bb1b240d8780fb1fd34", kill_on_drop: false }` [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c: In function 'scan_literal_content': [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:853:30: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 853 | if (lexer->lookahead == literal->close_delimiter) { [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^~ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:874:37: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 874 | } else if (lexer->lookahead == literal->open_delimiter) { [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^~ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c: In function 'scan': [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:1091:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses] [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 1091 | if ((valid_symbols[HASH_KEY_SYMBOL] || valid_symbols[IDENTIFIER_SUFFIX]) && [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 1092 | (iswalpha(lexer->lookahead) || lexer->lookahead == '_') || [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c: In function 'scan_open_delimiter': [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:625:24: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 625 | if (valid_symbols[FORWARD_SLASH]) { [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^ [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c:629:17: note: here [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 629 | case '|': [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^~~~ [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests bindings/rust/lib.rs (/opt/rustwide/target/debug/deps/npezza93_tree_sitter_ruby-e5aff07ebd876b64) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::can_load_grammar ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests npezza93_tree_sitter_ruby [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test bindings/rust/lib.rs - (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- bindings/rust/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `tree_sitter_ruby` in this scope [INFO] [stdout] --> bindings/rust/lib.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | parser.set_language(&tree_sitter_ruby::language()).expect("Error loading Ruby grammar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tree_sitter_ruby` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 21 - parser.set_language(&tree_sitter_ruby::language()).expect("Error loading Ruby grammar"); [INFO] [stdout] 21 + parser.set_language(&tree_sitter::language()).expect("Error loading Ruby grammar"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] bindings/rust/lib.rs - (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "565bde414bb60ca30f596fb49f3ce57642779dee6b756bb1b240d8780fb1fd34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "565bde414bb60ca30f596fb49f3ce57642779dee6b756bb1b240d8780fb1fd34", kill_on_drop: false }` [INFO] [stdout] 565bde414bb60ca30f596fb49f3ce57642779dee6b756bb1b240d8780fb1fd34