ntls-io / nautilus-wallet

Nautilus Wallet
GNU Affero General Public License v3.0
8 stars 4 forks source link

fix(web-server): add --locked flag to bindgen-cli install command #594

Closed billguo99 closed 1 year ago

billguo99 commented 1 year ago

Github action workflows were failing due to:

~/workspace/nautilus-wallet/web-server/sgx-wallet fix-backend-pin-reset ❯ cargo install --version 0.63.0 bindgen-cli                                                   15:17:19
    Updating crates.io index
  Installing bindgen-cli v0.63.0
  Downloaded which v4.4.0
  Downloaded libloading v0.7.4
  Downloaded glob v0.3.1
  Downloaded log v0.4.19
  Downloaded env_logger v0.9.3
  Downloaded proc-macro2 v1.0.60
  Downloaded clang-sys v1.6.1
  Downloaded bindgen v0.63.0
  Downloaded libc v0.2.146
  Downloaded os_str_bytes v6.5.1
  Downloaded 10 crates (1.1 MB) in 0.77s
error: failed to compile `bindgen-cli v0.63.0`, intermediate artifacts can be found at `/tmp/cargo-installwYOz0D`

Caused by:
  package `log v0.4.19` cannot be built because it requires rustc 1.60.0 or newer, while the currently active rustc version is 1.58.0-nightly

My local bindgen-cli version is 0.61.0 and has been working fine.

Added --locked flag and it installed bindgen-cli locally fine.

netlify[bot] commented 1 year ago

Deploy Preview for nautilus-wallet-staging canceled.

Name Link
Latest commit 65ce3930a8f655e1e8f683d81e705aef9cb5b69b
Latest deploy log https://app.netlify.com/sites/nautilus-wallet-staging/deploys/649164f8e359100007480d05
codecov-commenter commented 1 year ago

Codecov Report

Merging #594 (6609f76) into main (b5b7b30) will increase coverage by 0.74%. The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main     #594      +/-   ##
==========================================
+ Coverage   43.37%   44.11%   +0.74%     
==========================================
  Files         189      189              
  Lines        3214     3214              
  Branches      646      630      -16     
==========================================
+ Hits         1394     1418      +24     
+ Misses       1820     1796      -24     

see 2 files with indirect coverage changes