Closed clin1234 closed 5 months ago
Windows 11
Attempting to run cargo install --locked --all-features --git https://github.com/lapce/lapce lapce yielded the following output:
cargo install --locked --all-features --git https://github.com/lapce/lapce lapce
Updating git repository `https://github.com/lapce/lapce` Installing lapce v0.4.0 (https://github.com/lapce/lapce#f2355aa0) Updating crates.io index warning: package `wg v0.3.2` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked Compiling proc-macro2 v1.0.79 Compiling unicode-ident v1.0.4 Compiling serde v1.0.197 Compiling cfg-if v1.0.0 Compiling version_check v0.9.4 Compiling jobserver v0.1.25 Compiling once_cell v1.19.0 Compiling autocfg v1.1.0 Compiling log v0.4.20 Compiling memchr v2.7.1 Compiling windows_x86_64_msvc v0.48.5 Compiling winapi v0.3.9 Compiling syn v1.0.109 Compiling zerocopy v0.7.32 Compiling allocator-api2 v0.2.16 Compiling thiserror v1.0.61 Compiling pin-project-lite v0.2.13 Compiling scopeguard v1.1.0 Compiling equivalent v1.0.1 Compiling crossbeam-utils v0.8.19 Compiling windows_x86_64_msvc v0.36.1 Compiling ahash v0.8.11 Compiling anyhow v1.0.69 Compiling libc v0.2.155 Compiling parking_lot_core v0.9.3 Compiling windows_x86_64_msvc v0.52.0 Compiling cc v1.0.90 Compiling semver v1.0.20 Compiling lock_api v0.4.9 Compiling crc32fast v1.3.2 Compiling regex-syntax v0.8.2 Compiling heck v0.4.1 Compiling tracing-core v0.1.30 Compiling aho-corasick v1.1.2 Compiling getrandom v0.2.7 Compiling itoa v1.0.3 Compiling quote v1.0.35 Compiling tinyvec_macros v0.1.0 Compiling rustc-hash v1.1.0 Compiling serde_json v1.0.117 Compiling futures-core v0.3.30 Compiling typenum v1.15.0 Compiling rand_core v0.6.4 Compiling bitflags v1.3.2 Compiling windows-targets v0.48.5 Compiling unicode-width v0.1.12 Compiling tinyvec v1.6.0 Compiling syn v2.0.57 Compiling windows-sys v0.48.0 Compiling windows-sys v0.36.1 Compiling ppv-lite86 v0.2.16 Compiling unicode-bidi v0.3.15 Compiling futures-io v0.3.30 Compiling windows-targets v0.52.0 Compiling either v1.8.0 Compiling target-lexicon v0.12.11 Compiling hashbrown v0.14.5 Compiling arrayvec v0.7.2 Compiling cranelift-isle v0.101.4 Compiling regex-automata v0.4.6 Compiling windows-sys v0.52.0 Compiling slab v0.4.9 Compiling ryu v1.0.11 Compiling rand_chacha v0.3.1 Compiling byteorder v1.4.3 Compiling base64 v0.21.7 Compiling cranelift-codegen-shared v0.101.4 Compiling futures-sink v0.3.30 Compiling cranelift-codegen-meta v0.101.4 Compiling num-traits v0.2.15 Compiling generic-array v0.14.6 Compiling windows_x86_64_msvc v0.42.2 Compiling io-lifetimes v2.0.2 Compiling cfg_aliases v0.1.1 Compiling leb128 v0.2.5 Compiling rand v0.8.5 Compiling futures-channel v0.3.30 Compiling winapi-util v0.1.5 Compiling wasm-encoder v0.35.0 Compiling memoffset v0.6.5 Compiling slotmap v1.0.7 Compiling encoding_rs v0.8.31 Compiling arbitrary v1.3.1 Compiling simd-adler32 v0.3.7 Compiling futures-task v0.3.30 Compiling unicode-segmentation v1.10.0 Compiling slice-group-by v0.3.0 Compiling pin-utils v0.1.0 Compiling tracing-attributes v0.1.23 Compiling serde_derive v1.0.197 Compiling thiserror-impl v1.0.61 Compiling bytemuck_derive v1.5.0 Compiling wasmtime-versioned-export-macros v14.0.2 Compiling futures-macro v0.3.30 Compiling cranelift-control v0.101.4 Compiling regex v1.10.4 Compiling tree-sitter v0.20.10 Compiling bytemuck v1.15.0 Compiling tracing v0.1.37 Compiling zstd-sys v2.0.1+zstd.1.5.2 Compiling crossbeam-epoch v0.9.10 Compiling futures-util v0.3.30 Compiling bytes v1.5.0 Compiling bumpalo v3.14.0 Compiling atomic-waker v1.1.2 Compiling rustix v0.38.32 Compiling io-extras v0.18.0 Compiling adler v1.0.2 Compiling miniz_oxide v0.7.1 Compiling windows-targets v0.42.2 Compiling errno v0.3.8 Compiling crossbeam-channel v0.5.12 Compiling wasmtime-component-util v14.0.2 Compiling khronos_api v3.1.0 Compiling percent-encoding v2.3.1 Compiling ipnet v2.5.0 Compiling ambient-authority v0.0.2 Compiling cap-primitives v2.0.0 Compiling form_urlencoded v1.2.1 Compiling fs-set-times v0.20.0 Compiling socket2 v0.5.5 Compiling cranelift-codegen v0.101.4 Compiling mio v0.8.11 Compiling libloading v0.8.1 Compiling wasmtime-fiber v14.0.2 Compiling tokio-macros v2.2.0 Compiling unicode-normalization v0.1.22 Compiling flate2 v1.0.28 Compiling concurrent-queue v2.2.0 Compiling ittapi-sys v0.3.5 Compiling memoffset v0.9.0 Compiling num_cpus v1.13.1 Compiling smallvec v1.13.2 Compiling bitflags v2.5.0 Compiling indexmap v2.2.6 Compiling cranelift-entity v0.101.4 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling rayon-core v1.12.1 Compiling libm v0.2.7 Compiling regalloc2 v0.9.3 (https://github.com/bytecodealliance/regalloc2?rev=5d79e12d0a93b10fc181f4da409b4671dd365228#5d79e12d) Compiling winx v0.36.2 Compiling ttf-parser v0.20.0 Compiling zstd-safe v5.0.2+zstd.1.5.2 Compiling maybe-owned v0.3.4 Compiling cranelift-bforest v0.101.4 Compiling parking_lot v0.12.3 Compiling gimli v0.28.0 Compiling wasmparser v0.115.0 Compiling object v0.32.1 Compiling pkg-config v0.3.25 Compiling dirs-sys v0.3.7 Compiling digest v0.10.7 Compiling idna v0.5.0 Compiling tokio v1.36.0 Compiling crossbeam-deque v0.8.2 Compiling wasmtime-runtime v14.0.2 Compiling proc-macro2-diagnostics v0.10.1 Compiling xml-rs v0.8.19 Compiling cpp_demangle v0.3.5 Compiling async-trait v0.1.74 Compiling vcpkg v0.2.15 Compiling cpufeatures v0.2.5 Compiling unicode-xid v0.2.4 Compiling id-arena v2.2.1 Compiling raw-window-handle v0.6.0 Compiling cap-std v2.0.0 Compiling wast v35.0.2 Compiling sha2 v0.10.8 Compiling dirs v4.0.0 Compiling url v2.5.0 Compiling wit-parser v0.12.1 Compiling gl_generator v0.14.0 Compiling memfd v0.6.4 Compiling bincode v1.3.3 Compiling toml v0.5.9 Compiling windows-sys v0.45.0 Compiling com_macros_support v0.6.0 Compiling dirs-sys-next v0.1.2 Compiling itertools v0.10.5 Compiling wasmtime-asm-macros v14.0.2 Compiling sptr v0.3.2 Compiling yansi v1.0.1 Compiling uuid v1.5.0 Compiling float-cmp v0.9.0 Compiling rustc-demangle v0.1.21 Compiling memmap2 v0.9.0 Compiling parking v2.2.0 Compiling unicode-ccc v0.1.2 Compiling unicode-script v0.5.5 Compiling unicode-properties v0.1.1 Compiling wasmtime-cache v14.0.2 Compiling unicode-bidi-mirroring v0.1.0 Compiling wasmtime-wmemcheck v14.0.2 Compiling stable_deref_trait v1.2.0 Compiling paste v1.0.9 Compiling debugid v0.8.0 Compiling itertools v0.12.1 Compiling com_macros v0.6.0 Compiling fontdb v0.16.2 Compiling triomphe v0.1.9 Compiling wasmtime-wit-bindgen v14.0.2 Compiling strict-num v0.1.1 Compiling directories-next v2.0.0 Compiling ittapi v0.3.5 Compiling glutin_wgl_sys v0.5.0 Compiling addr2line v0.21.0 Compiling rustybuzz v0.12.1 Compiling rayon v1.10.0 Compiling witx v0.9.1 Compiling shellexpand v2.1.2 Compiling libz-sys v1.1.8 Compiling font-types v0.5.2 Compiling wasmtime-jit-icache-coherence v14.0.2 Compiling wast v66.0.2 Compiling fdeflate v0.3.0 Compiling termcolor v1.4.1 Compiling fxhash v0.2.1 Compiling windows-core v0.51.1 Compiling static_assertions v1.1.0 Compiling wasmtime-jit-debug v14.0.2 Compiling bit-vec v0.6.3 Compiling fnv v1.0.7 Compiling lazy_static v1.4.0 Compiling khronos-egl v6.0.0 Compiling ash v0.37.3+1.3.251 Compiling arrayref v0.3.7 Compiling codespan-reporting v0.11.1 Compiling http v0.2.8 Compiling bit-set v0.5.3 Compiling zstd v0.11.2+zstd.1.5.2 Compiling tiny-skia-path v0.11.4 Compiling wasmtime-component-macro v14.0.2 Compiling png v0.17.10 Compiling fxprof-processed-profile v0.6.0 Compiling read-fonts v0.19.0 Compiling com v0.6.0 Compiling windows v0.51.1 Compiling wasmtime-types v14.0.2 Compiling wasmprinter v0.2.70 Compiling wiggle-generate v14.0.2 Compiling ouroboros_macro v0.18.3 Compiling wg v0.3.2 Compiling gpu-alloc-types v0.3.0 Compiling spirv v0.3.0+sdk-1.3.268.0 Compiling kurbo v0.10.4 Compiling kurbo v0.11.0 Compiling futures-executor v0.3.30 Compiling libloading v0.7.4 Compiling wgpu-hal v0.19.3 Compiling gpu-descriptor-types v0.1.1 Compiling tracing-core v0.2.0 (https://github.com/tokio-rs/tracing?rev=908cc432a5994f6e17c8f36e13c217dc40085704#908cc432) Compiling aliasable v0.1.3 Compiling atomic v0.5.3 Compiling wasi-common v14.0.2 Compiling siphasher v0.3.11 Compiling cap-fs-ext v2.0.0 Compiling bytecount v0.6.3 Compiling rustversion v1.0.14 Compiling yazi v0.1.6 Compiling httparse v1.8.0 Compiling zeno v0.2.2 Compiling seahash v4.1.0 Compiling widestring v1.0.2 Compiling native-tls v0.2.10 Compiling xxhash-rust v0.8.7 Compiling presser v0.3.1 Compiling hexf-parse v0.2.1 Compiling peniko v0.1.0 Compiling wasmtime-environ v14.0.2 Compiling stretto v0.8.1 Compiling svgtypes v0.14.0 Compiling ouroboros v0.18.3 Compiling naga v0.19.2 Compiling gpu-descriptor v0.2.4 Compiling futures v0.3.30 Compiling wiggle-macro v14.0.2 Compiling hassle-rs v0.11.0 Compiling gpu-alloc v0.6.0 Compiling tokio-util v0.7.4 Compiling sys-locale v0.2.4 Compiling libssh2-sys v0.3.0 Compiling wgpu-types v0.19.2 Compiling d3d12 v0.19.0 Compiling schannel v0.1.23 Compiling wgpu-core v0.19.3 Compiling kurbo v0.9.5 Compiling simplecss v0.2.1 Compiling gpu-allocator v0.25.0 Compiling pico-args v0.5.0 Compiling profiling v1.0.10 Compiling renderdoc-sys v1.0.0 Compiling glow v0.13.1 Compiling unicode-vo v0.1.0 Compiling system-interface v0.26.0 Compiling xmlwriter v0.1.0 Compiling try-lock v0.2.3 Compiling data-url v0.3.1 Compiling rangemap v1.3.0 Compiling roxmltree v0.19.0 Compiling unicode-linebreak v0.1.5 Compiling range-alloc v0.1.3 Compiling zune-core v0.4.12 Compiling color_quant v1.1.0 Compiling weezl v0.1.7 Compiling imagesize v0.12.0 Compiling proc-macro-hack v0.5.20+deprecated Compiling zune-jpeg v0.4.11 Compiling want v0.3.0 Compiling h2 v0.3.26 Compiling gif v0.12.0 Compiling usvg v0.40.0 Compiling lapce-xi-rope v0.3.2 Compiling swash v0.1.15 Compiling tiny-skia v0.11.4 Compiling http-body v0.4.5 Compiling event-listener v4.0.3 Compiling event-listener v5.2.0 Compiling cursor-icon v1.1.0 Compiling cap-rand v2.0.0 Compiling rgb v0.8.36 Compiling image-webp v0.1.1 Compiling fd-lock v4.0.0 Compiling bstr v1.7.0 Compiling serde_repr v0.1.9 Compiling socket2 v0.4.7 Compiling wgpu v0.19.3 Compiling thread_local v1.1.4 Compiling tower-service v0.3.2 Compiling httpdate v1.0.2 Compiling jpeg-decoder v0.3.0 Compiling fastrand v2.0.1 Compiling cfg_aliases v0.2.0 Compiling strum_macros v0.26.2 Compiling event-listener-strategy v0.5.0 Compiling softbuffer v0.4.1 Compiling event-listener-strategy v0.4.0 Compiling piper v0.2.1 Compiling tokio-native-tls v0.3.0 Compiling cap-time-ext v2.0.0 Compiling libgit2-sys v0.16.2+1.7.2 Compiling bitmaps v2.1.0 Compiling tracing-attributes v0.2.0 (https://github.com/tokio-rs/tracing?rev=908cc432a5994f6e17c8f36e13c217dc40085704#908cc432) Compiling same-file v1.0.6 Compiling rustc_version v0.4.0 Compiling resvg v0.40.0 Compiling tree-sitter-python v0.20.4 Compiling tree-sitter-toml v0.20.0 Compiling tree-sitter-json v0.20.2 Compiling tree-sitter-cpp v0.20.5 Compiling lsp-types v0.95.1 (https://github.com/lapce/lsp-types?rev=feaa1e2ec80975c9dadd400a238ceacf071058e6#feaa1e2e) Compiling tree-sitter-bash v0.19.0 (https://github.com/tree-sitter/tree-sitter-bash?rev=4488aa41406547e478636a4fcfd24f5bbc3f2f74#4488aa41) Compiling tree-sitter-md v0.1.2 (https://github.com/MDeiml/tree-sitter-markdown.git?rev=272e080bca0efd19a06a7f4252d746417224959e#272e080b) Compiling image v0.25.1 Compiling tree-sitter-javascript v0.20.4 Compiling tree-sitter-c v0.20.8 Compiling tree-sitter-rust v0.20.4 Compiling ident_case v1.0.1 Compiling strum v0.26.2 Compiling wasmtime-wasi v14.0.2 Compiling strsim v0.10.0 Compiling floem-editor-core v0.1.1 (https://github.com/lapce/floem?rev=c9e3d6a131c63286dc634b27c38b95bde43ed90d#c9e3d6a1) Compiling darling_core v0.14.4 Compiling hyper v0.14.27 Compiling cranelift-native v0.101.2 Compiling cranelift-frontend v0.101.2 Compiling wat v1.0.77 Compiling tracing v0.2.0 (https://github.com/tokio-rs/tracing?rev=908cc432a5994f6e17c8f36e13c217dc40085704#908cc432) Compiling floem-cosmic-text v0.7.2 Compiling wasmtime-jit v14.0.2 Compiling include_dir_impl v0.6.2 Compiling wasmtime-cranelift-shared v14.0.2 Compiling sized-chunks v0.6.5 Compiling interprocess v1.2.1 Compiling walkdir v2.5.0 Compiling async-lock v3.3.0 Compiling async-channel v2.2.0 Compiling tracing-log v0.2.0 (https://github.com/tokio-rs/tracing?rev=908cc432a5994f6e17c8f36e13c217dc40085704#908cc432) Compiling tokio-socks v0.5.1 Compiling cap-net-ext v2.0.0 Compiling fontdue v0.8.0 Compiling cranelift-wasm v0.101.2 Compiling serde_urlencoded v0.7.1 Compiling winreg v0.50.0 Compiling euclid v0.22.9 Compiling enum-ordinalize-derive v4.3.1 Compiling floem-winit v0.29.4 Compiling filetime v0.2.17 Compiling rustls-pemfile v1.0.4 Compiling lapce-core v0.4.0 (C:\Users\ךינשגכהד\.cargo\git\checkouts\lapce-c7e27c65ca1d9324\f2355aa\lapce-core) Compiling rand_xoshiro v0.6.0 Compiling futures-lite v2.2.0 Compiling vte_generate_state_changes v0.1.1 Compiling grep-matcher v0.1.6 Compiling im v15.1.0 Compiling unicase v2.7.0 Compiling im-rc v15.1.0 Compiling lazy-bytes-cast v5.0.1 Compiling clap_lex v0.7.0 Compiling rfd v0.14.1 Compiling powerfmt v0.2.0 Compiling utf8parse v0.2.1 Compiling rect_packer v0.2.1 Compiling human-sort v0.2.2 (https://github.com/dragazo/human-sort?rev=1e74db1e09e8194ba88ad983723cf6f8b0c365da#1e74db1e) Compiling overload v0.1.1 Compiling mime v0.3.16 Compiling anstyle v1.0.6 Compiling sync_wrapper v0.1.2 Compiling async-task v4.7.0 Compiling glob v0.3.0 Compiling nu-ansi-term v0.46.0 Compiling vte v0.13.0 Compiling deranged v0.3.11 Compiling floem_renderer v0.1.1 (https://github.com/lapce/floem?rev=c9e3d6a131c63286dc634b27c38b95bde43ed90d#c9e3d6a1) Compiling clap_builder v4.5.1 Compiling clipboard-win v3.1.1 Compiling enum-ordinalize v4.3.0 Compiling blocking v1.5.1 Compiling directories v4.0.1 Compiling include_dir v0.6.2 Compiling hyper-tls v0.5.0 Compiling wasmtime-cranelift v14.0.2 Compiling darling_macro v0.14.4 Compiling globset v0.4.14 Compiling sharded-slab v0.1.4 Compiling polling v3.6.0 Compiling encoding_rs_io v0.1.7 Compiling smol_str v0.2.0 Compiling toml_datetime v0.6.3 Compiling serde_spanned v0.6.3 Compiling windows v0.44.0 Compiling home v0.5.5 Compiling miow v0.6.0 Compiling clap_derive v4.5.0 Compiling reqwest v0.11.27 Compiling spinning v0.1.0 Compiling backtrace v0.3.71 Compiling aho-corasick v0.7.19 Compiling to_method v1.1.0 Compiling time-core v0.1.2 Compiling base64 v0.22.0 Compiling intmap v0.7.1 Compiling arc-swap v1.6.0 Compiling pulldown-cmark v0.10.3 Compiling num-conv v0.1.0 Compiling grid v0.13.0 Compiling raw-window-handle v0.5.2 Compiling memmap2 v0.5.10 Compiling minimal-lexical v0.2.1 Compiling regex-syntax v0.6.27 Compiling winnow v0.5.10 Compiling nom v7.1.1 Compiling darling v0.14.4 Compiling ignore v0.4.20 Compiling grep-searcher v0.1.11 Compiling taffy v0.4.3 Compiling alacritty_terminal v0.23.0 Compiling time v0.3.34 Compiling tracing-subscriber v0.3.0 (https://github.com/tokio-rs/tracing?rev=908cc432a5994f6e17c8f36e13c217dc40085704#908cc432) Compiling lapce-rpc v0.4.0 (C:\Users\ךינשגכהד\.cargo\git\checkouts\lapce-c7e27c65ca1d9324\f2355aa\lapce-rpc) Compiling psp-types v0.1.0 (https://github.com/lapce/psp-types?rev=f7fea28f59e7b2d6faa1034a21679ad49b3524ad#f7fea28f) Compiling floem_tiny_skia_renderer v0.1.1 (https://github.com/lapce/floem?rev=c9e3d6a131c63286dc634b27c38b95bde43ed90d#c9e3d6a1) Compiling educe v0.5.11 error[E0282]: type annotations needed for `Box<_>` --> C:\Users\ךינשגכהד\.cargo\registry\src\index.crates.io-6f17d22bba15001f\time-0.3.34\src\format_description\parse\mod.rs:83:9 | 83 | let items = format_items | ^^^^^ ... 86 | Ok(items.into()) | ---- type must be known at this point | help: consider giving `items` an explicit type, where the placeholders `_` are specified | 83 | let items: Box<_> = format_items | ++++++++ For more information about this error, try `rustc --explain E0282`. error: could not compile `time` (lib) due to 1 previous error warning: build failed, waiting for other jobs to finish... error: failed to compile `lapce v0.4.0 (https://github.com/lapce/lapce#f2355aa0)`, intermediate artifacts can be found at `C:\Users\0BAC~1\AppData\Local\Temp\cargo-installJG5Bzm`. To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Cannot reproduce, make sure you are using latest stable Rust version and you compile from clean environment.
System information
Windows 11
Describe the bug
Attempting to run
cargo install --locked --all-features --git https://github.com/lapce/lapce lapce
yielded the following output: