[INFO] cloning repository https://github.com/MarcBrejner/tree-sitter-twenty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarcBrejner/tree-sitter-twenty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcBrejner%2Ftree-sitter-twenty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcBrejner%2Ftree-sitter-twenty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] baeced6c5a96093df330b75d50cd30ad3397ab4c [INFO] checking MarcBrejner/tree-sitter-twenty against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcBrejner%2Ftree-sitter-twenty" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MarcBrejner/tree-sitter-twenty [INFO] finished tweaking git repo https://github.com/MarcBrejner/tree-sitter-twenty [INFO] tweaked toml for git repo https://github.com/MarcBrejner/tree-sitter-twenty written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MarcBrejner/tree-sitter-twenty on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MarcBrejner/tree-sitter-twenty 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e7de384063af7da586a36aa5e52fccca1acafd47f5a3c34c93f095c5ff9172f9 [INFO] running `Command { std: "docker" "start" "e7de384063af7da586a36aa5e52fccca1acafd47f5a3c34c93f095c5ff9172f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7de384063af7da586a36aa5e52fccca1acafd47f5a3c34c93f095c5ff9172f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7de384063af7da586a36aa5e52fccca1acafd47f5a3c34c93f095c5ff9172f9" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7de384063af7da586a36aa5e52fccca1acafd47f5a3c34c93f095c5ff9172f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7de384063af7da586a36aa5e52fccca1acafd47f5a3c34c93f095c5ff9172f9" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking spin v0.7.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.63 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tree-sitter-loader v0.19.0 (/opt/rustwide/workdir/cli/loader) [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking utf8-width v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking html-escape v0.2.6 [INFO] [stderr] Checking which v4.1.0 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking smallbitvec v2.5.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling tree-sitter v0.20.0 (/opt/rustwide/workdir/lib) [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking tiny_http v0.8.0 [INFO] [stdout] warning: use of deprecated module `std::u16`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> lib/binding_rust/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | u16, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> lib/binding_rust/lib.rs:784:32 [INFO] [stdout] | [INFO] [stdout] 784 | self.kind_id() == u16::MAX [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::u16`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> lib/binding_rust/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | u16, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> lib/binding_rust/lib.rs:784:32 [INFO] [stdout] | [INFO] [stdout] 784 | self.kind_id() == u16::MAX [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/binding_rust/lib.rs:340:19 [INFO] [stdout] | [INFO] [stdout] 340 | 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] 340 | 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] --> lib/binding_rust/lib.rs:654:22 [INFO] [stdout] | [INFO] [stdout] 654 | 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] 654 | 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] --> lib/binding_rust/lib.rs:674:17 [INFO] [stdout] | [INFO] [stdout] 674 | 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] 674 | pub fn walk(&self) -> TreeCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: suspicious definition of the runtime `malloc` symbol used by the standard library [INFO] [stdout] --> lib/binding_rust/allocations.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fn malloc(size: c_ulong) -> *mut c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(usize) -> *mut c_void` (for the current target) [INFO] [stdout] found `unsafe extern "C" fn(u64) -> *mut c_void` [INFO] [stdout] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "malloc")]`, or `#[link_name = "malloc"]` [INFO] [stdout] = help: allow this lint if the signature is compatible [INFO] [stdout] = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: suspicious definition of the runtime `realloc` symbol used by the standard library [INFO] [stdout] --> lib/binding_rust/allocations.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | fn realloc(ptr: *mut c_void, size: c_ulong) -> *mut c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut c_void, usize) -> *mut c_void` (for the current target) [INFO] [stdout] found `unsafe extern "C" fn(*mut c_void, u64) -> *mut c_void` [INFO] [stdout] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "realloc")]`, or `#[link_name = "realloc"]` [INFO] [stdout] = help: allow this lint if the signature is compatible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/binding_rust/lib.rs:340:19 [INFO] [stdout] | [INFO] [stdout] 340 | 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] 340 | 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] --> lib/binding_rust/lib.rs:654:22 [INFO] [stdout] | [INFO] [stdout] 654 | 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] 654 | 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] --> lib/binding_rust/lib.rs:674:17 [INFO] [stdout] | [INFO] [stdout] 674 | 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] 674 | pub fn walk(&self) -> TreeCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: suspicious definition of the runtime `malloc` symbol used by the standard library [INFO] [stdout] --> lib/binding_rust/allocations.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fn malloc(size: c_ulong) -> *mut c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(usize) -> *mut c_void` (for the current target) [INFO] [stdout] found `unsafe extern "C" fn(u64) -> *mut c_void` [INFO] [stdout] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "malloc")]`, or `#[link_name = "malloc"]` [INFO] [stdout] = help: allow this lint if the signature is compatible [INFO] [stdout] = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: suspicious definition of the runtime `realloc` symbol used by the standard library [INFO] [stdout] --> lib/binding_rust/allocations.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | fn realloc(ptr: *mut c_void, size: c_ulong) -> *mut c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut c_void, usize) -> *mut c_void` (for the current target) [INFO] [stdout] found `unsafe extern "C" fn(*mut c_void, u64) -> *mut c_void` [INFO] [stdout] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "realloc")]`, or `#[link_name = "realloc"]` [INFO] [stdout] = help: allow this lint if the signature is compatible [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking tree-sitter-config v0.19.0 (/opt/rustwide/workdir/cli/config) [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking tree-sitter-highlight v0.20.0 (/opt/rustwide/workdir/highlight) [INFO] [stderr] Checking tree-sitter-tags v0.20.0 (/opt/rustwide/workdir/tags) [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> highlight/src/lib.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{iter, mem, ops, str, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:145:34 [INFO] [stdout] | [INFO] [stdout] 145 | end_byte: usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:147:46 [INFO] [stdout] | [INFO] [stdout] 147 | end_point: Point::new(usize::MAX, usize::MAX), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:147:58 [INFO] [stdout] | [INFO] [stdout] 147 | end_point: Point::new(usize::MAX, usize::MAX), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:407:42 [INFO] [stdout] | [INFO] [stdout] 407 | range: 0..usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | end_byte: usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:463:46 [INFO] [stdout] | [INFO] [stdout] 463 | end_point: Point::new(usize::MAX, usize::MAX), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:463:58 [INFO] [stdout] | [INFO] [stdout] 463 | end_point: Point::new(usize::MAX, usize::MAX), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_range` is never read [INFO] [stdout] --> tags/src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 83 | struct LocalDef<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 84 | name: &'a [u8], [INFO] [stdout] 85 | value_range: Range, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> highlight/src/lib.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{iter, mem, ops, str, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:145:34 [INFO] [stdout] | [INFO] [stdout] 145 | end_byte: usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:147:46 [INFO] [stdout] | [INFO] [stdout] 147 | end_point: Point::new(usize::MAX, usize::MAX), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:147:58 [INFO] [stdout] | [INFO] [stdout] 147 | end_point: Point::new(usize::MAX, usize::MAX), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:407:42 [INFO] [stdout] | [INFO] [stdout] 407 | range: 0..usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | end_byte: usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:463:46 [INFO] [stdout] | [INFO] [stdout] 463 | end_point: Point::new(usize::MAX, usize::MAX), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> highlight/src/lib.rs:463:58 [INFO] [stdout] | [INFO] [stdout] 463 | end_point: Point::new(usize::MAX, usize::MAX), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_range` is never read [INFO] [stdout] --> tags/src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 83 | struct LocalDef<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 84 | name: &'a [u8], [INFO] [stdout] 85 | value_range: Range, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> highlight/src/lib.rs:589:21 [INFO] [stdout] | [INFO] [stdout] 589 | &self.layers[0..(i + 1)].rotate_left(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 589 | let _ = &self.layers[0..(i + 1)].rotate_left(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> highlight/src/lib.rs:589:21 [INFO] [stdout] | [INFO] [stdout] 589 | &self.layers[0..(i + 1)].rotate_left(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 589 | let _ = &self.layers[0..(i + 1)].rotate_left(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tree-sitter-cli v0.20.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] error: useless conversion to the same type: `anyhow::Error` [INFO] [stdout] --> cli/loader/src/lib.rs:685:33 [INFO] [stdout] | [INFO] [stdout] 685 | / ... if error.offset < locals_query.len() { [INFO] [stdout] 686 | | ... Self::include_path_in_query_error( [INFO] [stdout] 687 | | ... error, [INFO] [stdout] 688 | | ... &locals_ranges, [INFO] [stdout] ... | [INFO] [stdout] 700 | | ... .into() [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 699 - } [INFO] [stdout] 700 - .into() [INFO] [stdout] 699 + } [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 685 ~ >::into(if error.offset < locals_query.len() { [INFO] [stdout] 686 | Self::include_path_in_query_error( [INFO] [stdout] ... [INFO] [stdout] 698 | ) [INFO] [stdout] 699 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:149:44 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn get_all_language_configurations(&self) -> Vec<(&LanguageConfiguration, &Path)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ the same lifetime is elided here [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] 149 | pub fn get_all_language_configurations(&self) -> Vec<(&LanguageConfiguration<'_>, &Path)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 158 | scope: &str, [INFO] [stdout] 159 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |the same lifetime is hidden here [INFO] [stdout] | the same 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] 159 | ) -> Result)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 171 | path: &Path, [INFO] [stdout] 172 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |the same lifetime is hidden here [INFO] [stdout] | the same 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] 172 | ) -> Result)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 242 | string: &str, [INFO] [stdout] 243 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |the same lifetime is hidden here [INFO] [stdout] | the same 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] 243 | ) -> Result)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:426:17 [INFO] [stdout] | [INFO] [stdout] 424 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 425 | parser_path: &Path, [INFO] [stdout] 426 | ) -> Result<&[LanguageConfiguration]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 426 | ) -> Result<&'a [LanguageConfiguration<'a>]> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `anyhow::Error` [INFO] [stdout] --> cli/loader/src/lib.rs:685:33 [INFO] [stdout] | [INFO] [stdout] 685 | / ... if error.offset < locals_query.len() { [INFO] [stdout] 686 | | ... Self::include_path_in_query_error( [INFO] [stdout] 687 | | ... error, [INFO] [stdout] 688 | | ... &locals_ranges, [INFO] [stdout] ... | [INFO] [stdout] 700 | | ... .into() [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 699 - } [INFO] [stdout] 700 - .into() [INFO] [stdout] 699 + } [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 685 ~ >::into(if error.offset < locals_query.len() { [INFO] [stdout] 686 | Self::include_path_in_query_error( [INFO] [stdout] ... [INFO] [stdout] 698 | ) [INFO] [stdout] 699 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:149:44 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn get_all_language_configurations(&self) -> Vec<(&LanguageConfiguration, &Path)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ the same lifetime is elided here [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] 149 | pub fn get_all_language_configurations(&self) -> Vec<(&LanguageConfiguration<'_>, &Path)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 158 | scope: &str, [INFO] [stdout] 159 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |the same lifetime is hidden here [INFO] [stdout] | the same 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] 159 | ) -> Result)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 171 | path: &Path, [INFO] [stdout] 172 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |the same lifetime is hidden here [INFO] [stdout] | the same 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] 172 | ) -> Result)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 242 | string: &str, [INFO] [stdout] 243 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |the same lifetime is hidden here [INFO] [stdout] | the same 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] 243 | ) -> Result)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:426:17 [INFO] [stdout] | [INFO] [stdout] 424 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 425 | parser_path: &Path, [INFO] [stdout] 426 | ) -> Result<&[LanguageConfiguration]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 426 | ) -> Result<&'a [LanguageConfiguration<'a>]> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tree-sitter-loader` (lib test) due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tree-sitter-loader` (lib) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e7de384063af7da586a36aa5e52fccca1acafd47f5a3c34c93f095c5ff9172f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7de384063af7da586a36aa5e52fccca1acafd47f5a3c34c93f095c5ff9172f9", kill_on_drop: false }` [INFO] [stdout] e7de384063af7da586a36aa5e52fccca1acafd47f5a3c34c93f095c5ff9172f9