online-judge-tools / verification-helper

a testing framework for snippet libraries used in competitive programming
MIT License
231 stars 56 forks source link

`Install cargo-udeps for Rust` fails #395

Closed kmyk closed 11 months ago

kmyk commented 3 years ago

Summary / 概要

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 commented 3 years ago

解決策:

  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
...
qryxip commented 3 years ago

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

koba-e964 commented 11 months ago

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