Skip to content

Merge pull request #26 from r0gue-io/chungquantin/feat-testnet #68

Merge pull request #26 from r0gue-io/chungquantin/feat-testnet

Merge pull request #26 from r0gue-io/chungquantin/feat-testnet #68

Triggered via push November 7, 2024 11:59
Status Success
Total duration 13m 34s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

88 warnings
missing documentation for the crate: crates/drink/drink-cli/src/main.rs#L1
warning: missing documentation for the crate --> crates/drink/drink-cli/src/main.rs:1:1 | 1 | / use std::path::PathBuf; 2 | | 3 | | use anyhow::Result; 4 | | use clap::Parser; ... | 23 | | run_ui(args.path) 24 | | } | |_^ | = note: requested on the command line with `-W missing-docs`
this `let...else` may be rewritten with the `?` operator: crates/drink/drink-cli/src/executor/contract.rs#L115
warning: this `let...else` may be rewritten with the `?` operator --> crates/drink/drink-cli/src/executor/contract.rs:115:2 | 115 | / let Some(file) = entries 116 | | .into_iter() 117 | | .filter_map(|e| e.ok()) 118 | | .find(|e| e.path().extension().unwrap_or_default() == "wasm") 119 | | else { 120 | | return None; 121 | | }; | |______^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark = note: `#[warn(clippy::question_mark)]` on by default help: replace it with | 115 ~ let file = entries 116 ~ .into_iter() 117 ~ .filter_map(|e| e.ok()) 118 ~ .find(|e| e.path().extension().unwrap_or_default() == "wasm")?; |
field `transcoder` is never read: crates/drink/drink-cli/src/app_state/contracts.rs#L13
warning: field `transcoder` is never read --> crates/drink/drink-cli/src/app_state/contracts.rs:13:6 | 9 | pub struct Contract { | -------- field in this struct ... 13 | pub transcoder: Arc<ContractMessageTranscoder>, | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
missing documentation for a function: crates/pop-drink/src/macros.rs#L158
warning: missing documentation for a function --> crates/pop-drink/src/macros.rs:158:1 | 158 | / pub fn assert_last_contract_event_inner<S, E>(session: &Session<S>, event: E) 159 | | where 160 | | S: Sandbox, 161 | | S::Runtime: pallet_contracts::Config, 162 | | <S::Runtime as frame_system::Config>::RuntimeEvent: 163 | | TryInto<pallet_contracts::Event<S::Runtime>>, 164 | | E: Decode + Encode + Debug, | |_______________________________^
missing documentation for a function: crates/pop-drink/src/macros.rs#L112
warning: missing documentation for a function --> crates/pop-drink/src/macros.rs:112:1 | 112 | / pub fn assert_err_inner<R, E, Error>(result: Result<R, E>, expected_error: Error) 113 | | where 114 | | E: Into<u32>, 115 | | Error: From<u32> + Into<u32> + Debug, | |_________________________________________^ | = note: requested on the command line with `-W missing-docs`
useless use of `vec!`: crates/pop-drink/src/error.rs#L68
warning: useless use of `vec!` --> crates/pop-drink/src/error.rs:68:15 | 68 | let data = vec![vec![index], module_error.to_vec()].concat(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[vec![index], module_error.to_vec()]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec = note: `#[warn(clippy::useless_vec)]` on by default
using tabs in doc comments is not recommended: crates/pop-drink/src/lib.rs#L211
warning: using tabs in doc comments is not recommended --> crates/pop-drink/src/lib.rs:211:8 | 211 | /// value: 42, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/pop-drink/src/lib.rs#L165
warning: using tabs in doc comments is not recommended --> crates/pop-drink/src/lib.rs:165:8 | 165 | /// init_value, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/pop-drink/src/lib.rs#L164
warning: using tabs in doc comments is not recommended --> crates/pop-drink/src/lib.rs:164:8 | 164 | /// input, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/pop-drink/src/lib.rs#L163
warning: using tabs in doc comments is not recommended --> crates/pop-drink/src/lib.rs:163:8 | 163 | /// "transfer", | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/pop-drink/src/lib.rs#L162
warning: using tabs in doc comments is not recommended --> crates/pop-drink/src/lib.rs:162:8 | 162 | /// session, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/pop-drink/src/macros.rs#L65
warning: using tabs in doc comments is not recommended --> crates/pop-drink/src/macros.rs:65:9 | 65 | /// } | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/pop-drink/src/macros.rs#L64
warning: using tabs in doc comments is not recommended --> crates/pop-drink/src/macros.rs:64:9 | 64 | /// _ => CustomError::StatusCode(value.0), | ^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/pop-drink/src/macros.rs#L63
warning: using tabs in doc comments is not recommended --> crates/pop-drink/src/macros.rs:63:9 | 63 | /// ..., | ^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/pop-drink/src/macros.rs#L62
warning: using tabs in doc comments is not recommended --> crates/pop-drink/src/macros.rs:62:9 | 62 | /// match value { | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments = note: `#[warn(clippy::tabs_in_doc_comments)]` on by default
missing documentation for an associated function: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for an associated function --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L177
warning: missing documentation for a variant --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `$crate::create_sandbox` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a type alias --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a type alias --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a type alias --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a type alias --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a type alias --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a struct field --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L178
warning: missing documentation for a variant --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `$crate::create_sandbox` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L176
warning: missing documentation for a variant --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `$crate::create_sandbox` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L175
warning: missing documentation for a variant --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `$crate::create_sandbox` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L174
warning: missing documentation for a variant --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `$crate::create_sandbox` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an enum: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for an enum --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/work/pop-drink/pop-drink/crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a struct --> crates/drink/drink/src/lib.rs:30:2 | 30 | create_sandbox!(MinimalSandbox, (), crate::pallet_contracts_debugging::DrinkDebug); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: crates/drink/drink/src/session.rs#L157
warning: missing documentation for a struct field --> crates/drink/drink/src/session.rs:157:2 | 157 | pub sandbox: T, | ^^^^^^^^^^^^^^ | = note: requested on the command line with `-W missing-docs`
doc list item without indentation: crates/drink/drink/src/pallet_contracts_debugging.rs#L12
warning: doc list item without indentation --> crates/drink/drink/src/pallet_contracts_debugging.rs:12:5 | 12 | //! in the runtime. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 12 | //! in the runtime. | +++
doc list item without indentation: crates/drink/drink/src/pallet_contracts_debugging.rs#L10
warning: doc list item without indentation --> crates/drink/drink/src/pallet_contracts_debugging.rs:10:5 | 10 | //! that will then forward the call further to the proper runtime extension. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 10 | //! that will then forward the call further to the proper runtime extension. | +++
doc list item without indentation: crates/drink/drink/src/pallet_contracts_debugging.rs#L8
warning: doc list item without indentation --> crates/drink/drink/src/pallet_contracts_debugging.rs:8:5 | 8 | //! parameter `Debug`. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `#[warn(clippy::doc_lazy_continuation)]` on by default help: indent this line | 8 | //! parameter `Debug`. | +++
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L149
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:149:5 | 149 | /// NO_ENDOWMENT, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L148
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:148:5 | 148 | /// NO_SALT, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L147
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:147:5 | 147 | /// NO_ARGS, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L146
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:146:5 | 146 | /// "new", | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L145
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:145:5 | 145 | /// contract, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L139
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:139:5 | 139 | /// NO_ENDOWMENT, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L138
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:138:5 | 138 | /// NO_SALT, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L137
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:137:5 | 137 | /// NO_ARGS, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L136
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:136:5 | 136 | /// "new", | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L135
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:135:5 | 135 | /// local_contract_file!(), | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L115
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:115:5 | 115 | /// &get_transcoder(), | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L114
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:114:5 | 114 | /// NO_ENDOWMENT, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L113
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:113:5 | 113 | /// NO_SALT, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L112
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:112:5 | 112 | /// NO_ARGS, | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L111
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:111:5 | 111 | /// "new", | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L110
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:110:5 | 110 | /// contract_bytes(), | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L86
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:86:5 | 86 | /// .call_and("bar", NO_ARGS, NO_ENDOWMENT)?; | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L85
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:85:5 | 85 | /// .with_actor(bob()) | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L84
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:84:5 | 84 | /// .call_and("foo", NO_ARGS, NO_ENDOWMENT)? | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: crates/drink/drink/src/session.rs#L83
warning: using tabs in doc comments is not recommended --> crates/drink/drink/src/session.rs:83:5 | 83 | /// .deploy_and(contract_bytes(), "new", NO_ARGS, NO_SALT, NO_ENDOWMENT, &get_transcoder())? | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments = note: `#[warn(clippy::tabs_in_doc_comments)]` on by default
doc list item without indentation: crates/drink/drink/test-macro/src/lib.rs#L44
warning: doc list item without indentation --> crates/drink/drink/test-macro/src/lib.rs:44:5 | 44 | /// features. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 44 | /// features. | +++
doc list item without indentation: crates/drink/drink/test-macro/src/lib.rs#L43
warning: doc list item without indentation --> crates/drink/drink/test-macro/src/lib.rs:43:5 | 43 | /// different configurations or dependency paths), **excluding** `ink-as-dependency` and `std` | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 43 | /// different configurations or dependency paths), **excluding** `ink-as-dependency` and `std` | +++
doc list item without indentation: crates/drink/drink/test-macro/src/lib.rs#L35
warning: doc list item without indentation --> crates/drink/drink/test-macro/src/lib.rs:35:5 | 35 | /// enabled (works with non-local packages as well). | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 35 | /// enabled (works with non-local packages as well). | +++
doc list item without indentation: crates/drink/drink/test-macro/src/lib.rs#L24
warning: doc list item without indentation --> crates/drink/drink/test-macro/src/lib.rs:24:5 | 24 | /// should always use the macro only with a qualified path `#[drink::test]`. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `#[warn(clippy::doc_lazy_continuation)]` on by default help: indent this line | 24 | /// should always use the macro only with a qualified path `#[drink::test]`. | ++
doc list item without indentation: crates/drink/drink/test-macro/src/lib.rs#L44
warning: doc list item without indentation --> crates/drink/drink/test-macro/src/lib.rs:44:5 | 44 | /// features. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 44 | /// features. | +++
doc list item without indentation: crates/drink/drink/test-macro/src/lib.rs#L43
warning: doc list item without indentation --> crates/drink/drink/test-macro/src/lib.rs:43:5 | 43 | /// different configurations or dependency paths), **excluding** `ink-as-dependency` and `std` | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 43 | /// different configurations or dependency paths), **excluding** `ink-as-dependency` and `std` | +++
doc list item without indentation: crates/drink/drink/test-macro/src/lib.rs#L35
warning: doc list item without indentation --> crates/drink/drink/test-macro/src/lib.rs:35:5 | 35 | /// enabled (works with non-local packages as well). | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 35 | /// enabled (works with non-local packages as well). | +++
doc list item without indentation: crates/drink/drink/test-macro/src/lib.rs#L24
warning: doc list item without indentation --> crates/drink/drink/test-macro/src/lib.rs:24:5 | 24 | /// should always use the macro only with a qualified path `#[drink::test]`. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `#[warn(clippy::doc_lazy_continuation)]` on by default help: indent this line | 24 | /// should always use the macro only with a qualified path `#[drink::test]`. | ++
missing documentation for an associated function: crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for an associated function --> crates/ink-sandbox/src/macros.rs:172:5 | 172 | / construct_runtime!( 173 | | pub enum $runtime { 174 | | System: $crate::frame_system, 175 | | Assets: $crate::pallet_assets::<Instance1>, ... | 182 | | } 183 | | ); | |_____^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: crates/ink-sandbox/src/macros.rs#L177
warning: missing documentation for a variant --> crates/ink-sandbox/src/macros.rs:177:13 | 177 | Timestamp: $crate::pallet_timestamp, | ^^^^^^^^^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::create_sandbox` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a type alias --> crates/ink-sandbox/src/macros.rs:172:5 | 172 | / construct_runtime!( 173 | | pub enum $runtime { 174 | | System: $crate::frame_system, 175 | | Assets: $crate::pallet_assets::<Instance1>, 176 | | Balances: $crate::pallet_balances, 177 | | Timestamp: $crate::pallet_timestamp, 178 | | Contracts: $crate::pallet_contracts, | |_____________________^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a type alias --> crates/ink-sandbox/src/macros.rs:172:5 | 172 | / construct_runtime!( 173 | | pub enum $runtime { 174 | | System: $crate::frame_system, 175 | | Assets: $crate::pallet_assets::<Instance1>, 176 | | Balances: $crate::pallet_balances, 177 | | Timestamp: $crate::pallet_timestamp, | |_____________________^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a type alias --> crates/ink-sandbox/src/macros.rs:172:5 | 172 | / construct_runtime!( 173 | | pub enum $runtime { 174 | | System: $crate::frame_system, 175 | | Assets: $crate::pallet_assets::<Instance1>, 176 | | Balances: $crate::pallet_balances, | |____________________^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a type alias --> crates/ink-sandbox/src/macros.rs:172:5 | 172 | / construct_runtime!( 173 | | pub enum $runtime { 174 | | System: $crate::frame_system, 175 | | Assets: $crate::pallet_assets::<Instance1>, | |__________________^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a type alias --> crates/ink-sandbox/src/macros.rs:172:5 | 172 | / construct_runtime!( 173 | | pub enum $runtime { 174 | | System: $crate::frame_system, | |__________________^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a struct field --> crates/ink-sandbox/src/macros.rs:172:5 | 172 | / construct_runtime!( 173 | | pub enum $runtime { 174 | | System: $crate::frame_system, 175 | | Assets: $crate::pallet_assets::<Instance1>, ... | 182 | | } 183 | | ); | |_____^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: crates/ink-sandbox/src/macros.rs#L178
warning: missing documentation for a variant --> crates/ink-sandbox/src/macros.rs:178:13 | 178 | Contracts: $crate::pallet_contracts, | ^^^^^^^^^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::create_sandbox` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: crates/ink-sandbox/src/macros.rs#L176
warning: missing documentation for a variant --> crates/ink-sandbox/src/macros.rs:176:13 | 176 | Balances: $crate::pallet_balances, | ^^^^^^^^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::create_sandbox` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: crates/ink-sandbox/src/macros.rs#L175
warning: missing documentation for a variant --> crates/ink-sandbox/src/macros.rs:175:13 | 175 | Assets: $crate::pallet_assets::<Instance1>, | ^^^^^^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::create_sandbox` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: crates/ink-sandbox/src/macros.rs#L174
warning: missing documentation for a variant --> crates/ink-sandbox/src/macros.rs:174:13 | 174 | System: $crate::frame_system, | ^^^^^^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::create_sandbox` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an enum: crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for an enum --> crates/ink-sandbox/src/macros.rs:172:5 | 172 | / construct_runtime!( 173 | | pub enum $runtime { 174 | | System: $crate::frame_system, 175 | | Assets: $crate::pallet_assets::<Instance1>, ... | 182 | | } 183 | | ); | |_____^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: crates/ink-sandbox/src/macros.rs#L172
warning: missing documentation for a struct --> crates/ink-sandbox/src/macros.rs:172:5 | 172 | / construct_runtime!( 173 | | pub enum $runtime { 174 | | System: $crate::frame_system, 175 | | Assets: $crate::pallet_assets::<Instance1>, ... | 182 | | } 183 | | ); | |_____^ ... 330 | create_sandbox!(DefaultSandbox); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `create_sandbox` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a macro: crates/ink-sandbox/src/macros.rs#L66
warning: missing documentation for a macro --> crates/ink-sandbox/src/macros.rs:66:1 | 66 | macro_rules! impl_sandbox { | ^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a module: crates/ink-sandbox/src/api.rs#L7
warning: missing documentation for a module --> crates/ink-sandbox/src/api.rs:7:1 | 7 | pub mod prelude { | ^^^^^^^^^^^^^^^
missing documentation for a module: crates/ink-sandbox/src/api.rs#L5
warning: missing documentation for a module --> crates/ink-sandbox/src/api.rs:5:1 | 5 | pub mod timestamp_api; | ^^^^^^^^^^^^^^^^^^^^^
missing documentation for a module: crates/ink-sandbox/src/api.rs#L4
warning: missing documentation for a module --> crates/ink-sandbox/src/api.rs:4:1 | 4 | pub mod system_api; | ^^^^^^^^^^^^^^^^^^
missing documentation for a module: crates/ink-sandbox/src/api.rs#L3
warning: missing documentation for a module --> crates/ink-sandbox/src/api.rs:3:1 | 3 | pub mod contracts_api; | ^^^^^^^^^^^^^^^^^^^^^
missing documentation for a module: crates/ink-sandbox/src/api.rs#L2
warning: missing documentation for a module --> crates/ink-sandbox/src/api.rs:2:1 | 2 | pub mod balances_api; | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a module: crates/ink-sandbox/src/api.rs#L1
warning: missing documentation for a module --> crates/ink-sandbox/src/api.rs:1:1 | 1 | pub mod assets_api; | ^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: crates/ink-sandbox/src/lib.rs#L86
warning: missing documentation for an associated function --> crates/ink-sandbox/src/lib.rs:86:2 | 86 | fn default_gas_limit() -> Weight { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a module: crates/ink-sandbox/src/lib.rs#L4
warning: missing documentation for a module --> crates/ink-sandbox/src/lib.rs:4:1 | 4 | pub mod macros; | ^^^^^^^^^^^^^^
missing documentation for a module: crates/ink-sandbox/src/lib.rs#L3
warning: missing documentation for a module --> crates/ink-sandbox/src/lib.rs:3:1 | 3 | pub mod api; | ^^^^^^^^^^^
missing documentation for the crate: crates/ink-sandbox/src/lib.rs#L1
warning: missing documentation for the crate --> crates/ink-sandbox/src/lib.rs:1:1 | 1 | / use core::any::Any; 2 | | 3 | | pub mod api; 4 | | pub mod macros; ... | 96 | | ) -> <<Self::Runtime as frame_system::Config>::RuntimeCall as Dispatchable>::RuntimeOrigin; 97 | | } | |_^ | = note: requested on the command line with `-W missing-docs`
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/