[INFO] cloning repository https://github.com/MarcBrejner/tree-sitter-twenty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarcBrejner/tree-sitter-twenty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcBrejner%2Ftree-sitter-twenty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcBrejner%2Ftree-sitter-twenty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] baeced6c5a96093df330b75d50cd30ad3397ab4c [INFO] checking MarcBrejner/tree-sitter-twenty against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcBrejner%2Ftree-sitter-twenty" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MarcBrejner/tree-sitter-twenty on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MarcBrejner/tree-sitter-twenty [INFO] finished tweaking git repo https://github.com/MarcBrejner/tree-sitter-twenty [INFO] tweaked toml for git repo https://github.com/MarcBrejner/tree-sitter-twenty written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MarcBrejner/tree-sitter-twenty already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dirs v3.0.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded spin v0.7.1 [INFO] [stderr] Downloaded utf8-width v0.1.4 [INFO] [stderr] Downloaded dirs-sys v0.3.5 [INFO] [stderr] Downloaded once_cell v1.7.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.71 [INFO] [stderr] Downloaded smallbitvec v2.5.0 [INFO] [stderr] Downloaded html-escape v0.2.6 [INFO] [stderr] Downloaded ascii v1.0.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.71 [INFO] [stderr] Downloaded tiny_http v0.8.0 [INFO] [stderr] Downloaded js-sys v0.3.48 [INFO] [stderr] Downloaded chunked_transfer v1.4.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.71 [INFO] [stderr] Downloaded wasm-bindgen v0.2.71 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.71 [INFO] [stderr] Downloaded webbrowser v0.5.5 [INFO] [stderr] Downloaded serde_json v1.0.63 [INFO] [stderr] Downloaded web-sys v0.3.48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50f18aa478df9d9e4d73e55b5fc10b0d846e4bce40ac30d01ec89813f6d318e4 [INFO] running `Command { std: "docker" "start" "-a" "50f18aa478df9d9e4d73e55b5fc10b0d846e4bce40ac30d01ec89813f6d318e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50f18aa478df9d9e4d73e55b5fc10b0d846e4bce40ac30d01ec89813f6d318e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50f18aa478df9d9e4d73e55b5fc10b0d846e4bce40ac30d01ec89813f6d318e4", kill_on_drop: false }` [INFO] [stdout] 50f18aa478df9d9e4d73e55b5fc10b0d846e4bce40ac30d01ec89813f6d318e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbbf60bdeb9da53d8ec9f515ec401a20a88abfbe686d7e5e94c06dd3d243f029 [INFO] running `Command { std: "docker" "start" "-a" "fbbf60bdeb9da53d8ec9f515ec401a20a88abfbe686d7e5e94c06dd3d243f029", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking spin v0.7.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.63 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling tree-sitter v0.20.0 (/opt/rustwide/workdir/lib) [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling tree-sitter-loader v0.19.0 (/opt/rustwide/workdir/cli/loader) [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 regex v1.4.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking utf8-width v0.1.4 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking which v4.1.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking html-escape v0.2.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking smallbitvec v2.5.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tiny_http v0.8.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking tree-sitter-config v0.19.0 (/opt/rustwide/workdir/cli/config) [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking tree-sitter-highlight v0.20.0 (/opt/rustwide/workdir/highlight) [INFO] [stderr] Checking tree-sitter-tags v0.20.0 (/opt/rustwide/workdir/tags) [INFO] [stdout] warning: field `value_range` is never read [INFO] [stdout] --> tags/src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 83 | struct LocalDef<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 84 | name: &'a [u8], [INFO] [stdout] 85 | value_range: Range, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_range` is never read [INFO] [stdout] --> tags/src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 83 | struct LocalDef<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 84 | name: &'a [u8], [INFO] [stdout] 85 | value_range: Range, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> highlight/src/lib.rs:589:21 [INFO] [stdout] | [INFO] [stdout] 589 | &self.layers[0..(i + 1)].rotate_left(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 589 | let _ = &self.layers[0..(i + 1)].rotate_left(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> highlight/src/lib.rs:589:21 [INFO] [stdout] | [INFO] [stdout] 589 | &self.layers[0..(i + 1)].rotate_left(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 589 | let _ = &self.layers[0..(i + 1)].rotate_left(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tree-sitter-cli v0.20.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: unexpected `cfg` condition name: `TREE_SITTER_EMBED_WASM_BINDING` [INFO] [stdout] --> cli/src/web_ui.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | resource!(get_main_html, "cli/src/web_ui.html"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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 `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/web_ui.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | resource!(get_main_html, "cli/src/web_ui.html"); [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 `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/web_ui.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | 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 `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/web_ui.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | 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 `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/web_ui.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | 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/web_ui.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | 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/web_ui.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | 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/web_ui.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | 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/web_ui.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | resource!(get_main_html, "cli/src/web_ui.html"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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 `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/web_ui.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | resource!(get_main_html, "cli/src/web_ui.html"); [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 `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/web_ui.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | 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 `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/web_ui.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | 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 `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/web_ui.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | 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/web_ui.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | 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/web_ui.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(TREE_SITTER_EMBED_WASM_BINDING)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | 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/web_ui.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(not(TREE_SITTER_EMBED_WASM_BINDING))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | 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: 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)]` 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_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: field `filter` is never read [INFO] [stdout] --> cli/src/logger.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct Logger { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub filter: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> cli/src/generate/build_tables/build_lex_table.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | &old_ids_by_new_id[1..].sort_by_key(|id| &table.states[*id]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 350 | let _ = &old_ids_by_new_id[1..].sort_by_key(|id| &table.states[*id]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> cli/src/generate/build_tables/minimize_parse_table.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | / &old_ids_by_new_id.sort_unstable_by_key(|i| { [INFO] [stdout] 483 | | // Don't changes states 0 (the error state) or 1 (the start state). [INFO] [stdout] 484 | | if *i <= 1 { [INFO] [stdout] 485 | | return *i as i64 - 1_000_000; [INFO] [stdout] ... | [INFO] [stdout] 490 | | -((state.terminal_entries.len() + state.nonterminal_entries.len()) as i64) [INFO] [stdout] 491 | | }); [INFO] [stdout] | |__________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 482 | let _ = &old_ids_by_new_id.sort_unstable_by_key(|i| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Rule` 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: 14 warnings emitted [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)]` 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_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: field `filter` is never read [INFO] [stdout] --> cli/src/logger.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct Logger { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub filter: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> cli/src/generate/build_tables/build_lex_table.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | &old_ids_by_new_id[1..].sort_by_key(|id| &table.states[*id]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 350 | let _ = &old_ids_by_new_id[1..].sort_by_key(|id| &table.states[*id]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> cli/src/generate/build_tables/minimize_parse_table.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | / &old_ids_by_new_id.sort_unstable_by_key(|i| { [INFO] [stdout] 483 | | // Don't changes states 0 (the error state) or 1 (the start state). [INFO] [stdout] 484 | | if *i <= 1 { [INFO] [stdout] 485 | | return *i as i64 - 1_000_000; [INFO] [stdout] ... | [INFO] [stdout] 490 | | -((state.terminal_entries.len() + state.nonterminal_entries.len()) as i64) [INFO] [stdout] 491 | | }); [INFO] [stdout] | |__________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 482 | let _ = &old_ids_by_new_id.sort_unstable_by_key(|i| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&rules::Rule` 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.43s [INFO] running `Command { std: "docker" "inspect" "fbbf60bdeb9da53d8ec9f515ec401a20a88abfbe686d7e5e94c06dd3d243f029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbbf60bdeb9da53d8ec9f515ec401a20a88abfbe686d7e5e94c06dd3d243f029", kill_on_drop: false }` [INFO] [stdout] fbbf60bdeb9da53d8ec9f515ec401a20a88abfbe686d7e5e94c06dd3d243f029