[INFO] fetching crate npezza93-tree-sitter-ruby 0.20.2... [INFO] testing npezza93-tree-sitter-ruby-0.20.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate npezza93-tree-sitter-ruby 0.20.2 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate npezza93-tree-sitter-ruby 0.20.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39da785d83b2709e60538aa5cc7b233f26f3aad47e01a8a958b191b76939aaed [INFO] running `Command { std: "docker" "start" "-a" "39da785d83b2709e60538aa5cc7b233f26f3aad47e01a8a958b191b76939aaed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39da785d83b2709e60538aa5cc7b233f26f3aad47e01a8a958b191b76939aaed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39da785d83b2709e60538aa5cc7b233f26f3aad47e01a8a958b191b76939aaed", kill_on_drop: false }` [INFO] [stdout] 39da785d83b2709e60538aa5cc7b233f26f3aad47e01a8a958b191b76939aaed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48914b63ec0aca452f8d0359edc573eeb7908bd7a3e5ed973e7bd17545666f4f [INFO] running `Command { std: "docker" "start" "-a" "48914b63ec0aca452f8d0359edc573eeb7908bd7a3e5ed973e7bd17545666f4f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling npezza93-tree-sitter-ruby v0.20.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tree-sitter v0.25.8 [INFO] [stderr] Compiling regex v1.11.2 [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 22.14s [INFO] running `Command { std: "docker" "inspect" "48914b63ec0aca452f8d0359edc573eeb7908bd7a3e5ed973e7bd17545666f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48914b63ec0aca452f8d0359edc573eeb7908bd7a3e5ed973e7bd17545666f4f", kill_on_drop: false }` [INFO] [stdout] 48914b63ec0aca452f8d0359edc573eeb7908bd7a3e5ed973e7bd17545666f4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e27c923ea0700b45ad27fda7acf2c756ce68f738beb23f09be7763bad8d87e5 [INFO] running `Command { std: "docker" "start" "-a" "8e27c923ea0700b45ad27fda7acf2c756ce68f738beb23f09be7763bad8d87e5", 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.60s [INFO] running `Command { std: "docker" "inspect" "8e27c923ea0700b45ad27fda7acf2c756ce68f738beb23f09be7763bad8d87e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e27c923ea0700b45ad27fda7acf2c756ce68f738beb23f09be7763bad8d87e5", kill_on_drop: false }` [INFO] [stdout] 8e27c923ea0700b45ad27fda7acf2c756ce68f738beb23f09be7763bad8d87e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ccf977abe84bad851da907d07494ab74a9adb6d05dadac73474e655ce5090477 [INFO] running `Command { std: "docker" "start" "-a" "ccf977abe84bad851da907d07494ab74a9adb6d05dadac73474e655ce5090477", kill_on_drop: false }` [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: src/scanner.c: In function 'scan_literal_content': [INFO] [stdout] [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] [stdout] running 1 test [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 853 | if (lexer->lookahead == literal->close_delimiter) { [INFO] [stdout] test tests::can_load_grammar ... ok [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: | ^~ [INFO] [stdout] [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] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: npezza93-tree-sitter-ruby@0.20.2: 874 | } else if (lexer->lookahead == literal->open_delimiter) { [INFO] [stdout] [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.06s [INFO] [stderr] Running unittests bindings/rust/lib.rs (/opt/rustwide/target/debug/deps/npezza93_tree_sitter_ruby-cfceaf095af5a8f0) [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]: failed to resolve: use of unresolved module or unlinked crate `tree_sitter_ruby` [INFO] [stdout] --> bindings/rust/lib.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 11 | 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] 11 - parser.set_language(&tree_sitter_ruby::language()).expect("Error loading Ruby grammar"); [INFO] [stdout] 11 + 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.07s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ccf977abe84bad851da907d07494ab74a9adb6d05dadac73474e655ce5090477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf977abe84bad851da907d07494ab74a9adb6d05dadac73474e655ce5090477", kill_on_drop: false }` [INFO] [stdout] ccf977abe84bad851da907d07494ab74a9adb6d05dadac73474e655ce5090477