[INFO] cloning repository https://github.com/deepin-community/tree-sitter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deepin-community/tree-sitter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepin-community%2Ftree-sitter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepin-community%2Ftree-sitter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3d179c0fb85e50582b404e51561b3d16fd59c87 [INFO] building deepin-community/tree-sitter against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepin-community%2Ftree-sitter" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/deepin-community/tree-sitter [INFO] finished tweaking git repo https://github.com/deepin-community/tree-sitter [INFO] tweaked toml for git repo https://github.com/deepin-community/tree-sitter written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/deepin-community/tree-sitter on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/deepin-community/tree-sitter 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f505818088503cec6dcea9323de312d78654c96fcc1c9e24f16463eeb4dc008 [INFO] running `Command { std: "docker" "start" "-a" "1f505818088503cec6dcea9323de312d78654c96fcc1c9e24f16463eeb4dc008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f505818088503cec6dcea9323de312d78654c96fcc1c9e24f16463eeb4dc008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f505818088503cec6dcea9323de312d78654c96fcc1c9e24f16463eeb4dc008", kill_on_drop: false }` [INFO] [stdout] 1f505818088503cec6dcea9323de312d78654c96fcc1c9e24f16463eeb4dc008 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ceb2a04356707506e545ecc983b1418d56fb5ea2408ebbaebb284938f0814c31 [INFO] running `Command { std: "docker" "start" "-a" "ceb2a04356707506e545ecc983b1418d56fb5ea2408ebbaebb284938f0814c31", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling zerocopy v0.7.33 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling tree-sitter v0.22.6 (/opt/rustwide/workdir/lib) [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tree-sitter-loader v0.22.6 (/opt/rustwide/workdir/cli/loader) [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling fs4 v0.8.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling tree-sitter-cli v0.22.6 (/opt/rustwide/workdir/cli) [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/binding_rust/lib.rs:480:19 [INFO] [stdout] | [INFO] [stdout] 480 | 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] 480 | 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:851:22 [INFO] [stdout] | [INFO] [stdout] 851 | 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] 851 | 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:859:34 [INFO] [stdout] | [INFO] [stdout] 859 | 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] 859 | 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:873:21 [INFO] [stdout] | [INFO] [stdout] 873 | pub fn language(&self) -> LanguageRef { [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] 873 | pub fn language(&self) -> LanguageRef<'_> { [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:893:17 [INFO] [stdout] | [INFO] [stdout] 893 | 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] 893 | 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:1033:21 [INFO] [stdout] | [INFO] [stdout] 1033 | pub fn language(&self) -> LanguageRef { [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] 1033 | pub fn language(&self) -> LanguageRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling ctrlc v3.4.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling webbrowser v1.0.0 [INFO] [stderr] Compiling wasmparser v0.206.0 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling smallbitvec v2.5.3 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling tree-sitter-tags v0.22.6 (/opt/rustwide/workdir/tags) [INFO] [stderr] Compiling tree-sitter-highlight v0.22.6 (/opt/rustwide/workdir/highlight) [INFO] [stderr] Compiling tree-sitter-config v0.22.6 (/opt/rustwide/workdir/cli/config) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:242:44 [INFO] [stdout] | [INFO] [stdout] 242 | 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] 242 | 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:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 251 | scope: &str, [INFO] [stdout] 252 | ) -> 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] 252 | ) -> 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:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 264 | path: &Path, [INFO] [stdout] 265 | ) -> 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] 265 | ) -> 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:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 288 | path: &Path, [INFO] [stdout] 289 | ) -> 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] 289 | ) -> 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:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 356 | string: &str, [INFO] [stdout] 357 | ) -> 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] 357 | ) -> 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:899:9 [INFO] [stdout] | [INFO] [stdout] 899 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 902 | ) -> 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 902 | ) -> Result<&[LanguageConfiguration<'_>]> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | 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 31 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> cli/src/generate/rules.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "ceb2a04356707506e545ecc983b1418d56fb5ea2408ebbaebb284938f0814c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceb2a04356707506e545ecc983b1418d56fb5ea2408ebbaebb284938f0814c31", kill_on_drop: false }` [INFO] [stdout] ceb2a04356707506e545ecc983b1418d56fb5ea2408ebbaebb284938f0814c31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b3f134e7777a9b072dadc6b1b21a9aef246e676883eb26df0d443bb97672df7 [INFO] running `Command { std: "docker" "start" "-a" "6b3f134e7777a9b072dadc6b1b21a9aef246e676883eb26df0d443bb97672df7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/binding_rust/lib.rs:480:19 [INFO] [stdout] | [INFO] [stdout] 480 | 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] 480 | 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:851:22 [INFO] [stdout] | [INFO] [stdout] 851 | 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] 851 | 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:859:34 [INFO] [stdout] | [INFO] [stdout] 859 | 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] 859 | 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:873:21 [INFO] [stdout] | [INFO] [stdout] 873 | pub fn language(&self) -> LanguageRef { [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] 873 | pub fn language(&self) -> LanguageRef<'_> { [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:893:17 [INFO] [stdout] | [INFO] [stdout] 893 | 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] 893 | 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:1033:21 [INFO] [stdout] | [INFO] [stdout] 1033 | pub fn language(&self) -> LanguageRef { [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] 1033 | pub fn language(&self) -> LanguageRef<'_> { [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:242:44 [INFO] [stdout] | [INFO] [stdout] 242 | 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] 242 | 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:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 251 | scope: &str, [INFO] [stdout] 252 | ) -> 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] 252 | ) -> 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:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 264 | path: &Path, [INFO] [stdout] 265 | ) -> 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] 265 | ) -> 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:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 288 | path: &Path, [INFO] [stdout] 289 | ) -> 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] 289 | ) -> Result)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cli/loader/src/lib.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 356 | string: &str, [INFO] [stdout] 357 | ) -> 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] 357 | ) -> 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:899:9 [INFO] [stdout] | [INFO] [stdout] 899 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 902 | ) -> 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 902 | ) -> Result<&[LanguageConfiguration<'_>]> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | 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 31 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> cli/src/generate/rules.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tree-sitter-tests-proc-macro v0.0.0 (/opt/rustwide/workdir/cli/src/tests/proc_macro) [INFO] [stderr] Compiling tree-sitter-cli v0.22.6 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | 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 31 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/playground.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | 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] = note: this warning originates in the macro `optional_resource` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `sanitizing` [INFO] [stdout] --> cli/src/tests/parser_hang_test.rs:2:66 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(all(any(target_arch = "x86_64", target_arch = "x86"), not(sanitizing)))] [INFO] [stdout] | ^^^^^^^^^^ help: there is a config with a similar name: `sanitize` [INFO] [stdout] | [INFO] [stdout] = help: expected values for `sanitize` are: `address`, `cfi`, `dataflow`, `hwaddress`, `kcfi`, `kernel-address`, `leak`, `memory`, `memtag`, `safestack`, `shadow-call-stack`, and `thread` [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(sanitizing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(sanitizing)");` 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 value: `used_linker` [INFO] [stdout] --> cli/src/tests/helpers/allocations.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[ctor::ctor] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `wasm` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> cli/src/generate/rules.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) 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:948:24 [INFO] [stdout] | [INFO] [stdout] 948 | 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] 948 | fn get_all_nodes(tree: &Tree) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.44s [INFO] running `Command { std: "docker" "inspect" "6b3f134e7777a9b072dadc6b1b21a9aef246e676883eb26df0d443bb97672df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b3f134e7777a9b072dadc6b1b21a9aef246e676883eb26df0d443bb97672df7", kill_on_drop: false }` [INFO] [stdout] 6b3f134e7777a9b072dadc6b1b21a9aef246e676883eb26df0d443bb97672df7