Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install with CARGO failing. #275

Open
futuremotiondev opened this issue Oct 16, 2024 · 1 comment
Open

Install with CARGO failing. #275

futuremotiondev opened this issue Oct 16, 2024 · 1 comment
Labels
cargo help wanted Extra attention is needed

Comments

@futuremotiondev
Copy link

Describe the bug

  1. I installed the latest rustup-init.exe (https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe)
  2. I restarted the shell and ran cargo install microbin
  3. The build failed with many errors. See the below log:

Microbin Install Failure Log.txt

    Updating crates.io index
  Downloaded microbin v2.0.4
  Downloaded 1 crate (2.0 MB) in 0.64s
  Installing microbin v2.0.4
    Updating crates.io index
     Locking 306 packages to latest compatible versions
      Adding actix-multipart v0.4.0 (latest: v0.7.2)
      Adding actix-web-httpauth v0.6.0 (latest: v0.8.2)
      Adding aes v0.7.5 (latest: v0.8.4)
      Adding arrayvec v0.5.2 (latest: v0.7.6)
      Adding askama v0.10.5 (latest: v0.12.1)
      Adding askama_derive v0.10.5 (latest: v0.12.5)
      Adding askama_escape v0.3.0 (latest: v0.10.3)
      Adding askama_shared v0.9.1 (latest: v0.12.2)
      Adding askama_shared v0.11.2 (latest: v0.12.2)
      Adding base64 v0.13.1 (latest: v0.22.1)
      Adding base64 v0.21.7 (latest: v0.22.1)
      Adding bitflags v1.3.2 (latest: v2.6.0)
      Adding bitvec v0.19.6 (latest: v1.0.1)
      Adding block-buffer v0.9.0 (latest: v0.10.4)
      Adding block-modes v0.8.1 (latest: v0.9.1)
      Adding block-padding v0.2.1 (latest: v0.3.3)
      Adding brotli v6.0.0 (latest: v7.0.0)
      Adding cipher v0.3.0 (latest: v0.4.4)
      Adding clap v3.2.25 (latest: v4.5.20)
      Adding clap_derive v3.2.25 (latest: v4.5.18)
      Adding clap_lex v0.2.4 (latest: v0.7.2)
      Adding convert_case v0.4.0 (latest: v0.6.0)
      Adding cookie v0.16.2 (latest: v0.18.1)
      Adding core-foundation v0.9.4 (latest: v0.10.0)
      Adding derive_more v0.99.18 (latest: v1.0.0)
      Adding des v0.7.0 (latest: v0.8.1)
      Adding digest v0.9.0 (latest: v0.10.7)
      Adding env_logger v0.9.3 (latest: v0.11.5)
      Adding fallible-iterator v0.2.0 (latest: v0.3.0)
      Adding foreign-types v0.3.2 (latest: v0.5.0)
      Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
      Adding funty v1.1.0 (latest: v2.0.0)
      Adding generic-array v0.14.7 (latest: v1.1.0)
      Adding h2 v0.3.26 (latest: v0.4.6)
      Adding hashbrown v0.12.3 (latest: v0.15.0)
      Adding hashbrown v0.14.5 (latest: v0.15.0)
      Adding hashlink v0.8.4 (latest: v0.9.1)
      Adding heck v0.4.1 (latest: v0.5.0)
      Adding hermit-abi v0.1.19 (latest: v0.4.0)
      Adding hermit-abi v0.3.9 (latest: v0.4.0)
      Adding http v0.2.12 (latest: v1.1.0)
      Adding http-body v0.4.6 (latest: v1.0.1)
      Adding humansize v1.1.1 (latest: v2.1.3)
      Adding hyper v0.14.31 (latest: v1.5.0)
      Adding hyper-tls v0.5.0 (latest: v0.6.0)
      Adding idna v0.5.0 (latest: v1.0.2)
      Adding image v0.24.9 (latest: v0.25.3)
      Adding indexmap v1.9.3 (latest: v2.6.0)
      Adding lexical-core v0.7.6 (latest: v1.0.2)
      Adding libsqlite3-sys v0.26.0 (latest: v0.30.1)
      Adding linkify v0.8.1 (latest: v0.10.0)
      Adding linux-raw-sys v0.4.14 (latest: v0.6.5)
      Adding md-5 v0.9.1 (latest: v0.10.6)
      Adding nom v6.1.2 (latest: v7.1.3)
      Adding os_str_bytes v6.6.1 (latest: v7.0.0)
      Adding quick-xml v0.32.0 (latest: v0.36.2)
      Adding radium v0.5.3 (latest: v1.1.0)
      Adding reqwest v0.11.27 (latest: v0.12.8)
      Adding rusqlite v0.29.0 (latest: v0.32.1)
      Adding rust-embed v6.8.1 (latest: v8.5.0)
      Adding rust-embed-impl v6.8.1 (latest: v8.5.0)
      Adding rust-embed-utils v7.8.1 (latest: v8.5.0)
      Adding rustls-pemfile v1.0.4 (latest: v2.2.0)
      Adding sanitize-filename v0.3.0 (latest: v0.5.0)
      Adding security-framework v2.11.1 (latest: v3.0.0)
      Adding sha2 v0.9.9 (latest: v0.10.8)
      Adding strsim v0.10.0 (latest: v0.11.1)
      Adding syn v1.0.109 (latest: v2.0.79)
      Adding sync_wrapper v0.1.2 (latest: v1.0.1)
      Adding system-configuration v0.5.1 (latest: v0.6.1)
      Adding system-configuration-sys v0.5.0 (latest: v0.6.0)
      Adding tiger v0.1.0 (latest: v0.2.1)
      Adding toml v0.5.11 (latest: v0.8.19)
      Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.3+wasi-0.2.2)
      Adding windows-core v0.52.0 (latest: v0.58.0)
      Adding windows-sys v0.48.0 (latest: v0.59.0)
      Adding windows-sys v0.52.0 (latest: v0.59.0)
      Adding windows-targets v0.48.5 (latest: v0.52.6)
      Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6)
      Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6)
      Adding windows_i686_gnu v0.48.5 (latest: v0.52.6)
      Adding windows_i686_msvc v0.48.5 (latest: v0.52.6)
      Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6)
      Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6)
      Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6)
      Adding winreg v0.50.0 (latest: v0.52.0)
      Adding wyz v0.2.0 (latest: v0.6.1)
      Adding zerocopy v0.7.35 (latest: v0.8.6)
      Adding zerocopy-derive v0.7.35 (latest: v0.8.6)
  Downloaded actix-codec v0.5.2
  Downloaded atty v0.2.14
  Downloaded askama_escape v0.3.0
  Downloaded askama-filters v0.1.3
  Downloaded foreign-types-shared v0.1.1
  Downloaded adler2 v2.0.0
  Downloaded actix-web-codegen v4.3.0
  Downloaded http-body v0.4.6
  Downloaded http-range v0.1.5
  Downloaded html-escape v0.2.13
  Downloaded actix-web-httpauth v0.6.0
  Downloaded harsh v0.2.2
  Downloaded proc-macro-error-attr v1.0.4
  Downloaded log v0.4.22
  Downloaded futures v0.3.31
  Downloaded derive_more v0.99.18
  Downloaded rustls-pemfile v1.0.4
  Downloaded http v0.2.12
  Downloaded qrcode-generator v4.1.9
  Downloaded qrcodegen v1.8.0
  Downloaded smallvec v1.13.2
  Downloaded proc-macro2 v1.0.88
  Downloaded serde v1.0.210
  Downloaded png v0.17.14
  Downloaded regex v1.11.0
  Downloaded syn v1.0.109
  Downloaded local-waker v0.1.4
  Downloaded rand_core v0.6.4
  Downloaded rand_chacha v0.3.1
  Downloaded radium v0.5.3
  Downloaded rand v0.8.5
  Downloaded httpdate v1.0.3
  Downloaded regex-automata v0.4.8
  Downloaded regex-lite v0.1.6
  Downloaded hyper-tls v0.5.0
  Downloaded rusqlite v0.29.0
  Downloaded pkg-config v0.3.31
  Downloaded pin-project-lite v0.2.14
  Downloaded slab v0.4.9
  Downloaded quick-xml v0.32.0
  Downloaded memchr v2.7.4
  Downloaded mio v1.0.2
  Downloaded zerocopy v0.7.35
  Downloaded tokio-util v0.7.12
  Downloaded regex-syntax v0.8.5
  Downloaded nom v6.1.2
  Downloaded hyper v0.14.31
  Downloaded vcpkg v0.2.15
  Downloaded url v2.5.2
  Downloaded openssl v0.10.67
  Downloaded unicode-normalization v0.1.24
  Downloaded idna v0.5.0
  Downloaded time v0.3.36
  Downloaded syntect v5.2.0
  Downloaded indexmap v2.6.0
  Downloaded typenum v1.17.0
  Downloaded tracing v0.1.40
  Downloaded mime_guess v2.0.5
  Downloaded zerocopy-derive v0.7.35
  Downloaded yaml-rust v0.4.5
  Downloaded unicode-ident v1.0.13
  Downloaded toml v0.5.11
  Downloaded tinyvec v1.8.0
  Downloaded lexical-core v0.7.6
  Downloaded tiger v0.1.0
  Downloaded openssl-sys v0.9.104
  Downloaded onig v6.4.0
  Downloaded brotli v6.0.0
  Downloaded miniz_oxide v0.8.0
  Downloaded onig_sys v69.8.1
  Downloaded encoding_rs v0.8.34
  Downloaded language-tags v0.3.2
  Downloaded indexmap v1.9.3
  Downloaded unicode-bidi v0.3.17
  Downloaded parking_lot_core v0.9.10
  Downloaded os_str_bytes v6.6.1
  Downloaded zstd-sys v2.0.13+zstd.1.5.6
  Downloaded libc v0.2.159
  Downloaded tokio v1.40.0
  Downloaded windows_x86_64_msvc v0.52.6
  Downloaded windows_x86_64_msvc v0.48.5
  Downloaded once_cell v1.20.2
  Downloaded lock_api v0.4.12
  Downloaded httparse v1.9.5
  Downloaded winreg v0.50.0
  Downloaded winapi-util v0.1.9
  Downloaded tracing-core v0.1.32
  Downloaded paste v1.0.15
  Downloaded parking_lot v0.12.3
  Downloaded num-traits v0.2.19
  Downloaded mime v0.3.17
  Downloaded md-5 v0.9.1
  Downloaded rust-embed v6.8.1
  Downloaded local-channel v0.1.5
  Downloaded linkify v0.8.1
  Downloaded impl-more v0.1.8
  Downloaded humansize v1.1.1
  Downloaded zstd-safe v7.2.1
  Downloaded zstd v0.13.2
  Downloaded reqwest v0.11.27
  Downloaded tokio-native-tls v0.3.1
  Downloaded walkdir v2.5.0
  Downloaded version_check v0.9.5
  Downloaded v_htmlescape v0.15.8
  Downloaded unicase v2.7.0
  Downloaded twoway v0.2.2
  Downloaded time-macros v0.2.18
  Downloaded time-core v0.1.2
  Downloaded winapi v0.3.9
  Downloaded thiserror-impl v1.0.64
  Downloaded thiserror v1.0.64
  Downloaded pin-utils v0.1.0
  Downloaded opaque-debug v0.3.1
  Downloaded num-conv v0.1.0
  Downloaded native-tls v0.2.12
  Downloaded magic-crypt v3.1.13
  Downloaded linked-hash-map v0.5.6
  Downloaded jobserver v0.1.32
  Downloaded ipnet v2.10.1
  Downloaded humantime v2.1.0
  Downloaded windows-targets v0.48.5
  Downloaded want v0.3.1
  Downloaded try-lock v0.2.5
  Downloaded wyz v0.2.0
  Downloaded quote v1.0.37
  Downloaded percent-encoding v2.3.1
  Downloaded lazy_static v1.5.0
  Downloaded itoa v1.0.11
  Downloaded unchecked-index v0.2.2
  Downloaded syn v2.0.79
  Downloaded windows-targets v0.52.6
  Downloaded utf8-width v0.1.7
  Downloaded serde_json v1.0.128
  Downloaded clap v3.2.25
  Downloaded actix-web v4.9.0
  Downloaded chrono v0.4.38
  Downloaded aho-corasick v1.1.3
  Downloaded textwrap v0.16.1
  Downloaded socket2 v0.5.7
  Downloaded schannel v0.1.26
  Downloaded ryu v1.0.18
  Downloaded sha2 v0.10.8
  Downloaded serde_derive v1.0.210
  Downloaded semver v1.0.23
  Downloaded scopeguard v1.2.0
  Downloaded serde_urlencoded v0.7.1
  Downloaded tower-service v0.3.3
  Downloaded ppv-lite86 v0.2.20
  Downloaded powerfmt v0.2.0
  Downloaded termcolor v1.4.1
  Downloaded strsim v0.10.0
  Downloaded static_assertions v1.1.0
  Downloaded same-file v1.0.6
  Downloaded simd-adler32 v0.3.7
  Downloaded shlex v1.3.0
  Downloaded sha2 v0.9.9
  Downloaded windows-sys v0.59.0
  Downloaded sha1 v0.10.6
  Downloaded h2 v0.3.26
  Downloaded futures-util v0.3.31
  Downloaded brotli-decompressor v4.0.1
  Downloaded tap v1.0.1
  Downloaded sync_wrapper v0.1.2
  Downloaded sanitize-filename v0.3.0
  Downloaded rust-embed-utils v7.8.1
  Downloaded rust-embed-impl v6.8.1
  Downloaded plist v1.7.0
  Downloaded hashbrown v0.15.0
  Downloaded hashbrown v0.14.5
  Downloaded bitvec v0.19.6
  Downloaded aes v0.7.5
  Downloaded hashbrown v0.12.3
  Downloaded windows-sys v0.52.0
  Downloaded flate2 v1.0.34
  Downloaded cc v1.1.30
  Downloaded base64 v0.22.1
  Downloaded windows-sys v0.48.0
  Downloaded base64 v0.21.7
  Downloaded rustc_version v0.4.1
  Downloaded proc-macro-error v1.0.4
  Downloaded crc32fast v1.4.2
  Downloaded bytemuck v1.19.0
  Downloaded bitflags v2.6.0
  Downloaded base64 v0.13.1
  Downloaded allocator-api2 v0.2.18
  Downloaded actix-http v3.9.0
  Downloaded tinyvec_macros v0.1.1
  Downloaded hashlink v0.8.4
  Downloaded getrandom v0.2.15
  Downloaded bytes v1.7.2
  Downloaded bincode v1.3.3
  Downloaded askama_shared v0.11.2
  Downloaded arrayvec v0.5.2
  Downloaded openssl-macros v0.1.1
  Downloaded des v0.7.0
  Downloaded crc-any v2.5.0
  Downloaded clap_derive v3.2.25
  Downloaded bytestring v1.3.1
  Downloaded block-modes v0.8.1
  Downloaded autocfg v1.4.0
  Downloaded askama_escape v0.10.3
  Downloaded ahash v0.8.11
  Downloaded actix-server v2.5.0
  Downloaded futures-io v0.3.31
  Downloaded futures-core v0.3.31
  Downloaded futures-channel v0.3.31
  Downloaded form_urlencoded v1.2.1
  Downloaded fdeflate v0.3.5
  Downloaded fallible-streaming-iterator v0.1.9
  Downloaded equivalent v1.0.1
  Downloaded env_logger v0.9.3
  Downloaded digest v0.9.0
  Downloaded cpufeatures v0.2.14
  Downloaded cookie v0.16.2
  Downloaded convert_case v0.4.0
  Downloaded cipher v0.3.0
  Downloaded cfg-if v1.0.0
  Downloaded askama v0.10.5
  Downloaded actix-router v0.5.3
  Downloaded actix-service v2.0.2
  Downloaded funty v1.1.0
  Downloaded actix-rt v2.10.0
  Downloaded actix-files v0.6.6
  Downloaded heck v0.4.1
  Downloaded generic-array v0.14.7
  Downloaded futures-task v0.3.31
  Downloaded futures-sink v0.3.31
  Downloaded futures-macro v0.3.31
  Downloaded futures-executor v0.3.31
  Downloaded foreign-types v0.3.2
  Downloaded fnv v1.0.7
  Downloaded fallible-iterator v0.2.0
  Downloaded digest v0.10.7
  Downloaded debug-helper v0.3.13
  Downloaded color_quant v1.1.0
  Downloaded byteorder v1.5.0
  Downloaded block-padding v0.2.1
  Downloaded block-buffer v0.9.0
  Downloaded askama_derive v0.10.5
  Downloaded alloc-stdlib v0.2.2
  Downloaded alloc-no-stdlib v2.0.4
  Downloaded actix-multipart v0.4.0
  Downloaded deranged v0.3.11
  Downloaded crypto-common v0.1.6
  Downloaded clap_lex v0.2.4
  Downloaded bytesize v1.3.0
  Downloaded block-buffer v0.10.4
  Downloaded bitflags v1.3.2
  Downloaded askama_shared v0.9.1
  Downloaded actix-utils v3.0.1
  Downloaded actix-macros v0.2.4
  Downloaded libsqlite3-sys v0.26.0
  Downloaded openssl-src v300.3.2+3.3.2
  Downloaded image v0.24.9
  Downloaded 254 crates (54.0 MB) in 5.28s (largest was `openssl-src` at 9.8 MB)
   Compiling version_check v0.9.5
   Compiling proc-macro2 v1.0.88
   Compiling unicode-ident v1.0.13
   Compiling windows_x86_64_msvc v0.52.6
   Compiling cfg-if v1.0.0
   Compiling autocfg v1.4.0
   Compiling typenum v1.17.0
   Compiling memchr v2.7.4
   Compiling jobserver v0.1.32
   Compiling shlex v1.3.0
   Compiling pkg-config v0.3.31
   Compiling pin-project-lite v0.2.14
   Compiling once_cell v1.20.2
   Compiling futures-core v0.3.31
   Compiling serde v1.0.210
   Compiling bytes v1.7.2
   Compiling log v0.4.22
   Compiling byteorder v1.5.0
   Compiling itoa v1.0.11
   Compiling smallvec v1.13.2
   Compiling parking_lot_core v0.9.10
   Compiling scopeguard v1.2.0
   Compiling futures-sink v0.3.31
   Compiling fnv v1.0.7
   Compiling pin-utils v0.1.0
   Compiling futures-task v0.3.31
   Compiling futures-io v0.3.31
   Compiling hashbrown v0.15.0
   Compiling radium v0.5.3
   Compiling cpufeatures v0.2.14
   Compiling percent-encoding v2.3.1
   Compiling getrandom v0.2.15
   Compiling simd-adler32 v0.3.7
   Compiling equivalent v1.0.1
   Compiling ryu v1.0.18
   Compiling adler2 v2.0.0
   Compiling futures-channel v0.3.31
   Compiling regex-syntax v0.8.5
   Compiling cc v1.1.30
   Compiling crc32fast v1.4.2
   Compiling bitflags v1.3.2
   Compiling tracing-core v0.1.32
   Compiling httparse v1.9.5
   Compiling lexical-core v0.7.6
   Compiling miniz_oxide v0.8.0
   Compiling paste v1.0.15
   Compiling tinyvec_macros v0.1.1
   Compiling time-core v0.1.2
   Compiling vcpkg v0.2.15
   Compiling powerfmt v0.2.0
   Compiling num-conv v0.1.0
   Compiling windows-targets v0.52.6
   Compiling tinyvec v1.8.0
   Compiling httpdate v1.0.3
   Compiling local-waker v0.1.4
   Compiling bitflags v2.6.0
   Compiling serde_json v1.0.128
   Compiling windows-sys v0.52.0
   Compiling windows-sys v0.59.0
   Compiling alloc-no-stdlib v2.0.4
   Compiling zstd-safe v7.2.1
   Compiling syn v1.0.109
   Compiling form_urlencoded v1.2.1
   Compiling time-macros v0.2.18
   Compiling generic-array v0.14.7
   Compiling ahash v0.8.11
   Compiling unicase v2.7.0
   Compiling nom v6.1.2
   Compiling deranged v0.3.11
   Compiling alloc-stdlib v0.2.2
   Compiling rand_core v0.6.4
   Compiling lock_api v0.4.12
   Compiling slab v0.4.9
   Compiling http v0.2.12
   Compiling tracing v0.1.40
   Compiling aho-corasick v1.1.3
   Compiling num-traits v0.2.19
   Compiling base64 v0.22.1
   Compiling flate2 v1.0.34
   Compiling unicode-bidi v0.3.17
   Compiling quote v1.0.37
   Compiling indexmap v2.6.0
   Compiling mime v0.3.17
   Compiling brotli-decompressor v4.0.1
   Compiling syn v2.0.79
   Compiling parking_lot v0.12.3
   Compiling bytestring v1.3.1
   Compiling actix-service v2.0.2
   Compiling cookie v0.16.2
   Compiling actix-utils v3.0.1
   Compiling encoding_rs v0.8.34
   Compiling libc v0.2.159
   Compiling regex-lite v0.1.6
   Compiling convert_case v0.4.0
   Compiling windows_x86_64_msvc v0.48.5
   Compiling block-padding v0.2.1
   Compiling unicode-normalization v0.1.24
   Compiling openssl-src v300.3.2+3.3.2
   Compiling proc-macro-error-attr v1.0.4
   Compiling local-channel v0.1.5
   Compiling static_assertions v1.1.0
   Compiling funty v1.1.0
   Compiling tap v1.0.1
   Compiling language-tags v0.3.2
   Compiling native-tls v0.2.12
   Compiling arrayvec v0.5.2
   Compiling opaque-debug v0.3.1
   Compiling winapi v0.3.9
   Compiling wyz v0.2.0
   Compiling block-buffer v0.10.4
   Compiling idna v0.5.0
   Compiling winapi-util v0.1.9
   Compiling crypto-common v0.1.6
   Compiling bitvec v0.19.6
   Compiling proc-macro-error v1.0.4
   Compiling brotli v6.0.0
   Compiling same-file v1.0.6
   Compiling digest v0.10.7
   Compiling block-buffer v0.9.0
   Compiling socket2 v0.5.7
   Compiling mio v1.0.2
   Compiling cipher v0.3.0
   Compiling digest v0.9.0
   Compiling humansize v1.1.1
   Compiling impl-more v0.1.8
   Compiling regex-automata v0.4.8
   Compiling time v0.3.36
   Compiling sha1 v0.10.6
   Compiling try-lock v0.2.5
   Compiling sha2 v0.10.8
   Compiling mime_guess v2.0.5
   Compiling want v0.3.1
   Compiling walkdir v2.5.0
   Compiling windows-targets v0.48.5
   Compiling http-body v0.4.6
   Compiling url v2.5.2
   Compiling tokio v1.40.0
   Compiling zstd-sys v2.0.13+zstd.1.5.6
   Compiling openssl-sys v0.9.104
   Compiling onig_sys v69.8.1
   Compiling libsqlite3-sys v0.26.0
   Compiling indexmap v1.9.3
   Compiling fdeflate v0.3.5
   Compiling allocator-api2 v0.2.18
   Compiling thiserror v1.0.64
   Compiling v_htmlescape v0.15.8
   Compiling tower-service v0.3.3
   Compiling askama_escape v0.10.3
   Compiling base64 v0.21.7
   Compiling png v0.17.14
   Compiling rust-embed-utils v7.8.1
   Compiling windows-sys v0.48.0
   Compiling actix-router v0.5.3
   Compiling quick-xml v0.32.0
   Compiling hashbrown v0.12.3
   Compiling foreign-types-shared v0.1.1
   Compiling bytemuck v1.19.0
   Compiling openssl v0.10.67
   Compiling linked-hash-map v0.5.6
   Compiling color_quant v1.1.0
   Compiling debug-helper v0.3.13
   Compiling utf8-width v0.1.7
   Compiling askama_escape v0.3.0
   Compiling heck v0.4.1
   Compiling os_str_bytes v6.6.1
   Compiling unchecked-index v0.2.2
   Compiling atty v0.2.14
   Compiling twoway v0.2.2
   Compiling html-escape v0.2.13
   Compiling yaml-rust v0.4.5
   Compiling schannel v0.1.26
   Compiling clap_lex v0.2.4
   Compiling image v0.24.9
   Compiling crc-any v2.5.0
   Compiling termcolor v1.4.1
   Compiling foreign-types v0.3.2
   Compiling rustls-pemfile v1.0.4
   Compiling aes v0.7.5
   Compiling regex v1.11.0
   Compiling block-modes v0.8.1
   Compiling des v0.7.0
   Compiling tiger v0.1.0
   Compiling sha2 v0.9.9
   Compiling md-5 v0.9.1
   Compiling chrono v0.4.38
   Compiling base64 v0.13.1
   Compiling qrcodegen v1.8.0
   Compiling textwrap v0.16.1
   Compiling sync_wrapper v0.1.2
   Compiling clap_derive v3.2.25
   Compiling http-range v0.1.5
   Compiling strsim v0.10.0
   Compiling fallible-iterator v0.2.0
   Compiling fallible-streaming-iterator v0.1.9
   Compiling lazy_static v1.5.0
   Compiling ipnet v2.10.1
   Compiling humantime v2.1.0
   Compiling sanitize-filename v0.3.0
   Compiling magic-crypt v3.1.13
   Compiling linkify v0.8.1
error: failed to run custom build command for `openssl-sys v0.9.104`

Caused by:
  process didn't exit successfully: `C:\Users\futur\AppData\Local\Temp\cargo-installoajzQi\release\build\openssl-sys-3ef5badfc2e40e08\build-script-main` (exit code: 101)
  --- stdout
  cargo:rustc-check-cfg=cfg(osslconf, values("OPENSSL_NO_OCB", "OPENSSL_NO_SM4", "OPENSSL_NO_SEED", "OPENSSL_NO_CHACHA", "OPENSSL_NO_CAST", "OPENSSL_NO_IDEA", "OPENSSL_NO_CAMELLIA", "OPENSSL_NO_RC4", "OPENSSL_NO_BF", "OPENSSL_NO_PSK", "OPENSSL_NO_DEPRECATED_3_0", "OPENSSL_NO_SCRYPT", "OPENSSL_NO_SM3", "OPENSSL_NO_RMD160", "OPENSSL_NO_EC2M", "OPENSSL_NO_OCSP", "OPENSSL_NO_CMS", "OPENSSL_NO_COMP", "OPENSSL_NO_SOCK", "OPENSSL_NO_STDIO", "OPENSSL_NO_EC", "OPENSSL_NO_SSL3_METHOD", "OPENSSL_NO_KRB5", "OPENSSL_NO_TLSEXT", "OPENSSL_NO_SRP", "OPENSSL_NO_RFC3779", "OPENSSL_NO_SHA", "OPENSSL_NO_NEXTPROTONEG", "OPENSSL_NO_ENGINE", "OPENSSL_NO_BUF_FREELISTS"))
  cargo:rustc-check-cfg=cfg(openssl)
  cargo:rustc-check-cfg=cfg(libressl)
  cargo:rustc-check-cfg=cfg(boringssl)
  cargo:rustc-check-cfg=cfg(libressl250)
  cargo:rustc-check-cfg=cfg(libressl251)
  cargo:rustc-check-cfg=cfg(libressl252)
  cargo:rustc-check-cfg=cfg(libressl261)
  cargo:rustc-check-cfg=cfg(libressl270)
  cargo:rustc-check-cfg=cfg(libressl271)
  cargo:rustc-check-cfg=cfg(libressl273)
  cargo:rustc-check-cfg=cfg(libressl280)
  cargo:rustc-check-cfg=cfg(libressl281)
  cargo:rustc-check-cfg=cfg(libressl291)
  cargo:rustc-check-cfg=cfg(libressl310)
  cargo:rustc-check-cfg=cfg(libressl321)
  cargo:rustc-check-cfg=cfg(libressl332)
  cargo:rustc-check-cfg=cfg(libressl340)
  cargo:rustc-check-cfg=cfg(libressl350)
  cargo:rustc-check-cfg=cfg(libressl360)
  cargo:rustc-check-cfg=cfg(libressl361)
  cargo:rustc-check-cfg=cfg(libressl370)
  cargo:rustc-check-cfg=cfg(libressl380)
  cargo:rustc-check-cfg=cfg(libressl381)
  cargo:rustc-check-cfg=cfg(libressl382)
  cargo:rustc-check-cfg=cfg(libressl390)
  cargo:rustc-check-cfg=cfg(libressl400)
  cargo:rustc-check-cfg=cfg(ossl101)
  cargo:rustc-check-cfg=cfg(ossl102)
  cargo:rustc-check-cfg=cfg(ossl102f)
  cargo:rustc-check-cfg=cfg(ossl102h)
  cargo:rustc-check-cfg=cfg(ossl110)
  cargo:rustc-check-cfg=cfg(ossl110f)
  cargo:rustc-check-cfg=cfg(ossl110g)
  cargo:rustc-check-cfg=cfg(ossl110h)
  cargo:rustc-check-cfg=cfg(ossl111)
  cargo:rustc-check-cfg=cfg(ossl111b)
  cargo:rustc-check-cfg=cfg(ossl111c)
  cargo:rustc-check-cfg=cfg(ossl111d)
  cargo:rustc-check-cfg=cfg(ossl300)
  cargo:rustc-check-cfg=cfg(ossl310)
  cargo:rustc-check-cfg=cfg(ossl320)
  cargo:rustc-check-cfg=cfg(ossl330)
  cargo:rustc-check-cfg=cfg(ossl340)
  cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_NO_VENDOR
  X86_64_PC_WINDOWS_MSVC_OPENSSL_NO_VENDOR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
  OPENSSL_NO_VENDOR unset
  cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_CONFIG_DIR
  X86_64_PC_WINDOWS_MSVC_OPENSSL_CONFIG_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_CONFIG_DIR
  OPENSSL_CONFIG_DIR unset
  running "perl" "./Configure" "--prefix=C:/Users/futur/AppData/Local/Temp/cargo-installoajzQi/release/build/openssl-sys-fc02878945b28a11/out/openssl-build/install" "--openssldir=SYS$MANAGER:[OPENSSL]" "no-dso" "no-shared" "no-ssl3" "no-tests" "no-comp" "no-zlib" "no-zlib-dynamic" "--libdir=lib" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "no-capieng" "no-asm" "VC-WIN64A"

  --- stderr
  thread 'main' panicked at C:\Users\futur\.cargo\registry\src\index.crates.io-6f17d22bba15001f\openssl-src-300.3.2+3.3.2\src/lib.rs:633:9:



  Error configuring OpenSSL build:
      Command: "perl" "./Configure" "--prefix=C:/Users/futur/AppData/Local/Temp/cargo-installoajzQi/release/build/openssl-sys-fc02878945b28a11/out/openssl-build/install" "--openssldir=SYS$MANAGER:[OPENSSL]" "no-dso" "no-shared" "no-ssl3" "no-tests" "no-comp" "no-zlib" "no-zlib-dynamic" "--libdir=lib" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "no-capieng" "no-asm" "VC-WIN64A"
      Failed to execute: 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 `microbin v2.0.4`, intermediate artifacts can be found at `C:\Users\futur\AppData\Local\Temp\cargo-installoajzQi`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Screenshots

pwsh_EyPHBAkwR2

Desktop (please complete the following information):

  • OS: Windows 10 Pro x64 22H2 (OS Build 19045.5011)
  • Powershell: 7.4.5 Core, Microsoft Windows 10.0.19045
@szabodanika szabodanika added help wanted Extra attention is needed cargo labels Nov 2, 2024
@dvdsk
Copy link
Contributor

dvdsk commented Nov 2, 2024

You are missing an openssl library on your system. I do not work on windows so I have no idea how to install it. What you can try however is microbin's new build without c-deps feature. That does not need openssl. It is new so you will need to use the git version of microbin:

cargo install --git https://github.com/szabodanika/microbin --no-default-features --features no-c-deps

I haven't tested it but that should do the trick^

I doubt microbin will work on windows there are quite some path's in the code that are formatted like strings using linux path separators. If those bits are rewritten to use std::path:PathBuf instead microbin should work on both windows and linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cargo help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants