Skip to content
Prev Previous commit
UI tests for 1.71
  • Loading branch information
ascjones committed Jul 26, 2023
commit 5982f23e49a431596433eddb0a61c12c4da38ae9
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ error[E0277]: the trait bound `NonCodecType: WrapperTypeDecode` is not satisfied
note: required by a bound in `DispatchInput`
--> src/codegen/dispatch/type_check.rs
|
| pub struct DispatchInput<T>(T)
| ------------- required by a bound in this struct
| where
| T: scale::Decode + 'static;
| ^^^^^^^^^^^^^ required by this bound in `DispatchInput`

Expand Down Expand Up @@ -50,5 +53,8 @@ error[E0277]: the trait bound `NonCodecType: WrapperTypeEncode` is not satisfied
note: required by a bound in `ExecutionInput::<ArgumentList<ArgumentListEnd, ArgumentListEnd>>::push_arg`
--> $WORKSPACE/crates/env/src/call/execution_input.rs
|
| pub fn push_arg<T>(
| -------- required by a bound in this associated function
...
| T: scale::Encode,
| ^^^^^^^^^^^^^ required by this bound in `ExecutionInput::<ArgumentList<ArgumentListEnd, ArgumentListEnd>>::push_arg`
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ error[E0277]: the trait bound `Result<Result<(), &contract::Error>, LangError>:
note: required by a bound in `return_value`
--> $WORKSPACE/crates/env/src/api.rs
|
| pub fn return_value<R>(return_flags: ReturnFlags, return_value: &R) -> !
| ------------ required by a bound in this function
| where
| R: scale::Encode,
| ^^^^^^^^^^^^^ required by this bound in `return_value`

Expand All @@ -26,6 +29,9 @@ error[E0277]: the trait bound `contract::Error: WrapperTypeDecode` is not satisf
note: required by a bound in `CreateBuilder::<E, ContractRef, CodeHash, GasLimit, Endowment, Args, Salt, Unset<ReturnType<()>>>::returns`
--> $WORKSPACE/crates/env/src/call/create_builder.rs
|
| pub fn returns<R>(
| ------- required by a bound in this associated function
...
| R: ConstructorReturnType<ContractRef>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CreateBuilder::<E, ContractRef, CodeHash, GasLimit, Endowment, Args, Salt, Unset<ReturnType<()>>>::returns`

Expand All @@ -51,5 +57,8 @@ error[E0277]: the trait bound `contract::Error: TypeInfo` is not satisfied
note: required by a bound in `TypeSpec::with_name_str`
--> $WORKSPACE/crates/metadata/src/specs.rs
|
| pub fn with_name_str<T>(display_name: &'static str) -> Self
| ------------- required by a bound in this associated function
| where
| T: TypeInfo + 'static,
| ^^^^^^^^ required by this bound in `TypeSpec::with_name_str`
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ error[E0277]: the trait bound `NonCodecType: WrapperTypeDecode` is not satisfied
note: required by a bound in `DispatchInput`
--> src/codegen/dispatch/type_check.rs
|
| pub struct DispatchInput<T>(T)
| ------------- required by a bound in this struct
| where
| T: scale::Decode + 'static;
| ^^^^^^^^^^^^^ required by this bound in `DispatchInput`

Expand Down Expand Up @@ -50,6 +53,9 @@ error[E0277]: the trait bound `NonCodecType: WrapperTypeEncode` is not satisfied
note: required by a bound in `ExecutionInput::<ArgumentList<ArgumentListEnd, ArgumentListEnd>>::push_arg`
--> $WORKSPACE/crates/env/src/call/execution_input.rs
|
| pub fn push_arg<T>(
| -------- required by a bound in this associated function
...
| T: scale::Encode,
| ^^^^^^^^^^^^^ required by this bound in `ExecutionInput::<ArgumentList<ArgumentListEnd, ArgumentListEnd>>::push_arg`

Expand All @@ -65,4 +71,4 @@ error[E0599]: the method `try_invoke` exists for struct `CallBuilder<DefaultEnvi
| ----------------------------------- doesn't satisfy `_: Encode`
|
= note: the following trait bounds were not satisfied:
`ArgumentList<ink::ink_env::call::utils::Argument<NonCodecType>, ArgumentList<ArgumentListEnd, ArgumentListEnd>>: Encode`
`ArgumentList<Argument<NonCodecType>, ArgumentList<ArgumentListEnd, ArgumentListEnd>>: Encode`
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ error[E0277]: the trait bound `NonCodecType: WrapperTypeEncode` is not satisfied
note: required by a bound in `DispatchOutput`
--> src/codegen/dispatch/type_check.rs
|
| pub struct DispatchOutput<T>(T)
| -------------- required by a bound in this struct
| where
| T: scale::Encode + 'static;
| ^^^^^^^^^^^^^ required by this bound in `DispatchOutput`

Expand All @@ -31,6 +34,9 @@ error[E0277]: the trait bound `Result<NonCodecType, LangError>: Encode` is not s
note: required by a bound in `return_value`
--> $WORKSPACE/crates/env/src/api.rs
|
| pub fn return_value<R>(return_flags: ReturnFlags, return_value: &R) -> !
| ------------ required by a bound in this function
| where
| R: scale::Encode,
| ^^^^^^^^^^^^^ required by this bound in `return_value`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ note: required because it appears within the type `Contract`
| ^^^^^^^^
note: required by a bound in `Result`
--> $RUST/core/src/result.rs
|
| pub enum Result<T, E> {
| ^ required by this bound in `Result`
= note: this error originates in the derive macro `::ink::storage::traits::Storable` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `[NonPacked]: Encode` is not satisfied
Expand All @@ -107,4 +110,7 @@ note: required because it appears within the type `Contract`
| ^^^^^^^^
note: required by a bound in `Result`
--> $RUST/core/src/result.rs
|
| pub enum Result<T, E> {
| ^ required by this bound in `Result`
= note: this error originates in the derive macro `::ink::storage::traits::Storable` (in Nightly builds, run with -Z macro-backtrace for more info)
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ note: required because it appears within the type `Contract`
| ^^^^^^^^
note: required by a bound in `Result`
--> $RUST/core/src/result.rs
|
| pub enum Result<T, E> {
| ^ required by this bound in `Result`
= note: this error originates in the derive macro `::ink::storage::traits::Storable` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `BTreeMap<u128, NonPacked>: Encode` is not satisfied
Expand All @@ -98,4 +101,7 @@ note: required because it appears within the type `Contract`
| ^^^^^^^^
note: required by a bound in `Result`
--> $RUST/core/src/result.rs
|
| pub enum Result<T, E> {
| ^ required by this bound in `Result`
= note: this error originates in the derive macro `::ink::storage::traits::Storable` (in Nightly builds, run with -Z macro-backtrace for more info)
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ error[E0277]: the trait bound `NonCodec: WrapperTypeDecode` is not satisfied
note: required by a bound in `DispatchInput`
--> src/codegen/dispatch/type_check.rs
|
| pub struct DispatchInput<T>(T)
| ------------- required by a bound in this struct
| where
| T: scale::Decode + 'static;
| ^^^^^^^^^^^^^ required by this bound in `DispatchInput`

Expand All @@ -38,6 +41,9 @@ error[E0277]: the trait bound `NonCodec: WrapperTypeEncode` is not satisfied
note: required by a bound in `ExecutionInput::<ArgumentList<ArgumentListEnd, ArgumentListEnd>>::push_arg`
--> $WORKSPACE/crates/env/src/call/execution_input.rs
|
| pub fn push_arg<T>(
| -------- required by a bound in this associated function
...
| T: scale::Encode,
| ^^^^^^^^^^^^^ required by this bound in `ExecutionInput::<ArgumentList<ArgumentListEnd, ArgumentListEnd>>::push_arg`

Expand All @@ -53,4 +59,4 @@ error[E0599]: the method `try_invoke` exists for struct `CallBuilder<E, Set<Call
| ----------------------------------- doesn't satisfy `_: Encode`
|
= note: the following trait bounds were not satisfied:
`ArgumentList<ink::ink_env::call::utils::Argument<NonCodec>, ArgumentList<ArgumentListEnd, ArgumentListEnd>>: Encode`
`ArgumentList<Argument<NonCodec>, ArgumentList<ArgumentListEnd, ArgumentListEnd>>: Encode`
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ error[E0277]: the trait bound `NonCodec: WrapperTypeEncode` is not satisfied
note: required by a bound in `DispatchOutput`
--> src/codegen/dispatch/type_check.rs
|
| pub struct DispatchOutput<T>(T)
| -------------- required by a bound in this struct
| where
| T: scale::Encode + 'static;
| ^^^^^^^^^^^^^ required by this bound in `DispatchOutput`

Expand Down