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 cargo-udeps for Rust fails #395

Closed
kmyk opened this issue Sep 19, 2021 · 3 comments
Closed

Install cargo-udeps for Rust fails #395

kmyk opened this issue Sep 19, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@kmyk
Copy link
Member

kmyk commented Sep 19, 2021

Summary / 概要

oj-verify が変な failure 起こしてるhttps://t.co/mwc02ZMWdG

— KoD (@d7511168) September 19, 2021

Steps to reproduce / 再現方法

    # required only if you set `languages.rust.list_dependencies_backend.kind` to `"cargo-udeps"`
    - name: Install cargo-udeps for Rust
      uses: actions-rs/install@v0.1
      with:
        crate: cargo-udeps
        use-tool-cache: true

Expected behavior / 期待される挙動

Actual behavior / 実際の挙動

https://github.com/KodamaD/proconlib/runs/3643175354

Run actions-rs/install@v0.1
Tool cache is explicitly enabled via the Action input
Downloading from the tool cache
Falling back to the `cargo install` command
Installing "cargo-udeps = latest"
Error: The process '/usr/share/rust/.cargo/bin/cargo' failed with exit code 101

Other notes / その他

@kmyk kmyk added the bug Something isn't working label Sep 19, 2021
@kmyk
Copy link
Member Author

kmyk commented Sep 19, 2021

解決策:

  1. Rust を使ってない人なら、.github/workflows/verify.yaml を編集して cargo-udeps のインストール部分を消す
  2. Rust を使っている人なら、しばらく待つのがよさそう

なんだか一時的に crates.io が不調だったとかな気がする

/usr/share/rust/.cargo/bin/cargo install cargo-udeps
      Updating crates.io index
   Downloading crates ...
    Downloaded cargo-udeps v0.1.23
    Installing cargo-udeps v0.1.23
   Downloading crates ...
    Downloaded atty v0.2.14
    Downloaded getrandom v0.2.3
  warning: spurious network error (2 tries remaining): [18] Transferred a partial file (transfer closed with 5449 bytes remaining to read)
    Downloaded aho-corasick v0.7.18
    Downloaded regex v1.5.4
  warning: spurious network error (2 tries remaining): [28] Timeout was reached (download of `flate2 v1.0.22` failed to transfer more than 10 bytes in 30s)
  warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `filetime v0.2.15` within 30s)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 35 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 77 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 33 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 31 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 29 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 27 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 25 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 23 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 21 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 19 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 17 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 91 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 89 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 13 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 87 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 11 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 85 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 83 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 81 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 79 was not closed cleanly before end of the underlying stream)
  warning: spurious network error (2 tries remaining): [28] Timeout was reached (download of `foreign-types v0.3.2` failed to transfer more than 10 bytes in 30s)
  warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `fnv v1.0.7` within 30s)
    Downloaded humantime v2.1.0
    Downloaded cfg-if v1.0.0
...

@kmyk kmyk closed this as completed Sep 19, 2021
@kmyk kmyk pinned this issue Sep 19, 2021
@kmyk kmyk reopened this Sep 19, 2021
@qryxip
Copy link
Contributor

qryxip commented Oct 1, 2021

たぶんこの問題であり、既に解決していると思います。実際その次のCIからnightly-2021-09-19のCargoが使われることで直っているように見えます。というより9月18–19日のみ起きていたのではないかと。

@koba-e964
Copy link
Member

現状問題が起きていないので close します

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants