[INFO] fetching crate tree-sitter-dart 0.0.4... [INFO] building tree-sitter-dart-0.0.4 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate tree-sitter-dart 0.0.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate tree-sitter-dart 0.0.4 [INFO] finished tweaking crates.io crate tree-sitter-dart 0.0.4 [INFO] tweaked toml for crates.io crate tree-sitter-dart 0.0.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tree-sitter-dart 0.0.4 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e80baaf84d668ca8ae4a0e74e5b2df27dd8d15dc7c7c52eb97d0aeaa7ffe049 [INFO] running `Command { std: "docker" "start" "-a" "5e80baaf84d668ca8ae4a0e74e5b2df27dd8d15dc7c7c52eb97d0aeaa7ffe049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e80baaf84d668ca8ae4a0e74e5b2df27dd8d15dc7c7c52eb97d0aeaa7ffe049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e80baaf84d668ca8ae4a0e74e5b2df27dd8d15dc7c7c52eb97d0aeaa7ffe049", kill_on_drop: false }` [INFO] [stdout] 5e80baaf84d668ca8ae4a0e74e5b2df27dd8d15dc7c7c52eb97d0aeaa7ffe049 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f282aac55d209523b291f41d30d41ecfd3282635c3e18c12a16b7d78c1c51ca [INFO] running `Command { std: "docker" "start" "-a" "5f282aac55d209523b291f41d30d41ecfd3282635c3e18c12a16b7d78c1c51ca", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling tree-sitter-dart v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling tree-sitter v0.25.10 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] warning: tree-sitter-dart@0.0.4: src/scanner.c:21:13: warning: 'skip' defined but not used [-Wunused-function] [INFO] [stderr] warning: tree-sitter-dart@0.0.4: 21 | static void skip(TSLexer *lexer) { lexer->advance(lexer, true); } [INFO] [stderr] warning: tree-sitter-dart@0.0.4: | ^~~~ [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.88s [INFO] running `Command { std: "docker" "inspect" "5f282aac55d209523b291f41d30d41ecfd3282635c3e18c12a16b7d78c1c51ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f282aac55d209523b291f41d30d41ecfd3282635c3e18c12a16b7d78c1c51ca", kill_on_drop: false }` [INFO] [stdout] 5f282aac55d209523b291f41d30d41ecfd3282635c3e18c12a16b7d78c1c51ca [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec531f6422533d8976ee9ea349728e5ef7c511488790435a4bf730cec53279ad [INFO] running `Command { std: "docker" "start" "-a" "ec531f6422533d8976ee9ea349728e5ef7c511488790435a4bf730cec53279ad", kill_on_drop: false }` [INFO] [stderr] warning: tree-sitter-dart@0.0.4: src/scanner.c:21:13: warning: 'skip' defined but not used [-Wunused-function] [INFO] [stderr] warning: tree-sitter-dart@0.0.4: 21 | static void skip(TSLexer *lexer) { lexer->advance(lexer, true); } [INFO] [stderr] warning: tree-sitter-dart@0.0.4: | ^~~~ [INFO] [stderr] Compiling tree-sitter-dart v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bindings/rust/lib.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | .set_language(super::language()) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^ expected `&Language`, found `Language` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:666:12 [INFO] [stdout] | [INFO] [stdout] 666 | pub fn set_language(&mut self, language: &Language) -> Result<(), LanguageError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 49 | .set_language(&super::language()) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: tree-sitter-dart@0.0.4: src/scanner.c:21:13: warning: 'skip' defined but not used [-Wunused-function] [INFO] [stderr] warning: tree-sitter-dart@0.0.4: 21 | static void skip(TSLexer *lexer) { lexer->advance(lexer, true); } [INFO] [stderr] warning: tree-sitter-dart@0.0.4: | ^~~~ [INFO] [stderr] error: could not compile `tree-sitter-dart` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "ec531f6422533d8976ee9ea349728e5ef7c511488790435a4bf730cec53279ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec531f6422533d8976ee9ea349728e5ef7c511488790435a4bf730cec53279ad", kill_on_drop: false }` [INFO] [stdout] ec531f6422533d8976ee9ea349728e5ef7c511488790435a4bf730cec53279ad