[INFO] cloning repository https://github.com/David9006/cph-zed
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/David9006/cph-zed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavid9006%2Fcph-zed", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavid9006%2Fcph-zed'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b824fb7a144fd825ba5c36c0e3402463356066c7
[INFO] checking David9006/cph-zed against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavid9006%2Fcph-zed" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  68% (2092/3043)
Updating files:  69% (2100/3043)
Updating files:  70% (2131/3043)
Updating files:  71% (2161/3043)
Updating files:  72% (2191/3043)
Updating files:  73% (2222/3043)
Updating files:  74% (2252/3043)
Updating files:  74% (2259/3043)
Updating files:  75% (2283/3043)
Updating files:  76% (2313/3043)
Updating files:  77% (2344/3043)
Updating files:  78% (2374/3043)
Updating files:  78% (2396/3043)
Updating files:  79% (2404/3043)
Updating files:  80% (2435/3043)
Updating files:  81% (2465/3043)
Updating files:  82% (2496/3043)
Updating files:  83% (2526/3043)
Updating files:  84% (2557/3043)
Updating files:  85% (2587/3043)
Updating files:  86% (2617/3043)
Updating files:  87% (2648/3043)
Updating files:  88% (2678/3043)
Updating files:  89% (2709/3043)
Updating files:  90% (2739/3043)
Updating files:  91% (2770/3043)
Updating files:  92% (2800/3043)
Updating files:  93% (2830/3043)
Updating files:  94% (2861/3043)
Updating files:  95% (2891/3043)
Updating files:  96% (2922/3043)
Updating files:  97% (2952/3043)
Updating files:  98% (2983/3043)
Updating files:  98% (3006/3043)
Updating files:  99% (3013/3043)
Updating files: 100% (3043/3043)
Updating files: 100% (3043/3043), done.
[INFO] started tweaking git repo https://github.com/David9006/cph-zed
[INFO] finished tweaking git repo https://github.com/David9006/cph-zed
[INFO] tweaked toml for git repo https://github.com/David9006/cph-zed written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/David9006/cph-zed on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/David9006/cph-zed 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zed_extension_api v0.1.0
[INFO] [stderr]   Downloaded wasm-metadata v0.201.0
[INFO] [stderr]   Downloaded wit-bindgen-rust-macro v0.22.0
[INFO] [stderr]   Downloaded wit-bindgen-rt v0.22.0
[INFO] [stderr]   Downloaded wit-bindgen v0.22.0
[INFO] [stderr]   Downloaded wit-bindgen-core v0.22.0
[INFO] [stderr]   Downloaded wit-bindgen-rust v0.22.0
[INFO] [stderr]   Downloaded wasm-encoder v0.201.0
[INFO] [stderr]   Downloaded wit-parser v0.201.0
[INFO] [stderr]   Downloaded wit-component v0.201.0
[INFO] [stderr]   Downloaded wasmparser v0.201.0
[INFO] [stderr]   Downloaded spdx v0.10.8
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2fafbb1beec9e5fa064c4b4cb7a6268dabfe48f58f55e4fe562e6b19e8d69e7d
[INFO] running `Command { std: "docker" "start" "-a" "2fafbb1beec9e5fa064c4b4cb7a6268dabfe48f58f55e4fe562e6b19e8d69e7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2fafbb1beec9e5fa064c4b4cb7a6268dabfe48f58f55e4fe562e6b19e8d69e7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fafbb1beec9e5fa064c4b4cb7a6268dabfe48f58f55e4fe562e6b19e8d69e7d", kill_on_drop: false }`
[INFO] [stdout] 2fafbb1beec9e5fa064c4b4cb7a6268dabfe48f58f55e4fe562e6b19e8d69e7d
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 427d8df482f3c86ab226309ba83ea97113b186c4e83e62bfb68e5a3b09b62e4d
[INFO] running `Command { std: "docker" "start" "-a" "427d8df482f3c86ab226309ba83ea97113b186c4e83e62bfb68e5a3b09b62e4d", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling cc v1.2.20
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling id-arena v2.2.1
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling wasm-encoder v0.201.0
[INFO] [stderr]    Compiling wit-bindgen-rust v0.22.0
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling spdx v0.10.8
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling wit-bindgen-rust-macro v0.22.0
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]    Compiling wit-bindgen-rt v0.22.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling zed_extension_api v0.1.0
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling wasmparser v0.201.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]    Compiling wit-parser v0.201.0
[INFO] [stderr]    Compiling wasm-metadata v0.201.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]    Compiling wit-bindgen-core v0.22.0
[INFO] [stderr]    Compiling wit-component v0.201.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking wit-bindgen v0.22.0
[INFO] [stderr]     Checking cph v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0116]: cannot define inherent `impl` for a type outside of the crate where the type is defined
[INFO] [stdout]    --> src/lib.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl SlashCommand {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^ impl for type defined outside of crate
[INFO] [stdout]     |
[INFO] [stdout]     = note: define and implement a trait or new type instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0116]: cannot define inherent `impl` for a type outside of the crate where the type is defined
[INFO] [stdout]    --> src/lib.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl SlashCommand {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^ impl for type defined outside of crate
[INFO] [stdout]     |
[INFO] [stdout]     = note: define and implement a trait or new type instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommand` in the current scope
[INFO] [stdout]   --> src/lib.rs:44:23
[INFO] [stdout]    |
[INFO] [stdout] 44 |         SlashCommand::new("cph.test")
[INFO] [stdout]    |                       ^^^ function or associated item not found in `SlashCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutput` in the current scope
[INFO] [stdout]   --> src/lib.rs:47:50
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 let output = SlashCommandOutput::new()
[INFO] [stdout]    |                                                  ^^^ function or associated item not found in `SlashCommandOutput`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutputSection` in the current scope
[INFO] [stdout]   --> src/lib.rs:49:57
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     .section(SlashCommandOutputSection::new("Running tests...").info());
[INFO] [stdout]    |                                                         ^^^ function or associated item not found in `SlashCommandOutputSection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutputSection` in the current scope
[INFO] [stdout]   --> src/lib.rs:66:63
[INFO] [stdout]    |
[INFO] [stdout] 66 |                     output.section(SlashCommandOutputSection::new(&format!("Error: {}", e)).error());
[INFO] [stdout]    |                                                               ^^^ function or associated item not found in `SlashCommandOutputSection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutputSection` in the current scope
[INFO] [stdout]   --> src/lib.rs:68:63
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     output.section(SlashCommandOutputSection::new("All tests passed").success());
[INFO] [stdout]    |                                                               ^^^ function or associated item not found in `SlashCommandOutputSection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommand` in the current scope
[INFO] [stdout]   --> src/lib.rs:75:23
[INFO] [stdout]    |
[INFO] [stdout] 75 |         SlashCommand::new("cph.compile")
[INFO] [stdout]    |                       ^^^ function or associated item not found in `SlashCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutput` in the current scope
[INFO] [stdout]   --> src/lib.rs:78:50
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 let output = SlashCommandOutput::new()
[INFO] [stdout]    |                                                  ^^^ function or associated item not found in `SlashCommandOutput`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutputSection` in the current scope
[INFO] [stdout]   --> src/lib.rs:80:57
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     .section(SlashCommandOutputSection::new("Compiling...").info());
[INFO] [stdout]    |                                                         ^^^ function or associated item not found in `SlashCommandOutputSection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutputSection` in the current scope
[INFO] [stdout]   --> src/lib.rs:84:63
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     output.section(SlashCommandOutputSection::new(&format!("Compilation failed: {}", e)).error());
[INFO] [stdout]    |                                                               ^^^ function or associated item not found in `SlashCommandOutputSection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutputSection` in the current scope
[INFO] [stdout]   --> src/lib.rs:86:63
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     output.section(SlashCommandOutputSection::new("Compilation successful").success());
[INFO] [stdout]    |                                                               ^^^ function or associated item not found in `SlashCommandOutputSection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `description` in initializer of `SlashCommand`
[INFO] [stdout]    --> src/lib.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         SlashCommand {
[INFO] [stdout]     |         ^^^^^^^^^^^^ missing `description`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `sections` in initializer of `SlashCommandOutput`
[INFO] [stdout]    --> src/lib.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         SlashCommandOutput {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ missing `sections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:151:20
[INFO] [stdout]     |
[INFO] [stdout] 151 |             range: None,
[INFO] [stdout]     |                    ^^^^ expected `Range`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `zed_extension_api::wit::zed::extension::common::Range`
[INFO] [stdout]                  found enum `std::option::Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:161:26
[INFO] [stdout]     |
[INFO] [stdout] 161 |             description: None,
[INFO] [stdout]     |                          ^^^^ expected `String`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `std::string::String`
[INFO] [stdout]                  found enum `std::option::Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `SlashCommand` has no field named `handler`
[INFO] [stdout]    --> src/lib.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |             handler: None,
[INFO] [stdout]     |             ^^^^^^^ `SlashCommand` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `tooltip_text`, `requires_argument`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:167:28
[INFO] [stdout]     |
[INFO] [stdout] 167 |         self.description = Some(desc.to_string());
[INFO] [stdout]     |         ----------------   ^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Option<String>`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected due to the type of this binding
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `std::string::String`
[INFO] [stdout]                  found enum `std::option::Option<std::string::String>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `handler` on type `SlashCommand`
[INFO] [stdout]    --> src/lib.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 |         self.handler = Some(Box::new(handler));
[INFO] [stdout]     |              ^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `name`, `description`, `tooltip_text`, `requires_argument`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0116, E0308, E0560, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cph` (lib) due to 18 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommand` in the current scope
[INFO] [stdout]   --> src/lib.rs:44:23
[INFO] [stdout]    |
[INFO] [stdout] 44 |         SlashCommand::new("cph.test")
[INFO] [stdout]    |                       ^^^ function or associated item not found in `SlashCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutput` in the current scope
[INFO] [stdout]   --> src/lib.rs:47:50
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 let output = SlashCommandOutput::new()
[INFO] [stdout]    |                                                  ^^^ function or associated item not found in `SlashCommandOutput`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutputSection` in the current scope
[INFO] [stdout]   --> src/lib.rs:49:57
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     .section(SlashCommandOutputSection::new("Running tests...").info());
[INFO] [stdout]    |                                                         ^^^ function or associated item not found in `SlashCommandOutputSection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutputSection` in the current scope
[INFO] [stdout]   --> src/lib.rs:66:63
[INFO] [stdout]    |
[INFO] [stdout] 66 |                     output.section(SlashCommandOutputSection::new(&format!("Error: {}", e)).error());
[INFO] [stdout]    |                                                               ^^^ function or associated item not found in `SlashCommandOutputSection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutputSection` in the current scope
[INFO] [stdout]   --> src/lib.rs:68:63
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     output.section(SlashCommandOutputSection::new("All tests passed").success());
[INFO] [stdout]    |                                                               ^^^ function or associated item not found in `SlashCommandOutputSection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommand` in the current scope
[INFO] [stdout]   --> src/lib.rs:75:23
[INFO] [stdout]    |
[INFO] [stdout] 75 |         SlashCommand::new("cph.compile")
[INFO] [stdout]    |                       ^^^ function or associated item not found in `SlashCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutput` in the current scope
[INFO] [stdout]   --> src/lib.rs:78:50
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 let output = SlashCommandOutput::new()
[INFO] [stdout]    |                                                  ^^^ function or associated item not found in `SlashCommandOutput`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutputSection` in the current scope
[INFO] [stdout]   --> src/lib.rs:80:57
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     .section(SlashCommandOutputSection::new("Compiling...").info());
[INFO] [stdout]    |                                                         ^^^ function or associated item not found in `SlashCommandOutputSection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutputSection` in the current scope
[INFO] [stdout]   --> src/lib.rs:84:63
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     output.section(SlashCommandOutputSection::new(&format!("Compilation failed: {}", e)).error());
[INFO] [stdout]    |                                                               ^^^ function or associated item not found in `SlashCommandOutputSection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SlashCommandOutputSection` in the current scope
[INFO] [stdout]   --> src/lib.rs:86:63
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     output.section(SlashCommandOutputSection::new("Compilation successful").success());
[INFO] [stdout]    |                                                               ^^^ function or associated item not found in `SlashCommandOutputSection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `description` in initializer of `SlashCommand`
[INFO] [stdout]    --> src/lib.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         SlashCommand {
[INFO] [stdout]     |         ^^^^^^^^^^^^ missing `description`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `sections` in initializer of `SlashCommandOutput`
[INFO] [stdout]    --> src/lib.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         SlashCommandOutput {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ missing `sections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:151:20
[INFO] [stdout]     |
[INFO] [stdout] 151 |             range: None,
[INFO] [stdout]     |                    ^^^^ expected `Range`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `zed_extension_api::wit::zed::extension::common::Range`
[INFO] [stdout]                  found enum `std::option::Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:161:26
[INFO] [stdout]     |
[INFO] [stdout] 161 |             description: None,
[INFO] [stdout]     |                          ^^^^ expected `String`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `std::string::String`
[INFO] [stdout]                  found enum `std::option::Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `SlashCommand` has no field named `handler`
[INFO] [stdout]    --> src/lib.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |             handler: None,
[INFO] [stdout]     |             ^^^^^^^ `SlashCommand` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `tooltip_text`, `requires_argument`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:167:28
[INFO] [stdout]     |
[INFO] [stdout] 167 |         self.description = Some(desc.to_string());
[INFO] [stdout]     |         ----------------   ^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Option<String>`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected due to the type of this binding
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `std::string::String`
[INFO] [stdout]                  found enum `std::option::Option<std::string::String>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `handler` on type `SlashCommand`
[INFO] [stdout]    --> src/lib.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 |         self.handler = Some(Box::new(handler));
[INFO] [stdout]     |              ^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `name`, `description`, `tooltip_text`, `requires_argument`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0116, E0308, E0560, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cph` (lib test) due to 18 previous errors
[INFO] running `Command { std: "docker" "inspect" "427d8df482f3c86ab226309ba83ea97113b186c4e83e62bfb68e5a3b09b62e4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "427d8df482f3c86ab226309ba83ea97113b186c4e83e62bfb68e5a3b09b62e4d", kill_on_drop: false }`
[INFO] [stdout] 427d8df482f3c86ab226309ba83ea97113b186c4e83e62bfb68e5a3b09b62e4d
