[INFO] cloning repository https://github.com/elonehoo/zed.extension.template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elonehoo/zed.extension.template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felonehoo%2Fzed.extension.template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felonehoo%2Fzed.extension.template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6e52df0cf1855331c8c66e7d51d967bb4849286 [INFO] checking elonehoo/zed.extension.template against try#bac5816c5f3d02cebd0599070af62d1782530294 for pr-150408 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felonehoo%2Fzed.extension.template" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/elonehoo/zed.extension.template [INFO] finished tweaking git repo https://github.com/elonehoo/zed.extension.template [INFO] tweaked toml for git repo https://github.com/elonehoo/zed.extension.template written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elonehoo/zed.extension.template on toolchain bac5816c5f3d02cebd0599070af62d1782530294 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/elonehoo/zed.extension.template 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" "+bac5816c5f3d02cebd0599070af62d1782530294" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-1-tc2/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `zed_extension_template` [INFO] [stderr] * `bin` target `zed_extension_template` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zed_extension_api v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58fc5b23141d345d3d69bf70db186be4c04b2228455cf6d5cd7f4bf485afc8f4 [INFO] running `Command { std: "docker" "start" "-a" "58fc5b23141d345d3d69bf70db186be4c04b2228455cf6d5cd7f4bf485afc8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58fc5b23141d345d3d69bf70db186be4c04b2228455cf6d5cd7f4bf485afc8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58fc5b23141d345d3d69bf70db186be4c04b2228455cf6d5cd7f4bf485afc8f4", kill_on_drop: false }` [INFO] [stdout] 58fc5b23141d345d3d69bf70db186be4c04b2228455cf6d5cd7f4bf485afc8f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89829d0518434aaa9bc7291e4862e0f995c763a7b56a97ab3c54014bbbe41b0d [INFO] running `Command { std: "docker" "start" "-a" "89829d0518434aaa9bc7291e4862e0f995c763a7b56a97ab3c54014bbbe41b0d", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `zed_extension_template` [INFO] [stderr] * `bin` target `zed_extension_template` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling spdx v0.10.4 [INFO] [stderr] Compiling wit-bindgen-rust v0.22.0 [INFO] [stderr] Compiling wit-bindgen-rt v0.22.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling wasm-encoder v0.201.0 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.22.0 [INFO] [stderr] Compiling zed_extension_api v0.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling wasmparser v0.201.0 [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 zed_extension_template v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `new` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | impl zed::Extension for MyExtension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `new` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn new() -> Self { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `zed_extension_template` [INFO] [stdout] --> src/main.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | zed::register_extension!(MyExtension); [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `new` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | impl zed::Extension for MyExtension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `new` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn new() -> Self { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `new` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | impl zed::Extension for MyExtension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `new` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn new() -> Self { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `new` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | impl zed::Extension for MyExtension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `new` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn new() -> Self { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zed_extension_template` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zed_extension_template` (lib) due to 1 previous error [INFO] [stderr] error: could not compile `zed_extension_template` (bin "zed_extension_template" test) due to 1 previous error [INFO] [stderr] error: could not compile `zed_extension_template` (bin "zed_extension_template") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "89829d0518434aaa9bc7291e4862e0f995c763a7b56a97ab3c54014bbbe41b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89829d0518434aaa9bc7291e4862e0f995c763a7b56a97ab3c54014bbbe41b0d", kill_on_drop: false }` [INFO] [stdout] 89829d0518434aaa9bc7291e4862e0f995c763a7b56a97ab3c54014bbbe41b0d