test(wallet-integration): unit tests for pop up contract #693
Triggered via pull request
December 12, 2024 09:46
Status
Failure
Total duration
49m 25s
Artifacts
–
ci.yml
on: pull_request
lint
16s
deny
51s
docker
15m 44s
build
16m 12s
clippy
8m 28s
unit-tests
13m 10s
coverage
14m 5s
documentation-tests
10m 3s
Matrix: contract-integration-tests
Matrix: parachain-integration-tests
Annotations
2 errors and 141 warnings
unit-tests
Process completed with exit code 101.
|
coverage
Process completed with exit code 1.
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
deny
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
missing documentation for a macro:
crates/pop-cli/src/commands/new/mod.rs#L13
warning: missing documentation for a macro
--> crates/pop-cli/src/commands/new/mod.rs:13:1
|
13 | macro_rules! enum_variants {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
crates/pop-cli/src/main.rs#L57
warning: missing documentation for a struct
--> crates/pop-cli/src/main.rs:57:1
|
57 | pub struct Cli {
| ^^^^^^^^^^^^^^
|
missing documentation for the crate:
crates/pop-cli/src/main.rs#L3
warning: missing documentation for the crate
--> crates/pop-cli/src/main.rs:3:1
|
3 | / #[cfg(not(any(feature = "contract", feature = "parachain")))]
4 | | compile_error!("feature \"contract\" or feature \"parachain\" must be enabled");
5 | |
6 | | use anyhow::{anyhow, Result};
... |
132 | | }
133 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
using `map` over `inspect`:
crates/pop-cli/src/commands/up/parachain.rs#L258
warning: using `map` over `inspect`
--> crates/pop-cli/src/commands/up/parachain.rs:258:5
|
258 | .map(|b| {
| ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect
= note: `#[warn(clippy::manual_inspect)]` on by default
help: try
|
258 ~ .inspect(|b| {
259 | if latest && b.stale() {
260 | b.use_latest()
261 ~ }
|
|
the following explicit lifetimes could be elided: 'a:
crates/pop-cli/src/commands/clean.rs#L43
warning: the following explicit lifetimes could be elided: 'a
--> crates/pop-cli/src/commands/clean.rs:43:6
|
43 | impl<'a, CLI: Cli> CleanCacheCommand<'a, CLI> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
43 - impl<'a, CLI: Cli> CleanCacheCommand<'a, CLI> {
43 + impl<CLI: Cli> CleanCacheCommand<'_, CLI> {
|
|
this expression creates a reference which is immediately dereferenced by the compiler:
crates/pop-cli/src/commands/call/contract.rs#L168
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/pop-cli/src/commands/call/contract.rs:168:57
|
168 | .map(|p| p.is_dir() && !has_contract_been_built(Some(&p)))
| ^^ help: change this to: `p`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
associated function `new` is never used:
crates/pop-cli/src/wallet_integration.rs#L236
warning: associated function `new` is never used
--> crates/pop-cli/src/wallet_integration.rs:236:9
|
235 | impl FrontendFromString {
| ----------------------- associated function in this implementation
236 | pub fn new(content: String) -> Self {
| ^^^
|
method `terminate` is never used:
crates/pop-cli/src/wallet_integration.rs#L116
warning: method `terminate` is never used
--> crates/pop-cli/src/wallet_integration.rs:116:15
|
61 | impl WalletIntegrationManager {
| ----------------------------- method in this implementation
...
116 | pub async fn terminate(&mut self) -> anyhow::Result<()> {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused import: `Deserialize`:
crates/pop-cli/src/wallet_integration.rs#L6
warning: unused import: `Deserialize`
--> crates/pop-cli/src/wallet_integration.rs:6:13
|
6 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
missing documentation for a function:
crates/pop-contracts/src/up.rs#L361
warning: missing documentation for a function
--> crates/pop-contracts/src/up.rs:361:1
|
361 | / pub fn get_code_hash_from_event<C: Config>(
362 | | upload_result: &UploadResult<C>,
363 | | // used for error reporting
364 | | metadata_code_hash: [u8; 32],
365 | | ) -> Result<String, Error> {
| |__________________________^
|
missing documentation for a function:
crates/pop-contracts/src/up.rs#L222
warning: missing documentation for a function
--> crates/pop-contracts/src/up.rs:222:1
|
222 | / pub async fn submit_signed_payload(
223 | | url: &str,
224 | | payload: String,
225 | | ) -> anyhow::Result<ExtrinsicEvents<SubstrateConfig>> {
| |_____________________________________________________^
|
missing documentation for a function:
crates/pop-contracts/src/up.rs#L201
warning: missing documentation for a function
--> crates/pop-contracts/src/up.rs:201:1
|
201 | / pub async fn instantiate_contract_signed(
202 | | url: &str,
203 | | payload: String,
204 | | ) -> anyhow::Result<InstantiateExecResult<SubstrateConfig>> {
| |___________________________________________________________^
|
missing documentation for a function:
crates/pop-contracts/src/up.rs#L190
warning: missing documentation for a function
--> crates/pop-contracts/src/up.rs:190:1
|
190 | / pub async fn upload_contract_signed(
191 | | url: &str,
192 | | payload: String,
193 | | ) -> anyhow::Result<UploadResult<SubstrateConfig>> {
| |__________________________________________________^
|
missing documentation for a function:
crates/pop-contracts/src/up.rs#L167
warning: missing documentation for a function
--> crates/pop-contracts/src/up.rs:167:1
|
167 | / pub async fn get_contract_code(
168 | | path: Option<&PathBuf>,
169 | | ) -> anyhow::Result<contract_extrinsics::WasmCode> {
| |__________________________________________________^
|
missing documentation for a function:
crates/pop-contracts/src/up.rs#L135
warning: missing documentation for a function
--> crates/pop-contracts/src/up.rs:135:1
|
135 | / pub async fn get_instantiate_payload(
136 | | instantiate_exec: InstantiateExec<DefaultConfig, DefaultEnvironment, Keypair>,
137 | | gas_limit: Weight,
138 | | ) -> anyhow::Result<Vec<u8>> {
| |____________________________^
|
missing documentation for a function:
crates/pop-contracts/src/up.rs#L117
warning: missing documentation for a function
--> crates/pop-contracts/src/up.rs:117:1
|
117 | pub async fn get_upload_payload(code: WasmCode, url: &str) -> anyhow::Result<Vec<u8>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an enum:
crates/pop-contracts/src/templates.rs#L60
warning: missing documentation for an enum
--> crates/pop-contracts/src/templates.rs:60:1
|
60 | pub enum Contract {
| ^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-contracts/src/templates.rs#L33
warning: missing documentation for a variant
--> crates/pop-contracts/src/templates.rs:33:2
|
33 | Psp,
| ^^^
|
missing documentation for a variant:
crates/pop-contracts/src/templates.rs#L26
warning: missing documentation for a variant
--> crates/pop-contracts/src/templates.rs:26:2
|
26 | Erc,
| ^^^
|
missing documentation for a variant:
crates/pop-contracts/src/templates.rs#L19
warning: missing documentation for a variant
--> crates/pop-contracts/src/templates.rs:19:2
|
19 | Examples,
| ^^^^^^^^
|
missing documentation for a function:
crates/pop-contracts/src/new.rs#L30
warning: missing documentation for a function
--> crates/pop-contracts/src/new.rs:30:1
|
30 | pub fn is_valid_contract_name(name: &str) -> Result<(), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: requested on the command line with `-W missing-docs`
|
using `clone` on type `H256` which implements the `Copy` trait:
crates/pop-contracts/src/up.rs#L156
warning: using `clone` on type `H256` which implements the `Copy` trait
--> crates/pop-contracts/src/up.rs:156:4
|
156 | hash.clone(),
| ^^^^^^^^^^^^ help: try dereferencing it: `*hash`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
|
missing documentation for a method:
crates/pop-parachains/src/templates.rs#L249
warning: missing documentation for a method
--> crates/pop-parachains/src/templates.rs:249:2
|
249 | pub fn license(&self) -> Option<&str> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
crates/pop-parachains/src/templates.rs#L245
warning: missing documentation for a method
--> crates/pop-parachains/src/templates.rs:245:2
|
245 | pub fn is_audited(&self) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
crates/pop-parachains/src/templates.rs#L239
warning: missing documentation for a method
--> crates/pop-parachains/src/templates.rs:239:2
|
239 | pub fn is_supported_version(&self, version: &str) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
crates/pop-parachains/src/templates.rs#L235
warning: missing documentation for a method
--> crates/pop-parachains/src/templates.rs:235:2
|
235 | pub fn supported_versions(&self) -> Option<Vec<&str>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/templates.rs#L196
warning: missing documentation for a variant
--> crates/pop-parachains/src/templates.rs:196:2
|
196 | DeprecatedOpenZeppelinGeneric,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/templates.rs#L153
warning: missing documentation for a variant
--> crates/pop-parachains/src/templates.rs:153:2
|
153 | OpenZeppelinEVM,
| ^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/templates.rs#L138
warning: missing documentation for a variant
--> crates/pop-parachains/src/templates.rs:138:2
|
138 | OpenZeppelinGeneric,
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-parachains/src/templates.rs#L51
warning: missing documentation for a struct field
--> crates/pop-parachains/src/templates.rs:51:2
|
51 | pub initial_endowment: String,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-parachains/src/templates.rs#L50
warning: missing documentation for a struct field
--> crates/pop-parachains/src/templates.rs:50:2
|
50 | pub decimals: u8,
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-parachains/src/templates.rs#L49
warning: missing documentation for a struct field
--> crates/pop-parachains/src/templates.rs:49:2
|
49 | pub symbol: String,
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/templates.rs#L33
warning: missing documentation for a variant
--> crates/pop-parachains/src/templates.rs:33:2
|
33 | Parity,
| ^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/templates.rs#L26
warning: missing documentation for a variant
--> crates/pop-parachains/src/templates.rs:26:2
|
26 | OpenZeppelin,
| ^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/templates.rs#L19
warning: missing documentation for a variant
--> crates/pop-parachains/src/templates.rs:19:2
|
19 | Pop,
| ^^^
|
missing documentation for a variant:
crates/pop-parachains/src/new_pallet/new_pallet_options.rs#L86
warning: missing documentation for a variant
--> crates/pop-parachains/src/new_pallet/new_pallet_options.rs:86:2
|
86 | CustomOrigin,
| ^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/new_pallet/new_pallet_options.rs#L84
warning: missing documentation for a variant
--> crates/pop-parachains/src/new_pallet/new_pallet_options.rs:84:2
|
84 | GenesisConfig,
| ^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/new_pallet/new_pallet_options.rs#L82
warning: missing documentation for a variant
--> crates/pop-parachains/src/new_pallet/new_pallet_options.rs:82:2
|
82 | DefaultConfig,
| ^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L70
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:70:2
|
70 | WorkspaceLocate,
| ^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L68
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:68:2
|
68 | UnsupportedCommand(String),
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L66
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:66:2
|
66 | TomlError(#[from] toml_edit::de::Error),
| ^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L64
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:64:2
|
64 | SourcingError(#[from] pop_common::sourcing::Error),
| ^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L62
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:62:2
|
62 | RustfmtError(std::io::Error),
| ^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L60
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:60:2
|
60 | PathError,
| ^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L52
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:52:2
|
52 | PalletDirCreation,
| ^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L50
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:50:2
|
50 | OrchestratorError(#[from] OrchestratorError),
| ^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-parachains/src/errors.rs#L48
warning: missing documentation for a struct field
--> crates/pop-parachains/src/errors.rs:48:36
|
48 | MissingCommand { command: String, binary: String },
| ^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-parachains/src/errors.rs#L48
warning: missing documentation for a struct field
--> crates/pop-parachains/src/errors.rs:48:19
|
48 | MissingCommand { command: String, binary: String },
| ^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L48
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:48:2
|
48 | MissingCommand { command: String, binary: String },
| ^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L46
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:46:2
|
46 | MissingChainSpec(String),
| ^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L44
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:44:2
|
44 | MissingBinary(String),
| ^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L39
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:39:2
|
39 | JsonError(#[from] serde_json::Error),
| ^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L29
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:29:2
|
29 | EndowmentError,
| ^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L27
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:27:2
|
27 | CurrentDirAccess,
| ^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L25
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:25:2
|
25 | Config(String),
| ^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L20
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:20:2
|
20 | CommonError(#[from] pop_common::Error),
| ^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L12
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:12:2
|
12 | AnyhowError(#[from] anyhow::Error),
| ^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-parachains/src/errors.rs#L10
warning: missing documentation for a variant
--> crates/pop-parachains/src/errors.rs:10:2
|
10 | Aborted,
| ^^^^^^^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a macro:
crates/pop-common/src/templates/mod.rs#L114
warning: missing documentation for a macro
--> crates/pop-common/src/templates/mod.rs:114:1
|
114 | macro_rules! enum_variants_without_deprecated {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a macro:
crates/pop-common/src/templates/mod.rs#L101
warning: missing documentation for a macro
--> crates/pop-common/src/templates/mod.rs:101:1
|
101 | macro_rules! enum_variants {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated constant:
crates/pop-common/src/templates/mod.rs#L22
warning: missing documentation for an associated constant
--> crates/pop-common/src/templates/mod.rs:22:2
|
22 | const PROPERTY: &'static str = "Type";
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/templates/mod.rs#L14
warning: missing documentation for a variant
--> crates/pop-common/src/templates/mod.rs:14:2
|
14 | TypeMissing,
| ^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/templates/mod.rs#L11
warning: missing documentation for a variant
--> crates/pop-common/src/templates/mod.rs:11:2
|
11 | RepositoryMissing,
| ^^^^^^^^^^^^^^^^^
|
missing documentation for an enum:
crates/pop-common/src/templates/mod.rs#L9
warning: missing documentation for an enum
--> crates/pop-common/src/templates/mod.rs:9:1
|
9 | pub enum Error {
| ^^^^^^^^^^^^^^
|
missing documentation for a module:
crates/pop-common/src/templates/mod.rs#L6
warning: missing documentation for a module
--> crates/pop-common/src/templates/mod.rs:6:1
|
6 | pub mod extractor;
| ^^^^^^^^^^^^^^^^^
|
missing documentation for a module:
crates/pop-common/src/sourcing/mod.rs#L840
warning: missing documentation for a module
--> crates/pop-common/src/sourcing/mod.rs:840:1
|
840 | pub mod traits {
| ^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/sourcing/mod.rs#L35
warning: missing documentation for a variant
--> crates/pop-common/src/sourcing/mod.rs:35:2
|
35 | ParseError(#[from] url::ParseError),
| ^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/sourcing/mod.rs#L33
warning: missing documentation for a variant
--> crates/pop-common/src/sourcing/mod.rs:33:2
|
33 | MissingBinary(String),
| ^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/sourcing/mod.rs#L31
warning: missing documentation for a variant
--> crates/pop-common/src/sourcing/mod.rs:31:2
|
31 | IO(#[from] std::io::Error),
| ^^
|
missing documentation for a variant:
crates/pop-common/src/sourcing/mod.rs#L29
warning: missing documentation for a variant
--> crates/pop-common/src/sourcing/mod.rs:29:2
|
29 | HttpError(#[from] reqwest::Error),
| ^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/sourcing/mod.rs#L27
warning: missing documentation for a variant
--> crates/pop-common/src/sourcing/mod.rs:27:2
|
27 | ArchiveError(String),
| ^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/sourcing/mod.rs#L25
warning: missing documentation for a variant
--> crates/pop-common/src/sourcing/mod.rs:25:2
|
25 | AnyhowError(#[from] anyhow::Error),
| ^^^^^^^^^^^
|
missing documentation for an enum:
crates/pop-common/src/sourcing/mod.rs#L23
warning: missing documentation for an enum
--> crates/pop-common/src/sourcing/mod.rs:23:1
|
23 | pub enum Error {
| ^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-common/src/git.rs#L267
warning: missing documentation for a struct field
--> crates/pop-common/src/git.rs:267:2
|
267 | pub commit: Option<String>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-common/src/git.rs#L266
warning: missing documentation for a struct field
--> crates/pop-common/src/git.rs:266:2
|
266 | pub prerelease: bool,
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-common/src/git.rs#L265
warning: missing documentation for a struct field
--> crates/pop-common/src/git.rs:265:2
|
265 | pub name: String,
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-common/src/git.rs#L264
warning: missing documentation for a struct field
--> crates/pop-common/src/git.rs:264:2
|
264 | pub tag_name: String,
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
crates/pop-common/src/git.rs#L241
warning: missing documentation for an associated function
--> crates/pop-common/src/git.rs:241:2
|
241 | pub fn name(repo: &Url) -> Result<&str> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
crates/pop-common/src/git.rs#L205
warning: missing documentation for a method
--> crates/pop-common/src/git.rs:205:2
|
205 | pub async fn get_repo_license(&self) -> Result<String> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-common/src/git.rs#L151
warning: missing documentation for a struct field
--> crates/pop-common/src/git.rs:151:2
|
151 | pub name: String,
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-common/src/git.rs#L150
warning: missing documentation for a struct field
--> crates/pop-common/src/git.rs:150:2
|
150 | pub org: String,
| ^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
crates/pop-common/src/git.rs#L16
warning: missing documentation for an associated function
--> crates/pop-common/src/git.rs:16:2
|
16 | pub fn clone(url: &Url, working_dir: &Path, reference: Option<&str>) -> Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-common/src/errors.rs#L37
warning: missing documentation for a struct field
--> crates/pop-common/src/errors.rs:37:44
|
37 | UnsupportedPlatform { arch: &'static str, os: &'static str },
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
crates/pop-common/src/errors.rs#L37
warning: missing documentation for a struct field
--> crates/pop-common/src/errors.rs:37:24
|
37 | UnsupportedPlatform { arch: &'static str, os: &'static str },
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/errors.rs#L37
warning: missing documentation for a variant
--> crates/pop-common/src/errors.rs:37:2
|
37 | UnsupportedPlatform { arch: &'static str, os: &'static str },
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/errors.rs#L35
warning: missing documentation for a variant
--> crates/pop-common/src/errors.rs:35:2
|
35 | UnsupportedCommand(String),
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/errors.rs#L33
warning: missing documentation for a variant
--> crates/pop-common/src/errors.rs:33:2
|
33 | TemplateError(#[from] templates::Error),
| ^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/errors.rs#L31
warning: missing documentation for a variant
--> crates/pop-common/src/errors.rs:31:2
|
31 | SourceError(#[from] sourcing::Error),
| ^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/errors.rs#L26
warning: missing documentation for a variant
--> crates/pop-common/src/errors.rs:26:2
|
26 | ParseError(#[from] url::ParseError),
| ^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/errors.rs#L21
warning: missing documentation for a variant
--> crates/pop-common/src/errors.rs:21:2
|
21 | ManifestError(#[from] cargo_toml::Error),
| ^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/errors.rs#L16
warning: missing documentation for a variant
--> crates/pop-common/src/errors.rs:16:2
|
16 | IO(#[from] std::io::Error),
| ^^
|
missing documentation for a variant:
crates/pop-common/src/errors.rs#L14
warning: missing documentation for a variant
--> crates/pop-common/src/errors.rs:14:2
|
14 | Git(String),
| ^^^
|
missing documentation for a variant:
crates/pop-common/src/errors.rs#L12
warning: missing documentation for a variant
--> crates/pop-common/src/errors.rs:12:2
|
12 | Config(String),
| ^^^^^^
|
missing documentation for a variant:
crates/pop-common/src/errors.rs#L10
warning: missing documentation for a variant
--> crates/pop-common/src/errors.rs:10:2
|
10 | AnyhowError(#[from] anyhow::Error),
| ^^^^^^^^^^^
|
missing documentation for a module:
crates/pop-common/src/lib.rs#L28
warning: missing documentation for a module
--> crates/pop-common/src/lib.rs:28:1
|
28 | pub mod templates;
| ^^^^^^^^^^^^^^^^^
|
missing documentation for a module:
crates/pop-common/src/lib.rs#L27
warning: missing documentation for a module
--> crates/pop-common/src/lib.rs:27:1
|
27 | pub mod sourcing;
| ^^^^^^^^^^^^^^^^
|
missing documentation for a module:
crates/pop-common/src/lib.rs#L21
warning: missing documentation for a module
--> crates/pop-common/src/lib.rs:21:1
|
21 | pub mod manifest;
| ^^^^^^^^^^^^^^^^
|
missing documentation for a module:
crates/pop-common/src/lib.rs#L20
warning: missing documentation for a module
--> crates/pop-common/src/lib.rs:20:1
|
20 | pub mod helpers;
| ^^^^^^^^^^^^^^^
|
missing documentation for a module:
crates/pop-common/src/lib.rs#L19
warning: missing documentation for a module
--> crates/pop-common/src/lib.rs:19:1
|
19 | pub mod git;
| ^^^^^^^^^^^
|
missing documentation for a module:
crates/pop-common/src/lib.rs#L18
warning: missing documentation for a module
--> crates/pop-common/src/lib.rs:18:1
|
18 | pub mod errors;
| ^^^^^^^^^^^^^^
|
missing documentation for a module:
crates/pop-common/src/lib.rs#L17
warning: missing documentation for a module
--> crates/pop-common/src/lib.rs:17:1
|
17 | pub mod build;
| ^^^^^^^^^^^^^
|
missing documentation for the crate:
crates/pop-common/src/lib.rs#L3
warning: missing documentation for the crate
--> crates/pop-common/src/lib.rs:3:1
|
3 | / use std::net::TcpListener;
4 | |
5 | | pub use build::Profile;
6 | | pub use errors::Error;
... |
104 | | }
105 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a struct:
crates/pop-telemetry/src/lib.rs#L36
warning: missing documentation for a struct
--> crates/pop-telemetry/src/lib.rs:36:1
|
36 | pub struct Telemetry {
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
crates/pop-telemetry/src/lib.rs#L33
warning: missing documentation for a type alias
--> crates/pop-telemetry/src/lib.rs:33:1
|
33 | pub type Result<T> = std::result::Result<T, TelemetryError>;
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-telemetry/src/lib.rs#L30
warning: missing documentation for a variant
--> crates/pop-telemetry/src/lib.rs:30:2
|
30 | SerializeFailed(String),
| ^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-telemetry/src/lib.rs#L28
warning: missing documentation for a variant
--> crates/pop-telemetry/src/lib.rs:28:2
|
28 | ConfigFileNotFound,
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
crates/pop-telemetry/src/lib.rs#L26
warning: missing documentation for a variant
--> crates/pop-telemetry/src/lib.rs:26:2
|
26 | OptedOut,
| ^^^^^^^^
|
missing documentation for a variant:
crates/pop-telemetry/src/lib.rs#L24
warning: missing documentation for a variant
--> crates/pop-telemetry/src/lib.rs:24:2
|
24 | IO(io::Error),
| ^^
|
missing documentation for a variant:
crates/pop-telemetry/src/lib.rs#L22
warning: missing documentation for a variant
--> crates/pop-telemetry/src/lib.rs:22:2
|
22 | NetworkError(reqwest::Error),
| ^^^^^^^^^^^^
|
missing documentation for an enum:
crates/pop-telemetry/src/lib.rs#L20
warning: missing documentation for an enum
--> crates/pop-telemetry/src/lib.rs:20:1
|
20 | pub enum TelemetryError {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
crates/pop-telemetry/src/lib.rs#L3
warning: missing documentation for the crate
--> crates/pop-telemetry/src/lib.rs:3:1
|
3 | / use reqwest::Client;
4 | | use serde::{de::DeserializeOwned, Deserialize, Serialize};
5 | | use serde_json::{json, Value};
6 | | use std::{
... |
371 | | }
372 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
contract-integration-tests (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
contract-integration-tests (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
contract-integration-tests (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
contract-integration-tests (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
documentation-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
contract-integration-tests (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
contract-integration-tests (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
contract-integration-tests (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
contract-integration-tests (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
contract-integration-tests (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
docker
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
parachain-integration-tests (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
parachain-integration-tests (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
parachain-integration-tests (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
parachain-integration-tests (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
parachain-integration-tests (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
parachain-integration-tests (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
parachain-integration-tests (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
parachain-integration-tests (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
parachain-integration-tests (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|