[INFO] fetching crate jellybean-tree-sitter 0.20.14... [INFO] testing jellybean-tree-sitter-0.20.14 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate jellybean-tree-sitter 0.20.14 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate jellybean-tree-sitter 0.20.14 [INFO] finished tweaking crates.io crate jellybean-tree-sitter 0.20.14 [INFO] tweaked toml for crates.io crate jellybean-tree-sitter 0.20.14 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jellybean-tree-sitter 0.20.14 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.66.1 (available: v0.72.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d564c19bb7ea8a127166363a990a2815dde395574beced8b322fb0f0e4457591 [INFO] running `Command { std: "docker" "start" "-a" "d564c19bb7ea8a127166363a990a2815dde395574beced8b322fb0f0e4457591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d564c19bb7ea8a127166363a990a2815dde395574beced8b322fb0f0e4457591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d564c19bb7ea8a127166363a990a2815dde395574beced8b322fb0f0e4457591", kill_on_drop: false }` [INFO] [stdout] d564c19bb7ea8a127166363a990a2815dde395574beced8b322fb0f0e4457591 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c272409eee11fa2b0945742e5fea4bd620fac3c2bceadcb031fc85916c93c94a [INFO] running `Command { std: "docker" "start" "-a" "c272409eee11fa2b0945742e5fea4bd620fac3c2bceadcb031fc85916c93c94a", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling jellybean-tree-sitter v0.20.14 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn logger(&self) -> Option<&Logger> { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 450 | pub fn logger(&self) -> Option<&Logger<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:772:22 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn root_node(&self) -> Node { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 772 | pub fn root_node(&self) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:779:34 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 779 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:808:17 [INFO] [stdout] | [INFO] [stdout] 808 | pub fn walk(&self) -> TreeCursor { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 808 | pub fn walk(&self) -> TreeCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.73s [INFO] running `Command { std: "docker" "inspect" "c272409eee11fa2b0945742e5fea4bd620fac3c2bceadcb031fc85916c93c94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c272409eee11fa2b0945742e5fea4bd620fac3c2bceadcb031fc85916c93c94a", kill_on_drop: false }` [INFO] [stdout] c272409eee11fa2b0945742e5fea4bd620fac3c2bceadcb031fc85916c93c94a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 106f74317edc314fd89db2017566d228b75af9da979e76ed9cbe6ef91457e7dc [INFO] running `Command { std: "docker" "start" "-a" "106f74317edc314fd89db2017566d228b75af9da979e76ed9cbe6ef91457e7dc", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn logger(&self) -> Option<&Logger> { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 450 | pub fn logger(&self) -> Option<&Logger<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:772:22 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn root_node(&self) -> Node { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 772 | pub fn root_node(&self) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:779:34 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 779 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jellybean-tree-sitter v0.20.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:808:17 [INFO] [stdout] | [INFO] [stdout] 808 | pub fn walk(&self) -> TreeCursor { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 808 | pub fn walk(&self) -> TreeCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn logger(&self) -> Option<&Logger> { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 450 | pub fn logger(&self) -> Option<&Logger<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:772:22 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn root_node(&self) -> Node { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 772 | pub fn root_node(&self) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:779:34 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 779 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:808:17 [INFO] [stdout] | [INFO] [stdout] 808 | pub fn walk(&self) -> TreeCursor { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 808 | pub fn walk(&self) -> TreeCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "106f74317edc314fd89db2017566d228b75af9da979e76ed9cbe6ef91457e7dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "106f74317edc314fd89db2017566d228b75af9da979e76ed9cbe6ef91457e7dc", kill_on_drop: false }` [INFO] [stdout] 106f74317edc314fd89db2017566d228b75af9da979e76ed9cbe6ef91457e7dc [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 23a2e0a9c99bfe575f6371dbdcddb6d3f7c96b1db810f2d5159e4c6dfcbba0ae [INFO] running `Command { std: "docker" "start" "-a" "23a2e0a9c99bfe575f6371dbdcddb6d3f7c96b1db810f2d5159e4c6dfcbba0ae", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> binding_rust/lib.rs:450:19 [INFO] [stderr] | [INFO] [stderr] 450 | pub fn logger(&self) -> Option<&Logger> { [INFO] [stderr] | ^^^^^ ^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 450 | pub fn logger(&self) -> Option<&Logger<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> binding_rust/lib.rs:772:22 [INFO] [stderr] | [INFO] [stderr] 772 | pub fn root_node(&self) -> Node { [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 772 | pub fn root_node(&self) -> Node<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> binding_rust/lib.rs:779:34 [INFO] [stderr] | [INFO] [stderr] 779 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 779 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> binding_rust/lib.rs:808:17 [INFO] [stderr] | [INFO] [stderr] 808 | pub fn walk(&self) -> TreeCursor { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 808 | pub fn walk(&self) -> TreeCursor<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `jellybean-tree-sitter` (lib) generated 4 warnings (run `cargo fix --lib -p jellybean-tree-sitter` to apply 4 suggestions) [INFO] [stderr] warning: `jellybean-tree-sitter` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests binding_rust/lib.rs (/opt/rustwide/target/debug/deps/jellybean_tree_sitter-1813aa2fe081db35) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests jellybean_tree_sitter [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test binding_rust/lib.rs - (line 78) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 58) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 14) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - Language::next_state (line 383) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 43) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 37) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- binding_rust/lib.rs - (line 78) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `parser` in this scope [INFO] [stdout] --> binding_rust/lib.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 12 | let tree = parser.parse_with(&mut |_byte: u32, position: Point| -> &[u8] { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> binding_rust/lib.rs:88:58 [INFO] [stdout] | [INFO] [stdout] 12 | let tree = parser.parse_with(&mut |_byte: u32, position: Point| -> &[u8] { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use jellybean_tree_sitter::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- binding_rust/lib.rs - (line 58) stdout ---- [INFO] [stdout] error: expected `;`, found `tree` [INFO] [stdout] --> binding_rust/lib.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 3 | let new_source_code = "fn test(a: u32) {}" [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | [INFO] [stdout] 5 | tree.edit(InputEdit { [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> binding_rust/lib.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 5 | tree.edit(InputEdit { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InputEdit` in this scope [INFO] [stdout] --> binding_rust/lib.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 5 | tree.edit(InputEdit { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use jellybean_tree_sitter::InputEdit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> binding_rust/lib.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 9 | start_position: Point::new(0, 8), [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use jellybean_tree_sitter::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> binding_rust/lib.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 10 | old_end_position: Point::new(0, 8), [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use jellybean_tree_sitter::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> binding_rust/lib.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 11 | new_end_position: Point::new(0, 14), [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use jellybean_tree_sitter::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parser` in this scope [INFO] [stdout] --> binding_rust/lib.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 14 | let new_tree = parser.parse(new_source_code, Some(&tree)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> binding_rust/lib.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 14 | let new_tree = parser.parse(new_source_code, Some(&tree)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- binding_rust/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tree_sitter` [INFO] [stdout] --> binding_rust/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tree_sitter::{Parser, Language}; [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] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- binding_rust/lib.rs - Language::next_state (line 383) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `language` in this scope [INFO] [stdout] --> binding_rust/lib.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 3 | let state = language.next_state(node.parse_state(), node.grammar_id()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `node` in this scope [INFO] [stdout] --> binding_rust/lib.rs:384:33 [INFO] [stdout] | [INFO] [stdout] 3 | let state = language.next_state(node.parse_state(), node.grammar_id()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `node` in this scope [INFO] [stdout] --> binding_rust/lib.rs:384:53 [INFO] [stdout] | [INFO] [stdout] 3 | let state = language.next_state(node.parse_state(), node.grammar_id()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- binding_rust/lib.rs - (line 43) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `parser` in this scope [INFO] [stdout] --> binding_rust/lib.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 4 | let tree = parser.parse(source_code, None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- binding_rust/lib.rs - (line 37) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `parser` in this scope [INFO] [stdout] --> binding_rust/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 3 | parser.set_language(tree_sitter_rust::language()).expect("Error loading Rust grammar"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tree_sitter_rust` [INFO] [stdout] --> binding_rust/lib.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 3 | parser.set_language(tree_sitter_rust::language()).expect("Error loading Rust grammar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tree_sitter_rust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tree_sitter_rust`, use `cargo add tree_sitter_rust` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] binding_rust/lib.rs - (line 14) [INFO] [stdout] binding_rust/lib.rs - (line 37) [INFO] [stdout] binding_rust/lib.rs - (line 43) [INFO] [stdout] binding_rust/lib.rs - (line 58) [INFO] [stdout] binding_rust/lib.rs - (line 78) [INFO] [stdout] binding_rust/lib.rs - Language::next_state (line 383) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "23a2e0a9c99bfe575f6371dbdcddb6d3f7c96b1db810f2d5159e4c6dfcbba0ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a2e0a9c99bfe575f6371dbdcddb6d3f7c96b1db810f2d5159e4c6dfcbba0ae", kill_on_drop: false }` [INFO] [stdout] 23a2e0a9c99bfe575f6371dbdcddb6d3f7c96b1db810f2d5159e4c6dfcbba0ae