[INFO] cloning repository https://github.com/patrick-skamarak/a_zed_extension [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrick-skamarak/a_zed_extension" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrick-skamarak%2Fa_zed_extension", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrick-skamarak%2Fa_zed_extension'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29a03ec6652e27ad74925e4eec2d2bf0806ecba1 [INFO] checking patrick-skamarak/a_zed_extension against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrick-skamarak%2Fa_zed_extension" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/patrick-skamarak/a_zed_extension [INFO] finished tweaking git repo https://github.com/patrick-skamarak/a_zed_extension [INFO] tweaked toml for git repo https://github.com/patrick-skamarak/a_zed_extension written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/patrick-skamarak/a_zed_extension on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/patrick-skamarak/a_zed_extension 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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zed_extension_api v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01081cea47483f0a2327acb2dc2ea38f422553e417df05b64047f30692ea76d1 [INFO] running `Command { std: "docker" "start" "-a" "01081cea47483f0a2327acb2dc2ea38f422553e417df05b64047f30692ea76d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01081cea47483f0a2327acb2dc2ea38f422553e417df05b64047f30692ea76d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01081cea47483f0a2327acb2dc2ea38f422553e417df05b64047f30692ea76d1", kill_on_drop: false }` [INFO] [stdout] 01081cea47483f0a2327acb2dc2ea38f422553e417df05b64047f30692ea76d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e98c5c794485f5f70770efd28e2833403b401e6085fda93d730087793788ba53 [INFO] running `Command { std: "docker" "start" "-a" "e98c5c794485f5f70770efd28e2833403b401e6085fda93d730087793788ba53", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling wasm-encoder v0.201.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling spdx v0.10.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling wit-bindgen-rust v0.22.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling wit-bindgen-rt v0.22.0 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.22.0 [INFO] [stderr] Compiling zed_extension_api v0.1.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking constcat v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling wasmparser v0.201.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling wit-parser v0.201.0 [INFO] [stderr] Compiling wasm-metadata v0.201.0 [INFO] [stderr] Compiling wit-bindgen-core v0.22.0 [INFO] [stderr] Compiling wit-component v0.201.0 [INFO] [stderr] Checking wit-bindgen v0.22.0 [INFO] [stderr] Checking a_zed_extension v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | if (language_server_id.as_ref() != constants::LANGUAGE_SERVER_NAME) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if (language_server_id.as_ref() != constants::LANGUAGE_SERVER_NAME) { [INFO] [stdout] 21 + if language_server_id.as_ref() != constants::LANGUAGE_SERVER_NAME { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | if (language_server_id.as_ref() != constants::LANGUAGE_SERVER_NAME) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if (language_server_id.as_ref() != constants::LANGUAGE_SERVER_NAME) { [INFO] [stdout] 21 + if language_server_id.as_ref() != constants::LANGUAGE_SERVER_NAME { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worktree` [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | worktree: &zed::Worktree, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worktree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LANGUAGE_NAME` is never used [INFO] [stdout] --> src/constants.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub static LANGUAGE_NAME: &'static str = "Apex"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `IDK` is never used [INFO] [stdout] --> src/constants.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub static IDK: &[&'static str] = &["HI"]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `JAVA_ABSOLUTE_PATH_TAG` is never used [INFO] [stdout] --> src/settings/java.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub static JAVA_ABSOLUTE_PATH_TAG: &'static str = "java_absolute_path"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_java_properties` is never used [INFO] [stdout] --> src/settings/java.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_java_properties(command: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worktree` [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | worktree: &zed::Worktree, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worktree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LANGUAGE_NAME` is never used [INFO] [stdout] --> src/constants.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub static LANGUAGE_NAME: &'static str = "Apex"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `IDK` is never used [INFO] [stdout] --> src/constants.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub static IDK: &[&'static str] = &["HI"]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONCAT` is never used [INFO] [stdout] --> src/settings.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CONCAT: &[&str] = concat_slices!([&str]:IDK, &["HIIIII"]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wrapper` is never constructed [INFO] [stdout] --> src/settings.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Wrapper(T); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `recursive_get` are never used [INFO] [stdout] --> src/settings.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Wrapper { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 12 | pub fn get(&self, json_tag_list: &[&str]) -> Result, &str> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn recursive_get<'a, T: Iterator>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `JAVA_ABSOLUTE_PATH_TAG` is never used [INFO] [stdout] --> src/settings/java.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub static JAVA_ABSOLUTE_PATH_TAG: &'static str = "java_absolute_path"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REGEX` is never used [INFO] [stdout] --> src/settings/java.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub static REGEX: LazyLock = LazyLock::new(|| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_java_properties` is never used [INFO] [stdout] --> src/settings/java.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_java_properties(command: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_supported_java_version` is never used [INFO] [stdout] --> src/settings/java.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn is_supported_java_version(java_properties: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.81s [INFO] running `Command { std: "docker" "inspect" "e98c5c794485f5f70770efd28e2833403b401e6085fda93d730087793788ba53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e98c5c794485f5f70770efd28e2833403b401e6085fda93d730087793788ba53", kill_on_drop: false }` [INFO] [stdout] e98c5c794485f5f70770efd28e2833403b401e6085fda93d730087793788ba53