TakumiBC / zed-windows

This repository uses GitHub Actions to compile a Windows version of Zed.
MIT License
35 stars 16 forks source link

Path too long when building zed #3

Open buptsad opened 1 day ago

buptsad commented 1 day ago
error: failed to get `pet` as a dependency of package `languages v0.1.0 (D:\a\zed-windows\zed-windows\zed\crates\languages)`

Caused by:
  failed to load source for dependency `pet`

Caused by:
  Unable to update https://github.com/microsoft/python-environment-tools.git?rev=ffcbf3f28c46633abd54[48](https://github.com/buptsad/zed-windows/actions/runs/11358102453/job/32439663070#step:7:49)a52b1f396c322e0d6c#ffcbf3f2

Caused by:
  path too long: 'C:/Users/runneradmin/.cargo/git/checkouts/python-environment-tools-903993894b37a7d2/ffcbf3f/crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/some_other_location/conda_install/conda-meta/python-fastjsonschema-2.16.2-py310hca03da5_0.json'; class=Filesystem (30)
Error: Process completed with exit code 1.
TakumiBC commented 1 day ago

Try rerunning it.

YuenSzeHong commented 1 day ago

it still got the same error

30s
Run cd zed
info: syncing channel updates for '[1](https://github.com/YuenSzeHong/zed-windows/actions/runs/11657421063/job/32455048703#step:7:1).81-x86_64-pc-windows-msvc'
info: latest update on 2024-09-05, rust version 1.81.0 (eeb90cda1 2024-09-04)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-std' for 'aarch64-apple-darwin'
info: downloading component 'rust-std' for 'wasm32-wasip1'
info: downloading component 'rust-std' for 'x86_64-apple-darwin'
info: downloading component 'rust-std'
info: downloading component 'rust-std' for 'x86_64-unknown-linux-gnu'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-std' for 'aarch64-apple-darwin'
info: installing component 'rust-std' for 'wasm32-wasip1'
info: installing component 'rust-std' for 'x86_64-apple-darwin'
info: installing component 'rust-std'
info: installing component 'rust-std' for 'x86_64-unknown-linux-gnu'
info: installing component 'rustc'
info: installing component 'rustfmt'
    Updating crates.io index
    Updating git repository `https://github.com/kvark/blade`
    Updating git repository `https://github.com/pop-os/cosmic-text`
    Updating git repository `https://github.com/zed-industries/font-kit`
    Updating git repository `https://github.com/XDeme1/xim-rs`
    Updating git repository `https://github.com/ConradIrwin/xkbcommon-rs`
    Updating git repository `https://github.com/zed-industries/tree-sitter-heex`
    Updating git repository `https://github.com/tree-sitter-grammars/tree-sitter-markdown`
    Updating git repository `https://github.com/zed-industries/async-pipe-rs`
    Updating git repository `https://github.com/zed-industries/lsp-types`
    Updating git repository `https://github.com/microsoft/python-environment-tools.git`
error: failed to get `pet` as a dependency of package `languages v0.1.0 (D:\a\zed-windows\zed-windows\zed\crates\languages)`
Caused by:
  failed to load source for dependency `pet`
Caused by:
  Unable to update https://github.com/microsoft/python-environment-tools.git?rev=ffcbf3f28c46633abd5448a52b1f396c322e0d6c#ffcbf3f2
Caused by:
  path too long: 'C:/Users/runneradmin/.cargo/git/checkouts/python-environment-tools-903993894b3[7](https://github.com/YuenSzeHong/zed-windows/actions/runs/11657421063/job/32455048703#step:7:8)a7d2/ffcbf3f/crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/some_other_location/conda_install/conda-meta/python-fastjsonschema-2.16.2-py310hca03da5_0.json'; class=Filesystem (30)