Skip to content

Use enums instead of generics #1224

Use enums instead of generics

Use enums instead of generics #1224

Triggered via pull request September 2, 2024 19:37
Status Failure
Total duration 1m 13s
Artifacts

quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 2 warnings
rust-fmt
Process completed with exit code 1.
ensure-wasm: packages/account_sdk/src/controller.rs#L78
`(dyn WebauthnBackendWithOrigin + Sync + 'static)` cannot be sent between threads safely
ensure-wasm: packages/account_sdk/src/controller.rs#L177
the method `register_session` exists for struct `Controller<OwnerAccount<P>>`, but its trait bounds were not satisfied
ensure-wasm: packages/account_sdk/src/controller.rs#L194
the method `sign_outside_execution` exists for reference `&Controller<P, B>`, but its trait bounds were not satisfied
ensure-wasm: packages/account_sdk/src/controller.rs#L218
the method `estimate_fee` exists for struct `ExecutionV1<'_, Controller<P, B>>`, but its trait bounds were not satisfied
ensure-wasm: packages/account_sdk/src/controller.rs#L232
the method `send` exists for struct `ExecutionV1<'_, Controller<P, B>>`, but its trait bounds were not satisfied
ensure-wasm: packages/account_sdk/src/controller.rs#L278
the method `delegate_account` exists for struct `Controller<OwnerAccount<P>>`, but its trait bounds were not satisfied
ensure-wasm: packages/account_sdk/src/controller.rs#L124
`(dyn WebauthnBackendWithOrigin + Sync + 'static)` cannot be sent between threads safely
ensure-wasm: packages/account_sdk/src/controller.rs#L124
`(dyn WebauthnBackendWithOrigin + Sync + 'static)` cannot be sent between threads safely
ensure-wasm: packages/account_sdk/src/controller.rs#L131
the method `deploy_v1` exists for struct `ControllerFactory<OwnerAccount<P>, P>`, but its trait bounds were not satisfied
ensure-wasm: packages/account_sdk/src/controller.rs#L286
the method `set_delegate_account` exists for struct `Controller<OwnerAccount<P>>`, but its trait bounds were not satisfied
clippy: packages/account_sdk/src/tests/runners/katana.rs#L166
the following explicit lifetimes could be elided: 'a
clippy
Process completed with exit code 101.
rust-fmt: packages/account_sdk/src/controller.rs#L1
Diff in /home/runner/work/controller/controller/packages/account_sdk/src/controller.rs
rust-fmt: packages/account_sdk/src/signers/starknet.rs#L2
Diff in /home/runner/work/controller/controller/packages/account_sdk/src/signers/starknet.rs