100-exercises-to-learn-rust icon indicating copy to clipboard operation
100-exercises-to-learn-rust copied to clipboard

failed to run custom build command for `fs-err v2.11.0`

Open fdciabdul opened this issue 11 months ago • 0 comments

image just trying to install by following the instruction, but i'm unable to install the workshop-runner library

is there any way to fix this?

  Installing workshop-runner v0.2.1
    Updating crates.io index
    Updating crates.io index
   Compiling proc-macro2 v1.0.86
   Compiling unicode-ident v1.0.12
   Compiling windows_x86_64_msvc v0.52.5
   Compiling version_check v0.9.4
   Compiling cfg-if v1.0.0
   Compiling once_cell v1.19.0
   Compiling zerocopy v0.7.34
   Compiling serde v1.0.203
   Compiling allocator-api2 v0.2.18
   Compiling anstyle v1.0.7
   Compiling vcpkg v0.2.15
   Compiling utf8parse v0.2.2
   Compiling cc v1.0.103
   Compiling pkg-config v0.3.30
   Compiling colorchoice v1.0.1
   Compiling memchr v2.7.4
   Compiling equivalent v1.0.1
   Compiling anstyle-parse v0.2.4
   Compiling autocfg v1.3.0
   Compiling is_terminal_polyfill v1.70.0
   Compiling regex-syntax v0.8.4
   Compiling heck v0.5.0
   Compiling anyhow v1.0.86
   Compiling windows-targets v0.52.5
   Compiling winnow v0.5.40
   Compiling clap_lex v0.7.1
   Compiling strsim v0.11.1
   Compiling ahash v0.8.11
   Compiling windows-sys v0.52.0
   Compiling bitflags v2.6.0
   Compiling fallible-iterator v0.2.0
   Compiling unicode-linebreak v0.1.5
   Compiling fs-err v2.11.0
   Compiling unicode-width v0.1.13
   Compiling aho-corasick v1.1.3
   Compiling smallvec v1.13.2
   Compiling fallible-streaming-iterator v0.1.9
   Compiling quote v1.0.36
   Compiling smawk v0.3.2
error: failed to run custom build command for `fs-err v2.11.0`

Caused by:
  process didn't exit successfully: `C:\Users\mumur\AppData\Local\Temp\cargo-installt8mq6M\release\build\fs-err-e6b773c683ce204b\build-script-build` (exit code: 101)
  --- stderr
  thread 'main' panicked at C:\Users\mumur\.cargo\registry\src\index.crates.io-6f17d22bba15001f\autocfg-1.3.0\src\lib.rs:132:20:
  called `Result::unwrap()` on an `Err` value: Error { kind: Io(Error { kind: NotFound, message: "program not found" }) }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `workshop-runner v0.2.1`, intermediate artifacts can be found at `C:\Users\mumur\AppData\Local\Temp\cargo-installt8mq6M`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

C:\Users\mumur\Documents\PROJECT\100-exercises-to-learn-rust\exercises>```

fdciabdul avatar Jan 13 '25 05:01 fdciabdul