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.
error[E0277]: expected a `FnMut<(char,)>` closure, found `[char; 2]`
--> src/de.rs:890:38
|
890 | let scalar = scalar.strip_prefix(['-', '+']).unwrap_or(scalar);
| ------------ ^^^^^^^^^^ expected an `FnMut<(char,)>` closure, found `[char; 2]`
| |
| required by a bound introduced by this call
|
= help: the trait `FnMut<(char,)>` is not implemented for `[char; 2]`
= note: required because of the requirements on the impl of `Pattern<'_>` for `[char; 2]`
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);
| ^^^^^^^^
The old version available by default in the GitHub Actions image fails
with:
thread 'main' panicked at 'package cache lock is not currently held, Cargo forgot to call `acquire_package_cache_lock` before we got to this stack frame', /usr/share/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.57.0/src/cargo/util/config/mod.rs:1542:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace