task1 + task2 #5658
Annotations
9 errors and 1 warning
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1
reviewdog exited with status code: 1
|
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/.
|
The logs for this run have expired and are no longer available.
Loading