4451 lines
143 KiB
Plaintext
4451 lines
143 KiB
Plaintext
NAC Complete Compilation Started: Sat Feb 14 13:45:26 EST 2026
|
|
=== 开始编译所有模块 ===
|
|
|
|
>>> 编译 nac-udm <<<
|
|
Blocking waiting for file lock on package cache
|
|
warning: unused doc comment
|
|
--> src/registry/version.rs:56:9
|
|
|
|
|
56 | /// Version
|
|
| ^^^^^^^^^^^
|
|
57 | / Version {
|
|
58 | | major,
|
|
59 | | minor,
|
|
60 | | patch,
|
|
61 | | prerelease: None,
|
|
62 | | build: None,
|
|
63 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
= note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused doc comment
|
|
--> src/registry/version.rs:77:9
|
|
|
|
|
77 | /// Version
|
|
| ^^^^^^^^^^^
|
|
78 | / Version {
|
|
79 | | major,
|
|
80 | | minor,
|
|
81 | | patch,
|
|
82 | | prerelease: Some(prerelease),
|
|
83 | | build: None,
|
|
84 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> src/registry/version.rs:108:9
|
|
|
|
|
108 | /// Version
|
|
| ^^^^^^^^^^^
|
|
109 | / Version {
|
|
110 | | major,
|
|
111 | | minor,
|
|
112 | | patch,
|
|
113 | | prerelease,
|
|
114 | | build,
|
|
115 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> src/registry/language.rs:77:9
|
|
|
|
|
77 | /// LanguageBinding
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
78 | / LanguageBinding {
|
|
79 | | language,
|
|
80 | | code,
|
|
81 | | imports: Vec::new(),
|
|
82 | | metadata: HashMap::new(),
|
|
83 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> src/registry/definition.rs:122:9
|
|
|
|
|
122 | /// Definition
|
|
| ^^^^^^^^^^^^^^
|
|
123 | / Definition {
|
|
124 | | uid,
|
|
125 | | name,
|
|
126 | | def_type,
|
|
... |
|
|
134 | | language_bindings: HashMap::new(),
|
|
135 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> src/registry/definition.rs:311:9
|
|
|
|
|
311 | /// DefinitionBuilder
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
312 | / DefinitionBuilder {
|
|
313 | | uid: None,
|
|
314 | | name: None,
|
|
315 | | def_type: None,
|
|
... |
|
|
320 | | metadata: HashMap::new(),
|
|
321 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> src/registry/registry.rs:39:9
|
|
|
|
|
39 | /// DefinitionRegistry
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
40 | / DefinitionRegistry {
|
|
41 | | definitions: Arc::new(RwLock::new(HashMap::new())),
|
|
42 | | tag_index: Arc::new(RwLock::new(HashMap::new())),
|
|
43 | | type_index: Arc::new(RwLock::new(HashMap::new())),
|
|
44 | | reverse_deps: Arc::new(RwLock::new(HashMap::new())),
|
|
45 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: type `u256` should have an upper camel case name
|
|
--> src/l1_protocol/acc20c/wrapper.rs:187:12
|
|
|
|
|
187 | pub struct u256 {
|
|
| ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U256`
|
|
|
|
|
= note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
|
|
|
|
warning: unused doc comment
|
|
--> src/l1_protocol/acc20c/metadata_generator.rs:117:9
|
|
|
|
|
117 | /// ERC721Metadata
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
118 | / ERC721Metadata {
|
|
119 | | name,
|
|
120 | | description,
|
|
121 | | image,
|
|
... |
|
|
126 | | youtube_url: None,
|
|
127 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> src/l1_protocol/parallel_chain_manager.rs:396:9
|
|
|
|
|
396 | /// ParallelChainStats
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
397 | / ParallelChainStats {
|
|
398 | | total_chains,
|
|
399 | | running_chains,
|
|
400 | | total_routing_rules,
|
|
401 | | enabled_routing_rules,
|
|
402 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> src/l1_protocol/shard_governance.rs:572:9
|
|
|
|
|
572 | /// GovernanceStats
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
573 | / GovernanceStats {
|
|
574 | | total_shards,
|
|
575 | | running_shards,
|
|
576 | | total_proposals,
|
|
577 | | pending_proposals,
|
|
578 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: missing documentation for a module
|
|
--> src/l5_application/mod.rs:1:1
|
|
|
|
|
1 | pub mod dapps;
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> src/lib.rs:126:9
|
|
|
|
|
126 | #![warn(missing_docs)]
|
|
| ^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> src/l5_application/mod.rs:2:1
|
|
|
|
|
2 | pub mod wallet;
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> src/l5_application/mod.rs:3:1
|
|
|
|
|
3 | pub mod explorer;
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> src/l5_application/mod.rs:4:1
|
|
|
|
|
4 | pub mod charter;
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l5_application/dapps.rs:1:1
|
|
|
|
|
1 | pub struct DApp {
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l5_application/dapps.rs:2:5
|
|
|
|
|
2 | pub name: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l5_application/dapps.rs:3:5
|
|
|
|
|
3 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l5_application/wallet.rs:1:1
|
|
|
|
|
1 | pub struct Wallet {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l5_application/wallet.rs:2:5
|
|
|
|
|
2 | pub address: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l5_application/explorer.rs:1:1
|
|
|
|
|
1 | pub struct Explorer {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l5_application/explorer.rs:2:5
|
|
|
|
|
2 | pub endpoint: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l5_application/charter.rs:1:1
|
|
|
|
|
1 | pub struct CharterContract {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l5_application/charter.rs:2:5
|
|
|
|
|
2 | pub contract_id: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l4_ai/cee.rs:4:1
|
|
|
|
|
4 | pub struct CEE {
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l4_ai/cee.rs:5:5
|
|
|
|
|
5 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l4_ai/cee.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l4_ai/compliance.rs:4:1
|
|
|
|
|
4 | pub struct AICompliance {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l4_ai/compliance.rs:5:5
|
|
|
|
|
5 | pub kyc_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l4_ai/compliance.rs:6:5
|
|
|
|
|
6 | pub aml_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l4_ai/compliance.rs:10:5
|
|
|
|
|
10 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l4_ai/valuation.rs:4:1
|
|
|
|
|
4 | pub struct AIValuation {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l4_ai/valuation.rs:5:5
|
|
|
|
|
5 | pub model_version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l4_ai/valuation.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l4_ai/xtzh_ai.rs:4:1
|
|
|
|
|
4 | pub struct XTZHAI {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l4_ai/xtzh_ai.rs:5:5
|
|
|
|
|
5 | pub prediction_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l4_ai/xtzh_ai.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l4_ai/oracle.rs:4:1
|
|
|
|
|
4 | pub struct AIOracle {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l4_ai/oracle.rs:5:5
|
|
|
|
|
5 | pub consensus_threshold: f64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l4_ai/oracle.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l4_ai/governance.rs:4:1
|
|
|
|
|
4 | pub struct AIGovernance {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l4_ai/governance.rs:5:5
|
|
|
|
|
5 | pub proposal_threshold: u64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l4_ai/governance.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l4_ai/unified_interface.rs:4:1
|
|
|
|
|
4 | pub struct UnifiedAIInterface {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l4_ai/unified_interface.rs:5:5
|
|
|
|
|
5 | pub api_version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l4_ai/unified_interface.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> src/l3_storage/mod.rs:1:1
|
|
|
|
|
1 | pub mod merkle_tree;
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> src/l3_storage/mod.rs:2:1
|
|
|
|
|
2 | pub mod archive_storage;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> src/l3_storage/mod.rs:3:1
|
|
|
|
|
3 | pub mod evidence_storage;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l3_storage/merkle_tree.rs:1:1
|
|
|
|
|
1 | pub struct MerkleTree {
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l3_storage/merkle_tree.rs:2:5
|
|
|
|
|
2 | pub root: Vec<u8>,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l3_storage/archive_storage.rs:1:1
|
|
|
|
|
1 | pub struct ArchiveStorage {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l3_storage/archive_storage.rs:2:5
|
|
|
|
|
2 | pub path: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l3_storage/evidence_storage.rs:1:1
|
|
|
|
|
1 | pub struct EvidenceStorage {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l3_storage/evidence_storage.rs:2:5
|
|
|
|
|
2 | pub path: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l2_governance/codex/constitution/mod.rs:8:1
|
|
|
|
|
8 | pub struct ConstitutionCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/constitution/mod.rs:9:5
|
|
|
|
|
9 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/constitution/mod.rs:10:5
|
|
|
|
|
10 | pub principles: Vec<Principle>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/constitution/mod.rs:11:5
|
|
|
|
|
11 | pub node_rights: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/constitution/mod.rs:12:5
|
|
|
|
|
12 | pub node_obligations: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l2_governance/codex/constitution/mod.rs:16:1
|
|
|
|
|
16 | pub struct Principle {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/constitution/mod.rs:17:5
|
|
|
|
|
17 | pub id: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/constitution/mod.rs:18:5
|
|
|
|
|
18 | pub title: String,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/constitution/mod.rs:19:5
|
|
|
|
|
19 | pub description: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l2_governance/codex/constitution/mod.rs:23:5
|
|
|
|
|
23 | pub fn new(version: String) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> src/l2_governance/codex/constitution/mod.rs:32:5
|
|
|
|
|
32 | pub fn add_principle(&mut self, principle: Principle) {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l2_governance/codex/clauses/mod.rs:6:1
|
|
|
|
|
6 | pub struct ClausesCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/clauses/mod.rs:7:5
|
|
|
|
|
7 | pub network_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/clauses/mod.rs:8:5
|
|
|
|
|
8 | pub compliance_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/clauses/mod.rs:9:5
|
|
|
|
|
9 | pub governance_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/clauses/mod.rs:10:5
|
|
|
|
|
10 | pub penalty_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l2_governance/codex/clauses/mod.rs:14:1
|
|
|
|
|
14 | pub struct Clause {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/clauses/mod.rs:15:5
|
|
|
|
|
15 | pub id: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/clauses/mod.rs:16:5
|
|
|
|
|
16 | pub title: String,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/clauses/mod.rs:17:5
|
|
|
|
|
17 | pub content: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/clauses/mod.rs:18:5
|
|
|
|
|
18 | pub effective_date: u64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l2_governance/codex/clauses/mod.rs:22:5
|
|
|
|
|
22 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:6:1
|
|
|
|
|
6 | pub struct SovereigntyCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:7:5
|
|
|
|
|
7 | pub jurisdiction: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:8:5
|
|
|
|
|
8 | pub sovereignty_types: Vec<SovereigntyType>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:9:5
|
|
|
|
|
9 | pub transition_rules: Vec<TransitionRule>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:13:1
|
|
|
|
|
13 | pub struct SovereigntyType {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:14:5
|
|
|
|
|
14 | pub code: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:15:5
|
|
|
|
|
15 | pub name: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:16:5
|
|
|
|
|
16 | pub description: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:20:1
|
|
|
|
|
20 | pub struct TransitionRule {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:21:5
|
|
|
|
|
21 | pub from: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:22:5
|
|
|
|
|
22 | pub to: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:23:5
|
|
|
|
|
23 | pub conditions: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l2_governance/codex/sovereignty/mod.rs:27:5
|
|
|
|
|
27 | pub fn new(jurisdiction: String) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l2_governance/codex/ai_governance/mod.rs:6:1
|
|
|
|
|
6 | pub struct AIGovernanceCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/ai_governance/mod.rs:7:5
|
|
|
|
|
7 | pub model_approval_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/ai_governance/mod.rs:8:5
|
|
|
|
|
8 | pub inference_verification_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/ai_governance/mod.rs:9:5
|
|
|
|
|
9 | pub data_compliance_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/ai_governance/mod.rs:10:5
|
|
|
|
|
10 | pub service_authorization_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l2_governance/codex/ai_governance/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l2_governance/codex/rwa/mod.rs:6:1
|
|
|
|
|
6 | pub struct RWACodex {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/rwa/mod.rs:7:5
|
|
|
|
|
7 | pub asset_onboarding_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/rwa/mod.rs:8:5
|
|
|
|
|
8 | pub valuation_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/rwa/mod.rs:9:5
|
|
|
|
|
9 | pub custody_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/rwa/mod.rs:10:5
|
|
|
|
|
10 | pub trading_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l2_governance/codex/rwa/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l2_governance/codex/xtzh/mod.rs:6:1
|
|
|
|
|
6 | pub struct XTZHCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/xtzh/mod.rs:7:5
|
|
|
|
|
7 | pub issuance_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/xtzh/mod.rs:8:5
|
|
|
|
|
8 | pub sdr_anchoring_mechanism: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/xtzh/mod.rs:9:5
|
|
|
|
|
9 | pub gold_reserve_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/xtzh/mod.rs:10:5
|
|
|
|
|
10 | pub exchange_rate_adjustment_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l2_governance/codex/xtzh/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> src/l2_governance/codex/ccrn/mod.rs:6:1
|
|
|
|
|
6 | pub struct CCRNCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/ccrn/mod.rs:7:5
|
|
|
|
|
7 | pub relay_authorization_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/ccrn/mod.rs:8:5
|
|
|
|
|
8 | pub message_verification_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/ccrn/mod.rs:9:5
|
|
|
|
|
9 | pub asset_transfer_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> src/l2_governance/codex/ccrn/mod.rs:10:5
|
|
|
|
|
10 | pub penalty_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> src/l2_governance/codex/ccrn/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: `nac-udm` (lib) generated 114 warnings
|
|
Finished `release` profile [optimized] target(s) in 11.16s
|
|
✅ nac-udm 编译成功
|
|
|
|
>>> 编译 nac-serde <<<
|
|
Finished `release` profile [optimized] target(s) in 0.04s
|
|
✅ nac-serde 编译成功
|
|
|
|
>>> 编译 nac-sdk <<<
|
|
Downloading crates ...
|
|
warning: spurious network error (3 tries remaining): [56] Failure when receiving data from the peer (OpenSSL SSL_read: OpenSSL/3.5.4: error:0A000126:SSL routines::unexpected eof while reading, errno 0)
|
|
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0)
|
|
warning: spurious network error (1 try remaining): [56] Failure when receiving data from the peer (OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0)
|
|
error: failed to download from `https://static.crates.io/crates/jiff/0.2.19/download`
|
|
|
|
Caused by:
|
|
[56] Failure when receiving data from the peer (OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0)
|
|
❌ nac-sdk 编译失败
|
|
|
|
>>> 编译 nvm_v2 <<<
|
|
Blocking waiting for file lock on package cache
|
|
Blocking waiting for file lock on package cache
|
|
Blocking waiting for file lock on package cache
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/version.rs:56:9
|
|
|
|
|
56 | /// Version
|
|
| ^^^^^^^^^^^
|
|
57 | / Version {
|
|
58 | | major,
|
|
59 | | minor,
|
|
60 | | patch,
|
|
61 | | prerelease: None,
|
|
62 | | build: None,
|
|
63 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
= note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/version.rs:77:9
|
|
|
|
|
77 | /// Version
|
|
| ^^^^^^^^^^^
|
|
78 | / Version {
|
|
79 | | major,
|
|
80 | | minor,
|
|
81 | | patch,
|
|
82 | | prerelease: Some(prerelease),
|
|
83 | | build: None,
|
|
84 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/version.rs:108:9
|
|
|
|
|
108 | /// Version
|
|
| ^^^^^^^^^^^
|
|
109 | / Version {
|
|
110 | | major,
|
|
111 | | minor,
|
|
112 | | patch,
|
|
113 | | prerelease,
|
|
114 | | build,
|
|
115 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/language.rs:77:9
|
|
|
|
|
77 | /// LanguageBinding
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
78 | / LanguageBinding {
|
|
79 | | language,
|
|
80 | | code,
|
|
81 | | imports: Vec::new(),
|
|
82 | | metadata: HashMap::new(),
|
|
83 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/definition.rs:122:9
|
|
|
|
|
122 | /// Definition
|
|
| ^^^^^^^^^^^^^^
|
|
123 | / Definition {
|
|
124 | | uid,
|
|
125 | | name,
|
|
126 | | def_type,
|
|
... |
|
|
134 | | language_bindings: HashMap::new(),
|
|
135 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/definition.rs:311:9
|
|
|
|
|
311 | /// DefinitionBuilder
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
312 | / DefinitionBuilder {
|
|
313 | | uid: None,
|
|
314 | | name: None,
|
|
315 | | def_type: None,
|
|
... |
|
|
320 | | metadata: HashMap::new(),
|
|
321 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/registry.rs:39:9
|
|
|
|
|
39 | /// DefinitionRegistry
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
40 | / DefinitionRegistry {
|
|
41 | | definitions: Arc::new(RwLock::new(HashMap::new())),
|
|
42 | | tag_index: Arc::new(RwLock::new(HashMap::new())),
|
|
43 | | type_index: Arc::new(RwLock::new(HashMap::new())),
|
|
44 | | reverse_deps: Arc::new(RwLock::new(HashMap::new())),
|
|
45 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: type `u256` should have an upper camel case name
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/acc20c/wrapper.rs:187:12
|
|
|
|
|
187 | pub struct u256 {
|
|
| ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U256`
|
|
|
|
|
= note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/acc20c/metadata_generator.rs:117:9
|
|
|
|
|
117 | /// ERC721Metadata
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
118 | / ERC721Metadata {
|
|
119 | | name,
|
|
120 | | description,
|
|
121 | | image,
|
|
... |
|
|
126 | | youtube_url: None,
|
|
127 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/parallel_chain_manager.rs:396:9
|
|
|
|
|
396 | /// ParallelChainStats
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
397 | / ParallelChainStats {
|
|
398 | | total_chains,
|
|
399 | | running_chains,
|
|
400 | | total_routing_rules,
|
|
401 | | enabled_routing_rules,
|
|
402 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/shard_governance.rs:572:9
|
|
|
|
|
572 | /// GovernanceStats
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
573 | / GovernanceStats {
|
|
574 | | total_shards,
|
|
575 | | running_shards,
|
|
576 | | total_proposals,
|
|
577 | | pending_proposals,
|
|
578 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:1:1
|
|
|
|
|
1 | pub mod dapps;
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/lib.rs:126:9
|
|
|
|
|
126 | #![warn(missing_docs)]
|
|
| ^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:2:1
|
|
|
|
|
2 | pub mod wallet;
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:3:1
|
|
|
|
|
3 | pub mod explorer;
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:4:1
|
|
|
|
|
4 | pub mod charter;
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/dapps.rs:1:1
|
|
|
|
|
1 | pub struct DApp {
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/dapps.rs:2:5
|
|
|
|
|
2 | pub name: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/dapps.rs:3:5
|
|
|
|
|
3 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/wallet.rs:1:1
|
|
|
|
|
1 | pub struct Wallet {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/wallet.rs:2:5
|
|
|
|
|
2 | pub address: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/explorer.rs:1:1
|
|
|
|
|
1 | pub struct Explorer {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/explorer.rs:2:5
|
|
|
|
|
2 | pub endpoint: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/charter.rs:1:1
|
|
|
|
|
1 | pub struct CharterContract {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/charter.rs:2:5
|
|
|
|
|
2 | pub contract_id: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/cee.rs:4:1
|
|
|
|
|
4 | pub struct CEE {
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/cee.rs:5:5
|
|
|
|
|
5 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/cee.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:4:1
|
|
|
|
|
4 | pub struct AICompliance {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:5:5
|
|
|
|
|
5 | pub kyc_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:6:5
|
|
|
|
|
6 | pub aml_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:10:5
|
|
|
|
|
10 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/valuation.rs:4:1
|
|
|
|
|
4 | pub struct AIValuation {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/valuation.rs:5:5
|
|
|
|
|
5 | pub model_version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/valuation.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/xtzh_ai.rs:4:1
|
|
|
|
|
4 | pub struct XTZHAI {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/xtzh_ai.rs:5:5
|
|
|
|
|
5 | pub prediction_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/xtzh_ai.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/oracle.rs:4:1
|
|
|
|
|
4 | pub struct AIOracle {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/oracle.rs:5:5
|
|
|
|
|
5 | pub consensus_threshold: f64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/oracle.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/governance.rs:4:1
|
|
|
|
|
4 | pub struct AIGovernance {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/governance.rs:5:5
|
|
|
|
|
5 | pub proposal_threshold: u64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/governance.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/unified_interface.rs:4:1
|
|
|
|
|
4 | pub struct UnifiedAIInterface {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/unified_interface.rs:5:5
|
|
|
|
|
5 | pub api_version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/unified_interface.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/mod.rs:1:1
|
|
|
|
|
1 | pub mod merkle_tree;
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/mod.rs:2:1
|
|
|
|
|
2 | pub mod archive_storage;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/mod.rs:3:1
|
|
|
|
|
3 | pub mod evidence_storage;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/merkle_tree.rs:1:1
|
|
|
|
|
1 | pub struct MerkleTree {
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/merkle_tree.rs:2:5
|
|
|
|
|
2 | pub root: Vec<u8>,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/archive_storage.rs:1:1
|
|
|
|
|
1 | pub struct ArchiveStorage {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/archive_storage.rs:2:5
|
|
|
|
|
2 | pub path: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/evidence_storage.rs:1:1
|
|
|
|
|
1 | pub struct EvidenceStorage {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/evidence_storage.rs:2:5
|
|
|
|
|
2 | pub path: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:8:1
|
|
|
|
|
8 | pub struct ConstitutionCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:9:5
|
|
|
|
|
9 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:10:5
|
|
|
|
|
10 | pub principles: Vec<Principle>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:11:5
|
|
|
|
|
11 | pub node_rights: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:12:5
|
|
|
|
|
12 | pub node_obligations: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:16:1
|
|
|
|
|
16 | pub struct Principle {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:17:5
|
|
|
|
|
17 | pub id: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:18:5
|
|
|
|
|
18 | pub title: String,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:19:5
|
|
|
|
|
19 | pub description: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:23:5
|
|
|
|
|
23 | pub fn new(version: String) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:32:5
|
|
|
|
|
32 | pub fn add_principle(&mut self, principle: Principle) {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:6:1
|
|
|
|
|
6 | pub struct ClausesCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:7:5
|
|
|
|
|
7 | pub network_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:8:5
|
|
|
|
|
8 | pub compliance_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:9:5
|
|
|
|
|
9 | pub governance_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:10:5
|
|
|
|
|
10 | pub penalty_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:14:1
|
|
|
|
|
14 | pub struct Clause {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:15:5
|
|
|
|
|
15 | pub id: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:16:5
|
|
|
|
|
16 | pub title: String,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:17:5
|
|
|
|
|
17 | pub content: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:18:5
|
|
|
|
|
18 | pub effective_date: u64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:22:5
|
|
|
|
|
22 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:6:1
|
|
|
|
|
6 | pub struct SovereigntyCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:7:5
|
|
|
|
|
7 | pub jurisdiction: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:8:5
|
|
|
|
|
8 | pub sovereignty_types: Vec<SovereigntyType>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:9:5
|
|
|
|
|
9 | pub transition_rules: Vec<TransitionRule>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:13:1
|
|
|
|
|
13 | pub struct SovereigntyType {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:14:5
|
|
|
|
|
14 | pub code: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:15:5
|
|
|
|
|
15 | pub name: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:16:5
|
|
|
|
|
16 | pub description: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:20:1
|
|
|
|
|
20 | pub struct TransitionRule {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:21:5
|
|
|
|
|
21 | pub from: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:22:5
|
|
|
|
|
22 | pub to: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:23:5
|
|
|
|
|
23 | pub conditions: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:27:5
|
|
|
|
|
27 | pub fn new(jurisdiction: String) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:6:1
|
|
|
|
|
6 | pub struct AIGovernanceCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:7:5
|
|
|
|
|
7 | pub model_approval_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:8:5
|
|
|
|
|
8 | pub inference_verification_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:9:5
|
|
|
|
|
9 | pub data_compliance_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:10:5
|
|
|
|
|
10 | pub service_authorization_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:6:1
|
|
|
|
|
6 | pub struct RWACodex {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:7:5
|
|
|
|
|
7 | pub asset_onboarding_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:8:5
|
|
|
|
|
8 | pub valuation_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:9:5
|
|
|
|
|
9 | pub custody_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:10:5
|
|
|
|
|
10 | pub trading_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:6:1
|
|
|
|
|
6 | pub struct XTZHCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:7:5
|
|
|
|
|
7 | pub issuance_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:8:5
|
|
|
|
|
8 | pub sdr_anchoring_mechanism: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:9:5
|
|
|
|
|
9 | pub gold_reserve_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:10:5
|
|
|
|
|
10 | pub exchange_rate_adjustment_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:6:1
|
|
|
|
|
6 | pub struct CCRNCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:7:5
|
|
|
|
|
7 | pub relay_authorization_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:8:5
|
|
|
|
|
8 | pub message_verification_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:9:5
|
|
|
|
|
9 | pub asset_transfer_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:10:5
|
|
|
|
|
10 | pub penalty_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: `nac-udm` (lib) generated 114 warnings
|
|
Compiling nvm-l1 v0.1.0 (/home/ubuntu/NAC_Clean_Dev/nvm_v2/nvm-l1)
|
|
warning: unused import: `Sha256`
|
|
--> nvm-l0/src/constitutional_receipt.rs:6:20
|
|
|
|
|
6 | use sha2::{Digest, Sha256};
|
|
| ^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused import: `super::NodeRole`
|
|
--> nvm-l0/src/csnp/ma_rcm.rs:15:5
|
|
|
|
|
15 | use super::NodeRole;
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: unused imports: `Address` and `Hash`
|
|
--> nvm-l0/src/csnp/mod.rs:33:27
|
|
|
|
|
33 | use nac_udm::primitives::{Address, Hash};
|
|
| ^^^^^^^ ^^^^
|
|
|
|
warning: `nvm-l0` (lib) generated 3 warnings (run `cargo fix --lib -p nvm-l0` to apply 3 suggestions)
|
|
warning: unused import: `super::constitutional_receipt::ConstitutionalReceipt`
|
|
--> nvm-l1/src/cbpp/gossip_protocol.rs:4:5
|
|
|
|
|
4 | use super::constitutional_receipt::ConstitutionalReceipt;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused import: `super::constitutional_receipt::ConstitutionalReceipt`
|
|
--> nvm-l1/src/cbpp/nrpc.rs:10:5
|
|
|
|
|
10 | use super::constitutional_receipt::ConstitutionalReceipt;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error[E0599]: no function or associated item named `sha256` found for struct `nac_udm::primitives::Hash` in the current scope
|
|
--> nvm-l1/src/contract.rs:18:31
|
|
|
|
|
18 | let code_hash = Hash::sha256(&bytecode);
|
|
| ^^^^^^ function or associated item not found in `nac_udm::primitives::Hash`
|
|
|
|
|
note: if you're trying to build a new `nac_udm::primitives::Hash` consider using one of the following associated functions:
|
|
nac_udm::primitives::Hash::new
|
|
nac_udm::primitives::Hash::from_slice
|
|
nac_udm::primitives::Hash::from_hex
|
|
nac_udm::primitives::Hash::sha3_384
|
|
and 2 others
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/primitives/hash.rs:50:5
|
|
|
|
|
50 | pub fn new(bytes: [u8; 48]) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...
|
|
55 | pub fn from_slice(bytes: &[u8]) -> Result<Self, String> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...
|
|
65 | pub fn from_hex(hex_str: &str) -> Result<Self, String> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...
|
|
72 | pub fn sha3_384(data: &[u8]) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error[E0308]: mismatched types
|
|
--> nvm-l1/src/executor.rs:412:41
|
|
|
|
|
412 | let key = Hash::new(key_array);
|
|
| --------- ^^^^^^^^^ expected an array with a size of 48, found one with a size of 32
|
|
| |
|
|
| arguments to this function are incorrect
|
|
|
|
|
note: associated function defined here
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/primitives/hash.rs:50:12
|
|
|
|
|
50 | pub fn new(bytes: [u8; 48]) -> Self {
|
|
| ^^^
|
|
|
|
error[E0308]: mismatched types
|
|
--> nvm-l1/src/executor.rs:440:41
|
|
|
|
|
440 | let key = Hash::new(key_array);
|
|
| --------- ^^^^^^^^^ expected an array with a size of 48, found one with a size of 32
|
|
| |
|
|
| arguments to this function are incorrect
|
|
|
|
|
note: associated function defined here
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/primitives/hash.rs:50:12
|
|
|
|
|
50 | pub fn new(bytes: [u8; 48]) -> Self {
|
|
| ^^^
|
|
|
|
error[E0599]: no function or associated item named `sha256` found for struct `nac_udm::primitives::Hash` in the current scope
|
|
--> nvm-l1/src/state.rs:227:33
|
|
|
|
|
227 | self.state_root = Hash::sha256(&data);
|
|
| ^^^^^^ function or associated item not found in `nac_udm::primitives::Hash`
|
|
|
|
|
note: if you're trying to build a new `nac_udm::primitives::Hash` consider using one of the following associated functions:
|
|
nac_udm::primitives::Hash::new
|
|
nac_udm::primitives::Hash::from_slice
|
|
nac_udm::primitives::Hash::from_hex
|
|
nac_udm::primitives::Hash::sha3_384
|
|
and 2 others
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/primitives/hash.rs:50:5
|
|
|
|
|
50 | pub fn new(bytes: [u8; 48]) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...
|
|
55 | pub fn from_slice(bytes: &[u8]) -> Result<Self, String> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...
|
|
65 | pub fn from_hex(hex_str: &str) -> Result<Self, String> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...
|
|
72 | pub fn sha3_384(data: &[u8]) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Some errors have detailed explanations: E0308, E0599.
|
|
For more information about an error, try `rustc --explain E0308`.
|
|
warning: `nvm-l1` (lib) generated 2 warnings
|
|
error: could not compile `nvm-l1` (lib) due to 4 previous errors; 2 warnings emitted
|
|
❌ nvm_v2 编译失败
|
|
|
|
>>> 编译 xtzh-ai <<<
|
|
Blocking waiting for file lock on artifact directory
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/version.rs:56:9
|
|
|
|
|
56 | /// Version
|
|
| ^^^^^^^^^^^
|
|
57 | / Version {
|
|
58 | | major,
|
|
59 | | minor,
|
|
60 | | patch,
|
|
61 | | prerelease: None,
|
|
62 | | build: None,
|
|
63 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
= note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/version.rs:77:9
|
|
|
|
|
77 | /// Version
|
|
| ^^^^^^^^^^^
|
|
78 | / Version {
|
|
79 | | major,
|
|
80 | | minor,
|
|
81 | | patch,
|
|
82 | | prerelease: Some(prerelease),
|
|
83 | | build: None,
|
|
84 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/version.rs:108:9
|
|
|
|
|
108 | /// Version
|
|
| ^^^^^^^^^^^
|
|
109 | / Version {
|
|
110 | | major,
|
|
111 | | minor,
|
|
112 | | patch,
|
|
113 | | prerelease,
|
|
114 | | build,
|
|
115 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/language.rs:77:9
|
|
|
|
|
77 | /// LanguageBinding
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
78 | / LanguageBinding {
|
|
79 | | language,
|
|
80 | | code,
|
|
81 | | imports: Vec::new(),
|
|
82 | | metadata: HashMap::new(),
|
|
83 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/definition.rs:122:9
|
|
|
|
|
122 | /// Definition
|
|
| ^^^^^^^^^^^^^^
|
|
123 | / Definition {
|
|
124 | | uid,
|
|
125 | | name,
|
|
126 | | def_type,
|
|
... |
|
|
134 | | language_bindings: HashMap::new(),
|
|
135 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/definition.rs:311:9
|
|
|
|
|
311 | /// DefinitionBuilder
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
312 | / DefinitionBuilder {
|
|
313 | | uid: None,
|
|
314 | | name: None,
|
|
315 | | def_type: None,
|
|
... |
|
|
320 | | metadata: HashMap::new(),
|
|
321 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/registry.rs:39:9
|
|
|
|
|
39 | /// DefinitionRegistry
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
40 | / DefinitionRegistry {
|
|
41 | | definitions: Arc::new(RwLock::new(HashMap::new())),
|
|
42 | | tag_index: Arc::new(RwLock::new(HashMap::new())),
|
|
43 | | type_index: Arc::new(RwLock::new(HashMap::new())),
|
|
44 | | reverse_deps: Arc::new(RwLock::new(HashMap::new())),
|
|
45 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: type `u256` should have an upper camel case name
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/acc20c/wrapper.rs:187:12
|
|
|
|
|
187 | pub struct u256 {
|
|
| ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U256`
|
|
|
|
|
= note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/acc20c/metadata_generator.rs:117:9
|
|
|
|
|
117 | /// ERC721Metadata
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
118 | / ERC721Metadata {
|
|
119 | | name,
|
|
120 | | description,
|
|
121 | | image,
|
|
... |
|
|
126 | | youtube_url: None,
|
|
127 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/parallel_chain_manager.rs:396:9
|
|
|
|
|
396 | /// ParallelChainStats
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
397 | / ParallelChainStats {
|
|
398 | | total_chains,
|
|
399 | | running_chains,
|
|
400 | | total_routing_rules,
|
|
401 | | enabled_routing_rules,
|
|
402 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/shard_governance.rs:572:9
|
|
|
|
|
572 | /// GovernanceStats
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
573 | / GovernanceStats {
|
|
574 | | total_shards,
|
|
575 | | running_shards,
|
|
576 | | total_proposals,
|
|
577 | | pending_proposals,
|
|
578 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:1:1
|
|
|
|
|
1 | pub mod dapps;
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/lib.rs:126:9
|
|
|
|
|
126 | #![warn(missing_docs)]
|
|
| ^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:2:1
|
|
|
|
|
2 | pub mod wallet;
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:3:1
|
|
|
|
|
3 | pub mod explorer;
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:4:1
|
|
|
|
|
4 | pub mod charter;
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/dapps.rs:1:1
|
|
|
|
|
1 | pub struct DApp {
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/dapps.rs:2:5
|
|
|
|
|
2 | pub name: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/dapps.rs:3:5
|
|
|
|
|
3 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/wallet.rs:1:1
|
|
|
|
|
1 | pub struct Wallet {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/wallet.rs:2:5
|
|
|
|
|
2 | pub address: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/explorer.rs:1:1
|
|
|
|
|
1 | pub struct Explorer {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/explorer.rs:2:5
|
|
|
|
|
2 | pub endpoint: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/charter.rs:1:1
|
|
|
|
|
1 | pub struct CharterContract {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/charter.rs:2:5
|
|
|
|
|
2 | pub contract_id: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/cee.rs:4:1
|
|
|
|
|
4 | pub struct CEE {
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/cee.rs:5:5
|
|
|
|
|
5 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/cee.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:4:1
|
|
|
|
|
4 | pub struct AICompliance {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:5:5
|
|
|
|
|
5 | pub kyc_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:6:5
|
|
|
|
|
6 | pub aml_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:10:5
|
|
|
|
|
10 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/valuation.rs:4:1
|
|
|
|
|
4 | pub struct AIValuation {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/valuation.rs:5:5
|
|
|
|
|
5 | pub model_version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/valuation.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/xtzh_ai.rs:4:1
|
|
|
|
|
4 | pub struct XTZHAI {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/xtzh_ai.rs:5:5
|
|
|
|
|
5 | pub prediction_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/xtzh_ai.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/oracle.rs:4:1
|
|
|
|
|
4 | pub struct AIOracle {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/oracle.rs:5:5
|
|
|
|
|
5 | pub consensus_threshold: f64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/oracle.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/governance.rs:4:1
|
|
|
|
|
4 | pub struct AIGovernance {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/governance.rs:5:5
|
|
|
|
|
5 | pub proposal_threshold: u64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/governance.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/unified_interface.rs:4:1
|
|
|
|
|
4 | pub struct UnifiedAIInterface {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/unified_interface.rs:5:5
|
|
|
|
|
5 | pub api_version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/unified_interface.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/mod.rs:1:1
|
|
|
|
|
1 | pub mod merkle_tree;
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/mod.rs:2:1
|
|
|
|
|
2 | pub mod archive_storage;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/mod.rs:3:1
|
|
|
|
|
3 | pub mod evidence_storage;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/merkle_tree.rs:1:1
|
|
|
|
|
1 | pub struct MerkleTree {
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/merkle_tree.rs:2:5
|
|
|
|
|
2 | pub root: Vec<u8>,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/archive_storage.rs:1:1
|
|
|
|
|
1 | pub struct ArchiveStorage {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/archive_storage.rs:2:5
|
|
|
|
|
2 | pub path: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/evidence_storage.rs:1:1
|
|
|
|
|
1 | pub struct EvidenceStorage {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/evidence_storage.rs:2:5
|
|
|
|
|
2 | pub path: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:8:1
|
|
|
|
|
8 | pub struct ConstitutionCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:9:5
|
|
|
|
|
9 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:10:5
|
|
|
|
|
10 | pub principles: Vec<Principle>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:11:5
|
|
|
|
|
11 | pub node_rights: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:12:5
|
|
|
|
|
12 | pub node_obligations: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:16:1
|
|
|
|
|
16 | pub struct Principle {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:17:5
|
|
|
|
|
17 | pub id: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:18:5
|
|
|
|
|
18 | pub title: String,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:19:5
|
|
|
|
|
19 | pub description: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:23:5
|
|
|
|
|
23 | pub fn new(version: String) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:32:5
|
|
|
|
|
32 | pub fn add_principle(&mut self, principle: Principle) {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:6:1
|
|
|
|
|
6 | pub struct ClausesCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:7:5
|
|
|
|
|
7 | pub network_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:8:5
|
|
|
|
|
8 | pub compliance_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:9:5
|
|
|
|
|
9 | pub governance_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:10:5
|
|
|
|
|
10 | pub penalty_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:14:1
|
|
|
|
|
14 | pub struct Clause {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:15:5
|
|
|
|
|
15 | pub id: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:16:5
|
|
|
|
|
16 | pub title: String,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:17:5
|
|
|
|
|
17 | pub content: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:18:5
|
|
|
|
|
18 | pub effective_date: u64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:22:5
|
|
|
|
|
22 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:6:1
|
|
|
|
|
6 | pub struct SovereigntyCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:7:5
|
|
|
|
|
7 | pub jurisdiction: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:8:5
|
|
|
|
|
8 | pub sovereignty_types: Vec<SovereigntyType>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:9:5
|
|
|
|
|
9 | pub transition_rules: Vec<TransitionRule>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:13:1
|
|
|
|
|
13 | pub struct SovereigntyType {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:14:5
|
|
|
|
|
14 | pub code: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:15:5
|
|
|
|
|
15 | pub name: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:16:5
|
|
|
|
|
16 | pub description: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:20:1
|
|
|
|
|
20 | pub struct TransitionRule {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:21:5
|
|
|
|
|
21 | pub from: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:22:5
|
|
|
|
|
22 | pub to: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:23:5
|
|
|
|
|
23 | pub conditions: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:27:5
|
|
|
|
|
27 | pub fn new(jurisdiction: String) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:6:1
|
|
|
|
|
6 | pub struct AIGovernanceCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:7:5
|
|
|
|
|
7 | pub model_approval_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:8:5
|
|
|
|
|
8 | pub inference_verification_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:9:5
|
|
|
|
|
9 | pub data_compliance_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:10:5
|
|
|
|
|
10 | pub service_authorization_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:6:1
|
|
|
|
|
6 | pub struct RWACodex {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:7:5
|
|
|
|
|
7 | pub asset_onboarding_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:8:5
|
|
|
|
|
8 | pub valuation_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:9:5
|
|
|
|
|
9 | pub custody_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:10:5
|
|
|
|
|
10 | pub trading_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:6:1
|
|
|
|
|
6 | pub struct XTZHCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:7:5
|
|
|
|
|
7 | pub issuance_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:8:5
|
|
|
|
|
8 | pub sdr_anchoring_mechanism: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:9:5
|
|
|
|
|
9 | pub gold_reserve_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:10:5
|
|
|
|
|
10 | pub exchange_rate_adjustment_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:6:1
|
|
|
|
|
6 | pub struct CCRNCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:7:5
|
|
|
|
|
7 | pub relay_authorization_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:8:5
|
|
|
|
|
8 | pub message_verification_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:9:5
|
|
|
|
|
9 | pub asset_transfer_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:10:5
|
|
|
|
|
10 | pub penalty_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: `nac-udm` (lib) generated 114 warnings
|
|
warning: unused import: `Array1`
|
|
--> src/data/preprocessing.rs:10:15
|
|
|
|
|
10 | use ndarray::{Array1, Array2};
|
|
| ^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused import: `crate::constants::*`
|
|
--> src/model/transformer.rs:5:5
|
|
|
|
|
5 | use crate::constants::*;
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `crate::constants::*`
|
|
--> src/model/attention.rs:5:5
|
|
|
|
|
5 | use crate::constants::*;
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `ndarray::Array1`
|
|
--> src/training/loss.rs:12:5
|
|
|
|
|
12 | use ndarray::Array1;
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `XTZHModel`
|
|
--> src/training/validator.rs:6:33
|
|
|
|
|
6 | use crate::model::{ModelOutput, XTZHModel};
|
|
| ^^^^^^^^^
|
|
|
|
warning: unused variable: `n_samples`
|
|
--> src/data/preprocessing.rs:37:14
|
|
|
|
|
37 | let (n_samples, n_features) = data.dim();
|
|
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_samples`
|
|
|
|
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused variable: `seq_len`
|
|
--> src/model/transformer.rs:78:14
|
|
|
|
|
78 | let (seq_len, embed_dim) = x.dim();
|
|
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_len`
|
|
|
|
warning: unused variable: `seq_len`
|
|
--> src/model/transformer.rs:183:14
|
|
|
|
|
183 | let (seq_len, input_dim) = x.dim();
|
|
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_len`
|
|
|
|
warning: unused variable: `seq_len`
|
|
--> src/model/transformer.rs:269:14
|
|
|
|
|
269 | let (seq_len, dim) = x.dim();
|
|
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_len`
|
|
|
|
warning: unused variable: `w_com`
|
|
--> src/model/architecture.rs:189:13
|
|
|
|
|
189 | let w_com = WEIGHT_SUM - w_fx - w_au; // 确保和为10000
|
|
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_w_com`
|
|
|
|
warning: function `blake3_hash` is never used
|
|
--> src/utils.rs:33:8
|
|
|
|
|
33 | pub fn blake3_hash(data: &[u8]) -> [u8; 32] {
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: function `blake3_hash_hex` is never used
|
|
--> src/utils.rs:48:8
|
|
|
|
|
48 | pub fn blake3_hash_hex(data: &[u8]) -> String {
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: function `rate_to_fixed` is never used
|
|
--> src/utils.rs:76:8
|
|
|
|
|
76 | pub fn rate_to_fixed(rate: f64) -> u64 {
|
|
| ^^^^^^^^^^^^^
|
|
|
|
warning: function `fixed_to_rate` is never used
|
|
--> src/utils.rs:89:8
|
|
|
|
|
89 | pub fn fixed_to_rate(fixed: u64) -> f64 {
|
|
| ^^^^^^^^^^^^^
|
|
|
|
warning: function `percentage_to_bps` is never used
|
|
--> src/utils.rs:112:8
|
|
|
|
|
112 | pub fn percentage_to_bps(percentage: f64) -> u32 {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: function `bps_to_percentage` is never used
|
|
--> src/utils.rs:125:8
|
|
|
|
|
125 | pub fn bps_to_percentage(bps: u32) -> f64 {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: function `validate_commodity_delta` is never used
|
|
--> src/utils.rs:226:8
|
|
|
|
|
226 | pub fn validate_commodity_delta(delta: i8) -> Result<()> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: function `validate_zero_sum_constraint` is never used
|
|
--> src/utils.rs:247:8
|
|
|
|
|
247 | pub fn validate_zero_sum_constraint(deltas: &[i8], betas: &[u32]) -> Re...
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: function `current_timestamp` is never used
|
|
--> src/utils.rs:278:8
|
|
|
|
|
278 | pub fn current_timestamp() -> u64 {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: function `is_data_update_time` is never used
|
|
--> src/utils.rs:283:8
|
|
|
|
|
283 | pub fn is_data_update_time() -> bool {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: `xtzh-ai` (lib) generated 20 warnings (run `cargo fix --lib -p xtzh-ai` to apply 10 suggestions)
|
|
Finished `release` profile [optimized] target(s) in 9m 15s
|
|
✅ xtzh-ai 编译成功
|
|
|
|
>>> 编译 cargo-constitution <<<
|
|
Finished `release` profile [optimized] target(s) in 1.25s
|
|
✅ cargo-constitution 编译成功
|
|
|
|
>>> 编译 nac-constitution-macros <<<
|
|
Finished `release` profile [optimized] target(s) in 0.41s
|
|
✅ nac-constitution-macros 编译成功
|
|
|
|
>>> 编译 cnnl-compiler <<<
|
|
Finished `release` profile [optimized] target(s) in 1.91s
|
|
✅ cnnl-compiler 编译成功
|
|
|
|
>>> 编译 charter-compiler <<<
|
|
Downloading crates ...
|
|
Downloaded clap_lex v0.7.7
|
|
Downloaded zmij v1.0.20
|
|
Downloaded clap v4.5.57
|
|
warning: spurious network error (3 tries remaining): [56] Failure when receiving data from the peer (OpenSSL SSL_read: OpenSSL/3.5.4: error:0A000126:SSL routines::unexpected eof while reading, errno 0)
|
|
Downloaded clap_builder v4.5.57
|
|
Compiling proc-macro2 v1.0.106
|
|
Compiling generic-array v0.14.7
|
|
error: failed to run custom build command for `proc-macro2 v1.0.106`
|
|
|
|
Caused by:
|
|
could not execute process `/home/ubuntu/NAC_Clean_Dev/charter-compiler/target/release/build/proc-macro2-d8c5cb0772e34daf/build-script-build` (never executed)
|
|
|
|
Caused by:
|
|
Permission denied (os error 13)
|
|
warning: build failed, waiting for other jobs to finish...
|
|
❌ charter-compiler 编译失败
|
|
|
|
>>> 编译 nac-cli <<<
|
|
warning: struct `AuditLog` is never constructed
|
|
--> src/toolbox/audit.rs:6:12
|
|
|
|
|
6 | pub struct AuditLog {
|
|
| ^^^^^^^^
|
|
|
|
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: function `log_operation` is never used
|
|
--> src/toolbox/audit.rs:16:8
|
|
|
|
|
16 | pub fn log_operation(operation: &str, input: &[u8], output: &[u8]) -> Re...
|
|
| ^^^^^^^^^^^^^
|
|
|
|
warning: `nac-cli` (bin "nac") generated 2 warnings
|
|
Finished `release` profile [optimized] target(s) in 0.63s
|
|
✅ nac-cli 编译成功
|
|
|
|
>>> 编译 nac-deploy <<<
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/version.rs:56:9
|
|
|
|
|
56 | /// Version
|
|
| ^^^^^^^^^^^
|
|
57 | / Version {
|
|
58 | | major,
|
|
59 | | minor,
|
|
60 | | patch,
|
|
61 | | prerelease: None,
|
|
62 | | build: None,
|
|
63 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
= note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/version.rs:77:9
|
|
|
|
|
77 | /// Version
|
|
| ^^^^^^^^^^^
|
|
78 | / Version {
|
|
79 | | major,
|
|
80 | | minor,
|
|
81 | | patch,
|
|
82 | | prerelease: Some(prerelease),
|
|
83 | | build: None,
|
|
84 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/version.rs:108:9
|
|
|
|
|
108 | /// Version
|
|
| ^^^^^^^^^^^
|
|
109 | / Version {
|
|
110 | | major,
|
|
111 | | minor,
|
|
112 | | patch,
|
|
113 | | prerelease,
|
|
114 | | build,
|
|
115 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/language.rs:77:9
|
|
|
|
|
77 | /// LanguageBinding
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
78 | / LanguageBinding {
|
|
79 | | language,
|
|
80 | | code,
|
|
81 | | imports: Vec::new(),
|
|
82 | | metadata: HashMap::new(),
|
|
83 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/definition.rs:122:9
|
|
|
|
|
122 | /// Definition
|
|
| ^^^^^^^^^^^^^^
|
|
123 | / Definition {
|
|
124 | | uid,
|
|
125 | | name,
|
|
126 | | def_type,
|
|
... |
|
|
134 | | language_bindings: HashMap::new(),
|
|
135 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/definition.rs:311:9
|
|
|
|
|
311 | /// DefinitionBuilder
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
312 | / DefinitionBuilder {
|
|
313 | | uid: None,
|
|
314 | | name: None,
|
|
315 | | def_type: None,
|
|
... |
|
|
320 | | metadata: HashMap::new(),
|
|
321 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/registry.rs:39:9
|
|
|
|
|
39 | /// DefinitionRegistry
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
40 | / DefinitionRegistry {
|
|
41 | | definitions: Arc::new(RwLock::new(HashMap::new())),
|
|
42 | | tag_index: Arc::new(RwLock::new(HashMap::new())),
|
|
43 | | type_index: Arc::new(RwLock::new(HashMap::new())),
|
|
44 | | reverse_deps: Arc::new(RwLock::new(HashMap::new())),
|
|
45 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: type `u256` should have an upper camel case name
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/acc20c/wrapper.rs:187:12
|
|
|
|
|
187 | pub struct u256 {
|
|
| ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U256`
|
|
|
|
|
= note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/acc20c/metadata_generator.rs:117:9
|
|
|
|
|
117 | /// ERC721Metadata
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
118 | / ERC721Metadata {
|
|
119 | | name,
|
|
120 | | description,
|
|
121 | | image,
|
|
... |
|
|
126 | | youtube_url: None,
|
|
127 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/parallel_chain_manager.rs:396:9
|
|
|
|
|
396 | /// ParallelChainStats
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
397 | / ParallelChainStats {
|
|
398 | | total_chains,
|
|
399 | | running_chains,
|
|
400 | | total_routing_rules,
|
|
401 | | enabled_routing_rules,
|
|
402 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/shard_governance.rs:572:9
|
|
|
|
|
572 | /// GovernanceStats
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
573 | / GovernanceStats {
|
|
574 | | total_shards,
|
|
575 | | running_shards,
|
|
576 | | total_proposals,
|
|
577 | | pending_proposals,
|
|
578 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:1:1
|
|
|
|
|
1 | pub mod dapps;
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/lib.rs:126:9
|
|
|
|
|
126 | #![warn(missing_docs)]
|
|
| ^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:2:1
|
|
|
|
|
2 | pub mod wallet;
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:3:1
|
|
|
|
|
3 | pub mod explorer;
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:4:1
|
|
|
|
|
4 | pub mod charter;
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/dapps.rs:1:1
|
|
|
|
|
1 | pub struct DApp {
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/dapps.rs:2:5
|
|
|
|
|
2 | pub name: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/dapps.rs:3:5
|
|
|
|
|
3 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/wallet.rs:1:1
|
|
|
|
|
1 | pub struct Wallet {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/wallet.rs:2:5
|
|
|
|
|
2 | pub address: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/explorer.rs:1:1
|
|
|
|
|
1 | pub struct Explorer {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/explorer.rs:2:5
|
|
|
|
|
2 | pub endpoint: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/charter.rs:1:1
|
|
|
|
|
1 | pub struct CharterContract {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/charter.rs:2:5
|
|
|
|
|
2 | pub contract_id: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/cee.rs:4:1
|
|
|
|
|
4 | pub struct CEE {
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/cee.rs:5:5
|
|
|
|
|
5 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/cee.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:4:1
|
|
|
|
|
4 | pub struct AICompliance {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:5:5
|
|
|
|
|
5 | pub kyc_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:6:5
|
|
|
|
|
6 | pub aml_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:10:5
|
|
|
|
|
10 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/valuation.rs:4:1
|
|
|
|
|
4 | pub struct AIValuation {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/valuation.rs:5:5
|
|
|
|
|
5 | pub model_version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/valuation.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/xtzh_ai.rs:4:1
|
|
|
|
|
4 | pub struct XTZHAI {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/xtzh_ai.rs:5:5
|
|
|
|
|
5 | pub prediction_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/xtzh_ai.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/oracle.rs:4:1
|
|
|
|
|
4 | pub struct AIOracle {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/oracle.rs:5:5
|
|
|
|
|
5 | pub consensus_threshold: f64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/oracle.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/governance.rs:4:1
|
|
|
|
|
4 | pub struct AIGovernance {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/governance.rs:5:5
|
|
|
|
|
5 | pub proposal_threshold: u64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/governance.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/unified_interface.rs:4:1
|
|
|
|
|
4 | pub struct UnifiedAIInterface {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/unified_interface.rs:5:5
|
|
|
|
|
5 | pub api_version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/unified_interface.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/mod.rs:1:1
|
|
|
|
|
1 | pub mod merkle_tree;
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/mod.rs:2:1
|
|
|
|
|
2 | pub mod archive_storage;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/mod.rs:3:1
|
|
|
|
|
3 | pub mod evidence_storage;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/merkle_tree.rs:1:1
|
|
|
|
|
1 | pub struct MerkleTree {
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/merkle_tree.rs:2:5
|
|
|
|
|
2 | pub root: Vec<u8>,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/archive_storage.rs:1:1
|
|
|
|
|
1 | pub struct ArchiveStorage {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/archive_storage.rs:2:5
|
|
|
|
|
2 | pub path: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/evidence_storage.rs:1:1
|
|
|
|
|
1 | pub struct EvidenceStorage {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/evidence_storage.rs:2:5
|
|
|
|
|
2 | pub path: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:8:1
|
|
|
|
|
8 | pub struct ConstitutionCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:9:5
|
|
|
|
|
9 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:10:5
|
|
|
|
|
10 | pub principles: Vec<Principle>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:11:5
|
|
|
|
|
11 | pub node_rights: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:12:5
|
|
|
|
|
12 | pub node_obligations: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:16:1
|
|
|
|
|
16 | pub struct Principle {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:17:5
|
|
|
|
|
17 | pub id: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:18:5
|
|
|
|
|
18 | pub title: String,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:19:5
|
|
|
|
|
19 | pub description: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:23:5
|
|
|
|
|
23 | pub fn new(version: String) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:32:5
|
|
|
|
|
32 | pub fn add_principle(&mut self, principle: Principle) {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:6:1
|
|
|
|
|
6 | pub struct ClausesCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:7:5
|
|
|
|
|
7 | pub network_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:8:5
|
|
|
|
|
8 | pub compliance_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:9:5
|
|
|
|
|
9 | pub governance_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:10:5
|
|
|
|
|
10 | pub penalty_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:14:1
|
|
|
|
|
14 | pub struct Clause {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:15:5
|
|
|
|
|
15 | pub id: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:16:5
|
|
|
|
|
16 | pub title: String,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:17:5
|
|
|
|
|
17 | pub content: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:18:5
|
|
|
|
|
18 | pub effective_date: u64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:22:5
|
|
|
|
|
22 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:6:1
|
|
|
|
|
6 | pub struct SovereigntyCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:7:5
|
|
|
|
|
7 | pub jurisdiction: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:8:5
|
|
|
|
|
8 | pub sovereignty_types: Vec<SovereigntyType>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:9:5
|
|
|
|
|
9 | pub transition_rules: Vec<TransitionRule>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:13:1
|
|
|
|
|
13 | pub struct SovereigntyType {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:14:5
|
|
|
|
|
14 | pub code: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:15:5
|
|
|
|
|
15 | pub name: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:16:5
|
|
|
|
|
16 | pub description: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:20:1
|
|
|
|
|
20 | pub struct TransitionRule {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:21:5
|
|
|
|
|
21 | pub from: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:22:5
|
|
|
|
|
22 | pub to: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:23:5
|
|
|
|
|
23 | pub conditions: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:27:5
|
|
|
|
|
27 | pub fn new(jurisdiction: String) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:6:1
|
|
|
|
|
6 | pub struct AIGovernanceCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:7:5
|
|
|
|
|
7 | pub model_approval_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:8:5
|
|
|
|
|
8 | pub inference_verification_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:9:5
|
|
|
|
|
9 | pub data_compliance_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:10:5
|
|
|
|
|
10 | pub service_authorization_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:6:1
|
|
|
|
|
6 | pub struct RWACodex {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:7:5
|
|
|
|
|
7 | pub asset_onboarding_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:8:5
|
|
|
|
|
8 | pub valuation_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:9:5
|
|
|
|
|
9 | pub custody_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:10:5
|
|
|
|
|
10 | pub trading_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:6:1
|
|
|
|
|
6 | pub struct XTZHCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:7:5
|
|
|
|
|
7 | pub issuance_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:8:5
|
|
|
|
|
8 | pub sdr_anchoring_mechanism: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:9:5
|
|
|
|
|
9 | pub gold_reserve_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:10:5
|
|
|
|
|
10 | pub exchange_rate_adjustment_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:6:1
|
|
|
|
|
6 | pub struct CCRNCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:7:5
|
|
|
|
|
7 | pub relay_authorization_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:8:5
|
|
|
|
|
8 | pub message_verification_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:9:5
|
|
|
|
|
9 | pub asset_transfer_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:10:5
|
|
|
|
|
10 | pub penalty_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: `nac-udm` (lib) generated 114 warnings
|
|
warning: unused imports: `NACError` and `Result`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/crypto/asset_dna.rs:25:20
|
|
|
|
|
25 | use crate::error::{NACError, Result};
|
|
| ^^^^^^^^ ^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused import: `crate::types::*`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/protocols/acc721.rs:7:5
|
|
|
|
|
7 | use crate::types::*;
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `nac_udm::l1_protocol::gnacs::GNACSCode`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/protocols/acc721.rs:9:5
|
|
|
|
|
9 | use nac_udm::l1_protocol::gnacs::GNACSCode;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused imports: `CollateralInfo` and `SovereigntyType`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/protocols/acc721.rs:11:14
|
|
|
|
|
11 | AssetId, SovereigntyType, AssetDNA, AssetValuation,
|
|
| ^^^^^^^^^^^^^^^
|
|
12 | CustodyInfo, InsuranceInfo, CollateralInfo, FragmentationPool,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: unused imports: `ApprovalInfo`, `HybridAssetPool`, `TokenBalance`, and `TokenTypeConfig`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/protocols/acc1155.rs:12:25
|
|
|
|
|
12 | ...on, ApprovalInfo, TokenBalance, HybridAssetPool, TokenTypeConfig,
|
|
| ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `nac_udm::l1_protocol::gnacs::GNACSCode`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/protocols/acc20c.rs:8:5
|
|
|
|
|
8 | use nac_udm::l1_protocol::gnacs::GNACSCode;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `WrappedAssetStatus`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/protocols/acc20c.rs:10:49
|
|
|
|
|
10 | WrappedAsset, WrapperConfig, WrapperStatus, WrappedAssetStatus,
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: `nac-sdk` (lib) generated 7 warnings (run `cargo fix --lib -p nac-sdk` to apply 7 suggestions)
|
|
warning: field `is_healthy` is never read
|
|
--> src/health/mod.rs:33:9
|
|
|
|
|
32 | pub struct HealthStatus {
|
|
| ------------ field in this struct
|
|
33 | pub is_healthy: bool,
|
|
| ^^^^^^^^^^
|
|
|
|
|
= note: `HealthStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
|
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: methods `create_backup` and `list_backups` are never used
|
|
--> src/rollback/mod.rs:13:12
|
|
|
|
|
8 | impl RollbackManager {
|
|
| -------------------- methods in this implementation
|
|
...
|
|
13 | pub fn create_backup(&self, version: &str) -> Result<(), Box<dyn std...
|
|
| ^^^^^^^^^^^^^
|
|
...
|
|
41 | pub fn list_backups(&self) -> Result<Vec<String>, Box<dyn std::error...
|
|
| ^^^^^^^^^^^^
|
|
|
|
warning: `nac-deploy` (bin "nac-deploy") generated 2 warnings
|
|
Finished `release` profile [optimized] target(s) in 0.62s
|
|
✅ nac-deploy 编译成功
|
|
|
|
>>> 编译 nac-monitor <<<
|
|
warning: field `timestamp` is never read
|
|
--> src/metrics/mod.rs:12:9
|
|
|
|
|
4 | pub struct NodeMetrics {
|
|
| ----------- field in this struct
|
|
...
|
|
12 | pub timestamp: u64,
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: `NodeMetrics` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: variant `Info` is never constructed
|
|
--> src/alerts/mod.rs:5:5
|
|
|
|
|
4 | pub enum AlertLevel {
|
|
| ---------- variant in this enum
|
|
5 | Info,
|
|
| ^^^^
|
|
|
|
|
= note: `AlertLevel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
|
|
|
warning: field `timestamp` is never read
|
|
--> src/alerts/mod.rs:14:9
|
|
|
|
|
11 | pub struct Alert {
|
|
| ----- field in this struct
|
|
...
|
|
14 | pub timestamp: u64,
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: `Alert` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
|
|
|
warning: `nac-monitor` (bin "nac-monitor") generated 3 warnings
|
|
Finished `release` profile [optimized] target(s) in 0.64s
|
|
✅ nac-monitor 编译成功
|
|
|
|
>>> 编译 nac-test <<<
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/version.rs:56:9
|
|
|
|
|
56 | /// Version
|
|
| ^^^^^^^^^^^
|
|
57 | / Version {
|
|
58 | | major,
|
|
59 | | minor,
|
|
60 | | patch,
|
|
61 | | prerelease: None,
|
|
62 | | build: None,
|
|
63 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
= note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/version.rs:77:9
|
|
|
|
|
77 | /// Version
|
|
| ^^^^^^^^^^^
|
|
78 | / Version {
|
|
79 | | major,
|
|
80 | | minor,
|
|
81 | | patch,
|
|
82 | | prerelease: Some(prerelease),
|
|
83 | | build: None,
|
|
84 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/version.rs:108:9
|
|
|
|
|
108 | /// Version
|
|
| ^^^^^^^^^^^
|
|
109 | / Version {
|
|
110 | | major,
|
|
111 | | minor,
|
|
112 | | patch,
|
|
113 | | prerelease,
|
|
114 | | build,
|
|
115 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/language.rs:77:9
|
|
|
|
|
77 | /// LanguageBinding
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
78 | / LanguageBinding {
|
|
79 | | language,
|
|
80 | | code,
|
|
81 | | imports: Vec::new(),
|
|
82 | | metadata: HashMap::new(),
|
|
83 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/definition.rs:122:9
|
|
|
|
|
122 | /// Definition
|
|
| ^^^^^^^^^^^^^^
|
|
123 | / Definition {
|
|
124 | | uid,
|
|
125 | | name,
|
|
126 | | def_type,
|
|
... |
|
|
134 | | language_bindings: HashMap::new(),
|
|
135 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/definition.rs:311:9
|
|
|
|
|
311 | /// DefinitionBuilder
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
312 | / DefinitionBuilder {
|
|
313 | | uid: None,
|
|
314 | | name: None,
|
|
315 | | def_type: None,
|
|
... |
|
|
320 | | metadata: HashMap::new(),
|
|
321 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/registry/registry.rs:39:9
|
|
|
|
|
39 | /// DefinitionRegistry
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
40 | / DefinitionRegistry {
|
|
41 | | definitions: Arc::new(RwLock::new(HashMap::new())),
|
|
42 | | tag_index: Arc::new(RwLock::new(HashMap::new())),
|
|
43 | | type_index: Arc::new(RwLock::new(HashMap::new())),
|
|
44 | | reverse_deps: Arc::new(RwLock::new(HashMap::new())),
|
|
45 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: type `u256` should have an upper camel case name
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/acc20c/wrapper.rs:187:12
|
|
|
|
|
187 | pub struct u256 {
|
|
| ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U256`
|
|
|
|
|
= note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/acc20c/metadata_generator.rs:117:9
|
|
|
|
|
117 | /// ERC721Metadata
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
118 | / ERC721Metadata {
|
|
119 | | name,
|
|
120 | | description,
|
|
121 | | image,
|
|
... |
|
|
126 | | youtube_url: None,
|
|
127 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/parallel_chain_manager.rs:396:9
|
|
|
|
|
396 | /// ParallelChainStats
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
397 | / ParallelChainStats {
|
|
398 | | total_chains,
|
|
399 | | running_chains,
|
|
400 | | total_routing_rules,
|
|
401 | | enabled_routing_rules,
|
|
402 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: unused doc comment
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l1_protocol/shard_governance.rs:572:9
|
|
|
|
|
572 | /// GovernanceStats
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
573 | / GovernanceStats {
|
|
574 | | total_shards,
|
|
575 | | running_shards,
|
|
576 | | total_proposals,
|
|
577 | | pending_proposals,
|
|
578 | | }
|
|
| |_________- rustdoc does not generate documentation for expressions
|
|
|
|
|
= help: use `//` for a plain comment
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:1:1
|
|
|
|
|
1 | pub mod dapps;
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/lib.rs:126:9
|
|
|
|
|
126 | #![warn(missing_docs)]
|
|
| ^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:2:1
|
|
|
|
|
2 | pub mod wallet;
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:3:1
|
|
|
|
|
3 | pub mod explorer;
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/mod.rs:4:1
|
|
|
|
|
4 | pub mod charter;
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/dapps.rs:1:1
|
|
|
|
|
1 | pub struct DApp {
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/dapps.rs:2:5
|
|
|
|
|
2 | pub name: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/dapps.rs:3:5
|
|
|
|
|
3 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/wallet.rs:1:1
|
|
|
|
|
1 | pub struct Wallet {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/wallet.rs:2:5
|
|
|
|
|
2 | pub address: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/explorer.rs:1:1
|
|
|
|
|
1 | pub struct Explorer {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/explorer.rs:2:5
|
|
|
|
|
2 | pub endpoint: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/charter.rs:1:1
|
|
|
|
|
1 | pub struct CharterContract {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l5_application/charter.rs:2:5
|
|
|
|
|
2 | pub contract_id: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/cee.rs:4:1
|
|
|
|
|
4 | pub struct CEE {
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/cee.rs:5:5
|
|
|
|
|
5 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/cee.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:4:1
|
|
|
|
|
4 | pub struct AICompliance {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:5:5
|
|
|
|
|
5 | pub kyc_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:6:5
|
|
|
|
|
6 | pub aml_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/compliance.rs:10:5
|
|
|
|
|
10 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/valuation.rs:4:1
|
|
|
|
|
4 | pub struct AIValuation {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/valuation.rs:5:5
|
|
|
|
|
5 | pub model_version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/valuation.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/xtzh_ai.rs:4:1
|
|
|
|
|
4 | pub struct XTZHAI {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/xtzh_ai.rs:5:5
|
|
|
|
|
5 | pub prediction_enabled: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/xtzh_ai.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/oracle.rs:4:1
|
|
|
|
|
4 | pub struct AIOracle {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/oracle.rs:5:5
|
|
|
|
|
5 | pub consensus_threshold: f64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/oracle.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/governance.rs:4:1
|
|
|
|
|
4 | pub struct AIGovernance {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/governance.rs:5:5
|
|
|
|
|
5 | pub proposal_threshold: u64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/governance.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/unified_interface.rs:4:1
|
|
|
|
|
4 | pub struct UnifiedAIInterface {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/unified_interface.rs:5:5
|
|
|
|
|
5 | pub api_version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l4_ai/unified_interface.rs:9:5
|
|
|
|
|
9 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/mod.rs:1:1
|
|
|
|
|
1 | pub mod merkle_tree;
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/mod.rs:2:1
|
|
|
|
|
2 | pub mod archive_storage;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a module
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/mod.rs:3:1
|
|
|
|
|
3 | pub mod evidence_storage;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/merkle_tree.rs:1:1
|
|
|
|
|
1 | pub struct MerkleTree {
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/merkle_tree.rs:2:5
|
|
|
|
|
2 | pub root: Vec<u8>,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/archive_storage.rs:1:1
|
|
|
|
|
1 | pub struct ArchiveStorage {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/archive_storage.rs:2:5
|
|
|
|
|
2 | pub path: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/evidence_storage.rs:1:1
|
|
|
|
|
1 | pub struct EvidenceStorage {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l3_storage/evidence_storage.rs:2:5
|
|
|
|
|
2 | pub path: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:8:1
|
|
|
|
|
8 | pub struct ConstitutionCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:9:5
|
|
|
|
|
9 | pub version: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:10:5
|
|
|
|
|
10 | pub principles: Vec<Principle>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:11:5
|
|
|
|
|
11 | pub node_rights: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:12:5
|
|
|
|
|
12 | pub node_obligations: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:16:1
|
|
|
|
|
16 | pub struct Principle {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:17:5
|
|
|
|
|
17 | pub id: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:18:5
|
|
|
|
|
18 | pub title: String,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:19:5
|
|
|
|
|
19 | pub description: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:23:5
|
|
|
|
|
23 | pub fn new(version: String) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/constitution/mod.rs:32:5
|
|
|
|
|
32 | pub fn add_principle(&mut self, principle: Principle) {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:6:1
|
|
|
|
|
6 | pub struct ClausesCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:7:5
|
|
|
|
|
7 | pub network_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:8:5
|
|
|
|
|
8 | pub compliance_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:9:5
|
|
|
|
|
9 | pub governance_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:10:5
|
|
|
|
|
10 | pub penalty_rules: Vec<Clause>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:14:1
|
|
|
|
|
14 | pub struct Clause {
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:15:5
|
|
|
|
|
15 | pub id: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:16:5
|
|
|
|
|
16 | pub title: String,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:17:5
|
|
|
|
|
17 | pub content: String,
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:18:5
|
|
|
|
|
18 | pub effective_date: u64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/clauses/mod.rs:22:5
|
|
|
|
|
22 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:6:1
|
|
|
|
|
6 | pub struct SovereigntyCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:7:5
|
|
|
|
|
7 | pub jurisdiction: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:8:5
|
|
|
|
|
8 | pub sovereignty_types: Vec<SovereigntyType>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:9:5
|
|
|
|
|
9 | pub transition_rules: Vec<TransitionRule>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:13:1
|
|
|
|
|
13 | pub struct SovereigntyType {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:14:5
|
|
|
|
|
14 | pub code: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:15:5
|
|
|
|
|
15 | pub name: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:16:5
|
|
|
|
|
16 | pub description: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:20:1
|
|
|
|
|
20 | pub struct TransitionRule {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:21:5
|
|
|
|
|
21 | pub from: String,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:22:5
|
|
|
|
|
22 | pub to: String,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:23:5
|
|
|
|
|
23 | pub conditions: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/sovereignty/mod.rs:27:5
|
|
|
|
|
27 | pub fn new(jurisdiction: String) -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:6:1
|
|
|
|
|
6 | pub struct AIGovernanceCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:7:5
|
|
|
|
|
7 | pub model_approval_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:8:5
|
|
|
|
|
8 | pub inference_verification_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:9:5
|
|
|
|
|
9 | pub data_compliance_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:10:5
|
|
|
|
|
10 | pub service_authorization_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ai_governance/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:6:1
|
|
|
|
|
6 | pub struct RWACodex {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:7:5
|
|
|
|
|
7 | pub asset_onboarding_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:8:5
|
|
|
|
|
8 | pub valuation_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:9:5
|
|
|
|
|
9 | pub custody_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:10:5
|
|
|
|
|
10 | pub trading_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/rwa/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:6:1
|
|
|
|
|
6 | pub struct XTZHCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:7:5
|
|
|
|
|
7 | pub issuance_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:8:5
|
|
|
|
|
8 | pub sdr_anchoring_mechanism: String,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:9:5
|
|
|
|
|
9 | pub gold_reserve_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:10:5
|
|
|
|
|
10 | pub exchange_rate_adjustment_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/xtzh/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:6:1
|
|
|
|
|
6 | pub struct CCRNCodex {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:7:5
|
|
|
|
|
7 | pub relay_authorization_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:8:5
|
|
|
|
|
8 | pub message_verification_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:9:5
|
|
|
|
|
9 | pub asset_transfer_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:10:5
|
|
|
|
|
10 | pub penalty_rules: Vec<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for an associated function
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-udm/src/l2_governance/codex/ccrn/mod.rs:14:5
|
|
|
|
|
14 | pub fn new() -> Self {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: `nac-udm` (lib) generated 114 warnings
|
|
warning: unused imports: `NACError` and `Result`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/crypto/asset_dna.rs:25:20
|
|
|
|
|
25 | use crate::error::{NACError, Result};
|
|
| ^^^^^^^^ ^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused import: `crate::types::*`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/protocols/acc721.rs:7:5
|
|
|
|
|
7 | use crate::types::*;
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `nac_udm::l1_protocol::gnacs::GNACSCode`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/protocols/acc721.rs:9:5
|
|
|
|
|
9 | use nac_udm::l1_protocol::gnacs::GNACSCode;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused imports: `CollateralInfo` and `SovereigntyType`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/protocols/acc721.rs:11:14
|
|
|
|
|
11 | AssetId, SovereigntyType, AssetDNA, AssetValuation,
|
|
| ^^^^^^^^^^^^^^^
|
|
12 | CustodyInfo, InsuranceInfo, CollateralInfo, FragmentationPool,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: unused imports: `ApprovalInfo`, `HybridAssetPool`, `TokenBalance`, and `TokenTypeConfig`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/protocols/acc1155.rs:12:25
|
|
|
|
|
12 | ...on, ApprovalInfo, TokenBalance, HybridAssetPool, TokenTypeConfig,
|
|
| ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `nac_udm::l1_protocol::gnacs::GNACSCode`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/protocols/acc20c.rs:8:5
|
|
|
|
|
8 | use nac_udm::l1_protocol::gnacs::GNACSCode;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `WrappedAssetStatus`
|
|
--> /home/ubuntu/NAC_Clean_Dev/nac-sdk/src/protocols/acc20c.rs:10:49
|
|
|
|
|
10 | WrappedAsset, WrapperConfig, WrapperStatus, WrappedAssetStatus,
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: `nac-sdk` (lib) generated 7 warnings (run `cargo fix --lib -p nac-sdk` to apply 7 suggestions)
|
|
Finished `release` profile [optimized] target(s) in 0.44s
|
|
✅ nac-test 编译成功
|
|
|
|
=== 编译完成 ===
|
|
NAC Complete Compilation Finished: Sat Feb 14 13:57:35 EST 2026
|
|
|
|
=== 编译结果统计 ===
|
|
✅ nac-udm
|