Skip to content

task1 + task2

task1 + task2 #5658

Triggered via pull request February 7, 2024 15:05
Status Failure
Total duration 1m 20s
Artifacts

actions.yml

on: pull_request
Wasm tests
1m 11s
Wasm tests
Rust tests
30s
Rust tests
Clippy linter check
37s
Clippy linter check
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 3 warnings
Rust tests
Process completed with exit code 101.
Clippy linter check: framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_gen_main.rs#L28
[clippy] reported by reviewdog 🐶 error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_gen_main.rs:28:36 | 28 | write_proxy_imports(&mut file, abi.name); | ------------------- ^^^^^^^^ expected `&str`, found `String` | | | arguments to this function are incorrect | note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_template_gen.rs:3:15 | 3 | pub(crate) fn write_proxy_imports(file: &mut File, abi_name: &str) { | ^^^^^^^^^^^^^^^^^^^ -------------- help: consider borrowing here | 28 | write_proxy_imports(&mut file, &abi.name); | + Raw Output: framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_gen_main.rs:28:36:e:error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_gen_main.rs:28:36 | 28 | write_proxy_imports(&mut file, abi.name); | ------------------- ^^^^^^^^ expected `&str`, found `String` | | | arguments to this function are incorrect | note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_template_gen.rs:3:15 | 3 | pub(crate) fn write_proxy_imports(file: &mut File, abi_name: &str) { | ^^^^^^^^^^^^^^^^^^^ -------------- help: consider borrowing here | 28 | write_proxy_imports(&mut file, &abi.name); | + __END__
Clippy linter check: framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs#L26
[clippy] reported by reviewdog 🐶 error[E0308]: arguments to this function are incorrect --> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:26:5 | 26 | write_method_attribute(file, endpoint_abi.name, endpoint_abi.rust_method_name); | ^^^^^^^^^^^^^^^^^^^^^^ ----------------- ----------------------------- expected `&str`, found `String` | | | expected `&str`, found `String` | note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:44:4 | 44 | fn write_method_attribute(file: &mut File, endpoint_name: &str, endpoint_method_name: &str) { | ^^^^^^^^^^^^^^^^^^^^^^ --------------- ------------------- -------------------------- help: consider borrowing here | 26 | write_method_attribute(file, &endpoint_abi.name, endpoint_abi.rust_method_name); | + help: consider borrowing here | 26 | write_method_attribute(file, endpoint_abi.name, &endpoint_abi.rust_method_name); | + Raw Output: framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:26:34:e:error[E0308]: arguments to this function are incorrect --> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:26:5 | 26 | write_method_attribute(file, endpoint_abi.name, endpoint_abi.rust_method_name); | ^^^^^^^^^^^^^^^^^^^^^^ ----------------- ----------------------------- expected `&str`, found `String` | | | expected `&str`, found `String` | note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:44:4 | 44 | fn write_method_attribute(file: &mut File, endpoint_name: &str, endpoint_method_name: &str) { | ^^^^^^^^^^^^^^^^^^^^^^ --------------- ------------------- -------------------------- help: consider borrowing here | 26 | write_method_attribute(file, &endpoint_abi.name, endpoint_abi.rust_method_name); | + help: consider borrowing here | 26 | write_method_attribute(file, endpoint_abi.name, &endpoint_abi.rust_method_name); | + __END__
Clippy linter check: framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs#L27
[clippy] reported by reviewdog 🐶 error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:27:36 | 27 | write_method_declaration(file, endpoint_abi.rust_method_name); | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` | | | arguments to this function are incorrect | note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:52:4 | 52 | fn write_method_declaration(file: &mut File, endpoint_name: &str) { | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------- help: consider borrowing here | 27 | write_method_declaration(file, &endpoint_abi.rust_method_name); | + Raw Output: framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:27:36:e:error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:27:36 | 27 | write_method_declaration(file, endpoint_abi.rust_method_name); | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` | | | arguments to this function are incorrect | note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:52:4 | 52 | fn write_method_declaration(file: &mut File, endpoint_name: &str) { | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------- help: consider borrowing here | 27 | write_method_declaration(file, &endpoint_abi.rust_method_name); | + __END__
Clippy linter check: framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs#L25
[clippy] reported by reviewdog 🐶 error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:25:44 | 25 | write_endpoint_content_macro(file, endpoint_abi.name); | ---------------------------- ^^^^^^^^^^^^^^^^^ expected `&str`, found `String` | | | arguments to this function are incorrect | note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:63:4 | 63 | fn write_endpoint_content_macro(file: &mut File, name: &str) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------- help: consider borrowing here | 25 | write_endpoint_content_macro(file, &endpoint_abi.name); | + Raw Output: framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:25:44:e:error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:25:44 | 25 | write_endpoint_content_macro(file, endpoint_abi.name); | ---------------------------- ^^^^^^^^^^^^^^^^^ expected `&str`, found `String` | | | arguments to this function are incorrect | note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:63:4 | 63 | fn write_endpoint_content_macro(file: &mut File, name: &str) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------- help: consider borrowing here | 25 | write_endpoint_content_macro(file, &endpoint_abi.name); | + __END__
Clippy linter check: framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs#L41
[clippy] reported by reviewdog 🐶 error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:41:47 | 41 | write_constructor_contract_call(file, &input.arg_name); | ------------------------------- ^^^^^^^^^^^^^^^ expected `&&str`, found `&String` | | | arguments to this function are incorrect | = note: expected reference `&&str` found reference `&std::string::String` note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:59:4 | 59 | fn write_constructor_contract_call(file: &mut File, arg_name: &&str) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------------- Raw Output: framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:41:47:e:error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:41:47 | 41 | write_constructor_contract_call(file, &input.arg_name); | ------------------------------- ^^^^^^^^^^^^^^^ expected `&&str`, found `&String` | | | arguments to this function are incorrect | = note: expected reference `&&str` found reference `&std::string::String` note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:59:4 | 59 | fn write_constructor_contract_call(file: &mut File, arg_name: &&str) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------------- __END__
Clippy linter check: framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs#L51
[clippy] reported by reviewdog 🐶 error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:51:41 | 51 | write_contract_call_input(file, &input.arg_name); | ------------------------- ^^^^^^^^^^^^^^^ expected `&&str`, found `&String` | | | arguments to this function are incorrect | = note: expected reference `&&str` found reference `&std::string::String` note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:55:4 | 55 | fn write_contract_call_input(file: &mut File, arg_name: &&str) { | ^^^^^^^^^^^^^^^^^^^^^^^^^ --------------- Raw Output: framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:51:41:e:error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:51:41 | 51 | write_contract_call_input(file, &input.arg_name); | ------------------------- ^^^^^^^^^^^^^^^ expected `&&str`, found `&String` | | | arguments to this function are incorrect | = note: expected reference `&&str` found reference `&std::string::String` note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:55:4 | 55 | fn write_contract_call_input(file: &mut File, arg_name: &&str) { | ^^^^^^^^^^^^^^^^^^^^^^^^^ --------------- __END__
Clippy linter check: framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs#L74
[clippy] reported by reviewdog 🐶 error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:74:31 | 74 | write_info_endpoint(file, endpoint_abi.docs); | ------------------- ^^^^^^^^^^^^^^^^^ expected `&[&str]`, found `Vec<String>` | | | arguments to this function are incorrect | = note: expected reference `&[&str]` found struct `std::vec::Vec<std::string::String>` note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:108:4 | 108 | fn write_info_endpoint(file: &mut File, abi_docs: &[&str]) { | ^^^^^^^^^^^^^^^^^^^ ----------------- Raw Output: framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:74:31:e:error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:74:31 | 74 | write_info_endpoint(file, endpoint_abi.docs); | ------------------- ^^^^^^^^^^^^^^^^^ expected `&[&str]`, found `Vec<String>` | | | arguments to this function are incorrect | = note: expected reference `&[&str]` found struct `std::vec::Vec<std::string::String>` note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:108:4 | 108 | fn write_info_endpoint(file: &mut File, abi_docs: &[&str]) { | ^^^^^^^^^^^^^^^^^^^ ----------------- __END__
Clippy linter check: framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs#L75
[clippy] reported by reviewdog 🐶 error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:75:29 | 75 | write_endpoint_fn(file, endpoint_abi.rust_method_name); | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` | | | arguments to this function are incorrect | note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:104:4 | 104 | fn write_endpoint_fn(file: &mut File, rust_method_name: &str) { | ^^^^^^^^^^^^^^^^^ ---------------------- help: consider borrowing here | 75 | write_endpoint_fn(file, &endpoint_abi.rust_method_name); | + Raw Output: framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:75:29:e:error[E0308]: mismatched types --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:75:29 | 75 | write_endpoint_fn(file, endpoint_abi.rust_method_name); | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` | | | arguments to this function are incorrect | note: function defined here --> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:104:4 | 104 | fn write_endpoint_fn(file: &mut File, rust_method_name: &str) { | ^^^^^^^^^^^^^^^^^ ---------------------- help: consider borrowing here | 75 | write_endpoint_fn(file, &endpoint_abi.rust_method_name); | + __END__
Clippy linter check
reviewdog exited with status code: 1
Wasm tests
Process completed with exit code 101.
Rust tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy linter check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Wasm tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.