feat: pop drink #55
Annotations
139 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 module:
crates/pop-drink/src/lib.rs#L30
warning: missing documentation for a module
--> crates/pop-drink/src/lib.rs:30:3
|
30 | pub mod v0 {
| ^^^^^^^^^^
|
missing documentation for a type alias:
crates/pop-drink/src/lib.rs#L40
warning: missing documentation for a type alias
--> crates/pop-drink/src/lib.rs:40:2
|
40 | pub type AccountId = AccountIdFor<Runtime>;
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
crates/pop-drink/src/lib.rs#L39
warning: missing documentation for a type alias
--> crates/pop-drink/src/lib.rs:39:2
|
39 | pub type Balance = BalanceFor<Runtime>;
| ^^^^^^^^^^^^^^^^
|
missing documentation for a function:
crates/pop-drink/src/error.rs#L179
warning: missing documentation for a function
--> crates/pop-drink/src/error.rs:179:1
|
179 | / pub fn assert_err_inner<R, E, Error>(result: Result<R, E>, expected_error: Error)
180 | | where
181 | | E: Into<u32>,
182 | | 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#L177
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:177:5
|
177 | /// .as_slice()
| ^^^^ 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#L176
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:176:5
|
176 | /// .encode()
| ^^^^ 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#L175
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:175:5
|
175 | /// }
| ^^^^ 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#L174
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:174:5
|
174 | /// 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#L173
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:173:5
|
173 | /// ContractEvent {
| ^^^^ 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#L172
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:172:5
|
172 | /// last_contract_event::<Pop>(&session).unwrap(),
| ^^^^ 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#L129
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:129:5
|
129 | /// )
| ^^^^ 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#L128
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:128:5
|
128 | /// 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#L127
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:127:5
|
127 | /// 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#L126
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:126:5
|
126 | /// "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#L125
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:125:5
|
125 | /// 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/lib.rs#L124
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:124:5
|
124 | /// call::<Pop, (), ContractError>(
| ^^^^ 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#L123
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:123:5
|
123 | /// // `ContractError` is the error type used by the 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/pop-drink/src/lib.rs#L122
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:122:5
|
122 | /// // `()` is the successful result type used by the 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/pop-drink/src/lib.rs#L121
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:121:5
|
121 | /// //
| ^^^^ 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#L120
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:120:5
|
120 | /// // Call 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/pop-drink/src/lib.rs#L118
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:118:5
|
118 | /// assert_ok!(deploy<Pop, ContractError>(&mut session, bundle, "new", input, salt, 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#L117
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:117:5
|
117 | /// let bundle = BundleProvider::local().unwrap();
| ^^^^ 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#L74
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:74:5
|
74 | /// assert_ok!(deploy<Pop, ContractError>(&mut session, bundle, "new", input, salt, 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#L73
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:73:5
|
73 | /// // `ContractError` is the error type used by the 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/pop-drink/src/lib.rs#L72
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:72:5
|
72 | /// //
| ^^^^ 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#L71
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:71:5
|
71 | /// // Deploy 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/pop-drink/src/lib.rs#L69
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:69:5
|
69 | /// let bundle = BundleProvider::local().unwrap();
| ^^^^ 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/error.rs#L164
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:164:5
|
164 | /// assert_err!(result, Error::Module(Assets(BalanceLow)));
| ^^^^ 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/error.rs#L163
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:163:5
|
163 | /// ...
| ^^^^ 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/error.rs#L162
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:162:5
|
162 | /// assert_err!(result, Error::Raw(Arithmetic(Overflow)));
| ^^^^ 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/error.rs#L161
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:161:5
|
161 | /// ...
| ^^^^ 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/error.rs#L160
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:160:5
|
160 | /// // Other assertions:
| ^^^^ 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/error.rs#L158
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:158:5
|
158 | /// assert_err!(result, Error::Raw(BadOrigin)));
| ^^^^ 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/error.rs#L157
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:157:5
|
157 | /// // Assert the result to the expected error.
| ^^^^ 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/error.rs#L155
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:155:5
|
155 | /// let result = call::<Pop, (), CustomError>(session, "hello_world", vec![], None);
| ^^^^ 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/error.rs#L154
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:154:5
|
154 | /// // Call a contract method that returns a `Result<(), CustomError>`.
| ^^^^ 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/error.rs#L152
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:152:5
|
152 | /// ...
| ^^^^ 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/error.rs#L145
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:145:5
|
145 | /// }
| ^^^^ 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/error.rs#L144
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:144:5
|
144 | /// }
| ^^^^^^^^ 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/error.rs#L143
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:143:5
|
143 | /// CustomError::StatusCode(status_code) => status_code,
| ^^^^^^^^^^^^ 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/error.rs#L142
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:142:5
|
142 | /// ...,
| ^^^^^^^^^^^^ 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/error.rs#L141
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:141:5
|
141 | /// 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
|
using tabs in doc comments is not recommended:
crates/pop-drink/src/error.rs#L140
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:140:5
|
140 | /// fn from(value: CustomError) -> Self {
| ^^^^ 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/error.rs#L139
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:139:5
|
139 | /// // Required for the `assert_err` macro to assert to `Error`.
| ^^^^ 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/error.rs#L138
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:138:5
|
138 | /// //
| ^^^^ 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/error.rs#L137
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:137:5
|
137 | /// /// Converts a `CustomError to a `u32`.
| ^^^^ 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/error.rs#L133
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:133:5
|
133 | /// }
| ^^^^ 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/error.rs#L132
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:132:5
|
132 | /// }
| ^^^^^^^^ 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/error.rs#L131
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:131:5
|
131 | /// _ => 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/error.rs#L130
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:130:5
|
130 | /// ...,
| ^^^^^^^^^^^^ 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/error.rs#L129
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:129:5
|
129 | /// 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
|
using tabs in doc comments is not recommended:
crates/pop-drink/src/error.rs#L128
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:128:5
|
128 | /// fn from(value: StatusCode) -> Self {
| ^^^^ 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/error.rs#L127
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:127:5
|
127 | /// /// Converts a `StatusCode` (returned by the api) to a `CustomError`.
| ^^^^ 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/error.rs#L123
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:123:5
|
123 | /// StatusCode(u32),
| ^^^^ 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/error.rs#L122
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:122:5
|
122 | /// /// Error with status code.
| ^^^^ 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/error.rs#L121
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:121:5
|
121 | /// ...,
| ^^^^ 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/error.rs#L93
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:93:5
|
93 | /// },
| ^^^^ 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/error.rs#L92
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:92:5
|
92 | /// BadOrigin
| ^^^^^^^^ 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/error.rs#L91
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:91:5
|
91 | /// ArithmeticError::Overflow,
| ^^^^^^^^ 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/error.rs#L90
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:90:5
|
90 | /// Arithmetic,
| ^^^^^^^^ 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/error.rs#L89
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:89:5
|
89 | /// v0::{
| ^^^^ 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/error.rs#L88
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:88:5
|
88 | /// AssetsError::BalanceLow,
| ^^^^ 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/error.rs#L87
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/error.rs:87:5
|
87 | /// Assets,
| ^^^^ 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 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
|
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`
|
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]`.
| ++
|
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/
|