Skip to content

Commit

Permalink
🦖 update CI to Rust 1.74 (use-ink#2027)
Browse files Browse the repository at this point in the history
* Update image to 1.74.0

* Clippy

* ui test
  • Loading branch information
ascjones authored Dec 20, 2023
1 parent 8e5776a commit bf021b0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
- 'FILE_HEADER'

env:
IMAGE: paritytech/ci-unified:bullseye-1.73.0
IMAGE: paritytech/ci-unified:bullseye-1.74.0
CARGO_TARGET_DIR: /ci-cache/${{ github.repository }}/targets/${{ github.ref_name }}/${{ github.job }}
CARGO_INCREMENTAL: 0
PURELY_STD_CRATES: ink/codegen metadata engine e2e e2e/macro ink/ir
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/measurements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
run:
shell: bash
container:
image: paritytech/ci-unified:bullseye-1.73.0
image: paritytech/ci-unified:bullseye-1.74.0
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ impl ContractRef<'_> {
.storage()
.attrs()
.iter()
.cloned()
.filter(syn::Attribute::is_doc_attribute);
.filter(|&x| syn::Attribute::is_doc_attribute(x))
.cloned();
let storage_ident = self.contract.module().storage().ident();
let ref_ident = self.generate_contract_ref_ident();
quote_spanned!(span=>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ note: required by a bound in `return_value`
| ^^^^^^^^^^^^^ required by this bound in `return_value`

error[E0277]: the trait bound `contract::Error: WrapperTypeDecode` is not satisfied
--> tests/ui/contract/fail/constructor-return-result-non-codec-error.rs:13:9
--> tests/ui/contract/fail/constructor-return-result-non-codec-error.rs:13:33
|
13 | pub fn constructor() -> Result<Self, Error> {
| ^^^ the trait `WrapperTypeDecode` is not implemented for `contract::Error`
| --- ^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `contract::Error`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `WrapperTypeDecode`:
Box<T>
Expand Down

0 comments on commit bf021b0

Please sign in to comment.