[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#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felonehoo%2Fzed.extension.template" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elonehoo/zed.extension.template on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-0-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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking elonehoo/zed.extension.template against try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felonehoo%2Fzed.extension.template" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elonehoo/zed.extension.template on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-0-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] [stderr] Downloaded wasm-metadata v0.201.0 [INFO] [stderr] Downloaded wit-bindgen-rust-macro v0.22.0 [INFO] [stderr] Downloaded wit-bindgen-rust v0.22.0 [INFO] [stderr] Downloaded wasm-encoder v0.201.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-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.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08513057644de5c70433b04d3ef9be98390ee86c44e7565c5b61f5180aa79c02 [INFO] running `Command { std: "docker" "start" "-a" "08513057644de5c70433b04d3ef9be98390ee86c44e7565c5b61f5180aa79c02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08513057644de5c70433b04d3ef9be98390ee86c44e7565c5b61f5180aa79c02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08513057644de5c70433b04d3ef9be98390ee86c44e7565c5b61f5180aa79c02", kill_on_drop: false }` [INFO] [stdout] 08513057644de5c70433b04d3ef9be98390ee86c44e7565c5b61f5180aa79c02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fda3c0475b2a22937d3847907193d71a73bf8a2397757dbb391688f27169ff6a [INFO] running `Command { std: "docker" "start" "-a" "fda3c0475b2a22937d3847907193d71a73bf8a2397757dbb391688f27169ff6a", 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 hashbrown v0.14.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling wit-bindgen-rust v0.22.0 [INFO] [stderr] Compiling wasm-encoder v0.201.0 [INFO] [stderr] Compiling spdx v0.10.4 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.22.0 [INFO] [stderr] Compiling wit-bindgen-rt 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[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] 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] 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] [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] [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` (bin "zed_extension_template") due to 2 previous errors [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] running `Command { std: "docker" "inspect" "fda3c0475b2a22937d3847907193d71a73bf8a2397757dbb391688f27169ff6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda3c0475b2a22937d3847907193d71a73bf8a2397757dbb391688f27169ff6a", kill_on_drop: false }` [INFO] [stdout] fda3c0475b2a22937d3847907193d71a73bf8a2397757dbb391688f27169ff6a