feat(pop-drink): add testnet runtime environment #61
Triggered via pull request
November 6, 2024 14:47
chungquantin
synchronize
#26
Status
Success
Total duration
11s
Artifacts
–
lint-pr.yml
on: pull_request_target
Validate PR title for conventional commit compliance
2s
Annotations
142 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#L194
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:194:5
|
194 | /// .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#L193
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:193:5
|
193 | /// .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#L192
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:192:5
|
192 | /// }
| ^^^^ 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#L191
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:191:5
|
191 | /// 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#L190
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:190:5
|
190 | /// 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#L189
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:189:5
|
189 | /// 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#L146
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:146:5
|
146 | /// )
| ^^^^ 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#L145
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:145:5
|
145 | /// 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#L144
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:144:5
|
144 | /// 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#L143
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:143:5
|
143 | /// "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#L142
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:142:5
|
142 | /// 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#L141
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:141:5
|
141 | /// 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#L140
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:140:5
|
140 | /// // `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#L139
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:139:5
|
139 | /// // `()` 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#L138
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.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/lib.rs#L137
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:137:5
|
137 | /// // 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#L135
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:135:5
|
135 | /// 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#L134
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:134:5
|
134 | /// 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#L91
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:91:5
|
91 | /// 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#L90
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:90:5
|
90 | /// // `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#L89
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:89:5
|
89 | /// //
| ^^^^ 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#L88
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:88:5
|
88 | /// // 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#L86
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/lib.rs:86:5
|
86 | /// 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/macros.rs#L143
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:143:5
|
143 | /// }
| ^^^^ 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#L142
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:142:5
|
142 | /// 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/macros.rs#L141
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:141:5
|
141 | /// to: Some(account_id_from_slice(&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/pop-drink/src/macros.rs#L140
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:140:5
|
140 | /// from: Some(account_id_from_slice(&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/macros.rs#L139
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:139:5
|
139 | /// 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/macros.rs#L138
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:138:5
|
138 | /// &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#L97
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:97:5
|
97 | /// 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/macros.rs#L96
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:96:5
|
96 | /// ...
| ^^^^ 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#L95
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:95:5
|
95 | /// 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/macros.rs#L94
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:94:5
|
94 | /// ...
| ^^^^ 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#L93
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:93:5
|
93 | /// // 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/macros.rs#L91
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:91:5
|
91 | /// 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/macros.rs#L90
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:90:5
|
90 | /// // 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/macros.rs#L88
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:88:5
|
88 | /// 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/macros.rs#L87
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:87:5
|
87 | /// // 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/macros.rs#L85
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:85:5
|
85 | /// ...
| ^^^^ 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#L78
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:78:5
|
78 | /// }
| ^^^^ 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#L77
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:77:5
|
77 | /// }
| ^^^^^^^^ 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#L76
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:76:5
|
76 | /// 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/macros.rs#L75
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:75:5
|
75 | /// ...,
| ^^^^^^^^^^^^ 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#L74
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:74:5
|
74 | /// 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/macros.rs#L73
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:73:5
|
73 | /// 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/macros.rs#L72
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:72:5
|
72 | /// // 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/macros.rs#L71
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:71:5
|
71 | /// //
| ^^^^ 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#L70
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:70:5
|
70 | /// /// 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/macros.rs#L66
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:66:5
|
66 | /// }
| ^^^^ 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:5
|
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:5
|
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:5
|
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:5
|
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
|
using tabs in doc comments is not recommended:
crates/pop-drink/src/macros.rs#L61
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:61:5
|
61 | /// 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/macros.rs#L60
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:60:5
|
60 | /// /// 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/macros.rs#L56
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:56:5
|
56 | /// 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/macros.rs#L55
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:55:5
|
55 | /// /// 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/macros.rs#L54
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:54:5
|
54 | /// ...,
| ^^^^ 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#L26
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:26:5
|
26 | /// },
| ^^^^ 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#L25
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:25:5
|
25 | /// 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/macros.rs#L24
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:24:5
|
24 | /// 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/macros.rs#L23
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:23:5
|
23 | /// 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/macros.rs#L22
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:22:5
|
22 | /// 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/macros.rs#L21
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:21:5
|
21 | /// 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/macros.rs#L20
warning: using tabs in doc comments is not recommended
--> crates/pop-drink/src/macros.rs:20:5
|
20 | /// 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 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`
|