[INFO] cloning repository https://github.com/AtosLab/rust-tree-sitter-base [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AtosLab/rust-tree-sitter-base" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtosLab%2Frust-tree-sitter-base", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtosLab%2Frust-tree-sitter-base'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb5fbdd78700b20754da5e6b4f2b4317a912e2d2 [INFO] checking AtosLab/rust-tree-sitter-base against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtosLab%2Frust-tree-sitter-base" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AtosLab/rust-tree-sitter-base [INFO] finished tweaking git repo https://github.com/AtosLab/rust-tree-sitter-base [INFO] tweaked toml for git repo https://github.com/AtosLab/rust-tree-sitter-base written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AtosLab/rust-tree-sitter-base on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AtosLab/rust-tree-sitter-base 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" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.67 [INFO] [stderr] Downloaded thiserror v1.0.25 [INFO] [stderr] Downloaded thiserror-impl v1.0.25 [INFO] [stderr] Downloaded serde v1.0.130 [INFO] [stderr] Downloaded redox_users v0.3.5 [INFO] [stderr] Downloaded dirs-sys v0.3.5 [INFO] [stderr] Downloaded itoa v0.4.7 [INFO] [stderr] Downloaded arrayref v0.3.6 [INFO] [stderr] Downloaded webbrowser v0.5.5 [INFO] [stderr] Downloaded serde_json v1.0.63 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.71 [INFO] [stderr] Downloaded smallbitvec v2.5.1 [INFO] [stderr] Downloaded rand_chacha v0.3.0 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded ctor v0.1.20 [INFO] [stderr] Downloaded utf8-width v0.1.4 [INFO] [stderr] Downloaded dirs v3.0.1 [INFO] [stderr] Downloaded chunked_transfer v1.4.0 [INFO] [stderr] Downloaded rand_hc v0.3.0 [INFO] [stderr] Downloaded widestring v0.4.3 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.71 [INFO] [stderr] Downloaded libloading v0.7.0 [INFO] [stderr] Downloaded ascii v1.0.0 [INFO] [stderr] Downloaded output_vt100 v0.1.2 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.71 [INFO] [stderr] Downloaded redox_syscall v0.2.5 [INFO] [stderr] Downloaded blake2b_simd v0.5.11 [INFO] [stderr] Downloaded which v4.1.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.71 [INFO] [stderr] Downloaded tempfile v3.2.0 [INFO] [stderr] Downloaded rand_core v0.6.2 [INFO] [stderr] Downloaded semver v1.0.5 [INFO] [stderr] Downloaded html-escape v0.2.6 [INFO] [stderr] Downloaded tiny_http v0.8.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.10 [INFO] [stderr] Downloaded anyhow v1.0.40 [INFO] [stderr] Downloaded rust-argon2 v0.8.3 [INFO] [stderr] Downloaded toml v0.5.8 [INFO] [stderr] Downloaded url v2.2.1 [INFO] [stderr] Downloaded getrandom v0.2.2 [INFO] [stderr] Downloaded js-sys v0.3.48 [INFO] [stderr] Downloaded tinyvec v1.1.1 [INFO] [stderr] Downloaded serde_derive v1.0.130 [INFO] [stderr] Downloaded indexmap v1.6.1 [INFO] [stderr] Downloaded rand v0.8.3 [INFO] [stderr] Downloaded pretty_assertions v0.7.2 [INFO] [stderr] Downloaded unicode-normalization v0.1.17 [INFO] [stderr] Downloaded bumpalo v3.6.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.71 [INFO] [stderr] Downloaded idna v0.2.2 [INFO] [stderr] Downloaded web-sys v0.3.48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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] be311e7f161f064337dd177a9a8c92e93606b40710be3836b6d1c12d89eabbcb [INFO] running `Command { std: "docker" "start" "be311e7f161f064337dd177a9a8c92e93606b40710be3836b6d1c12d89eabbcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be311e7f161f064337dd177a9a8c92e93606b40710be3836b6d1c12d89eabbcb", 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" "be311e7f161f064337dd177a9a8c92e93606b40710be3836b6d1c12d89eabbcb" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be311e7f161f064337dd177a9a8c92e93606b40710be3836b6d1c12d89eabbcb", 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" "be311e7f161f064337dd177a9a8c92e93606b40710be3836b6d1c12d89eabbcb" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.63 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling tree-sitter v0.20.9 (/opt/rustwide/workdir/lib) [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tree-sitter-loader v0.20.0 (/opt/rustwide/workdir/cli/loader) [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling semver v1.0.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking utf8-width v0.1.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking which v4.1.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking html-escape v0.2.6 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking smallbitvec v2.5.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tiny_http v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking diff v0.1.12 [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:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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:861:32 [INFO] [stdout] | [INFO] [stdout] 861 | self.kind_id() == u16::MAX [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pretty_assertions v0.7.2 [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:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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:861:32 [INFO] [stdout] | [INFO] [stdout] 861 | 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:382:19 [INFO] [stdout] | [INFO] [stdout] 382 | 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] 382 | 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:707:22 [INFO] [stdout] | [INFO] [stdout] 707 | 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] 707 | 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:714:34 [INFO] [stdout] | [INFO] [stdout] 714 | 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] 714 | 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] --> lib/binding_rust/lib.rs:743:17 [INFO] [stdout] | [INFO] [stdout] 743 | 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] 743 | 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] --> lib/binding_rust/lib.rs:382:19 [INFO] [stdout] | [INFO] [stdout] 382 | 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] 382 | 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:707:22 [INFO] [stdout] | [INFO] [stdout] 707 | 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] 707 | 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:714:34 [INFO] [stdout] | [INFO] [stdout] 714 | 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] 714 | 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] --> lib/binding_rust/lib.rs:743:17 [INFO] [stdout] | [INFO] [stdout] 743 | 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] 743 | pub fn walk(&self) -> TreeCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking tree-sitter-tags v0.20.2 (/opt/rustwide/workdir/tags) [INFO] [stderr] Checking tree-sitter-highlight v0.20.1 (/opt/rustwide/workdir/highlight) [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: 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] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking tree-sitter-config v0.19.0 (/opt/rustwide/workdir/cli/config) [INFO] [stderr] Compiling tree-sitter-cli v0.20.7 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:183:44 [INFO] [stdout] | [INFO] [stdout] 183 | 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] 183 | 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:183:44 [INFO] [stdout] | [INFO] [stdout] 183 | 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] 183 | 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:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 192 | scope: &str, [INFO] [stdout] 193 | ) -> 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] 193 | ) -> 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:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 192 | scope: &str, [INFO] [stdout] 193 | ) -> 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] 193 | ) -> 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:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 205 | path: &Path, [INFO] [stdout] 206 | ) -> 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] 206 | ) -> 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:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 205 | path: &Path, [INFO] [stdout] 206 | ) -> 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] 206 | ) -> 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:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 276 | string: &str, [INFO] [stdout] 277 | ) -> 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] 277 | ) -> 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:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 276 | string: &str, [INFO] [stdout] 277 | ) -> 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] 277 | ) -> 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:476:17 [INFO] [stdout] | [INFO] [stdout] 474 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 475 | parser_path: &Path, [INFO] [stdout] 476 | ) -> 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] 476 | ) -> Result<&'a [LanguageConfiguration<'a>]> { [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:476:17 [INFO] [stdout] | [INFO] [stdout] 474 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 475 | parser_path: &Path, [INFO] [stdout] 476 | ) -> 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] 476 | ) -> Result<&'a [LanguageConfiguration<'a>]> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! optional_resource { [INFO] [stdout] 14 | ($name: tt, $path: tt) => { [INFO] [stdout] 15 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | optional_resource!(get_playground_js, "docs/assets/js/playground.js"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(TREE_SITTER_EMBED_WASM_BINDING)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(TREE_SITTER_EMBED_WASM_BINDING)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! optional_resource { [INFO] [stdout] ... [INFO] [stdout] 24 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | optional_resource!(get_playground_js, "docs/assets/js/playground.js"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(TREE_SITTER_EMBED_WASM_BINDING)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(TREE_SITTER_EMBED_WASM_BINDING)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! optional_resource { [INFO] [stdout] 14 | ($name: tt, $path: tt) => { [INFO] [stdout] 15 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | optional_resource!(get_lib_js, "lib/binding_web/tree-sitter.js"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(TREE_SITTER_EMBED_WASM_BINDING)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(TREE_SITTER_EMBED_WASM_BINDING)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! optional_resource { [INFO] [stdout] ... [INFO] [stdout] 24 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | optional_resource!(get_lib_js, "lib/binding_web/tree-sitter.js"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(TREE_SITTER_EMBED_WASM_BINDING)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(TREE_SITTER_EMBED_WASM_BINDING)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! optional_resource { [INFO] [stdout] 14 | ($name: tt, $path: tt) => { [INFO] [stdout] 15 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | optional_resource!(get_lib_wasm, "lib/binding_web/tree-sitter.wasm"); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(TREE_SITTER_EMBED_WASM_BINDING)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(TREE_SITTER_EMBED_WASM_BINDING)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! optional_resource { [INFO] [stdout] ... [INFO] [stdout] 24 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | optional_resource!(get_lib_wasm, "lib/binding_web/tree-sitter.wasm"); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(TREE_SITTER_EMBED_WASM_BINDING)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(TREE_SITTER_EMBED_WASM_BINDING)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::u32`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> cli/src/generate/build_tables/build_parse_table.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | use std::u32; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> cli/src/generate/build_tables/build_parse_table.rs:458:56 [INFO] [stdout] | [INFO] [stdout] 458 | if item.variable_index != u32::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> cli/src/generate/build_tables/build_parse_table.rs:472:48 [INFO] [stdout] | [INFO] [stdout] 472 | if item.variable_index != u32::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::u32`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> cli/src/generate/build_tables/item.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use std::u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> cli/src/generate/build_tables/item.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | variable_index: u32::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> cli/src/generate/build_tables/item.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | self.variable_index == u32::MAX [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> cli/src/generate/prepare_grammar/expand_tokens.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use std::i32; [INFO] [stdout] | ^^^ [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] --> cli/src/highlight.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{fs, io, path, str, usize}; [INFO] [stdout] | ^^^^^ [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] --> cli/src/parse.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fmt, fs, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! optional_resource { [INFO] [stdout] 14 | ($name: tt, $path: tt) => { [INFO] [stdout] 15 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | optional_resource!(get_playground_js, "docs/assets/js/playground.js"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(TREE_SITTER_EMBED_WASM_BINDING)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(TREE_SITTER_EMBED_WASM_BINDING)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! optional_resource { [INFO] [stdout] ... [INFO] [stdout] 24 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | optional_resource!(get_playground_js, "docs/assets/js/playground.js"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(TREE_SITTER_EMBED_WASM_BINDING)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(TREE_SITTER_EMBED_WASM_BINDING)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! optional_resource { [INFO] [stdout] 14 | ($name: tt, $path: tt) => { [INFO] [stdout] 15 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | optional_resource!(get_lib_js, "lib/binding_web/tree-sitter.js"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(TREE_SITTER_EMBED_WASM_BINDING)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(TREE_SITTER_EMBED_WASM_BINDING)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! optional_resource { [INFO] [stdout] ... [INFO] [stdout] 24 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | optional_resource!(get_lib_js, "lib/binding_web/tree-sitter.js"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(TREE_SITTER_EMBED_WASM_BINDING)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(TREE_SITTER_EMBED_WASM_BINDING)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! optional_resource { [INFO] [stdout] 14 | ($name: tt, $path: tt) => { [INFO] [stdout] 15 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | optional_resource!(get_lib_wasm, "lib/binding_web/tree-sitter.wasm"); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(TREE_SITTER_EMBED_WASM_BINDING)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(TREE_SITTER_EMBED_WASM_BINDING)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! optional_resource { [INFO] [stdout] ... [INFO] [stdout] 24 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | optional_resource!(get_lib_wasm, "lib/binding_web/tree-sitter.wasm"); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(TREE_SITTER_EMBED_WASM_BINDING)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(TREE_SITTER_EMBED_WASM_BINDING)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::u32`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> cli/src/generate/build_tables/build_parse_table.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | use std::u32; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> cli/src/generate/build_tables/build_parse_table.rs:458:56 [INFO] [stdout] | [INFO] [stdout] 458 | if item.variable_index != u32::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> cli/src/generate/build_tables/build_parse_table.rs:472:48 [INFO] [stdout] | [INFO] [stdout] 472 | if item.variable_index != u32::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::u32`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> cli/src/generate/build_tables/item.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use std::u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> cli/src/generate/build_tables/item.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | variable_index: u32::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> cli/src/generate/build_tables/item.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | self.variable_index == u32::MAX [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> cli/src/generate/prepare_grammar/expand_tokens.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use std::i32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> cli/src/generate/prepare_grammar/expand_tokens.rs:516:42 [INFO] [stdout] | [INFO] [stdout] 516 | let mut result_precedence = i32::MIN; [INFO] [stdout] | ^^^ [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] --> cli/src/highlight.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{fs, io, path, str, usize}; [INFO] [stdout] | ^^^^^ [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] --> cli/src/parse.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fmt, fs, usize}; [INFO] [stdout] | ^^^^^ [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] --> cli/src/tests/helpers/mod.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{env, time, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/src/generate/prepare_grammar/extract_default_aliases.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let mut status = match step.symbol.kind { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/src/generate/prepare_grammar/extract_default_aliases.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut status = match symbol.kind { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/src/generate/prepare_grammar/extract_tokens.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let mut lexical_variable = &mut lexical_variables[index]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Box` instead of cloning the inner type [INFO] [stdout] --> cli/src/generate/prepare_grammar/extract_tokens.rs:212:75 [INFO] [stdout] | [INFO] [stdout] 212 | rule: Box::new(self.extract_tokens_in_rule((&rule).clone())), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> cli/src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{env, fs, u64}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> cli/src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{env, fs, u64}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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] --> cli/benches/benchmark.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{env, fs, 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] --> cli/benches/benchmark.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | let mut max = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/src/generate/prepare_grammar/extract_default_aliases.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let mut status = match step.symbol.kind { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/src/generate/prepare_grammar/extract_default_aliases.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut status = match symbol.kind { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/src/generate/prepare_grammar/extract_tokens.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let mut lexical_variable = &mut lexical_variables[index]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Box` instead of cloning the inner type [INFO] [stdout] --> cli/src/generate/prepare_grammar/extract_tokens.rs:212:75 [INFO] [stdout] | [INFO] [stdout] 212 | rule: Box::new(self.extract_tokens_in_rule((&rule).clone())), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cli/src/tests/node_test.rs:839:24 [INFO] [stdout] | [INFO] [stdout] 839 | fn get_all_nodes(tree: &Tree) -> Vec { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 839 | fn get_all_nodes(tree: &Tree) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.79s [INFO] running `Command { std: "docker" "inspect" "be311e7f161f064337dd177a9a8c92e93606b40710be3836b6d1c12d89eabbcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be311e7f161f064337dd177a9a8c92e93606b40710be3836b6d1c12d89eabbcb", kill_on_drop: false }` [INFO] [stdout] be311e7f161f064337dd177a9a8c92e93606b40710be3836b6d1c12d89eabbcb