This step has been failing way more than reasonable across my various repos.
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Attempt 1 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. Retrying request in 3000 ms...
Attempt 2 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. Retrying request in 6029 ms...
Attempt 3 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. Retrying request in 8270 ms...
Attempt 4 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. Retrying request in 12577 ms...
Error: Failed to CreateArtifact: Failed to make request after 5 attempts: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact
Required by hashbrown 0.15.1.
error: package `hashbrown v0.15.1` cannot be built because it requires rustc 1.65.0 or newer, while the currently active rustc version is 1.64.0
Debugging a recent cargo-outdated bug, it would have been nice not to
wonder whether a rustc version change in GitHub's runner image was a
contributing factor.
Fixes the following error when testing against a compiler older
than 1.64:
error: failed to select a version for the requirement `hashbrown = "^0.14"`
candidate versions found which didn't match: 0.13.2, 0.13.1, 0.12.3, ...
location searched: crates.io index
required by package `indexmap v2.0.0`
... which satisfies dependency `indexmap = "^2"` of package `serde_json v1.0.97`
... which satisfies path dependency `serde_json` of package `serde_json_test v0.0.0`
Fixes the following error when testing against a compiler older
than 1.64:
error: failed to select a version for the requirement `hashbrown = "^0.14"`
candidate versions found which didn't match: 0.13.2, 0.13.1, 0.12.3, ...
location searched: crates.io index
required by package `indexmap v2.0.0`
... which satisfies dependency `indexmap = "^2"` of package `serde_json v1.0.97`
... which satisfies path dependency `serde_json` of package `serde_json_test v0.0.0`
Without this, if it fails, the only information printed is useless:
Preparing a sysroot for Miri (target: x86_64-unknown-linux-gnu)...
fatal error: failed to build sysroot; run `cargo miri setup` to see the error details
GitHub's default timeout is 6 hours. Recently some of my GitHub Actions
jobs have started randomly stalling for that long, which is inconvenient
because it ties up a chunk of my runner quota. It apepars to be very
rare for a job to recover after stalling. It's better to time out
quicker and retry on a different runner.
These versions are incompatible with some recent GitHub change
error: failed to get `indexmap` as a dependency of package `serde_json v1.0.82 (/home/runner/work/json/json)`
Caused by:
failed to load source for dependency `indexmap`
Caused by:
Unable to update registry `https://github.com/rust-lang/crates.io-index`
Caused by:
failed to fetch `https://github.com/rust-lang/crates.io-index`
Caused by:
error reading from the zlib stream; class=Zlib (5)
Required by 2021 edition in hashbrown.
error: failed to download `hashbrown v0.12.1`
Caused by:
unable to get packages from source
Caused by:
failed to parse manifest at github.com-1ecc6299db9ec823/hashbrown-0.12.1/Cargo.toml
Caused by:
failed to parse the `edition` key
Caused by:
this version of Cargo is older than the `2021` edition, and only supports `2015` and `2018` editions.
Our indexmap dependency needs at least this version.
error[E0658]: use of unstable library feature 'vec_drain_as_slice': recently added
--> github.com-1ecc6299db9ec823/indexmap-1.8.0/src/map.rs:1182:30
|
1182 | let iter = self.iter.as_slice().iter().map(Bucket::refs);
| ^^^^^^^^
error[E0658]: use of unstable library feature 'vec_drain_as_slice': recently added
--> github.com-1ecc6299db9ec823/indexmap-1.8.0/src/set.rs:842:30
|
842 | let iter = self.iter.as_slice().iter().map(Bucket::key_ref);
| ^^^^^^^^