You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ubuntu 16 has a very old version of cargo and rust (1.46). This issue was fixed some time ago. I recommend using a newer version of ubuntu. Alternatively, find a way to install a newer version of rust (either via an apt package, or using the official rustup installer).
Problem
Error is reproduced for my code https://github.com/Purik/indy_postgres_plugin/tree/main
0.613 [2022-08-06T19:41:40Z DEBUG cargo::core::resolver] initial activation: storage-postgres v1.7.0 (/postgres_storage)
0.613 [2022-08-06T19:41:40Z TRACE cargo::core::resolver] activating storage-postgres v1.7.0 (/postgres_storage)
0.613 [2022-08-06T19:41:40Z DEBUG cargo::core::registry] load/missing registry
https://github.com/rust-lang/crates.io-index
0.613 [2022-08-06T19:41:40Z DEBUG cargo::core::registry] loading source registry
https://github.com/rust-lang/crates.io-index
0.613 [2022-08-06T19:41:40Z DEBUG cargo::sources::config] loading: registry
https://github.com/rust-lang/crates.io-index
0.613 [2022-08-06T19:41:40Z TRACE cargo::core::source::source_id] loading SourceId; registry
https://github.com/rust-lang/crates.io-index
0.613 [2022-08-06T19:41:40Z DEBUG cargo::sources::registry::remote] updating the index
0.613 [2022-08-06T19:41:40Z TRACE cargo::sources::registry::remote] acquiring registry index lock
0.617 Updating crates.io index
0.617 [2022-08-06T19:41:40Z DEBUG cargo::sources::git::utils] attempting GitHub fast path for https://api.github.com/repos/rust-lang/crates.io-index/commits/master
0.617 [2022-08-06T19:41:40Z DEBUG cargo::sources::git::utils] failed to check github failed to find branch
master
0.617
0.617 Caused by:
0.617 cannot locate remote-tracking branch 'origin/master'; class=Reference (4); code=NotFound (-3)
0.617 [2022-08-06T19:41:40Z DEBUG cargo::sources::git::utils] skipping gc as there's only 0 pack files
0.617 [2022-08-06T19:41:40Z DEBUG cargo::sources::git::utils] doing a fetch for https://github.com/rust-lang/crates.io-index
0.617 [2022-08-06T19:41:40Z DEBUG cargo::sources::git::utils] initiating fetch of ["refs/heads/master:refs/remotes/origin/master"] from https://github.com/rust-lang/crates.io-index
2.974 [2022-08-06T19:41:43Z DEBUG cargo::sources::git::utils] fetch failed: error reading from the zlib stream; class=Zlib (5)
2.974 [2022-08-06T19:41:43Z WARN cargo::util::rustc] failed to update rustc info cache: failed to write
/postgres_storage/target/.rustc_info.json
2.974 [2022-08-06T19:41:43Z DEBUG cargo] exit_with_error; err=CliError { error: Some(failed to get
base64
as a dependency of packagestorage-postgres v1.7.0 (/postgres_storage)
2.974
2.974 Caused by:
2.974 0: failed to load source for dependency
base64
2.974 1: Unable to update registry
https://github.com/rust-lang/crates.io-index
2.974 2: failed to fetch
https://github.com/rust-lang/crates.io-index
2.974 3: error reading from the zlib stream; class=Zlib (5)), exit_code: 101 }
2.974 [2022-08-06T19:41:43Z DEBUG cargo] display_error; err=failed to get
base64
as a dependency of packagestorage-postgres v1.7.0 (/postgres_storage)
2.974
2.974 Caused by:
2.974 0: failed to load source for dependency
base64
2.974 1: Unable to update registry
https://github.com/rust-lang/crates.io-index
2.974 2: failed to fetch
https://github.com/rust-lang/crates.io-index
2.974 3: error reading from the zlib stream; class=Zlib (5)
2.975 error: failed to get
base64
as a dependency of packagestorage-postgres v1.7.0 (/postgres_storage)
2.975
2.975 Caused by:
2.975 failed to load source for dependency
base64
2.975
2.975 Caused by:
2.975 Unable to update registry
https://github.com/rust-lang/crates.io-index
2.975
2.975 Caused by:
2.975 failed to fetch
https://github.com/rust-lang/crates.io-index
2.975
2.975 Caused by:
2.975 error reading from the zlib stream; class=Zlib (5)
...
The text was updated successfully, but these errors were encountered: