Skip to content

Commit

Permalink
[CI] Upgrade sccache version to 0.7.*
Browse files Browse the repository at this point in the history
Sccache was previously pinned at version 0.3.3, however, there has
recently been an issue when installing some of its dependencies:

```
error[E0277]: expected a `Fn(reqwest::Request, &'a mut task_local_extensions::extensions::Extensions, reqwest_middleware::Next<'a>)` closure, found `RetryAfterMiddleware`
```

Upgrading the version of sccache to the latest seems to resolve this
error.

Change-Id: Ie292c1189de2ed8464fe1b78e672d7f53a083dff
  • Loading branch information
lhutton1 committed Jan 8, 2024
1 parent 9caa179 commit d5af393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/install/ubuntu_install_sccache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -e
set -u
set -o pipefail

cargo install --version 0.3.3 sccache
cargo install --version 0.7.* sccache

# The docs specifically recommend hard links: https://github.com/mozilla/sccache#known-caveats
mkdir /opt/sccache
Expand Down

0 comments on commit d5af393

Please sign in to comment.