Skip to content

Instantly share code, notes, and snippets.

@baymac
Created September 27, 2024 10:49
Show Gist options
  • Save baymac/cf809b3892e3364a9a24759a58358b1f to your computer and use it in GitHub Desktop.
Save baymac/cf809b3892e3364a9a24759a58358b1f to your computer and use it in GitHub Desktop.
➜ keystone3-firmware git:(master) ✗ python3 build.py -o simulator > error.log
warning: patch for `bitcoin` uses the features mechanism. default-features and features will not take effect because the patch dependency does not support this mechanism
warning: skipping duplicate package `embedded` found at `/Users/parichay/.cargo/git/checkouts/rust-bitcoin-c060ecb653881637/f4fc5be/bitcoin/embedded`
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/keystore/src/algorithms/rsa/mod.rs:75:9
|
75 | _ => Err(KeystoreError::RSASignError),
| ^
|
= note: `#[warn(unreachable_patterns)]` on by default
warning: `keystore` (lib) generated 1 warning
warning: use of deprecated associated function `third_party::secp256k1::Message::from_slice`: use from_digest_slice instead
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cosmos/src/lib.rs:77:35
|
77 | if let Ok(message) = Message::from_slice(&hash) {
| ^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: unused import: `BaseAddress`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/governance.rs:6:51
|
6 | use cardano_serialization_lib::address::{Address, BaseAddress};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `XPub`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/governance.rs:8:45
|
8 | use third_party::ed25519_bip32_core::{XPrv, XPub};
| ^^^^
warning: unused import: `third_party::ur_registry::crypto_key_path::CryptoKeyPath`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/governance.rs:12:5
|
12 | use third_party::ur_registry::crypto_key_path::CryptoKeyPath;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `AddressType`, `derive_address`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:1:22
|
1 | use crate::address::{derive_address, derive_pubkey_hash, AddressType};
| ^^^^^^^^^^^^^^ ^^^^^^^^^^^
warning: unused import: `self`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:9:5
|
9 | self, Address, BaseAddress, EnterpriseAddress, RewardAddress,
| ^^^^
warning: unused imports: `Ed25519KeyHash`, `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:12:41
|
12 | use cardano_serialization_lib::crypto::{Ed25519KeyHash, ScriptHash};
| ^^^^^^^^^^^^^^ ^^^^^^^^^^
warning: unused import: `Anchor`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:13:61
|
13 | use cardano_serialization_lib::protocol_types::governance::{Anchor, DRepKind};
| ^^^^^^
warning: unused import: `BigNum`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:14:53
|
14 | use cardano_serialization_lib::utils::{from_bignum, BigNum};
| ^^^^^^
warning: unused imports: `CertificateKind`, `Certificate`, `NetworkId`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:17:43
|
17 | protocol_types::governance::VoteKind, Certificate, CertificateKind, NetworkId, NetworkIdKind,
| ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^
warning: unused import: `XPub`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/transaction.rs:9:45
|
9 | use third_party::ed25519_bip32_core::{XPrv, XPub};
| ^^^^
warning: use of deprecated associated function `third_party::ur_registry::traits::From::from_cbor`: please use `try_from` instead
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:180:52
|
180 | let sign_structure = CardanoSignStructure::from_cbor(sign_data.clone());
| ^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: unused variable: `e`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:193:17
|
193 | Err(e) => Ok(Self {
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
= note: `#[warn(unused_variables)]` on by default
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:511:33
|
508 | ... Ed25519KeyHash => {
| -------------- matches any value
...
511 | ... ScriptHash => _cert
| ^^^^^^^^^^ unreachable pattern
|
= note: `#[warn(unreachable_patterns)]` on by default
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:524:33
|
521 | ... Ed25519KeyHash => {
| -------------- matches any value
...
524 | ... ScriptHash => _cert
| ^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:544:29
|
541 | ... Ed25519KeyHash => {
| -------------- matches any value
...
544 | ... ScriptHash => _cert
| ^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:578:25
|
569 | Ed25519KeyHash => (
| -------------- matches any value
...
578 | ScriptHash => (
| ^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:615:25
|
606 | Ed25519KeyHash => (
| -------------- matches any value
...
615 | ScriptHash => (
| ^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:669:25
|
660 | Ed25519KeyHash => (
| -------------- matches any value
...
669 | ScriptHash => (
| ^^^^^^^^^^ unreachable pattern
warning: unused variable: `Ed25519KeyHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:508:33
|
508 | ... Ed25519KeyHash => {
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ed25519KeyHash`
warning: unused variable: `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:511:33
|
511 | ... ScriptHash => _cert
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScriptHash`
warning: unused variable: `Ed25519KeyHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:521:33
|
521 | ... Ed25519KeyHash => {
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ed25519KeyHash`
warning: unused variable: `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:524:33
|
524 | ... ScriptHash => _cert
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScriptHash`
warning: unused variable: `Ed25519KeyHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:541:29
|
541 | ... Ed25519KeyHash => {
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ed25519KeyHash`
warning: unused variable: `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:544:29
|
544 | ... ScriptHash => _cert
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScriptHash`
warning: unused variable: `Ed25519KeyHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:569:25
|
569 | Ed25519KeyHash => (
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ed25519KeyHash`
warning: unused variable: `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:578:25
|
578 | ScriptHash => (
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScriptHash`
warning: unused variable: `Ed25519KeyHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:606:25
|
606 | Ed25519KeyHash => (
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ed25519KeyHash`
warning: unused variable: `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:615:25
|
615 | ScriptHash => (
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScriptHash`
warning: unused variable: `Ed25519KeyHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:660:25
|
660 | Ed25519KeyHash => (
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ed25519KeyHash`
warning: unused variable: `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:669:25
|
669 | ScriptHash => (
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScriptHash`
warning: unused variable: `network_id`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:1031:9
|
1031 | network_id: u8,
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network_id`
warning: variable does not need to be mutable
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:1083:25
|
1083 | let mut address = utxo.address.clone();
| ----^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: unused variable: `v`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:1151:59
|
1151 | assets: output.amount().multiasset().map(|v| {
| ^ help: if this is intentional, prefix it with an underscore: `_v`
warning: variable does not need to be mutable
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:1152:25
|
1152 | let mut parsed_multi_assets = vec![];
| ----^^^^^^^^^^^^^^^^^^^
| |
| help: remove this `mut`
warning: constant `LABEL_ABCHOR` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:105:7
|
105 | const LABEL_ABCHOR: &str = "Anchor";
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: variants `Registration`, `Deregistration`, and `Delegation` are never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:157:5
|
156 | enum CardanoCertAction {
| ----------------- variants in this enum
157 | Registration(Registration),
| ^^^^^^^^^^^^
158 | Deregistration(Deregistration),
| ^^^^^^^^^^^^^^
159 | Delegation(Delegation),
| ^^^^^^^^^^
|
= note: `CardanoCertAction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: field `stake_key` is never read
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:164:5
|
163 | struct Registration {
| ------------ field in this struct
164 | stake_key: RewardAddress,
| ^^^^^^^^^
|
= note: `Registration` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: field `stake_key` is never read
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:169:5
|
168 | struct Deregistration {
| -------------- field in this struct
169 | stake_key: RewardAddress,
| ^^^^^^^^^
|
= note: `Deregistration` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: fields `pool` and `stake_key` are never read
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:174:5
|
173 | struct Delegation {
| ---------- fields in this struct
174 | pool: String,
| ^^^^
175 | stake_key: RewardAddress,
| ^^^^^^^^^
|
= note: `Delegation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: variable `Ed25519KeyHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:508:33
|
508 | ... Ed25519KeyHash => {
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ed25519_key_hash`
|
= note: `#[warn(non_snake_case)]` on by default
warning: variable `ScriptHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:511:33
|
511 | ... ScriptHash => _cert
| ^^^^^^^^^^ help: convert the identifier to snake case: `script_hash`
warning: variable `Ed25519KeyHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:521:33
|
521 | ... Ed25519KeyHash => {
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ed25519_key_hash`
warning: variable `ScriptHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:524:33
|
524 | ... ScriptHash => _cert
| ^^^^^^^^^^ help: convert the identifier to snake case: `script_hash`
warning: variable `Ed25519KeyHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:541:29
|
541 | ... Ed25519KeyHash => {
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ed25519_key_hash`
warning: variable `ScriptHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:544:29
|
544 | ... ScriptHash => _cert
| ^^^^^^^^^^ help: convert the identifier to snake case: `script_hash`
warning: variable `Ed25519KeyHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:569:25
|
569 | Ed25519KeyHash => (
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ed25519_key_hash`
warning: variable `ScriptHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:578:25
|
578 | ScriptHash => (
| ^^^^^^^^^^ help: convert the identifier to snake case: `script_hash`
warning: variable `Ed25519KeyHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:606:25
|
606 | Ed25519KeyHash => (
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ed25519_key_hash`
warning: variable `ScriptHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:615:25
|
615 | ScriptHash => (
| ^^^^^^^^^^ help: convert the identifier to snake case: `script_hash`
warning: variable `Ed25519KeyHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:660:25
|
660 | Ed25519KeyHash => (
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ed25519_key_hash`
warning: variable `ScriptHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:669:25
|
669 | ScriptHash => (
| ^^^^^^^^^^ help: convert the identifier to snake case: `script_hash`
warning: unnecessary parentheses around `if` condition
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/message.rs:77:12
|
77 | if (is_versioned) {
| ^ ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
77 - if (is_versioned) {
77 + if is_versioned {
|
warning: unused import: `third_party::bitcoin::hex::FromHex`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/parser/mod.rs:7:5
|
7 | use third_party::bitcoin::hex::FromHex;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `ProgramOverviewUnknown`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/parser/mod.rs:17:30
|
17 | ProgramOverviewTransfer, ProgramOverviewUnknown, ProgramOverviewVote, SolanaOverview,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `SIGHASH_GLOBAL_NAMESPACE`, `sighash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/solana_lib/squads_v4/instructions.rs:10:42
|
10 | use crate::solana_lib::squads_v4::util::{sighash, SIGHASH_GLOBAL_NAMESPACE};
| ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:42:5
|
42 | accounts: Vec<String>,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:57:5
|
57 | accounts: Vec<String>,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:70:30
|
70 | fn resolve_proposal_activate(accounts: Vec<String>) -> Result<SolanaDetail> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:82:52
|
82 | fn resolve_proposal_cancel(args: ProposalVoteArgs, accounts: Vec<String>) -> Result<SolanaDetail> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:94:52
|
94 | fn resolve_proposal_reject(args: ProposalVoteArgs, accounts: Vec<String>) -> Result<SolanaDetail> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:106:53
|
106 | fn resolve_proposal_approve(args: ProposalVoteArgs, accounts: Vec<String>) -> Result<SolanaDetail> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:120:5
|
120 | accounts: Vec<String>,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:133:38
|
133 | fn resolve_vault_transaction_execute(accounts: Vec<String>) -> Result<SolanaDetail> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused import: `self`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/ao_transaction.rs:3:11
|
3 | vec::{self, Vec},
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `third_party::core2::io::Read`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/data_item.rs:13:5
|
13 | use third_party::core2::io::Read;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `core2::io::ErrorKind`, `hex`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/data_item.rs:14:19
|
14 | use third_party::{core2::io::ErrorKind, hex};
| ^^^^^^^^^^^^^^^^^^^^ ^^^
warning: unused import: `sign_message`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/lib.rs:25:59
|
25 | use keystore::algorithms::rsa::{get_rsa_secret_from_seed, sign_message};
| ^^^^^^^^^^^^
warning: unused variable: `i`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/data_item.rs:26:13
|
26 | for i in 0..len {
| ^ help: if this is intentional, prefix it with an underscore: `_i`
|
= note: `#[warn(unused_variables)]` on by default
warning: variable does not need to be mutable
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/data_item.rs:68:9
|
68 | let mut buf = reader.drain(..len as usize).collect();
| ----^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: variants `ED25519`, `ETHEREUM`, `SOLANA`, `INJECTEDAPTOS`, `MULTIAPTOS`, and `TYPEDETHEREUM` are never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/data_item.rs:94:5
|
92 | enum SignatureType {
| ------------- variants in this enum
93 | ARWEAVE = 1,
94 | ED25519,
| ^^^^^^^
95 | ETHEREUM,
| ^^^^^^^^
96 | SOLANA,
| ^^^^^^
97 | INJECTEDAPTOS,
| ^^^^^^^^^^^^^
98 | MULTIAPTOS,
| ^^^^^^^^^^
99 | TYPEDETHEREUM,
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: unused imports: `DEVICE_TYPE`, `DEVICE_VERSION`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/wallets/src/thor_wallet.rs:18:60
|
18 | use crate::{common::get_path_component, ExtendedPublicKey, DEVICE_TYPE, DEVICE_VERSION};
| ^^^^^^^^^^^ ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: `app_cosmos` (lib) generated 1 warning
warning: `app_cardano` (lib) generated 51 warnings (run `cargo fix --lib -p app_cardano` to apply 27 suggestions)
warning: `app_solana` (lib) generated 12 warnings (run `cargo fix --lib -p app_solana` to apply 12 suggestions)
warning: `app_arweave` (lib) generated 7 warnings (run `cargo fix --lib -p app_arweave` to apply 6 suggestions)
warning: `app_wallets` (lib) generated 1 warning (run `cargo fix --lib -p app_wallets` to apply 1 suggestion)
warning: unused import: `serde_json`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/errors.rs:2:19
|
2 | use third_party::{serde_json, thiserror};
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `num_bigint::BigUint`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/jettons.rs:9:5
|
9 | use num_bigint::BigUint;
| ^^^^^^^^^^^^^^^^^^^
warning: unused import: `num_bigint::BigUint`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/mod.rs:4:5
|
4 | use num_bigint::BigUint;
| ^^^^^^^^^^^^^^^^^^^
warning: unused import: `Cell`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/mod.rs:11:36
|
11 | use crate::vendor::cell::{ArcCell, Cell, CellBuilder, TonCellError};
| ^^^^
warning: unused import: `num_bigint::BigUint`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/jetton.rs:2:5
|
2 | use num_bigint::BigUint;
| ^^^^^^^^^^^^^^^^^^^
warning: unused import: `Cell`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/jetton.rs:6:58
|
6 | use crate::vendor::{address::TonAddress, cell::{ArcCell, Cell, TonCellError}};
| ^^^^
warning: unused import: `InternalMessage`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/jetton.rs:8:41
|
8 | use super::{traits::ParseCell, Comment, InternalMessage};
| ^^^^^^^^^^^^^^^
warning: unused imports: `Comment`, `jetton`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/structs.rs:6:23
|
6 | use crate::messages::{jetton, Comment, Operation, SigningMessage};
| ^^^^^^ ^^^^^^^
warning: unused import: `format`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/structs.rs:11:13
|
11 | use alloc::{format, vec};
| ^^^^^^
warning: unused import: `ArcCell`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/transaction.rs:4:39
|
4 | use crate::vendor::cell::{BagOfCells, ArcCell};
| ^^^^^^^
warning: unused import: `format`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/transaction.rs:5:13
|
5 | use alloc::{format, vec};
| ^^^^^^
warning: unused import: `third_party::hex`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/transaction.rs:8:5
|
8 | use third_party::hex;
| ^^^^^^^^^^^^^^^^
warning: unused import: `core::ops::Deref`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/mod.rs:14:5
|
14 | use core::ops::Deref;
| ^^^^^^^^^^^^^^^^
warning: unused import: `crate::vendor::cell::bit_string::*`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/mod.rs:19:5
|
19 | use crate::vendor::cell::bit_string::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `num_bigint::BigUint`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/mod.rs:30:5
|
30 | use num_bigint::BigUint;
| ^^^^^^^^^^^^^^^^^^^
warning: unused imports: `One`, `ToPrimitive`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/mod.rs:31:18
|
31 | use num_traits::{One, ToPrimitive};
| ^^^ ^^^^^^^^^^^
warning: unused import: `third_party::hex`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/bag_of_cells.rs:4:5
|
4 | use third_party::hex;
| ^^^^^^^^^^^^^^^^
warning: unused import: `hex`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/error.rs:6:19
|
6 | use third_party::{hex};
| ^^^
warning: unused import: `alloc::vec`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/raw_boc_from_boc.rs:4:5
|
4 | use alloc::vec;
| ^^^^^^^^^^
warning: unused imports: `CellBuilder`, `StateInitBuilder`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/wallet/mod.rs:12:32
|
12 | ArcCell, BagOfCells, Cell, CellBuilder, StateInit, StateInitBuilder, TonCellError,
| ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
warning: value assigned to `ref_index` is never read
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/jetton.rs:84:17
|
84 | ref_index = ref_index + 1;
| ^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` on by default
warning: value assigned to `ref_index` is never read
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/nft.rs:70:17
|
70 | ref_index = ref_index + 1;
| ^^^^^^^^^
|
= help: maybe it is overwritten before being read?
warning: unused variable: `e`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/mod.rs:229:27
|
229 | .map_err(|e| TonCellError::CellParserError("payload is not a comment".to_string()))
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
= note: `#[warn(unused_variables)]` on by default
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/structs.rs:103:25
|
103 | _ => Err(TonError::InvalidTransaction(
| ^
|
= note: `#[warn(unreachable_patterns)]` on by default
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/structs.rs:128:25
|
128 | _ => Err(TonError::InvalidTransaction(
| ^
warning: unused variable: `other_message`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/structs.rs:132:45
|
132 | Operation::OtherMessage(other_message) => Ok(Self {
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_message`
warning: unused variable: `e`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/lib.rs:35:17
|
35 | Err(e) => false,
| ^ help: if this is intentional, prefix it with an underscore: `_e`
warning: unused variable: `e`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/lib.rs:37:13
|
37 | Err(e) => false,
| ^ help: if this is intentional, prefix it with an underscore: `_e`
warning: variant `InvalidWord` is never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/errors.rs:33:5
|
28 | pub(crate) enum MnemonicError {
| ------------- variant in this enum
...
33 | InvalidWord(String),
| ^^^^^^^^^^^
|
= note: `MnemonicError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
warning: type alias `SnakeFormattedDict` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/mod.rs:58:10
|
58 | pub type SnakeFormattedDict = BTreeMap<CellHash, Vec<u8>>;
| ^^^^^^^^^^^^^^^^^^
warning: field `bit_len` is never read
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/bit_string.rs:11:5
|
9 | pub(crate) struct BitString {
| --------- field in this struct
10 | value: BigUint,
11 | bit_len: usize,
| ^^^^^^^
|
= note: `BitString` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: associated items `new`, `shl_assign_and_add`, `shl_assign_and_fill`, `shl_assign`, `bit_len`, and `get_value_as_bytes` are never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/bit_string.rs:15:12
|
14 | impl BitString {
| -------------- associated items in this implementation
15 | pub fn new() -> Self {
| ^^^
...
22 | pub fn shl_assign_and_add(&mut self, rhs: usize, val: BigUint) {
| ^^^^^^^^^^^^^^^^^^
...
28 | pub fn shl_assign_and_fill(&mut self, rhs: usize) {
| ^^^^^^^^^^^^^^^^^^^
...
33 | pub fn shl_assign(&mut self, rhs: usize) {
| ^^^^^^^^^^
...
38 | pub fn bit_len(&self) -> usize {
| ^^^^^^^
...
42 | pub fn get_value_as_bytes(&self) -> Vec<u8> {
| ^^^^^^^^^^^^^^^^^^
warning: function `create_biguint_with_ones` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/bit_string.rs:54:4
|
54 | fn create_biguint_with_ones(n: usize) -> BigUint {
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: multiple methods are never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/builder.rs:35:12
|
25 | impl CellBuilder {
| ---------------- methods in this implementation
...
35 | pub fn set_cell_is_exotic(&mut self, val: bool) {
| ^^^^^^^^^^^^^^^^^^
...
51 | pub fn store_i8(&mut self, bit_len: usize, val: i8) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^
...
79 | pub fn store_i64(&mut self, bit_len: usize, val: i64) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^
...
86 | pub fn store_uint(&mut self, bit_len: usize, val: &BigUint) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^
...
129 | pub fn store_int(&mut self, bit_len: usize, val: &BigInt) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^
...
172 | pub fn store_string(&mut self, val: &str) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^^
...
176 | pub fn store_coins(&mut self, val: &BigUint) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^
...
187 | pub fn store_raw_address(&mut self, val: &TonAddress) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^^^^^^^
...
197 | pub fn store_address(&mut self, val: &TonAddress) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^^^
...
221 | pub fn store_references(&mut self, refs: &[ArcCell]) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^^^^^^
...
231 | pub fn store_child(&mut self, cell: Cell) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^
...
235 | pub fn store_remaining_bits(
| ^^^^^^^^^^^^^^^^^^^^
...
248 | pub fn store_cell_data(&mut self, cell: &Cell) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^^^^^
...
254 | pub fn store_cell(&mut self, cell: &Cell) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^
warning: function `extend_and_invert_bits` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/builder.rs:297:4
|
297 | fn extend_and_invert_bits(bits_cnt: usize, src: &BigUint) -> Result<BigUint, TonCellError> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: multiple associated items are never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/slice.rs:22:12
|
21 | impl CellSlice {
| -------------- associated items in this implementation
22 | pub fn new(
| ^^^
...
52 | pub fn new_with_offset(cell: &Cell, offset: usize) -> Result<CellSlice, TonCellError> {
| ^^^^^^^^^^^^^^^
...
62 | pub fn full_cell(cell: Cell) -> Result<CellSlice, TonCellError> {
| ^^^^^^^^^
...
74 | pub fn parser(&self) -> Result<CellParser, TonCellError> {
| ^^^^^^
...
90 | pub fn parse<F, T>(&self, parse: F) -> Result<T, TonCellError>
| ^^^^^
...
100 | pub fn parse_fully<F, T>(&self, parse: F) -> Result<T, TonCellError>
| ^^^^^^^^^^^
...
110 | pub fn into_cell(&self) -> Result<Cell, TonCellError> {
| ^^^^^^^^^
...
120 | pub fn reference(&self, idx: usize) -> Result<&ArcCell, TonCellError> {
| ^^^^^^^^^
...
137 | pub fn to_cell(&self) -> Result<Cell, TonCellError> {
| ^^^^^^^
warning: methods `with_split_depth`, `with_tick_tock`, and `with_library` are never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/state_init.rs:27:12
|
16 | impl StateInitBuilder {
| --------------------- methods in this implementation
...
27 | pub fn with_split_depth(&mut self, split_depth: bool) -> &mut Self {
| ^^^^^^^^^^^^^^^^
...
32 | pub fn with_tick_tock(&mut self, tick_tock: bool) -> &mut Self {
| ^^^^^^^^^^^^^^
...
37 | pub fn with_library(&mut self, library: bool) -> &mut Self {
| ^^^^^^^^^^^^
warning: variants `ForwardTonAmountIsNegative` and `NaclCryptographicError` are never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/error.rs:10:5
|
8 | pub enum TonMessageError {
| --------------- variants in this enum
9 | #[error("ForwardTonAmountIsN...
10 | ForwardTonAmountIsNegative,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
13 | NaclCryptographicError(String),
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `TonMessageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: constant `JETTON_TRANSFER_NOTIFICATION` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:21:11
|
21 | pub const JETTON_TRANSFER_NOTIFICATION: u32 = 0x7362d09c;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `JETTON_INTERNAL_TRANSFER` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:22:11
|
22 | pub const JETTON_INTERNAL_TRANSFER: u32 = 0x178d4519;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `JETTON_EXCESSES` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:23:11
|
23 | pub const JETTON_EXCESSES: u32 = 0xd53276db;
| ^^^^^^^^^^^^^^^
warning: constant `JETTON_BURN` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:24:11
|
24 | pub const JETTON_BURN: u32 = 0x595f07bc;
| ^^^^^^^^^^^
warning: constant `JETTON_BURN_NOTIFICATION` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:25:11
|
25 | pub const JETTON_BURN_NOTIFICATION: u32 = 0x7bdd97de;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: struct `JettonTransferMessage` is never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:35:12
|
35 | pub struct JettonTransferMessage {
| ^^^^^^^^^^^^^^^^^^^^^
warning: multiple associated items are never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:46:12
|
45 | impl JettonTransferMessage {
| -------------------------- associated items in this implementation
46 | pub fn new(destination: &TonAddress, amount: &BigUint) -> JettonTransferMessage {
| ^^^
...
58 | pub fn with_query_id(&mut self, query_id: u64) -> &mut Self {
| ^^^^^^^^^^^^^
...
63 | pub fn with_response_destination(&mut self, response_destination: &TonAddress) -> &mut Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
...
68 | pub fn with_custom_payload(&mut self, custom_payload: Cell) -> &mut Self {
| ^^^^^^^^^^^^^^^^^^^
...
72 | pub fn with_custom_payload_ref(&mut self, custom_payload_ref: &ArcCell) -> &mut Self {
| ^^^^^^^^^^^^^^^^^^^^^^^
...
77 | pub fn with_forward(
| ^^^^^^^^^^^^
...
85 | pub fn with_forward_ref(
| ^^^^^^^^^^^^^^^^
...
95 | pub fn build(&self) -> Result<Cell, TonMessageError> {
| ^^^^^
warning: struct `TransferMessage` is never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/transfer.rs:9:12
|
9 | pub struct TransferMessage {
| ^^^^^^^^^^^^^^^
warning: associated items `new`, `with_state_init`, `with_state_init_ref`, `with_data`, `with_data_ref`, and `build` are never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/transfer.rs:17:12
|
16 | impl TransferMessage {
| -------------------- associated items in this implementation
17 | pub fn new(dest: &TonAddress, value: &BigUint) -> Self {
| ^^^
...
26 | pub fn with_state_init(&mut self, state_init: Cell) -> &mut Self {
| ^^^^^^^^^^^^^^^
...
30 | pub fn with_state_init_ref(&mut self, state_init: &ArcCell) -> &mut Self {
| ^^^^^^^^^^^^^^^^^^^
...
35 | pub fn with_data(&mut self, data: Cell) -> &mut Self {
| ^^^^^^^^^
...
39 | pub fn with_data_ref(&mut self, data: &ArcCell) -> &mut Self {
| ^^^^^^^^^^^^^
...
44 | pub fn build(&self) -> Result<Cell, TonMessageError> {
| ^^^^^
warning: multiple variants are never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/wallet/mod.rs:78:5
|
77 | pub enum WalletVersion {
| ------------- variants in this enum
78 | V1R1,
| ^^^^
79 | V1R2,
| ^^^^
80 | V1R3,
| ^^^^
81 | V2R1,
| ^^^^
82 | V2R2,
| ^^^^
83 | V3R1,
| ^^^^
84 | V3R2,
| ^^^^
85 | V4R1,
| ^^^^
86 | V4R2,
87 | HighloadV1R1,
| ^^^^^^^^^^^^
88 | HighloadV1R2,
| ^^^^^^^^^^^^
89 | HighloadV2,
| ^^^^^^^^^^
90 | HighloadV2R1,
| ^^^^^^^^^^^^
91 | HighloadV2R2,
| ^^^^^^^^^^^^
|
= note: `WalletVersion` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: method `has_op` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/wallet/mod.rs:166:12
|
94 | impl WalletVersion {
| ------------------ method in this implementation
...
166 | pub fn has_op(&self) -> bool {
| ^^^^^^
warning: associated function `derive` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/wallet/mod.rs:180:12
|
179 | impl TonWallet {
| -------------- associated function in this implementation
180 | pub fn derive(
| ^^^^^^
warning: bounds on generic parameters are not enforced in type aliases
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/errors.rs:7:20
|
7 | pub type Result<T: Sized> = core::result::Result<T, TonError>;
| ^^^^^
|
= note: `#[warn(type_alias_bounds)]` on by default
help: the bound will not be checked when the type alias is used, and should be removed
|
7 - pub type Result<T: Sized> = core::result::Result<T, TonError>;
7 + pub type Result<T> = core::result::Result<T, TonError>;
|
warning: unused variable: `contract_address`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ethereum/src/legacy_transaction.rs:300:17
|
300 | let contract_address = erc20_override.contract_address;
| ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused import: `core::str::FromStr`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/address.rs:5:5
|
5 | use core::str::FromStr;
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `core::str::FromStr`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:3:5
|
3 | use core::str::FromStr;
| ^^^^^^^^^^^^^^^^^^
warning: variant `STRKEY_PUBKEY` should have an upper camel case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:10:5
|
10 | STRKEY_PUBKEY = 6 << 3,
| ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StrkeyPubkey`
|
= note: `#[warn(non_camel_case_types)]` on by default
warning: variant `STRKEY_PRIVKEY` should have an upper camel case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:11:5
|
11 | STRKEY_PRIVKEY = 18 << 3,
| ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StrkeyPrivkey`
warning: variant `STRKEY_PRE_AUTH_TX_KEY` should have an upper camel case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:12:5
|
12 | STRKEY_PRE_AUTH_TX_KEY = 19 << 3,
| ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StrkeyPreAuthTxKey`
warning: variant `STRKEY_HASH_X` should have an upper camel case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:13:5
|
13 | STRKEY_HASH_X = 23 << 3,
| ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StrkeyHashX`
warning: variant `STRKEY_MUXED_ACCOUNT` should have an upper camel case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:14:5
|
14 | STRKEY_MUXED_ACCOUNT = 12 << 3,
| ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StrkeyMuxedAccount`
warning: variant `STRKEY_SIGNED_PAYLOAD` should have an upper camel case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:15:5
|
15 | STRKEY_SIGNED_PAYLOAD = 15 << 3,
| ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StrkeySignedPayload`
warning: unused import: `third_party::hex`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/lib.rs:16:5
|
16 | use third_party::hex;
| ^^^^^^^^^^^^^^^^
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:38:13
|
37 | public_hash => Network::Public,
| ----------- matches any value
38 | testnet_hash => Network::Testnet,
| ^^^^^^^^^^^^ unreachable pattern
|
= note: `#[warn(unreachable_patterns)]` on by default
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:39:13
|
37 | public_hash => Network::Public,
| ----------- matches any value
38 | testnet_hash => Network::Testnet,
39 | futurenet_hash => Network::Futurenet,
| ^^^^^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:40:13
|
37 | public_hash => Network::Public,
| ----------- matches any value
...
40 | sandbox_hash => Network::Sandbox,
| ^^^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:41:13
|
37 | public_hash => Network::Public,
| ----------- matches any value
...
41 | standalone_hash => Network::Standalone,
| ^^^^^^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:42:13
|
37 | public_hash => Network::Public,
| ----------- matches any value
...
42 | _ => Network::Public,
| ^ unreachable pattern
warning: unused variable: `public_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:30:13
|
30 | let public_hash = Network::Public.hash();
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_hash`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `testnet_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:31:13
|
31 | let testnet_hash = Network::Testnet.hash();
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testnet_hash`
warning: unused variable: `futurenet_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:32:13
|
32 | let futurenet_hash = Network::Futurenet.hash();
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_futurenet_hash`
warning: unused variable: `sandbox_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:33:13
|
33 | let sandbox_hash = Network::Sandbox.hash();
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sandbox_hash`
warning: unused variable: `standalone_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:34:13
|
34 | let standalone_hash = Network::Standalone.hash();
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_standalone_hash`
warning: unused variable: `public_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:37:13
|
37 | public_hash => Network::Public,
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_hash`
warning: unused variable: `testnet_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:38:13
|
38 | testnet_hash => Network::Testnet,
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testnet_hash`
warning: unused variable: `futurenet_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:39:13
|
39 | futurenet_hash => Network::Futurenet,
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_futurenet_hash`
warning: unused variable: `sandbox_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:40:13
|
40 | sandbox_hash => Network::Sandbox,
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sandbox_hash`
warning: unused variable: `standalone_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:41:13
|
41 | standalone_hash => Network::Standalone,
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_standalone_hash`
warning: unused import: `alloc::fmt::format`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/multi_sig/wallet.rs:1:5
|
1 | use alloc::fmt::format;
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unnecessary parentheses around `if` condition
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/multi_sig/wallet.rs:241:16
|
241 | if (wallet.network != this_network) {
| ^ ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
241 - if (wallet.network != this_network) {
241 + if wallet.network != this_network {
|
warning: unused import: `super::legacy::input`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/parsed_tx.rs:10:5
|
10 | use super::legacy::input;
| ^^^^^^^^^^^^^^^^^^^^
warning: unused import: `third_party::bitcoin::opcodes::all::OP_PUSHNUM_1`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:3:5
|
3 | use third_party::bitcoin::opcodes::all::OP_PUSHNUM_1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `self`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:21:5
|
21 | self, ChildNumber, DerivationPath, Fingerprint, KeySource, Xpub,
| ^^^^
warning: unused imports: `Script`, `script`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:26:28
|
26 | use third_party::bitcoin::{script, Network, PrivateKey, Script};
| ^^^^^^ ^^^^^^
warning: unnecessary parentheses around `if` condition
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:416:16
|
416 | if (cur >= req) {
| ^ ^
|
help: remove these parentheses
|
416 - if (cur >= req) {
416 + if cur >= req {
|
warning: variable does not need to be mutable
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/multi_sig/wallet.rs:147:9
|
147 | let mut wallet = _parse_plain_xpub_config(&content)?;
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: unused variable: `e`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/multi_sig/wallet.rs:429:13
|
429 | Err(e) => false,
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `index`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/parsed_tx.rs:139:14
|
139 | for (index, input) in parsed_inputs.iter().enumerate() {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
warning: unused variable: `input`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:230:41
|
230 | pub fn check_my_input_script(&self, input: &Input, index: usize) -> Result<()> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
warning: unused variable: `index`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:230:56
|
230 | pub fn check_my_input_script(&self, input: &Input, index: usize) -> Result<()> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
warning: unused variable: `input`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:234:45
|
234 | pub fn check_my_input_derivation(&self, input: &Input, index: usize) -> Result<()> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
warning: unused variable: `index`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:234:60
|
234 | pub fn check_my_input_derivation(&self, input: &Input, index: usize) -> Result<()> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
warning: variable does not need to be mutable
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:764:13
|
764 | let mut sub_path = &child[parent.len()..];
| ----^^^^^^^^
| |
| help: remove this `mut`
warning: function `is_valid_multi_path` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/multi_sig/mod.rs:499:4
|
499 | fn is_valid_multi_path(path: &str) -> bool {
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: enum `SignStatus` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:36:10
|
36 | pub enum SignStatus {
| ^^^^^^^^^^
warning: variable `bsmsWallet` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/multi_sig/wallet.rs:118:13
|
118 | let mut bsmsWallet = BsmsWallet::default();
| ^^^^^^^^^^ help: convert the identifier to snake case: `bsms_wallet`
|
= note: `#[warn(non_snake_case)]` on by default
warning: `app_ton` (lib) generated 51 warnings (run `cargo fix --lib -p app_ton` to apply 25 suggestions)
warning: `app_ethereum` (lib) generated 1 warning (run `cargo fix --lib -p app_ethereum` to apply 1 suggestion)
warning: `app_stellar` (lib) generated 24 warnings (run `cargo fix --lib -p app_stellar` to apply 13 suggestions)
warning: `app_bitcoin` (lib) generated 18 warnings (run `cargo fix --lib -p app_bitcoin` to apply 15 suggestions)
warning: unused import: `make_free_method`
--> src/common/src/ffi.rs:6:43
|
6 | use crate::{impl_c_ptr, impl_simple_free, make_free_method};
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `third_party::bech32::primitives::encode`
--> src/common/src/qrcode/mod.rs:3:5
|
3 | use third_party::bech32::primitives::encode;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `structs::Response`
--> src/common/src/qrcode/mod.rs:9:5
|
9 | structs::Response,
| ^^^^^^^^^^^^^^^^^
warning: unreachable pattern
--> src/common/src/ur.rs:334:13
|
334 | _ => Err(URError::NotSupportURTypeError(value.get_type_str())),
| ^
|
= note: `#[warn(unreachable_patterns)]` on by default
warning: variable does not need to be mutable
--> src/common/src/lib.rs:279:9
|
279 | let mut output = keystore::algorithms::crypto::hkdf(&password_bytes, &salt_bytes, iterations);
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: variable does not need to be mutable
--> src/common/src/lib.rs:291:9
|
291 | let mut output = keystore::algorithms::crypto::hkdf64(&password_bytes, &salt_bytes, iterations);
| ----^^^^^^
| |
| help: remove this `mut`
warning: `common_rust_c` (lib) generated 6 warnings (run `cargo fix --lib -p common_rust_c` to apply 5 suggestions)
warning: unused import: `alloc::string::String`
--> src/wallet/src/btc_only_wallet/src/lib.rs:5:5
|
5 | use alloc::string::String;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `app_wallets::DEVICE_TYPE`
--> src/wallet/src/btc_only_wallet/src/lib.rs:10:5
|
10 | use app_wallets::DEVICE_TYPE;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `app_wallets::DEVICE_VERSION`
--> src/wallet/src/btc_only_wallet/src/lib.rs:11:5
|
11 | use app_wallets::DEVICE_VERSION;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `PtrString`
--> src/wallet/src/multi_coins_wallet/src/backpack.rs:5:43
|
5 | use common_rust_c::types::{Ptr, PtrBytes, PtrString};
| ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `recover_c_char`
--> src/wallet/src/multi_coins_wallet/src/backpack.rs:7:45
|
7 | use common_rust_c::utils::{recover_c_array, recover_c_char};
| ^^^^^^^^^^^^^^
warning: unused imports: `extend::crypto_multi_accounts::CryptoMultiAccounts`, `traits::RegistryItem`
--> src/wallet/src/multi_coins_wallet/src/keystone.rs:9:21
|
9 | error::URError, extend::crypto_multi_accounts::CryptoMultiAccounts, traits::RegistryItem,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
warning: unused import: `third_party::bitcoin::hex::DisplayHex`
--> src/wallet/src/multi_coins_wallet/src/lib.rs:33:5
|
33 | use third_party::bitcoin::hex::DisplayHex;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `third_party::core2::io::Read`
--> src/wallet/src/multi_coins_wallet/src/lib.rs:34:5
|
34 | use third_party::core2::io::Read;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unnecessary parentheses around `if` condition
--> src/wallet/src/multi_coins_wallet/src/lib.rs:311:31
|
311 | } else if (v.len() == 32) {
| ^ ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
311 - } else if (v.len() == 32) {
311 + } else if v.len() == 32 {
|
warning: crate-level attribute should be in the root module
--> src/wallet/src/multi_coins_wallet/src/thor_wallet.rs:1:1
|
1 | #![no_std]
| ^^^^^^^^^^
|
= note: `#[warn(unused_attributes)]` on by default
warning: use of deprecated method `third_party::ur_registry::traits::To::to_bytes`: please use `try_into` instead
--> src/wallet/src/multi_coins_wallet/src/arconnect.rs:47:29
|
47 | arweave_account.to_bytes().unwrap(),
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated method `third_party::ur_registry::traits::To::to_bytes`: please use `try_into` instead
--> src/wallet/src/multi_coins_wallet/src/arconnect.rs:73:29
|
73 | arweave_account.to_bytes().unwrap(),
| ^^^^^^^^
warning: unused variable: `k1`
--> src/wallet/src/multi_coins_wallet/src/thor_wallet.rs:47:29
|
47 | return if let (Some(k1), Some(k2), Some(k3), Some(k4), Some(k5)) =
| ^^ help: if this is intentional, prefix it with an underscore: `_k1`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `k2`
--> src/wallet/src/multi_coins_wallet/src/thor_wallet.rs:47:39
|
47 | return if let (Some(k1), Some(k2), Some(k3), Some(k4), Some(k5)) =
| ^^ help: if this is intentional, prefix it with an underscore: `_k2`
warning: unused variable: `k3`
--> src/wallet/src/multi_coins_wallet/src/thor_wallet.rs:47:49
|
47 | return if let (Some(k1), Some(k2), Some(k3), Some(k4), Some(k5)) =
| ^^ help: if this is intentional, prefix it with an underscore: `_k3`
warning: unused variable: `k4`
--> src/wallet/src/multi_coins_wallet/src/thor_wallet.rs:47:59
|
47 | return if let (Some(k1), Some(k2), Some(k3), Some(k4), Some(k5)) =
| ^^ help: if this is intentional, prefix it with an underscore: `_k4`
warning: unused variable: `k5`
--> src/wallet/src/multi_coins_wallet/src/thor_wallet.rs:47:69
|
47 | return if let (Some(k1), Some(k2), Some(k3), Some(k4), Some(k5)) =
| ^^ help: if this is intentional, prefix it with an underscore: `_k5`
warning: unnecessary `unsafe` block
--> src/wallet/src/multi_coins_wallet/src/arconnect.rs:33:5
|
33 | unsafe {
| ^^^^^^ unnecessary `unsafe` block
|
= note: `#[warn(unused_unsafe)]` on by default
warning: unnecessary `unsafe` block
--> src/wallet/src/multi_coins_wallet/src/arconnect.rs:61:5
|
61 | unsafe {
| ^^^^^^ unnecessary `unsafe` block
warning: unnecessary `unsafe` block
--> src/wallet/src/multi_coins_wallet/src/imtoken.rs:34:5
|
34 | unsafe {
| ^^^^^^ unnecessary `unsafe` block
warning: unnecessary `unsafe` block
--> src/xrp/src/structs.rs:89:9
|
89 | unsafe {
| ^^^^^^ unnecessary `unsafe` block
|
= note: `#[warn(unused_unsafe)]` on by default
warning: unused import: `third_party::ur_registry::cardano::cardano_delegation::CardanoDelegation`
--> src/cardano/src/lib.rs:22:5
|
22 | use third_party::ur_registry::cardano::cardano_delegation::CardanoDelegation;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `String`
--> src/cardano/src/structs.rs:2:21
|
2 | use alloc::string::{String, ToString};
| ^^^^^^
warning: unused import: `alloc::fmt::format`
--> src/arweave/src/lib.rs:7:5
|
7 | use alloc::fmt::format;
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `format`
--> src/arweave/src/lib.rs:10:13
|
10 | use alloc::{format, slice};
| ^^^^^^
warning: unused import: `ErrorCodes`
--> src/arweave/src/lib.rs:16:29
|
16 | use common_rust_c::errors::{ErrorCodes, RustCError};
| ^^^^^^^^^^
warning: unused import: `json`
--> src/arweave/src/lib.rs:27:31
|
27 | use third_party::serde_json::{json, Value};
| ^^^^
warning: unused import: `To`
--> src/arweave/src/lib.rs:32:54
|
32 | use third_party::ur_registry::traits::{RegistryItem, To};
| ^^
warning: unused import: `alloc::format`
--> src/arweave/src/data_item.rs:1:5
|
1 | use alloc::format;
| ^^^^^^^^^^^^^
warning: unused variable: `e`
--> src/arweave/src/data_item.rs:22:13
|
22 | Err(e) => false,
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
= note: `#[warn(unused_variables)]` on by default
warning: unreachable pattern
--> src/arweave/src/lib.rs:174:9
|
174 | _ => ArweaveRequestType::ArweaveRequestTypeUnknown,
| ^
|
= note: `#[warn(unreachable_patterns)]` on by default
warning: unused import: `core::str::FromStr`
--> src/ethereum/src/lib.rs:7:5
|
7 | use core::str::FromStr;
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `To`
--> src/ethereum/src/lib.rs:26:54
|
26 | use third_party::ur_registry::traits::{RegistryItem, To};
| ^^
warning: unused import: `third_party::core2::io::Read`
--> src/ethereum/src/lib.rs:17:5
|
17 | use third_party::core2::io::Read;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: variable does not need to be mutable
--> src/ethereum/src/structs.rs:33:29
|
33 | pub fn set_from_address(mut self, from_address: String) -> DisplayETH {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: unused variable: `e`
--> src/ethereum/src/lib.rs:185:31
|
185 | .map_err(|e| RustCError::UnexpectedError(format!("unable to derive pubkey")))
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused import: `errors::TonError`
--> src/ton/src/lib.rs:12:5
|
12 | errors::TonError, mnemonic::ton_mnemonic_validate, ton_compare_address_and_public_key,
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: `btc_only_wallet_rust_c` (lib) generated 3 warnings (run `cargo fix --lib -p btc_only_wallet_rust_c` to apply 3 suggestions)
warning: `multi_coins_wallet_rust_c` (lib) generated 17 warnings (run `cargo fix --lib -p multi_coins_wallet_rust_c` to apply 11 suggestions)
warning: `xrp_rust_c` (lib) generated 1 warning
warning: `cardano_rust_c` (lib) generated 2 warnings (run `cargo fix --lib -p cardano_rust_c` to apply 2 suggestions)
warning: `arweave_rust_c` (lib) generated 8 warnings (run `cargo fix --lib -p arweave_rust_c` to apply 7 suggestions)
warning: `ethereum_rust_c` (lib) generated 5 warnings (run `cargo fix --lib -p ethereum_rust_c` to apply 4 suggestions)
warning: `ton_rust_c` (lib) generated 1 warning (run `cargo fix --lib -p ton_rust_c` to apply 1 suggestion)
warning: unused import: `address::utxo_get_address`
--> src/bitcoin/src/msg.rs:3:13
|
3 | use crate::{address::utxo_get_address, structs::DisplayBtcMsg};
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `Response`
--> src/bitcoin/src/msg.rs:14:34
|
14 | structs::{ExtendedPublicKey, Response, TransactionCheckResult, TransactionParseResult},
| ^^^^^^^^
warning: unused import: `hex`
--> src/bitcoin/src/msg.rs:23:5
|
23 | hex,
| ^^^
warning: unused import: `alloc::vec`
--> src/bitcoin/src/multi_sig/structs.rs:4:5
|
4 | use alloc::vec;
| ^^^^^^^^^^
warning: unused import: `CSliceFFI`
--> src/bitcoin/src/multi_sig/structs.rs:8:26
|
8 | use common_rust_c::ffi::{CSliceFFI, VecFFI};
| ^^^^^^^^^
warning: unused import: `alloc::boxed::Box`
--> src/bitcoin/src/multi_sig/mod.rs:3:5
|
3 | use alloc::boxed::Box;
| ^^^^^^^^^^^^^^^^^
warning: unused import: `app_bitcoin::errors::BitcoinError`
--> src/bitcoin/src/multi_sig/mod.rs:7:5
|
7 | use app_bitcoin::errors::BitcoinError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `MultiSigWalletConfig`, `generate_config_data`, `parse_bsms_wallet_config`, `self`
--> src/bitcoin/src/multi_sig/mod.rs:10:5
|
10 | self, export_wallet_by_ur, generate_config_data, parse_bsms_wallet_config, parse_wallet_config,
| ^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
11 | strict_verify_wallet_config, MultiSigWalletConfig,
| ^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `MultiSigXPubInfo`, `Network`, `extract_xpub_info_from_bytes`, `extract_xpub_info_from_crypto_account`, `extract_xpub_info_from_ur_bytes`
--> src/bitcoin/src/multi_sig/mod.rs:14:36
|
14 | export_xpub_by_crypto_account, extract_xpub_info_from_bytes,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 | extract_xpub_info_from_crypto_account, extract_xpub_info_from_ur_bytes, MultiSigXPubInfo,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
16 | Network,
| ^^^^^^^
warning: unused import: `third_party::bitcoin::psbt`
--> src/bitcoin/src/multi_sig/mod.rs:20:5
|
20 | use third_party::bitcoin::psbt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `third_party::serde_json::Value::String`
--> src/bitcoin/src/multi_sig/mod.rs:23:5
|
23 | use third_party::serde_json::Value::String;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `self`
--> src/bitcoin/src/multi_sig/mod.rs:24:39
|
24 | use third_party::ur_registry::bytes::{self, Bytes};
| ^^^^
warning: unused import: `VecFFI`
--> src/bitcoin/src/multi_sig/mod.rs:27:37
|
27 | use common_rust_c::ffi::{CSliceFFI, VecFFI};
| ^^^^^^
warning: unused import: `common_rust_c::free::Free`
--> src/bitcoin/src/multi_sig/mod.rs:28:5
|
28 | use common_rust_c::free::Free;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `ViewType`
--> src/bitcoin/src/multi_sig/mod.rs:31:41
|
31 | use common_rust_c::ur::{UREncodeResult, ViewType, FRAGMENT_MAX_LENGTH_DEFAULT};
| ^^^^^^^^
warning: unused imports: `MultiSigFormatType`, `MultiSigXPubInfoItem`
--> src/bitcoin/src/multi_sig/mod.rs:35:5
|
35 | MultiSigFormatType, MultiSigWallet, MultiSigXPubInfoItem, NetworkType,
| ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
warning: unused import: `app_bitcoin::multi_sig::MultiSigFormat`
--> src/bitcoin/src/multi_sig/mod.rs:37:5
|
37 | use app_bitcoin::multi_sig::MultiSigFormat;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `VecFFI`
--> src/bitcoin/src/psbt.rs:14:37
|
14 | use common_rust_c::ffi::{CSliceFFI, VecFFI};
| ^^^^^^
warning: unused import: `Response`
--> src/bitcoin/src/psbt.rs:16:24
|
16 | ExtendedPublicKey, Response, TransactionCheckResult, TransactionParseResult,
| ^^^^^^^^
warning: unused import: `Ptr`
--> src/bitcoin/src/psbt.rs:18:28
|
18 | use common_rust_c::types::{Ptr, PtrBytes, PtrString, PtrT, PtrUR};
| ^^^
warning: unused import: `PsbtSignResult`
--> src/bitcoin/src/psbt.rs:27:33
|
27 | use crate::structs::{DisplayTx, PsbtSignResult};
| ^^^^^^^^^^^^^^
warning: unused import: `String`
--> src/stellar/src/lib.rs:6:21
|
6 | use alloc::string::{String, ToString};
| ^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `format`
--> src/stellar/src/lib.rs:7:13
|
7 | use alloc::{format, slice};
| ^^^^^^
warning: unused import: `ErrorCodes`
--> src/stellar/src/lib.rs:13:29
|
13 | use common_rust_c::errors::{ErrorCodes, RustCError};
| ^^^^^^^^^^
warning: unused import: `alloc::boxed::Box`
--> src/stellar/src/structs.rs:1:5
|
1 | use alloc::boxed::Box;
| ^^^^^^^^^^^^^^^^^
warning: unused import: `alloc::string::ToString`
--> src/stellar/src/structs.rs:2:5
|
2 | use alloc::string::ToString;
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `alloc::vec::Vec`
--> src/stellar/src/structs.rs:3:5
|
3 | use alloc::vec::Vec;
| ^^^^^^^^^^^^^^^
warning: unused import: `common_rust_c::ffi::VecFFI`
--> src/stellar/src/structs.rs:4:5
|
4 | use common_rust_c::ffi::VecFFI;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `common_rust_c::utils::convert_c_char`
--> src/stellar/src/structs.rs:8:5
|
8 | use common_rust_c::utils::convert_c_char;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `impl_c_ptrs`
--> src/stellar/src/structs.rs:9:67
|
9 | use common_rust_c::{check_and_free_ptr, free_str_ptr, impl_c_ptr, impl_c_ptrs, make_free_method};
| ^^^^^^^^^^^
warning: unused import: `core::ptr::null_mut`
--> src/stellar/src/structs.rs:10:5
|
10 | use core::ptr::null_mut;
| ^^^^^^^^^^^^^^^^^^^
warning: unused import: `third_party::itertools::Itertools`
--> src/stellar/src/structs.rs:11:5
|
11 | use third_party::itertools::Itertools;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated method `third_party::ur_registry::traits::To::to_bytes`: please use `try_into` instead
--> src/stellar/src/lib.rs:87:10
|
87 | .to_bytes()
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: variable does not need to be mutable
--> src/solana/src/structs.rs:386:25
|
386 | let mut squads_proposal = VecFFI::from(
| ----^^^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: `bitcoin_rust_c` (lib) generated 21 warnings (run `cargo fix --lib -p bitcoin_rust_c` to apply 21 suggestions)
warning: `stellar_rust_c` (lib) generated 12 warnings (run `cargo fix --lib -p stellar_rust_c` to apply 11 suggestions)
warning: `solana_rust_c` (lib) generated 1 warning (run `cargo fix --lib -p solana_rust_c` to apply 1 suggestion)
warning: unused import: `alloc::vec`
--> src/test_cmd/src/btc_test_cmd/src/lib.rs:6:5
|
6 | use alloc::vec;
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `cty::c_char`
--> src/test_cmd/src/btc_test_cmd/src/lib.rs:9:5
|
9 | use cty::c_char;
| ^^^^^^^^^^^
warning: unused imports: `CryptoKeyPath`, `PathComponent`
--> src/test_cmd/src/btc_test_cmd/src/lib.rs:13:49
|
13 | use third_party::ur_registry::crypto_key_path::{CryptoKeyPath, PathComponent};
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^^
warning: unused import: `recover_c_char`
--> src/test_cmd/src/btc_test_cmd/src/lib.rs:25:44
|
25 | use common_rust_c::utils::{convert_c_char, recover_c_char};
| ^^^^^^^^^^^^^^
warning: unused import: `alloc::boxed::Box`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:4:5
|
4 | use alloc::boxed::Box;
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `String`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:5:21
|
5 | use alloc::string::{String, ToString};
| ^^^^^^
warning: unused import: `alloc::vec::Vec`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:7:5
|
7 | use alloc::vec::Vec;
| ^^^^^^^^^^^^^^^
warning: unused import: `third_party::ur_registry::crypto_psbt::CryptoPSBT`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:18:5
|
18 | use third_party::ur_registry::crypto_psbt::CryptoPSBT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `third_party::ur_registry::traits::RegistryItem`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:23:5
|
23 | use third_party::ur_registry::traits::RegistryItem;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `common_rust_c::errors::ErrorCodes`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:25:5
|
25 | use common_rust_c::errors::ErrorCodes;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `common_rust_c::ffi::CSliceFFI`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:26:5
|
26 | use common_rust_c::ffi::CSliceFFI;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `common_rust_c::structs::ExtendedPublicKey`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:27:5
|
27 | use common_rust_c::structs::ExtendedPublicKey;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `common_rust_c::types::PtrDecoder`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:28:5
|
28 | use common_rust_c::types::PtrDecoder;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `FRAGMENT_MAX_LENGTH_DEFAULT`, `UREncodeResult`, `URParseMultiResult`, `decode_ur`, `receive`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:30:5
|
30 | decode_ur, receive, QRCodeType, UREncodeResult, URParseMultiResult, URParseResult, ViewType,
| ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^
31 | FRAGMENT_MAX_LENGTH_DEFAULT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `convert_c_char`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:33:28
|
33 | use common_rust_c::utils::{convert_c_char, recover_c_char};
| ^^^^^^^^^^^^^^
warning: `btc_test_cmd` (lib) generated 4 warnings (run `cargo fix --lib -p btc_test_cmd` to apply 4 suggestions)
warning: `general_test_cmd` (lib) generated 11 warnings (run `cargo fix --lib -p general_test_cmd` to apply 11 suggestions)
warning: unused import: `btc_test_cmd`
--> src/test_cmd/src/lib.rs:7:5
|
7 | use btc_test_cmd;
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `general_test_cmd`
--> src/test_cmd/src/lib.rs:10:5
|
10 | use general_test_cmd;
| ^^^^^^^^^^^^^^^^
warning: `test_cmd` (lib) generated 2 warnings (run `cargo fix --lib -p test_cmd` to apply 2 suggestions)
warning: unused import: `bitcoin_rust_c`
--> src/lib.rs:11:5
|
11 | use bitcoin_rust_c;
| ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `common_rust_c`
--> src/lib.rs:12:5
|
12 | use common_rust_c;
| ^^^^^^^^^^^^^
warning: unused import: `test_cmd`
--> src/lib.rs:13:5
|
13 | use test_cmd;
| ^^^^^^^^
warning: unused import: `wallet_rust_c`
--> src/lib.rs:14:5
|
14 | use wallet_rust_c;
| ^^^^^^^^^^^^^
warning: unused import: `aptos_rust_c`
--> src/lib.rs:17:5
|
17 | use aptos_rust_c;
| ^^^^^^^^^^^^
warning: unused import: `arweave_rust_c`
--> src/lib.rs:19:5
|
19 | use arweave_rust_c;
| ^^^^^^^^^^^^^^
warning: unused import: `cardano_rust_c`
--> src/lib.rs:21:5
|
21 | use cardano_rust_c;
| ^^^^^^^^^^^^^^
warning: unused import: `cosmos_rust_c`
--> src/lib.rs:23:5
|
23 | use cosmos_rust_c;
| ^^^^^^^^^^^^^
warning: unused import: `ethereum_rust_c`
--> src/lib.rs:25:5
|
25 | use ethereum_rust_c;
| ^^^^^^^^^^^^^^^
warning: unused import: `near_rust_c`
--> src/lib.rs:27:5
|
27 | use near_rust_c;
| ^^^^^^^^^^^
warning: unused import: `solana_rust_c`
--> src/lib.rs:29:5
|
29 | use solana_rust_c;
| ^^^^^^^^^^^^^
warning: unused import: `stellar_rust_c`
--> src/lib.rs:31:5
|
31 | use stellar_rust_c;
| ^^^^^^^^^^^^^^
warning: unused import: `sui_rust_c`
--> src/lib.rs:33:5
|
33 | use sui_rust_c;
| ^^^^^^^^^^
warning: unused import: `ton_rust_c`
--> src/lib.rs:35:5
|
35 | use ton_rust_c;
| ^^^^^^^^^^
warning: unused import: `tron_rust_c`
--> src/lib.rs:37:5
|
37 | use tron_rust_c;
| ^^^^^^^^^^^
warning: unused import: `xrp_rust_c`
--> src/lib.rs:39:5
|
39 | use xrp_rust_c;
| ^^^^^^^^^^
warning: `rust_c` (lib) generated 16 warnings (run `cargo fix --lib -p rust_c` to apply 16 suggestions)
Finished release [optimized] target(s) in 0.96s
WARN: Skip rust_c::KT_ALLOCATOR - (not `no_mangle`).
WARN: Skip rust_c::_ - (not `pub`).
WARN: Skip common_rust_c::KEYSTONE - (not `no_mangle`).
WARN: Skip common_rust_c::FRAGMENT_UNLIMITED_LENGTH - (not `no_mangle`).
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_resolve_ur.c:1:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/ulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:104:50: warning: passing 'int32_t *' (aka 'int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = lv_fs_read(&fd, tmpBuff, JSON_MAX_LEN, &readBytes);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/external/lvgl/src/draw/../misc/lv_fs.h:174:84: note: passing argument to parameter 'br' here
lv_fs_res_t lv_fs_read(lv_fs_file_t * file_p, void * buf, uint32_t btr, uint32_t * br);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:138:41: warning: passing 'int32_t *' (aka 'int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = lv_fs_read(&fd, buffer, size, &readBytes);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/external/lvgl/src/draw/../misc/lv_fs.h:174:84: note: passing argument to parameter 'br' here
lv_fs_res_t lv_fs_read(lv_fs_file_t * file_p, void * buf, uint32_t btr, uint32_t * br);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:49:13: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
sprintf(pubKey, "%02x", 0x4);
^~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:52:17: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
sprintf(&pubKey[i], "%02x", i);
^~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:54:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:165:42: warning: passing 'int32_t *' (aka 'int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
r/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:171:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
et = lv_fs_write(&fd, buffer, size, &readBytes);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/external/lvgl/src/draw/../misc/lv_fs.h:184:91: note: passing argument to parameter 'bw' here
lv_fs_res_t lv_fs_write(lv_fs_file_t * file_p, const void * buf, uint32_t btw, uint32_t * bw);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:175:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:190:30: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return func ? func(addr, buffer, size) : -1;
^~~~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:196:1: warning: non-void function does not return a value [-Wreturn-type]
}
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:217:12: warning: returning 'char *' from a function with result type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:201 return version;:
1: ^~~~~~~
warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:237:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:244:39: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
cJSON *rootJson = cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: /Users/parichay/minpassing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
swap/keystone3-firmware/ui_simulator/simulator_model.c:321:39: warning: passing 'int32_t *' (aka 'int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = lv_fs_write(&fd, data, len, &readBytes);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/external/lvgl/src/draw/../misc/lv_fs.h:184:91: note: passing argument to parameter 'bw' here
lv_fs_res_t lv_fs_write(lv_fs_file_t * file_p, const void * buf, uint32_t btw, uint32_t * bw);
^
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:273:13: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
strncpy(buffer, jsonBuf, JSON_MAX_LEN);
^~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:290:35: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
cJSON *rootJson = cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:426:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:430:1: warning: non-vo/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:322:39: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
cJSON *rootJson = cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:343:35: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the otheid function does not return a value [-Wreturn-type]r is not [-Wpointer-sign]
cJSON *rootJson = cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:385:35: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
cJSON *rootJson = cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:441:35: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
cJSON *rootJson = cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:462:39: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ModifyJsonArrayData(rootJson, data, sizeof(AccountInfo_t), "param");
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:224:48: note: passing argument to parameter 'data' here
void ModifyJsonArrayData(cJSON *root, uint8_t *data, uint8_t len, char *key)
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:454:47: warning: passing 'int32_t *' (aka 'int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = lv_fs_read(&fd, buffer, 1024 * 100, &readBytes);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/external/lvgl/src/draw/../misc/lv_fs.h:174:84: note: passing argument to parameter 'br' here
lv_fs_res_t lv_fs_read(lv_fs_file_t * file_p, void * buf, uint32_t btr, uint32_t * br);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:511:47: warning: passing 'int32_t *' (aka 'int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types w/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:484:62: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
func(SIMULATOR_USER1_SECRET_ADDR + account * 0x1000, buff, strlen(buff));
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:495:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:500:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:505:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:510:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:515:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:525:24: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pith different sign [-Wpointer-sign]
ret = lv_fs_read(&fd, buffer, 100 * 1024, &readBytes);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/external/lvgl/src/draw/../misc/lv_fs.h:174:84: note: passing argument to parameter 'br' here
lv_fs_res_t lv_fs_read(lv_fs_file_t * file_p, void * buf, uint32_t btr, uint32_t * br);
^
ointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
return cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:642:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
14 warnings generated.
21 warnings generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_xrp.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.c:65:76: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GuiAnimatingQRCodeInitWithLoadingParams(parent, dataFunc, showPending, _("Pending"), _("generating_qr_codes"));
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.c:40:109: note: passing argument to parameter 'title' here
void GuiAnimatingQRCodeInitWithLoadingParams(lv_obj_t* parent, GenerateUR dataFunc, bool showPending, char *title, char *subtitle)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.c:65:90: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GuiAnimatingQRCodeInitWithLoadingParams(parent, dataFunc, showPending, _("Pending"), _("generating_qr_codes"));
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.c:40:122: note: passing argument to parameter 'subtitle' here
void GuiAnimatingQRCodeInitWithLoadingParams(lv_obj_t* parent, GenerateUR dataFunc, bool showPending, char *title, char *subtitle)
^
3 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/btc/gui_btc.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_lock_view.c:10:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: In file included from note: previous definition is here
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ada.c:4:
In file included from #define LOW_BATTERY_LIMIT 0/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h
:9 ^:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/btc/gui_btc.c:73:17: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
g_psbtBytes = psbtBytes;
^ ~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/btc/gui_btc.c:1298:62: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemViewWithHint(parent, _("Address"), msgData->address, lastView, _("sign_message_check_address"));
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:8:69: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemViewWithHint(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView, char* hint);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/btc/gui_btc.c:1298:104: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemViewWithHint(parent, _("Address"), msgData->address, lastView, _("sign_message_check_address"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:8:115: note: passing argument to parameter 'hint' here
lv_obj_t *CreateTransactionItemViewWithHint(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView, char* hint);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/btc/gui_btc.c:1300:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Message"), msgData->detail, lastView);
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ada.c:335:59: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
snprintf_s((char *)indata, maxLen, "%d Withdraw(s)", tx->withdrawals->size);
~~ ^~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:28:45: note: expanded from macro 'snprintf_s'
#define snprintf_s snprintf
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ada.c:341:62: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
snprintf_s((char *)indata, maxLen, "%d Certificate(s)", tx->certificates->size);
~~ ^~~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:28:45: note: expanded from macro 'snprintf_s'
#define snprintf_s snprintf
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ada.c:437:67: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
snprintf_s((char *)indata, maxLen, "%d Voting Procedure(s)", tx->voting_procedures->size);
~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:28:45: note: expanded from macro 'snprintf_s'
#define snprintf_s snprintf
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
5 warnings generated.
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ada.c:455:41: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s((char *)indata, maxLen, _("ada_proposals_tx_notice"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ada.c:455:41: note: treat the string as an argument to avoid this
snprintf_s((char *)indata, maxLen, _("ada_proposals_tx_notice"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:1:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:92:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_TGD, "", &coinTgd}, {HOME_WALLET_CARD_DOT, "", &coinDot},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:92:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_TGD, "", &coinTgd}, {HOME_WALLET_CARD_DOT, "", &coinDot},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:91:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_UMEE, "", &coinUmee}, {HOME_WALLET_CARD_QCK, "", &coinQck},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:91:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_UMEE, "", &coinUmee}, {HOME_WALLET_CARD_QCK, "", &coinQck},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:90:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_NGM, "", &coinNgm}, {HOME_WALLET_CARD_IOV, "", &coinIov},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:90:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_NGM, "", &coinNgm}, {HOME_WALLET_CARD_IOV, "", &coinIov},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:89:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_GRAV, "", &coinGrav}, {HOME_WALLET_CARD_IXO, "", &coinIxo},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:89:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_GRAV, "", &coinGrav}, {HOME_WALLET_CARD_IXO, "", &coinIxo},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:88:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_REGEN, "", &coinRegen}, {HOME_WALLET_CARD_BOOT, "", &coinBoot},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:88:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_REGEN, "", &coinRegen}, {HOME_WALLET_CARD_BOOT, "", &coinBoot},
~^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:87:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_DVPN, "", &coinDvpn}, {HOME_WALLET_CARD_ROWAN, "", &coinRowan},
~^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:87:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_DVPN, "", &coinDvpn}, {HOME_WALLET_CARD_ROWAN, "", &coinRowan},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:86:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_JUNO, "", &coinJuno}, {HOME_WALLET_CARD_IRIS, "", &coinIris},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:86:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_JUNO, "", &coinJuno}, {HOME_WALLET_CARD_IRIS, "", &coinIris},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:85:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_XPRT, "", &coinXprt}, {HOME_WALLET_CARD_SOMM, "", &coinSomm},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:85:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_XPRT, "", &coinXprt}, {HOME_WALLET_CARD_SOMM, "", &coinSomm},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:84:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_EVMOS, "", &coinEvmos}, {HOME_WALLET_CARD_STARS, "", &coinStars},
~^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:84:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_EVMOS, "", &coinEvmos}, {HOME_WALLET_CARD_STARS, "", &coinStars},
~^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:83:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BLD, "", &coinBld}, {HOME_WALLET_CARD_CTK, "", &coinCtk},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:83:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BLD, "", &coinBld}, {HOME_WALLET_CARD_CTK, "", &coinCtk},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:82:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_STRD, "", &coinStrd}, {HOME_WALLET_CARD_SCRT, "", &coinScrt},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:82:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_STRD, "", &coinStrd}, {HOME_WALLET_CARD_SCRT, "", &coinScrt},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:81:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_LUNA, "", &coinLuna}, {HOME_WALLET_CARD_AKT, "", &coinAkt},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:81:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_LUNA, "", &coinLuna}, {HOME_WALLET_CARD_AKT, "", &coinAkt},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:80:94: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_KAVA, "", &coinKava}, {HOME_WALLET_CARD_LUNC, "", &coinLunc}, {HOME_WALLET_CARD_AXL, "", &coinAxl},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:80:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_KAVA, "", &coinKava}, {HOME_WALLET_CARD_LUNC, "", &coinLunc}, {HOME_WALLET_CARD_AXL, "", &coinAxl},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:80:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_KAVA, "", &coinKava}, {HOME_WALLET_CARD_LUNC, "", &coinLunc}, {HOME_WALLET_CARD_AXL, "", &coinAxl},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:79:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_CRO, "", &coinCro}, {HOME_WALLET_CARD_RUNE, "", &coinRune},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:79:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_CRO, "", &coinCro}, {HOME_WALLET_CARD_RUNE, "", &coinRune},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:78:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_INJ, "", &coinInj}, {HOME_WALLET_CARD_ATOM, "", &coinAtom},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:78:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_INJ, "", &coinInj}, {HOME_WALLET_CARD_ATOM, "", &coinAtom},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:77:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_DYM, "", &coinDym}, {HOME_WALLET_CARD_OSMO, "", &coinOsmo},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:77:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_DYM, "", &coinDym}, {HOME_WALLET_CARD_OSMO, "", &coinOsmo},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:76:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_COSMOS, "", &coinCosmos}, {HOME_WALLET_CARD_TIA, "", &coinTia},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:76:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_COSMOS, "", &coinCosmos}, {HOME_WALLET_CARD_TIA, "", &coinTia},
~^~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:75:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_ARWEAVE, "", &coinAr}, {HOME_WALLET_CARD_XLM, "", &coinXlm},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:75:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_ARWEAVE, "", &coinAr}, {HOME_WALLET_CARD_XLM, "", &coinXlm},
~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:74:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_SUI, "", &coinSui}, {HOME_WALLET_CARD_DASH, "", &coinDash},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:74:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_SUI, "", &coinSui}, {HOME_WALLET_CARD_DASH, "", &coinDash},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:73:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BCH, "", &coinBch}, {HOME_WALLET_CARD_APT, "", &coinApt},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:73:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BCH, "", &coinBch}, {HOME_WALLET_CARD_APT, "", &coinApt},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:72:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_TRX, "", &coinTrx}, {HOME_WALLET_CARD_LTC, "", &coinLtc},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:72:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_TRX, "", &coinTrx}, {HOME_WALLET_CARD_LTC, "", &coinLtc},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:71:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_ADA, "", &coinAda}, {HOME_WALLET_CARD_TON, "", &coinTon},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:71:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_ADA, "", &coinAda}, {HOME_WALLET_CARD_TON, "", &coinTon},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:70:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_XRP, "", &coinXrp},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:69:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BNB, "", &coinBnb}, {HOME_WALLET_CARD_HNT, "", &coinHelium},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:69:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BNB, "", &coinBnb}, {HOME_WALLET_CARD_HNT, "", &coinHelium},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:68:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_ETH, "", &coinEth}, {HOME_WALLET_CARD_SOL, "", &coinSol},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:68:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_ETH, "", &coinEth}, {HOME_WALLET_CARD_SOL, "", &coinSol},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:66:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BTC, "", &coinBtc},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:133:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_LEAP, "Leap", &walletLeap},
~^~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:132:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_NIGHTLY, "Nightly", &walletNightly},
~^~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:131:In file included from 6/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard_hintbox.c:: 10:
In file included from warning: /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard_hintbox.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_LEAP, "Leap", &walletLeap},
~^~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:130:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_BEGIN, "Begin", &walletBegin},
~^~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:129:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_TONKEEPER, "Tonkeeper", &walletTonkeeper},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:128:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_THORWALLET, "THORWallet", &walletThorWallet},
~^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:127:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_XRP_TOOLKIT, "XRP Toolkit", &walletXRPToolkit},
~^~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:126:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_PETRA, "Petra", &walletPetra},
19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minsw ~^~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:125:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_FEWCHA, "Fewcha", &walletFewcha},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:124:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_XBULL, "xBull", &walletXBull},
~^~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:123:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_VESPR, "Vespr", &walletVespr},
~^~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:122:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_ARCONNECT, "ArConnect", &walletArConnect},
~^~~~~~~~~~~~~~~~~~~~~
ap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:121:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_MINT_SCAN, "Mintscan", &walletMintScan},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:120:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_KEPLR, "Keplr", &walletKeplr},
~^~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:119:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_SUSHISWAP, "SushiSwap", &walletSushi},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:118:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_YEARN_FINANCE, "Yearn Finance", &walletYearn},
~^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:117:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_HELIUM, "Helium Wallet", &walletHelium},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:116:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_ZAPPER, "Zapper", &walletZapper},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:115:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_BLOCK_WALLET, "Block Wallet", &walletBlockWallet},
~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:114:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_IMTOKEN, "imToken", &walletImToken},
~^~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:113:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_UNISAT, "UniSat", &walletUniSat},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:112:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_SPARROW, "Sparrow", &walletSparrow},
~^~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:111:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_SAFE, "Safe", &walletSafe},
~^~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:110:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_BITGET, "Bitget Wallet", &walletBitget},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:109:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_RABBY, "Rabby", &walletRabby},
~^~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:108:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_BACKPACK, "Backpack", &walletBackpack},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:107:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_SOLFARE, "Solflare", &walletSolflare},
~^~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:106:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_SUB, "SubWallet", &walletSubwallet},
~^~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:105:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_BLUE, "BlueWallet", &walletBluewallet},
~^~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:104:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_TYPHON, "Typhon Wallet", &walletTyphon},
~^~~~~~~~~~~~~~~~~~
note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:102:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_ETERNL, "Eternl Wallet", &walletEternl},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:101:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_OKX, "OKX Wallet", &walletOkx},
~^~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:100:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_METAMASK, "MetaMask", &walletMetamask},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:99:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_KEYSTONE, "Keystone", &walletKeystone},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:348:12: warning: returning 'const char *const' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return g_walletBtn[index].name;
^~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:703:23: warning: initializing 'CoinWalletInfo_t *' with an expression of type 'const CoinWalletInfo_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
CoinWalletInfo_t *coin = &g_coinWalletBtn[0];
^ ~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:706:18: warning: assigning to 'CoinWalletInfo_t *' from 'const CoinWalletInfo_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
coin = &g_coinWalletBtn[i];
^ ~~~~~~~~~~~~~~~~~~~
89 warnings generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_inactive_widgets.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
5 warnings generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_import_phrase_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/general/gui_standard_receive_view.c:7:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_setting_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:330:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Action"), _("AO Transfer"), lastView);
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:330:63: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Action"), _("AO Transfer"), lastView);
^~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:74: note: passing argument to parameter 'value' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:331:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("From"), txData->from, lastView);
^~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:332:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Desination"), txData->to, lastView);
^~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:333:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Quantity"), txData->quantity, lastView);
^~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:334:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Token ID"), txData->token_id, lastView);
^~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:348:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Action"), _("Sign DataItem"), lastView);
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:348:63: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Action"), _("Sign DataItem"), lastView);
^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:74: note: passing argument to parameter 'value' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:349:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Owner"), txData->owner, lastView);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:351:54: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Target"), txData->target, lastView);
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:354:54: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Anchor"), txData->anchor, lastView);
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:356:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Data"), txData->data, lastView);
^~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
13 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_accounts_receive_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_accounts_receive_widgets.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.h:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_wipe_device_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmwarIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_firmware_update_widgets.c:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
e/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_connection_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_firmware_update_widgets.c:122:51: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
lv_label_set_text_fmt(g_calCheckSumLabel, _("firmware_update_sd_checksum_desc"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_firmware_update_widgets.c:122:51: note: treat the string as an argument to avoid this
lv_label_set_text_fmt(g_calCheckSumLabel, _("firmware_update_sd_checksum_desc"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_accounts_receive_widgets.c:203:51: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
SetCoinWallet(g_pageWidget->navBarWidget, g_chainCard, title);
~~~~~~~~~~~~~ ^~~~~~~~~~~
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_transaction_signature_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.h:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/kIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_tutorial_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
eystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_transaction_signature_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_connect_wallet_widgets.c:1:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_connect_wallet_widgets.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:15:
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_connect_wallet_widgets.c:1350:97: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GuiAnimatingQRCodeInitWithLoadingParams(g_connectWalletTileView.qrCode, func, true, _("InitializingRsaTitle"), _("FindingRsaPrimes"));
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.h:18:109: note: passing argument to parameter 'title' here
void GuiAnimatingQRCodeInitWithLoadingParams(lv_obj_t* parent, GenerateUR dataFunc, bool showPending, char *title, char *subtitle);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_connect_wallet_widgets.c:1350:124: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GuiAnimatingQRCodeInitWithLoadingParams(g_connectWalletTileView.qrCode, func, true, _("InitializingRsaTitle"), _("FindingRsaPrimes"));
^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.h:18:122: note: passing argument to parameter 'subtitle' here
void GuiAnimatingQRCodeInitWithLoadingParams(lv_obj_t* parent, GenerateUR dataFunc, bool showPending, char *title, char *subtitle);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:476:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_eth"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:476:43: note: treat the string as an argument to avoid this
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_eth"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:480:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_sol"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:480:43: note: treat the string as an argument to avoid this
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_sol"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:483:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_ada"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:483:43: note: treat the string as an argument to avoid this
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_ada"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_web_auth_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
4 warnings generated.
2 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_wallet_tutorial_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: 1note: warning generated.
previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
2 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_about_terms_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_lock_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
3 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_setup_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_single_phrase_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_utxo_receive_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_utxo_receive_widgets.c:911:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, maxLen, _("derivation_path_select_btc"));
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_utxo_receive_widgets.c:911:34: note: treat the string as an argument to avoid this
snprintf_s(hint, maxLen, _("derivation_path_select_btc"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_create_wallet_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/general/gui_key_derivation_request_view.c:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard_hintbox.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_transaction_detail_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_create_wallet_widgets.c:116:50: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
snprintf_s(tempBuf, BUFFER_SIZE_16, "%d/16", strnlen_s(GuiNvsBarGetWalletName(), 16));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:43:45: note: expanded from macro 'strnlen_s'
#define strnlen_s(sstr, smax) strnlen(sstr, smax)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_create_wallet_widgets.c:345:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
SecretCacheSetWalletName(GetCurrentKbWalletName());
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/crypto/secret_cache.h:48:37: note: passing argument to parameter 'walletName' here
void SecretCacheSetWalletName(char* walletName);
^
2 warnings generated.
3 warnings generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_single_phrase_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.c:1:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_connect_ada_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_connect_wallet_widgets.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:15:
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 20
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_enter_passcode.c:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_about_keystone_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_enter_passcode.c:198:36: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
} else if ((item->mode == ENTER_PASSCODE_VERIFY_PASSWORD)) {
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_enter_passcode.c:198:36: note: remove extraneous parentheses around the comparison to silence this warning
} else if ((item->mode == ENTER_PASSCODE_VERIFY_PASSWORD)) {
~ ^ ~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_enter_passcode.c:198:36: note: use '=' to turn this equality comparison into an assignment
} else if ((item->mode == ENTER_PASSCODE_VERIFY_PASSWORD)) {
^~
=
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_standard_receive_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_views.c:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_standard_receive_widgets.c:440:51: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
SetCoinWallet(g_pageWidget->navBarWidget, g_chainCard, title);
~~~~~~~~~~~~~ ^~~~~~~~~~~
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_usb_transport_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_page.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_dice_rolls_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_page.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
1 warning generated.
2 warnings generated.
2 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_purpose_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/managers/account_manager.c:7:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_create_share_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_forget_pass_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_wipe_device_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_fingerprint_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_select_address_widgets.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_select_address_widgets.h:7:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/crypto/rsa.c:117:69: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'PtrBytes' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
SimpleResponse_u8 *cryptData = aes256_encrypt_primes(seed, len, data);
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/lib/rust-builds/librust_c.h:1554:92: note: passing argument to parameter 'data' here
struct SimpleResponse_u8 *aes256_encrypt_primes(PtrBytes seed, uint32_t seed_len, PtrBytes data);
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_namewallet_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_namewallet_widgets.c:113:5: warning: 'snprintf' will always overflow; destination buffer has size 16, but size argument is 32 [-Wbuiltin-memcpy-chk-size]
snprintf_s(tempBuf, BUFFER_SIZE_32, "%d/16", len);
^
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:28:45: note: expanded from macro 'snprintf_s'
#define snprintf_s snprintf
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
2 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_about_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_device_public_key_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_about_device_info_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/managers/keystore.c:13:10: fatal error: 'ctaes.h' file not found
#include "ctaes.h"
^~~~~~~~~
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_scan_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 error generated.
make[2]: *** [CMakeFiles/simulator.dir/src/managers/keystore.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_web_auth_result_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_about_terms_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.c:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/miIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_export_pubkey_widgets.c:1:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOWnswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_system_setting_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_seed_check_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_display_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from 1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_tutorial_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:892:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = en_singulars,
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:1747:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = de_singulars,
^~~~~~~~~~~~
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_lock_device_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minsw:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_passphrase_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:2593:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((n == 1)) return LV_I18N_PLURAL_TYPE_ONE;
~~^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:2593:12: note: remove extraneous parentheses around the comparison to silence this warning
if ((n == 1)) return LV_I18N_PLURAL_TYPE_ONE;
~ ^ ~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:2593:12: note: use '=' to turn this equality comparison into an assignment
if ((n == 1)) return LV_I18N_PLURAL_TYPE_ONE;
^~
=
ap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keys#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
tone3-firmware/src/ui/lv_i18n/lv_i18n.c:2599:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = es_singulars,
^~~~~~~~~~~~
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_about_info_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware1 warning generated.
/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:3449:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = ja_singulars,
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:4299:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = ko_singulars,
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:626:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_eth"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:626:43: note: treat the string as an argument to avoid this
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_eth"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:630:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_sol"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:630:43: note: treat the string as an argument to avoid this
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_sol"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:633:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_ada"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: /Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:5157:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = ru_singulars,
^~~~~~~~~~~~
expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:633:43: note: treat the string as an argument to avoid this
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_ada"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17:/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:6007:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = zh_cn_singulars,
^~~~~~~~~~~~~~~
note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
1 warning generated.
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_import_share_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ton.c:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/general/gui_multi_account_receive_view.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_accounts_receive_widgets.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.h:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_transaction_detail_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
4 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:10:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_web_auth_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/u8 warnings generated.
i_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:237:55: warning: passing 'const char *' to parameter of type 'PtrString' (aka 'char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return get_extended_pubkey_by_seed(seed, len, path);
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/lib/rust-builds/librust_c.h:1461:69: note: passing argument to parameter 'path' here
PtrString path);
^
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:239:54: warning: passing 'const char *' to parameter of type 'PtrString' (aka 'char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return get_ed25519_pubkeIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_wallet_tutorial_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmwarey_by_seed(seed, len, path);
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/lib/rust-builds/librust_c.h:1469:68: note: passing argument to parameter 'path' here
PtrString path);
^
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:242:70: warning: passing 'const char *' to parameter of type 'PtrString' (aka 'char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return derive_bip32_ed25519_extended_pubkey(icarusMasterKey, path);
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/lib/rust-builds/librust_c.h:1486:78: note: passing argument to parameter 'path' here
/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
PtrString path);
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_web_auth_result_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:245:78: In file included from warning: /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2passing 'const char *' to parameter of type 'PtrString' (aka 'char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:
6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
return derive_bip32_ed25519_extended_pubkey(ledgerBitbox02MasterKey, path);
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/lib/rust-builds/librust_c.h:1486:78: note: passing argument to parameter 'path' here
PtrString path);
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/general/gui_usb_transport_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_wallet_setting_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:525:43: warning: passing 'uint8_t[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
CalculateTonChecksum(entropy, checksum);
^~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:266:51: note: passing argument to parameter 'output' here
void CalculateTonChecksum(uint8_t *entropy, char* output)
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_firmware_update_view.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_ton_mnemonic_hint_widgets.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_page.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_aptos.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:122:18: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
free(g_accountData[i]->address);
^~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h:56:37: note: passing argument to parameter here
void free(void * __unsafe_indexable);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:414:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:624:31: warning: assigning to 'PtrString' (aka 'char *') from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
authLearnMoredata.content = _("solana_auth_account");
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:643:33: warning: assigning to 'PtrString' (aka 'char *') from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sourceLearnMoredata.content = _("solana_source_ata");
^ ~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:669:31: warning: assigning to 'PtrString' (aka 'char *') from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
destLearnMoredata.content = _("solana_ata_desc");
^ ~~~~~~~~~~~~~~~~~~~~
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_ton_mnemonic_hint_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:930:33: warning: assigning to 'PtrString' (aka 'char *') from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
solanaLearnMoredata.content = _("solana_squads_amount_desc");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:975:72: warning: format specifies type 'int' but the argument has type 'uintptr_t' (aka 'unsigned long') [-Wformat]
snprintf(thresholdText, sizeof(thresholdText), "%d/%d", threshold, member_count);
~~ ^~~~~~~~~~~~
%lu
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprint1 warning generated.
f'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_purpose_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:1026:72: warning: format specifies type 'int' but the argument has type 'uintptr_t' (aka 'unsigned long') [-Wformat]
snprintf(thresholdText, sizeof(thresholdText), "%d/%d", threshold, member_count);
~~ ^~~~~~~~~~~~
%lu
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:1219:28: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
strcpy(data->address, address);
^~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy'
__builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^~~~
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_create_share_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
6 warnings generated.
10 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_about_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_scan_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:120:9: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
_("scan_qr_code_signing_notice"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:94:66: note: passing argument to parameter 'title' here
static void CreateStellarNoticeCOntainer(lv_obj_t *parent, char *title, char *context, lv_coord_t w, lv_coord_t h)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:121:9: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
_("scan_qr_code_signing_xdr_signing_desc"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:94:79: note: passing argument to parameter 'context' here
static void CreateStellarNoticeCOntainer(lv_obj_t *parent, char *title, char *context, lv_coord_t w, lv_coord_t h)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:131:9: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
_("scan_qr_code_signing_notice"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:94:66: note: passing argument to parameter 'title' here
static void CreateStellarNoticeCOntainer(lv_obj_t *parent, char *title, char *context, lv_coord_t w, lv_coord_t h)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:132:9: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
_("scan_qr_code_signing_hash_signing_desc"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:94:79: note: passing argument to parameter 'context' here
static void CreateStellarNoticeCOntainer(lv_obj_t *parent, char *title, char *context, lv_coord_t w, lv_coord_t h)
^
1 warning generated.
5 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_trx.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_import_phrase_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sui.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_passphrase_setting_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_self_destruct_widgets.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmwystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
are/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_device_public_key_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_connect_wallet_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_eth.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/siui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
mulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_update_success_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_system_setting_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_init_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulatIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_import_share_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
or/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:28:20: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->title = _("rsa_confirm_hintbox_title");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:29:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->context = _("rsa_confirm_hintbox_context");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:30:19: warning: assigning to 'lv_img_dsc_t *' from 'const lv_img_dsc_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->icon = &imgAttentionLock;
^ ~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:32:24: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->okBtnText = _("rsa_confirm_hintbox_ok");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:33:28: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->cancelBtnText = _("rsa_confirm_hintbox_cancel");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:40:19: warning: assigning to 'lv_img_dsc_t *' from 'const lv_img_dsc_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_eth.c:1017:56: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
snprintf_s((char *)indata, maxLen, "ID: %lu", eth->chain_id);
~~~ ^~~~~~~~~~~~~
%llu
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:28:45: note: expanded from macro 'snprintf_s'
#define snprintf_s snprintf
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
coIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulatorntext->icon = &imgWarn;
^ ~~~~~~~~
/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:41:20: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->title = _("power_requirements_hintbox_title");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:42:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->context = _("power_requirements_hintbox_context");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:44:28: In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_about_keystone_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->cancelBtnText = _("power_requirements_hintbox_cancel");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:51:19: warning: assigning to 'lv_img_dsc_t *' from 'const lv_img_dsc_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->icon = &imgSuccess;
^ ~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:52:20: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->title = _("initialization_complete_hintbox_title");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:53:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->context = _("initialization_complete_hintbox_context");1 warning generated
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:55:24: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->okBtnText = _("initialization_complete_hintbox_ok");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:95:19: warning: assigning to 'lv_img_dsc_t *' from 'const lv_img_dsc_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->icon = &imgUnknown;
^ ~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:97:28: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->cancelBtnText = _("power_requirements_hintbox_cancel");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
15 warnings generated.
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.c:383:72: warning: data argument not used by format string [-Wformat-extra-args]
snprintf_s((char *)indata, maxLen, "##%d", g_cosmosListIndex + 1, maxLen);
~~~~~~ ^
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:28:45: note: expanded from macro 'snprintf_s'
#define snprintf_s snprintf
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
2 warnings generated.
2 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_page.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:412:20: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_path_index_title"), _("invaild_path_index_con")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:412:51: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_path_index_title"), _("invaild_path_index_con")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:419:20: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_path_index_title"), _("invaild_path_index_con")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:419:51: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_path_index_title"), _("invaild_path_index_con")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:435:20: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_schemas_size"), _("invaild_schemas_size_big")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:435:47: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_schemas_size"), _("invaild_schemas_size_big")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:444:28: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_ada_path"), _("invaild_ada_path_con")
^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:444:51: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_ada_path"), _("invaild_ada_path_con")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:463:28: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_derive_type"), _("invaild_derive_type_con")
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:463:54: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_derive_type"), _("invaild_derive_type_con")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:471:28: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_account_path"), _("invaild_account_path_notice")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:471:56: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_account_path"), _("invaild_account_path_notice")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:632:52: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
sprintf(title, "%s-%d", _("account_head"), i);
~~ ^
%zu
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:701:52: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
sprintf(title, "%s-%d", _("account_head"), i);
~~ ^
%zu
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:916:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
16 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_home_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_forget_pass_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_mnemonic_input.c:13:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_setup_widgets.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/wallet/gui_wallet.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/wallet/gui_wallet.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_frame/gui_framework.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_frame/gui_framework.c:163:70: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
printf("open view %s freeHeap %d\n", GuiFrameIdToName(view->id), xPortGetFreeHeapSize());
~~ ^~~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_frame/gui_framework.c:208:80: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
printf("close view %s freeHeap %d\n", GuiFrameIdToName(g_workingView->id), xPortGetFreeHeapSize());
~~ ^~~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_frame/gui_framework.c:212:82: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_dispaly_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In /Users/parichay/minswap/keystone3-firmware/src/ui/wallet/gui_wallet.c:204:20: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char[112]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
const uint8_t *data = "xpub6CZZYZBJ857yVCZXzqMBwuFMogBoDkrWzhsFiUd1SF7RUGaGryBRtpqJU6AGuYGpyabpnKf5SSMeSw9E9DSA8ZLov53FDnofx9wZLCpLNft";
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printf("refresh view %s freeHeap %d\n", GuiFrameIdToName(g_workingView->id), xPortGetFreeHeapSize());
~~ ^~~~~~~~~~~~~~~~~~~~~~
%zu
file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
2 warnings generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_setting_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
4 warnings generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:40:34: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Wnon-literal-null-conversion]
" ", "0", USR_SYMBOL_DELETE, '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:105:29: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Wnon-literal-null-conversion]
"-", "0", LV_SYMBOL_OK, '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:112:29: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
"13", "14", "15", "16", '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:216:49: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *const' [-Wnon-literal-null-conversion]
"#@", USR_SYMBOL_SPACE, USR_SYMBOL_KB_NEXT, '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:224:49: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *const' [-Wnon-literal-null-conversion]
"#@", USR_SYMBOL_SPACE, USR_SYMBOL_KB_NEXT, '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:232:49: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *const' [-Wnon-literal-null-conversion]
"#@", USR_SYMBOL_SPACE, USR_SYMBOL_KB_NEXT, '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:240:49: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *const' [-Wnon-literal-null-conversion]
"#@", USR_SYMBOL_SPACE, USR_SYMBOL_CONFIRM, '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:248:50: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *const' [-Wnon-literal-null-conversion]
"abc", USR_SYMBOL_SPACE, USR_SYMBOL_KB_NEXT, '\0'
^~~~
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_connection_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_s/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:411:51: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
CHECK_ERRCODE_BREAK("mnemonic not match", !ret);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/Users/parichay/minswap/keystone3-firmware/src/error_codes/err_code.h:98:54: note: expanded from macro 'CHECK_ERRCODE_BREAK'
#define CHECK_ERRCODE_BREAK(content, ret) {if (ret != SUCCESS_CODE) {printf("%s err,0x%X,line=%d\r\n", content, ret, __LINE__); break; }}
^ ~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:411:51: note: add parentheses after the '!' to evaluate the comparison first
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:411:51: note: add parentheses around left hand side expression to silence this warning
imulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:566:51: warning: passing 'uint8_t[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
CalculateTonChecksum(entropyResult->data, checksum);
^~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:173:51: note: passing argument to parameter 'output' here
void CalculateTonChecksum(uint8_t *entropy, char* output);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:1282:39: warning: cast to 'uint32_t *' (aka 'unsigned int *') from smaller integer type 'int' [-Wint-to-pointer-cast]
memcpy_s(buffer, SECTOR_SIZE, (uint32_t *)(APP_ADDR + i * SECTOR_SIZE), SECTOR_SIZE);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:42:58: note: expanded from macro 'memcpy_s'
#define memcpy_s(dest, destsz, src, count) memcpy(dest, src, count)
~~~~~~~~~~~~~^~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:1333:28: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
SecretCacheSetChecksum(hash);
^~~~
/Users/parichay/minswap/keystone3-firmware/src/crypto/secret_cache.h:13:38: note: passing argument to parameter 'checksum' here
void SecretCacheSetChecksum(uint8_t *checksum);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:1402:28: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
SecretCacheSetChecksum(hash);
^~~~
/Users/parichay/minswap/keystone3-firmware/src/crypto/secret_cache.h:13:38: note: passing argument to parameter 'checksum' here
void SecretCacheSetChecksum(uint8_t *checksum);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:1541:51: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
CHECK_ERRCODE_BREAK("mnemonic not match", !ret);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/Users/parichay/minswap/keystone3-firmware/src/error_codes/err_code.h:98:54: note: expanded from macro 'CHECK_ERRCODE_BREAK'
#define CHECK_ERRCODE_BREAK(content, ret) {if (ret != SUCCESS_CODE) {printf("%s err,0x%X,line=%d\r\n", content, ret, __LINE__); break; }}
^ ~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:1541:51: note: add parentheses after the '!' to evaluate the comparison first
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:1541:51: note: add parentheses around left hand side expression to silence this warning
1 warning generated.
8 warnings generated.
1 warning generated.
7 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_create_wallet_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_page.c:1:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_page.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
make[1]: *** [CMakeFiles/simulator.dir/all] Error 2
make: *** [all] Error 2
➜ keystone3-firmware git:(master) ✗ cat error.log
-- compile rust
-- build target path: /Users/parichay/minswap/keystone3-firmware/ui_simulator/lib/rust-builds
-- Cargo Flags: --manifest-path/Users/parichay/minswap/keystone3-firmware/rust/rust_c/Cargo.toml--release--no-default-features--featuressimulator
-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.5s)
-- Generating done (0.1s)
-- Build files have been written to: /Users/parichay/minswap/keystone3-firmware/build
[ 0%] Built target rust_c
[ 0%] Building C object CMakeFiles/simulator.dir/ui_simulator/lv_drivers/sdl/sdl.c.obj
[ 0%] Building C object CMakeFiles/simulator.dir/ui_simulator/lv_drivers/win_drv.c.obj
[ 0%] Building C object CMakeFiles/simulator.dir/ui_simulator/main.c.obj
[ 0%] Building C object CMakeFiles/simulator.dir/ui_simulator/lv_drivers/sdl/sdl_gpu.c.obj
[ 0%] Building C object CMakeFiles/simulator.dir/external/ccan/sha256.c.obj
[ 0%] Building C object CMakeFiles/simulator.dir/src/ui/gui_analyze/gui_analyze.c.obj
[ 0%] Building C object CMakeFiles/simulator.dir/ui_simulator/simulator_storage.c.obj
[ 0%] Building C object CMakeFiles/simulator.dir/ui_simulator/simulator_model.c.obj
[ 1%] Building C object CMakeFiles/simulator.dir/external/ccan/sha512.c.obj
[ 1%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinAkt.c.obj
[ 1%] Building C object CMakeFiles/simulator.dir/src/ui/gui_analyze/gui_resolve_ur.c.obj
[ 1%] Building C object CMakeFiles/simulator.dir/external/cjson/cJSON.c.obj
[ 2%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinAda.c.obj
[ 2%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinAr.c.obj
[ 2%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinAtom.c.obj
[ 2%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinApt.c.obj
[ 2%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinAva.c.obj
[ 2%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinAxl.c.obj
[ 2%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinBld.c.obj
[ 3%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinBoot.c.obj
[ 3%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinBtc.c.obj
[ 3%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinBch.c.obj
[ 3%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinBnb.c.obj
[ 3%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinCtk.c.obj
[ 3%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinCro.c.obj
[ 3%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinIov.c.obj
[ 3%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinEth.c.obj
[ 3%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinCosmos.c.obj
[ 4%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinDot.c.obj
[ 4%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinDvpn.c.obj
[ 4%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinIris.c.obj
[ 4%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinCosmosEco.c.obj
[ 4%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinGrav.c.obj
[ 4%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinEvmos.c.obj
[ 4%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinHelium.c.obj
[ 4%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinDym.c.obj
[ 4%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinDash.c.obj
[ 5%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinInj.c.obj
[ 5%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinIxo.c.obj
[ 5%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinKava.c.obj
[ 5%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinLunc.c.obj
[ 5%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinKsm.c.obj
[ 5%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinMatic.c.obj
[ 6%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinLtc.c.obj
[ 6%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinLuna.c.obj
[ 6%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinJuno.c.obj
[ 6%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinNgm.c.obj
[ 6%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinOsmo.c.obj
[ 6%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinOkb.c.obj
[ 6%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinMubi.c.obj
[ 7%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinOrdi.c.obj
[ 7%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinSats.c.obj
[ 7%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinSomm.c.obj
[ 7%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinRowan.c.obj
[ 7%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinQck.c.obj
[ 7%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinRune.c.obj
[ 7%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinRegen.c.obj
[ 7%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinSui.c.obj
[ 7%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinStars.c.obj
[ 7%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinScroll.c.obj
[ 7%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinStrd.c.obj
[ 8%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinScrt.c.obj
[ 8%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinTgd.c.obj
[ 8%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinSol.c.obj
[ 9%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinTia.c.obj
[ 9%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinTon.c.obj
[ 9%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinTrac.c.obj
[ 9%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinTrx.c.obj
[ 9%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinXprt.c.obj
[ 9%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinUmee.c.obj
[ 9%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiAlien.c.obj
[ 9%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinXlm.c.obj
[ 10%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/coin/coinXrp.c.obj
[ 10%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiAt.c.obj
[ 10%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiEth.c.obj
[ 10%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiCam.c.obj
[ 10%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiBitcoin.c.obj
[ 10%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiCopper.c.obj
[ 11%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiCrown.c.obj
[ 11%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiCompass.c.obj
[ 11%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiFlash.c.obj
[ 11%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiHappy.c.obj
[ 11%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiGame.c.obj
[ 11%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiLogo.c.obj
[ 11%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiRocket.c.obj
[ 11%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/cn/cnTitle.c.obj
[ 11%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/buttonFont.c.obj
[ 11%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiStar.c.obj
[ 11%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiHeart.c.obj
[ 11%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/cn/cnIllustrate.c.obj
[ 12%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/cn/cnText.c.obj
[ 12%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/de/deIllustrate.c.obj
[ 12%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiSafe.c.obj
[ 13%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/emoji/emojiMusic.c.obj
[ 13%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/cn/cnLittleTitle.c.obj
[ 13%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/de/deLittleTitle.c.obj
[ 13%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/de/deTitle.c.obj
[ 13%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/en/openSansEnIllustrate.c.obj
[ 13%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/de/deText.c.obj
[ 13%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/es/esIllustrate.c.obj
[ 14%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/en/openSansEnLittleTitle.c.obj
[ 14%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/ko/koLittleTitle.c.obj
[ 14%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/en/openSansEnTitle.c.obj
[ 15%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgArrowDown.c.obj
[ 16%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/openSansDesc.c.obj
[ 16%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/openSans_24.c.obj
[ 16%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/openSansLanguage.c.obj
[ 16%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/es/esTitle.c.obj
[ 16%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgAddressType.c.obj
[ 17%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/ru/ruTitle.c.obj
[ 17%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgAlpha.c.obj
[ 17%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgAbout.c.obj
[ 17%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgArrowNextRed.c.obj
[ 17%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBatteryPower10.c.obj
[ 18%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgArrowRightO.c.obj
[ 18%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgAttentionLock.c.obj
[ 18%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgArrowRightS.c.obj
[ 18%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/es/esText.c.obj
[ 18%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgAddOrange.c.obj
[ 18%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgAboutIcon.c.obj
[ 18%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgArrowRight.c.obj
[ 18%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/ja/jaIllustrate.c.obj
[ 18%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgPath.c.obj
[ 19%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgQuestion.c.obj
[ 19%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgPowerOff.c.obj
[ 19%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgNextStep.c.obj
[ 19%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgMore.c.obj
[ 19%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgRing.c.obj
[ 19%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSdCardColor.c.obj
[ 20%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgMessageRight.c.obj
[ 20%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSdCardL.c.obj
[ 20%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgTestNet.c.obj
[ 20%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgScan48.c.obj
[ 21%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgUnitConversion.c.obj
[ 21%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSuccess.c.obj
[ 21%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgReceive.c.obj
[ 21%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgReboot.c.obj
[ 21%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWhiteFinger.c.obj
[ 21%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWalletExport.c.obj
[ 21%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWalletLock.c.obj
[ 21%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgUnknown.c.obj
[ 22%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletBegin.c.obj
[ 22%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSingleBackup.c.obj
[ 22%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWalletSetting.c.obj
[ 22%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWallet.c.obj
[ 22%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSmartContract.c.obj
[ 22%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgTutorialS.c.obj
[ 22%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgTonPhrase.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWarningRed.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWipe.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletBackpack.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgArrowDownS.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletCore.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDice.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgArrowPre.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgArrowUpS.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBatteryPower30.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgChange.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBeta.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBatteryPowerFull.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgForget.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgClose.c.obj
[ 23%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBrightnessLow.c.obj
[ 24%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletCasa.c.obj
[ 24%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgArrowNext.c.obj
[ 24%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletSubwallet.c.obj
[ 24%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgGreenFinger.c.obj
[ 24%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgReset.c.obj
[ 24%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgCircular.c.obj
[ 25%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBatteryPower20.c.obj
[ 26%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBrightnessHigh.c.obj
[ 26%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgUsbConnection.c.obj
[ 26%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgLockedLock.c.obj
[ 26%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgCheck.c.obj
[ 26%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgLTCorner.c.obj
[ 26%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListOkx.c.obj
[ 27%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSdcardImport.c.obj
[ 27%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgScanImport.c.obj
[ 27%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListSolfare.c.obj
[ 27%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListPetra.c.obj
[ 27%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListBtcSparrow.c.obj
[ 27%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListHelium.c.obj
[ 27%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListMetaMask.c.obj
[ 28%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListBtcNunchuk.c.obj
[ 28%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBackspace.c.obj
[ 28%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/ru/ruLittleTitle.c.obj
[ 28%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListSafe.c.obj
[ 28%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListKeystone.c.obj
[ 28%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgRedFinger.c.obj
[ 28%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBattery.c.obj
[ 28%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListBtcSpecter.c.obj
[ 28%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgRedEye.c.obj
[ 29%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/ja/jaLittleTitle.c.obj
[ 29%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgObserve.c.obj
[ 30%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListRabby.c.obj
[ 31%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgCosmosTag.c.obj
[ 31%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletSushi.c.obj
[ 31%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/others/gui_aptos.c.obj
[ 31%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListMintScan.c.obj
[ 31%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListVespr.c.obj
[ 31%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/others/gui_cosmos.c.obj
[ 31%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListSushi.c.obj
[ 31%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListSparrow.c.obj
[ 31%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgMessageSelect.c.obj
[ 31%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgManage2.c.obj
[ 32%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListZapper.c.obj
[ 32%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListThorWallet.c.obj
[ 32%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/others/gui_sol.c.obj
[ 33%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListKeplr.c.obj
[ 33%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/others/gui_sui.c.obj
[ 34%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/others/gui_eth.c.obj
[ 34%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_status_bar.c.obj
[ 34%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_button.c.obj
[ 34%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/others/gui_stellar.c.obj
[ 34%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListNightly.c.obj
[ 34%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgContract.c.obj
[ 34%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListImToken.c.obj
[ 34%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/others/gui_ada.c.obj
[ 34%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgArrowLeft.c.obj
[ 34%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgNotice.c.obj
[ 35%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDiscord.c.obj
[ 35%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgNetwork.c.obj
[ 35%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListBlockWallet.c.obj
[ 35%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletThorWallet.c.obj
[ 35%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletRabby.c.obj
[ 35%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletBlockWallet.c.obj
[ 35%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBootLogo.c.obj
[ 35%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBtcOnly.c.obj
[ 35%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDice4.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDice1.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDice3.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDiceGrey.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgEns.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletTyphon.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDice5.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDeleteL.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletXRPToolkit.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgExport.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletTonkeeper.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgEye.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletYearn.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDelWallet.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListBitget.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListBackpack.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListBegin.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletZapper.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgFile.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/ko/koIllustrate.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgInfoSmall.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgMicroSd.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgManage.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgLogoGraphL.c.obj
[ 36%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/openSans_20.c.obj
[ 37%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgLockDestroy.c.obj
[ 37%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgQrcode36px.c.obj
[ 37%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgImport.c.obj
[ 37%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgConversion.c.obj
[ 37%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgConnect.c.obj
[ 37%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDice6.c.obj
[ 37%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgEdit.c.obj
[ 37%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgConnection.c.obj
[ 37%] Building C object CMakeFiles/simulator.dir/src/ui/gui_frame/gui_obj.c.obj
[ 38%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListArConnect.c.obj
[ 38%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletXBull.c.obj
[ 38%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListBtcBlue.c.obj
[ 39%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletUniSat.c.obj
[ 39%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletBluewallet.c.obj
[ 39%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgKey.c.obj
[ 39%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListEternl.c.obj
[ 39%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgConnectWithRabby.c.obj
[ 39%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletSpecter.c.obj
[ 39%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgConnectWithWallet.c.obj
[ 40%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgNft.c.obj
[ 40%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgCharging.c.obj
[ 40%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgMultiCoin.c.obj
[ 40%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgEyeOn.c.obj
[ 40%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_letter_tree.c.obj
[ 40%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListXRPToolkit.c.obj
[ 41%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgFailed.c.obj
[ 41%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/btc/gui_btc.c.obj
[ 42%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_animating_qrcode.c.obj
[ 42%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/gui_chain.c.obj
[ 42%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListTyphon.c.obj
[ 42%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/others/gui_ar.c.obj
[ 42%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/others/gui_xrp.c.obj
[ 43%] Building C object CMakeFiles/simulator.dir/src/ui/gui_frame/gui_api.c.obj
[ 43%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/general/gui_key_derivation_request_view.c.obj
[ 43%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListYearn.c.obj
[ 43%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBootBtc.c.obj
[ 43%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_about_device_info_view.c.obj
[ 43%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDefaultWallet.c.obj
[ 43%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_lock_view.c.obj
[ 43%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_inactive_view.c.obj
[ 44%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_lock_device_view.c.obj
[ 44%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_single_phrase_view.c.obj
[ 44%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_setting_view.c.obj
[ 45%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_setup_view.c.obj
[ 45%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/general/gui_multi_accounts_receive_widgets.c.obj
[ 46%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_connection_widgets.c.obj
[ 46%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_about_keystone_widgets.c.obj
[ 46%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_display_widgets.c.obj
[ 47%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/general/gui_connect_ada_widgets.c.obj
[ 47%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_forget_pass_widgets.c.obj
[ 47%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_wipe_device_view.c.obj
[ 47%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_about_widgets.c.obj
[ 47%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_enter_passcode.c.obj
[ 47%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_dice_rolls_widgets.c.obj
[ 47%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_create_share_widgets.c.obj
[ 48%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_inactive_widgets.c.obj
[ 48%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_import_phrase_widgets.c.obj
[ 48%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_keyboard_hintbox.c.obj
[ 48%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_event.c.obj
[ 48%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/ko/koTitle.c.obj
[ 48%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/general/gui_standard_receive_view.c.obj
[ 48%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/ja/jaText.c.obj
[ 49%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListTonkeeper.c.obj
[ 49%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/ru/ruText.c.obj
[ 49%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_obj_scroll.c.obj
[ 49%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_obj.c.obj
[ 49%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_indev.c.obj
[ 49%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/nxp/pxp/lv_draw_pxp_blend.c.obj
[ 50%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_img_decoder.c.obj
[ 50%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/nxp/vglite/lv_draw_vglite_arc.c.obj
[ 50%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_layer.c.obj
[ 50%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/nxp/lv_gpu_nxp.c.obj
[ 51%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_polygon.c.obj
[ 51%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sw/lv_draw_sw.c.obj
[ 51%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_img.c.obj
[ 51%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_composite.c.obj
[ 51%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_stack_blur.c.obj
[ 51%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_utils.c.obj
[ 51%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/nxp_pxp/lv_gpu_nxp_pxp.c.obj
[ 51%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/nxp/pxp/lv_gpu_nxp_pxp_osa.c.obj
[ 51%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sw/lv_draw_sw_blend.c.obj
[ 51%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl.c.obj
[ 51%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/nxp_pxp/lv_gpu_nxp_pxp_osa.c.obj
[ 52%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sw/lv_draw_sw_arc.c.obj
[ 52%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_label.c.obj
[ 52%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/swm341_dma2d/lv_gpu_swm341_dma2d.c.obj
[ 52%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sw/lv_draw_sw_letter.c.obj
[ 53%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sw/lv_draw_sw_polygon.c.obj
[ 53%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sw/lv_draw_sw_rect.c.obj
[ 53%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sw/lv_draw_sw_transform.c.obj
[ 53%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sw/lv_draw_sw_dither.c.obj
[ 53%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sw/lv_draw_sw_layer.c.obj
[ 53%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_img_buf.c.obj
[ 53%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_line.c.obj
[ 53%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/stm32_dma2d/lv_gpu_stm32_dma2d.c.obj
[ 53%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_rect.c.obj
[ 53%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/fsdrv/lv_fs_win32.c.obj
[ 54%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/gif/lv_gif.c.obj
[ 54%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/bmp/lv_bmp.c.obj
[ 54%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_img_cache.c.obj
[ 54%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_arc.c.obj
[ 54%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/layouts/grid/lv_grid.c.obj
[ 54%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/nxp_vglite/lv_gpu_nxp_vglite.c.obj
[ 54%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/fsdrv/lv_fs_posix.c.obj
[ 54%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/nxp/pxp/lv_gpu_nxp_pxp.c.obj
[ 54%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/lv_extra.c.obj
[ 54%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_mask.c.obj
[ 54%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/freetype/lv_freetype.c.obj
[ 55%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_draw_line.c.obj
[ 55%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/png/lodepng.c.obj
[ 56%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/nxp/vglite/lv_draw_vglite_rect.c.obj
[ 56%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_draw_rect.c.obj
[ 56%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_refr.c.obj
[ 56%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/layouts/flex/lv_flex.c.obj
[ 56%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_draw_layer.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_bg.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sdl/lv_draw_sdl_texture_cache.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_about_terms_view.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_transaction_signature_view.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_global_resources.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_web_auth_view.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_firmware_update_widgets.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/setting/gui_seed_check_widgets.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_connect_wallet_widgets.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_transaction_detail_widgets.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_web_auth_result_widgets.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_passphrase_widgets.c.obj
[ 57%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_tutorial_widgets.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_lock_device_widgets.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_export_pubkey_widgets.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_firmware_update_deny_widgets.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_transaction_signature_widgets.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_wipe_device_widgets.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/general/gui_ton_mnemonic_hint_widgets.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_change_path_type_widgets.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_self_destruct_view.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_update_success_widgets.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_wallet_tutorial_widgets.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_lock_widgets.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/others/fragment/lv_fragment.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/others/snapshot/lv_snapshot.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/others/msg/lv_msg.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/others/ime/lv_ime_pinyin.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/others/gridnav/lv_gridnav.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_usb_connection_widgets.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/others/fragment/lv_fragment_manager.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/themes/basic/lv_theme_basic.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/themes/mono/lv_theme_mono.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/imgbtn/lv_imgbtn.c.obj
[ 58%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/calendar/lv_calendar_header_dropdown.c.obj
[ 59%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/calendar/lv_calendar.c.obj
[ 60%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_system_setting_widgets.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_utxo_receive_widgets.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/chart/lv_chart.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/themes/default/lv_theme_default.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/meter/lv_meter.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/others/imgfont/lv_imgfont.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/list/lv_list.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/msgbox/lv_msgbox.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/keyboard/lv_keyboard.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_dejavu_16_persian_hebrew.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/span/lv_span.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/calendar/lv_calendar_header_arrow.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_objx_templ.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_tlsf.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_28.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_8.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_txt.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_26.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_math.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_ll.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/src/crypto/slip39/trezor-crypto/sha2.c.obj
[ 61%] Building C object CMakeFiles/simulator.dir/src/crypto/slip39/slip39.c.obj
[ 62%] Building C object CMakeFiles/simulator.dir/src/utils/user_utils.c.obj
[ 62%] Building C object CMakeFiles/simulator.dir/src/managers/account_manager.c.obj
[ 63%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/led/lv_led.c.obj
[ 63%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font.c.obj
[ 63%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_slider.c.obj
[ 64%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_utils.c.obj
[ 64%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_loader.c.obj
[ 64%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_line.c.obj
[ 65%] Building C object CMakeFiles/simulator.dir/src/config/version.c.obj
[ 65%] Building C object CMakeFiles/simulator.dir/src/crypto/utils/hkdf.c.obj
[ 65%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_18.c.obj
[ 66%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/others/monkey/lv_monkey.c.obj
[ 67%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_style.c.obj
[ 67%] Building C object CMakeFiles/simulator.dir/src/managers/keystore.c.obj
[ 67%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_unscii_16.c.obj
[ 67%] Building C object CMakeFiles/simulator.dir/src/error_codes/err_code.c.obj
[ 67%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_12.c.obj
[ 67%] Building C object CMakeFiles/simulator.dir/src/managers/se_manager.c.obj
[ 67%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_templ.c.obj
[ 68%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/tabview/lv_tabview.c.obj
[ 68%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_nft_screen_widgets.c.obj
[ 68%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_single_phrase_widgets.c.obj
[ 68%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_select_address_widgets.c.obj
[ 68%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_arc.c.obj
[ 68%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/general/gui_standard_receive_widgets.c.obj
[ 68%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/gui_chain_components.c.obj
[ 69%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_update_success_view.c.obj
[ 69%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_create_wallet_widgets.c.obj
[ 69%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/others/gui_ton.c.obj
[ 69%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_low_battery_widgets.c.obj
[ 70%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/general/gui_usb_transport_widgets.c.obj
[ 70%] Building C object CMakeFiles/simulator.dir/src/crypto/bips/bip39.c.obj
[ 70%] Building C object CMakeFiles/simulator.dir/src/utils/log/log_print.c.obj
[ 70%] Building C object CMakeFiles/simulator.dir/src/crypto/slip39/rs1024.c.obj
[ 70%] Building C object CMakeFiles/simulator.dir/src/crypto/slip39/trezor-crypto/pbkdf2.c.obj
[ 70%] Building C object CMakeFiles/simulator.dir/src/error_codes/fingerprint_errcode.c.obj
[ 70%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/spinner/lv_spinner.c.obj
[ 70%] Building C object CMakeFiles/simulator.dir/src/crypto/slip39/trezor-crypto/rand.c.obj
[ 70%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_table.c.obj
[ 70%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/win/lv_win.c.obj
[ 70%] Building C object CMakeFiles/simulator.dir/src/crypto/slip39/trezor-crypto/memzero.c.obj
[ 71%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_10.c.obj
[ 71%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_txt_ap.c.obj
[ 71%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_views.c.obj
[ 71%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/setting/gui_fingerprint_widgets.c.obj
[ 71%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListXBull.c.obj
[ 71%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/general/gui_home_widgets.c.obj
[ 72%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_power_option_widgets.c.obj
[ 72%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_about_terms_widgets.c.obj
[ 72%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_passphrase_view.c.obj
[ 72%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_scan_view.c.obj
[ 72%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_transaction_detail_view.c.obj
[ 72%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_trans_nft_process_widgets.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_switch.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_setup_widgets.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_about_info_widgets.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_bidi.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_tutorial_view.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_system_setting_view.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_12_subpx.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/src/crypto/account_public_info.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_fmt_txt.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_bar.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_purpose_widgets.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/src/ui/lv_i18n/lv_i18n_api.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/src/crypto/bips/wordlist.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/src/crypto/utils/hmac.c.obj
[ 73%] Building C object CMakeFiles/simulator.dir/src/device_settings.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_fs.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/src/crypto/utils/hash_and_salt.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/es/esLittleTitle.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/src/crypto/secret_cache.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/setting/gui_namewallet_widgets.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListSub.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_init_view.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/colorwheel/lv_colorwheel.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_web_auth_result_view.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_14.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_import_share_view.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_16.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_device_public_key_widgets.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/src/crypto/bips/mnemonic.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_simsun_16_cjk.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/nxp/vglite/lv_gpu_nxp_vglite.c.obj
[ 74%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_obj_style_gen.c.obj
[ 75%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/sjpg/tjpgd.c.obj
[ 75%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sw/lv_draw_sw_line.c.obj
[ 75%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/png/lv_png.c.obj
[ 75%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/fsdrv/lv_fs_fatfs.c.obj
[ 75%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_pop_message_box.c.obj
[ 75%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_firmware_process_widgets.c.obj
[ 75%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_draw_label.c.obj
[ 75%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgLock.c.obj
[ 75%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/gif/gifdec.c.obj
[ 75%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_draw_triangle.c.obj
[ 75%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/nxp/vglite/lv_draw_vglite_blend.c.obj
[ 76%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/ffmpeg/lv_ffmpeg.c.obj
[ 76%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/fsdrv/lv_fs_stdio.c.obj
[ 76%] Building C object CMakeFiles/simulator.dir/src/ui/wallet/gui_qr_code.c.obj
[ 77%] Building C object CMakeFiles/simulator.dir/src/ui/wallet/gui_wallet.c.obj
[ 77%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/rlottie/lv_rlottie.c.obj
[ 77%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/sjpg/lv_sjpg.c.obj
[ 78%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/setting/gui_passphrase_setting_widgets.c.obj
[ 78%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_draw_mask.c.obj
[ 78%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/setting/gui_wallet_setting_widgets.c.obj
[ 78%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_disp.c.obj
[ 78%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_gc.c.obj
[ 78%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_checkbox.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/src/crypto/rsa.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_label.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_anim_timeline.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_anim.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/src/crypto/utils/pbkdf2.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_roller.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_obj_pos.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_draw_img.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/animimg/lv_animimg.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_btnmatrix.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_timer.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_28_compressed.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_color.c.obj
[ 79%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_38.c.obj
[ 80%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_34.c.obj
[ 80%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/ru/ruIllustrate.c.obj
[ 80%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_draw_arc.c.obj
[ 81%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/hal/lv_hal_tick.c.obj
[ 81%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/qrcode/qrcodegen.c.obj
[ 81%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sw/lv_draw_sw_gradient.c.obj
[ 81%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/libs/qrcode/lv_qrcode.c.obj
[ 81%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_textarea.c.obj
[ 81%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_style_gen.c.obj
[ 81%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/sw/lv_draw_sw_img.c.obj
[ 81%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_group.c.obj
[ 81%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/ja/jaTitle.c.obj
[ 82%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_obj_class.c.obj
[ 82%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/ko/koText.c.obj
[ 83%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_theme.c.obj
[ 83%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_obj_draw.c.obj
[ 83%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/setting/gui_setting_widgets.c.obj
[ 83%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_firmware_update_view.c.obj
[ 83%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_web_auth_widgets.c.obj
[ 83%] Building C object CMakeFiles/simulator.dir/src/ui/lv_i18n/lv_i18n.c.obj
[ 83%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_indev_scroll.c.obj
[ 83%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/general/gui_multi_account_receive_view.c.obj
[ 83%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDel.c.obj
[ 83%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListBlue.c.obj
[ 83%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_draw.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_48.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_wallet_tutorial_view.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_ton_mnemonic_hint_view.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletWasabi.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/arm2d/lv_gpu_arm2d.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/draw/lv_draw_transform.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_obj_tree.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/core/lv_obj_style.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_purpose_view.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_utxo_receive_view.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_import_share_widgets.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_scan_widgets.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/general/gui_usb_transport_view.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletVespr.c.obj
[ 84%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_about_keystone_view.c.obj
[ 85%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_connect_wallet_view.c.obj
[ 85%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_device_public_key_view.c.obj
[ 86%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_dropdown.c.obj
[ 87%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgConfirmSlider.c.obj
[ 87%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgInfo.c.obj
[ 87%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_forget_pass_view.c.obj
[ 87%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_about_view.c.obj
[ 87%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_create_share_view.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_export_pubkey_view.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_pending_hintbox.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_dispaly_view.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_hintbox.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_qr_hintbox.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_lru.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgLockedDevice.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_connection_view.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_mnemonic_input.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_attention_hintbox.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgFirmwareUp.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_home_view.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_mem.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgInfoS.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_create_wallet_view.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_frame/gui_framework.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSearch.c.obj
[ 88%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletArConnect.c.obj
[ 89%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgUsb.c.obj
[ 89%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgInfoOrange.c.obj
[ 89%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletBlock.c.obj
[ 89%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgUpdate.c.obj
[ 89%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletLeap.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletSparrow.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletPetra.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletEternl.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgBlueInformation.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgAdd.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_chain/others/gui_trx.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDice2.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletPetraAptos.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletBitkeep.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_widgets/gui_self_destruct_widgets.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgLogoGraph.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_20.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_import_phrase_view.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_unscii_8.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/hal/lv_hal_disp.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_46.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_area.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_log.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletSolflare.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/menu/lv_menu.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_24.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgEyeOff.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgDelete.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_42.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/tileview/lv_tileview.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_30.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListFewcha.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_40.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_32.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_frame/gui_style.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_36.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/extra/widgets/spinbox/lv_spinbox.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_44.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/walletList/walletListUniSat.c.obj
[ 90%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletElectrum.c.obj
[ 91%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/font/lv_font_montserrat_22.c.obj
[ 91%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_printf.c.obj
[ 91%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/hal/lv_hal_indev.c.obj
[ 91%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_img.c.obj
[ 91%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_btn.c.obj
[ 91%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/widgets/lv_canvas.c.obj
[ 92%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_led.c.obj
[ 93%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/general/gui_multi_path_coin_receive_view.c.obj
[ 93%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_fullscreen_mode.c.obj
[ 93%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletSender.c.obj
[ 93%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletFewcha.c.obj
[ 93%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSystemSetting.c.obj
[ 94%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgScan.c.obj
[ 94%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSdCard.c.obj
[ 94%] Building C object CMakeFiles/simulator.dir/src/ui/gui_model/gui_model.c.obj
[ 94%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSettings.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSquads.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgTwitter.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSkip.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgQrcodeTurquoise.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSoftwareWallet.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgTelegram.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgInformation.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgTwoKey.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletBitget.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/external/lvgl/src/misc/lv_async.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWarning.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSwitch.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletMintScan.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgYellowFinger.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgLockMulti.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletKeystone.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWalletSettings.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWarn.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgTutorial.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/font/en/openSansEnText.c.obj
[ 95%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWIF.c.obj
[ 96%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWallet2.c.obj
[ 96%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_keyboard.c.obj
[ 96%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgSdFormat.c.obj
[ 96%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletNightly.c.obj
[ 96%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletBitcoinlight.c.obj
[ 96%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgWipeDevice.c.obj
[ 97%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletOkx.c.obj
[ 97%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletNunchuk.c.obj
[ 97%] Building C object CMakeFiles/simulator.dir/src/ui/gui_views/gui_dice_rolls_view.c.obj
[ 97%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletPolkadotjs.c.obj
[ 98%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletKeplr.c.obj
[ 98%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgUndo.c.obj
[ 99%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgTransfer.c.obj
[ 99%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgTwoSmallKey.c.obj
[ 99%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/img/imgUncheckCircle.c.obj
[ 99%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletImToken.c.obj
[ 99%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletSafe.c.obj
[ 99%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletHelium.c.obj
[ 99%] Building C object CMakeFiles/simulator.dir/src/ui/gui_components/gui_page.c.obj
[ 99%] Building C object CMakeFiles/simulator.dir/src/ui/gui_assets/wallet/walletMetamask.c.obj
=============================================
--
Building firmware for dev
Building firmware type general
Options: simulator
--
=============================================
No image changes detected, skip building images.
➜ keystone3-firmware git:(master) ✗ python3 build.py -o simulator > error.log
warning: patch for `bitcoin` uses the features mechanism. default-features and features will not take effect because the patch dependency does not support this mechanism
warning: skipping duplicate package `embedded` found at `/Users/parichay/.cargo/git/checkouts/rust-bitcoin-c060ecb653881637/f4fc5be/bitcoin/embedded`
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/keystore/src/algorithms/rsa/mod.rs:75:9
|
75 | _ => Err(KeystoreError::RSASignError),
| ^
|
= note: `#[warn(unreachable_patterns)]` on by default
warning: `keystore` (lib) generated 1 warning
warning: unused import: `BaseAddress`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/governance.rs:6:51
|
6 | use cardano_serialization_lib::address::{Address, BaseAddress};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `XPub`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/governance.rs:8:45
|
8 | use third_party::ed25519_bip32_core::{XPrv, XPub};
| ^^^^
warning: unused import: `third_party::ur_registry::crypto_key_path::CryptoKeyPath`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/governance.rs:12:5
|
12 | use third_party::ur_registry::crypto_key_path::CryptoKeyPath;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `AddressType`, `derive_address`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:1:22
|
1 | use crate::address::{derive_address, derive_pubkey_hash, AddressType};
| ^^^^^^^^^^^^^^ ^^^^^^^^^^^
warning: unused import: `self`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:9:5
|
9 | self, Address, BaseAddress, EnterpriseAddress, RewardAddress,
| ^^^^
warning: unused imports: `Ed25519KeyHash`, `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:12:41
|
12 | use cardano_serialization_lib::crypto::{Ed25519KeyHash, ScriptHash};
| ^^^^^^^^^^^^^^ ^^^^^^^^^^
warning: unused import: `Anchor`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:13:61
|
13 | use cardano_serialization_lib::protocol_types::governance::{Anchor, DRepKind};
| ^^^^^^
warning: unused import: `BigNum`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:14:53
|
14 | use cardano_serialization_lib::utils::{from_bignum, BigNum};
| ^^^^^^
warning: unused imports: `CertificateKind`, `Certificate`, `NetworkId`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:17:43
|
17 | protocol_types::governance::VoteKind, Certificate, CertificateKind, NetworkId, NetworkIdKind,
| ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^
warning: unused import: `XPub`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/transaction.rs:9:45
|
9 | use third_party::ed25519_bip32_core::{XPrv, XPub};
| ^^^^
warning: use of deprecated associated function `third_party::ur_registry::traits::From::from_cbor`: please use `try_from` instead
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:180:52
|
180 | let sign_structure = CardanoSignStructure::from_cbor(sign_data.clone());
| ^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: unused variable: `e`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:193:17
|
193 | Err(e) => Ok(Self {
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
= note: `#[warn(unused_variables)]` on by default
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:511:33
|
508 | ... Ed25519KeyHash => {
| -------------- matches any value
...
511 | ... ScriptHash => _cert
| ^^^^^^^^^^ unreachable pattern
|
= note: `#[warn(unreachable_patterns)]` on by default
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:524:33
|
521 | ... Ed25519KeyHash => {
| -------------- matches any value
...
524 | ... ScriptHash => _cert
| ^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:544:29
|
541 | ... Ed25519KeyHash => {
| -------------- matches any value
...
544 | ... ScriptHash => _cert
| ^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:578:25
|
569 | Ed25519KeyHash => (
| -------------- matches any value
...
578 | ScriptHash => (
| ^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:615:25
|
606 | Ed25519KeyHash => (
| -------------- matches any value
...
615 | ScriptHash => (
| ^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:669:25
|
660 | Ed25519KeyHash => (
| -------------- matches any value
...
669 | ScriptHash => (
| ^^^^^^^^^^ unreachable pattern
warning: unused variable: `Ed25519KeyHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:508:33
|
508 | ... Ed25519KeyHash => {
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ed25519KeyHash`
warning: unused variable: `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:511:33
|
511 | ... ScriptHash => _cert
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScriptHash`
warning: unused variable: `Ed25519KeyHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:521:33
|
521 | ... Ed25519KeyHash => {
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ed25519KeyHash`
warning: unused variable: `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:524:33
|
524 | ... ScriptHash => _cert
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScriptHash`
warning: unused variable: `Ed25519KeyHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:541:29
|
541 | ... Ed25519KeyHash => {
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ed25519KeyHash`
warning: unused variable: `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:544:29
|
544 | ... ScriptHash => _cert
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScriptHash`
warning: unused variable: `Ed25519KeyHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:569:25
|
569 | Ed25519KeyHash => (
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ed25519KeyHash`
warning: unused variable: `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:578:25
|
578 | ScriptHash => (
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScriptHash`
warning: unused variable: `Ed25519KeyHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:606:25
|
606 | Ed25519KeyHash => (
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ed25519KeyHash`
warning: unused variable: `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:615:25
|
615 | ScriptHash => (
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScriptHash`
warning: unused variable: `Ed25519KeyHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:660:25
|
660 | Ed25519KeyHash => (
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Ed25519KeyHash`
warning: unused variable: `ScriptHash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:669:25
|
669 | ScriptHash => (
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScriptHash`
warning: unused variable: `network_id`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:1031:9
|
1031 | network_id: u8,
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network_id`
warning: variable does not need to be mutable
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:1083:25
|
1083 | let mut address = utxo.address.clone();
| ----^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: unused variable: `v`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:1151:59
|
1151 | assets: output.amount().multiasset().map(|v| {
| ^ help: if this is intentional, prefix it with an underscore: `_v`
warning: variable does not need to be mutable
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:1152:25
|
1152 | let mut parsed_multi_assets = vec![];
| ----^^^^^^^^^^^^^^^^^^^
| |
| help: remove this `mut`
warning: constant `LABEL_ABCHOR` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:105:7
|
105 | const LABEL_ABCHOR: &str = "Anchor";
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: variants `Registration`, `Deregistration`, and `Delegation` are never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:157:5
|
156 | enum CardanoCertAction {
| ----------------- variants in this enum
157 | Registration(Registration),
| ^^^^^^^^^^^^
158 | Deregistration(Deregistration),
| ^^^^^^^^^^^^^^
159 | Delegation(Delegation),
| ^^^^^^^^^^
|
= note: `CardanoCertAction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: field `stake_key` is never read
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:164:5
|
163 | struct Registration {
| ------------ field in this struct
164 | stake_key: RewardAddress,
| ^^^^^^^^^
|
= note: `Registration` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: field `stake_key` is never read
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:169:5
|
168 | struct Deregistration {
| -------------- field in this struct
169 | stake_key: RewardAddress,
| ^^^^^^^^^
|
= note: `Deregistration` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: fields `pool` and `stake_key` are never read
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:174:5
|
173 | struct Delegation {
| ---------- fields in this struct
174 | pool: String,
| ^^^^
175 | stake_key: RewardAddress,
| ^^^^^^^^^
|
= note: `Delegation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: variable `Ed25519KeyHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:508:33
|
508 | ... Ed25519KeyHash => {
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ed25519_key_hash`
|
= note: `#[warn(non_snake_case)]` on by default
warning: variable `ScriptHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:511:33
|
511 | ... ScriptHash => _cert
| ^^^^^^^^^^ help: convert the identifier to snake case: `script_hash`
warning: variable `Ed25519KeyHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:521:33
|
521 | ... Ed25519KeyHash => {
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ed25519_key_hash`
warning: variable `ScriptHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:524:33
|
524 | ... ScriptHash => _cert
| ^^^^^^^^^^ help: convert the identifier to snake case: `script_hash`
warning: variable `Ed25519KeyHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:541:29
|
541 | ... Ed25519KeyHash => {
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ed25519_key_hash`
warning: variable `ScriptHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:544:29
|
544 | ... ScriptHash => _cert
| ^^^^^^^^^^ help: convert the identifier to snake case: `script_hash`
warning: variable `Ed25519KeyHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:569:25
|
569 | Ed25519KeyHash => (
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ed25519_key_hash`
warning: variable `ScriptHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:578:25
|
578 | ScriptHash => (
| ^^^^^^^^^^ help: convert the identifier to snake case: `script_hash`
warning: variable `Ed25519KeyHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:606:25
|
606 | Ed25519KeyHash => (
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ed25519_key_hash`
warning: variable `ScriptHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:615:25
|
615 | ScriptHash => (
| ^^^^^^^^^^ help: convert the identifier to snake case: `script_hash`
warning: variable `Ed25519KeyHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:660:25
|
660 | Ed25519KeyHash => (
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ed25519_key_hash`
warning: variable `ScriptHash` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cardano/src/structs.rs:669:25
|
669 | ScriptHash => (
| ^^^^^^^^^^ help: convert the identifier to snake case: `script_hash`
warning: unused import: `self`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/ao_transaction.rs:3:11
|
3 | vec::{self, Vec},
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `third_party::core2::io::Read`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/data_item.rs:13:5
|
13 | use third_party::core2::io::Read;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `core2::io::ErrorKind`, `hex`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/data_item.rs:14:19
|
14 | use third_party::{core2::io::ErrorKind, hex};
| ^^^^^^^^^^^^^^^^^^^^ ^^^
warning: unused import: `sign_message`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/lib.rs:25:59
|
25 | use keystore::algorithms::rsa::{get_rsa_secret_from_seed, sign_message};
| ^^^^^^^^^^^^
warning: unused variable: `i`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/data_item.rs:26:13
|
26 | for i in 0..len {
| ^ help: if this is intentional, prefix it with an underscore: `_i`
|
= note: `#[warn(unused_variables)]` on by default
warning: variable does not need to be mutable
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/data_item.rs:68:9
|
68 | let mut buf = reader.drain(..len as usize).collect();
| ----^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: variants `ED25519`, `ETHEREUM`, `SOLANA`, `INJECTEDAPTOS`, `MULTIAPTOS`, and `TYPEDETHEREUM` are never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/arweave/src/data_item.rs:94:5
|
92 | enum SignatureType {
| ------------- variants in this enum
93 | ARWEAVE = 1,
94 | ED25519,
| ^^^^^^^
95 | ETHEREUM,
| ^^^^^^^^
96 | SOLANA,
| ^^^^^^
97 | INJECTEDAPTOS,
| ^^^^^^^^^^^^^
98 | MULTIAPTOS,
| ^^^^^^^^^^
99 | TYPEDETHEREUM,
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: unused imports: `DEVICE_TYPE`, `DEVICE_VERSION`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/wallets/src/thor_wallet.rs:18:60
|
18 | use crate::{common::get_path_component, ExtendedPublicKey, DEVICE_TYPE, DEVICE_VERSION};
| ^^^^^^^^^^^ ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: use of deprecated associated function `third_party::secp256k1::Message::from_slice`: use from_digest_slice instead
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/cosmos/src/lib.rs:77:35
|
77 | if let Ok(message) = Message::from_slice(&hash) {
| ^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: unused import: `serde_json`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/errors.rs:2:19
|
2 | use third_party::{serde_json, thiserror};
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `num_bigint::BigUint`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/jettons.rs:9:5
|
9 | use num_bigint::BigUint;
| ^^^^^^^^^^^^^^^^^^^
warning: unused import: `num_bigint::BigUint`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/mod.rs:4:5
|
4 | use num_bigint::BigUint;
| ^^^^^^^^^^^^^^^^^^^
warning: unused import: `Cell`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/mod.rs:11:36
|
11 | use crate::vendor::cell::{ArcCell, Cell, CellBuilder, TonCellError};
| ^^^^
warning: unused import: `num_bigint::BigUint`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/jetton.rs:2:5
|
2 | use num_bigint::BigUint;
| ^^^^^^^^^^^^^^^^^^^
warning: unused import: `Cell`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/jetton.rs:6:58
|
6 | use crate::vendor::{address::TonAddress, cell::{ArcCell, Cell, TonCellError}};
| ^^^^
warning: unused import: `InternalMessage`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/jetton.rs:8:41
|
8 | use super::{traits::ParseCell, Comment, InternalMessage};
| ^^^^^^^^^^^^^^^
warning: unused imports: `Comment`, `jetton`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/structs.rs:6:23
|
6 | use crate::messages::{jetton, Comment, Operation, SigningMessage};
| ^^^^^^ ^^^^^^^
warning: unused import: `format`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/structs.rs:11:13
|
11 | use alloc::{format, vec};
| ^^^^^^
warning: unused import: `ArcCell`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/transaction.rs:4:39
|
4 | use crate::vendor::cell::{BagOfCells, ArcCell};
| ^^^^^^^
warning: unused import: `format`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/transaction.rs:5:13
|
5 | use alloc::{format, vec};
| ^^^^^^
warning: unused import: `third_party::hex`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/transaction.rs:8:5
|
8 | use third_party::hex;
| ^^^^^^^^^^^^^^^^
warning: unused import: `core::ops::Deref`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/mod.rs:14:5
|
14 | use core::ops::Deref;
| ^^^^^^^^^^^^^^^^
warning: unused import: `crate::vendor::cell::bit_string::*`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/mod.rs:19:5
|
19 | use crate::vendor::cell::bit_string::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `num_bigint::BigUint`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/mod.rs:30:5
|
30 | use num_bigint::BigUint;
| ^^^^^^^^^^^^^^^^^^^
warning: unused imports: `One`, `ToPrimitive`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/mod.rs:31:18
|
31 | use num_traits::{One, ToPrimitive};
| ^^^ ^^^^^^^^^^^
warning: unused import: `third_party::hex`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/bag_of_cells.rs:4:5
|
4 | use third_party::hex;
| ^^^^^^^^^^^^^^^^
warning: unused import: `hex`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/error.rs:6:19
|
6 | use third_party::{hex};
| ^^^
warning: unused import: `alloc::vec`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/raw_boc_from_boc.rs:4:5
|
4 | use alloc::vec;
| ^^^^^^^^^^
warning: unused imports: `CellBuilder`, `StateInitBuilder`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/wallet/mod.rs:12:32
|
12 | ArcCell, BagOfCells, Cell, CellBuilder, StateInit, StateInitBuilder, TonCellError,
| ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
warning: value assigned to `ref_index` is never read
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/jetton.rs:84:17
|
84 | ref_index = ref_index + 1;
| ^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` on by default
warning: value assigned to `ref_index` is never read
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/nft.rs:70:17
|
70 | ref_index = ref_index + 1;
| ^^^^^^^^^
|
= help: maybe it is overwritten before being read?
warning: unused variable: `e`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/messages/mod.rs:229:27
|
229 | .map_err(|e| TonCellError::CellParserError("payload is not a comment".to_string()))
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
= note: `#[warn(unused_variables)]` on by default
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/structs.rs:103:25
|
103 | _ => Err(TonError::InvalidTransaction(
| ^
|
= note: `#[warn(unreachable_patterns)]` on by default
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/structs.rs:128:25
|
128 | _ => Err(TonError::InvalidTransaction(
| ^
warning: unused variable: `other_message`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/structs.rs:132:45
|
132 | Operation::OtherMessage(other_message) => Ok(Self {
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_message`
warning: unused variable: `e`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/lib.rs:35:17
|
35 | Err(e) => false,
| ^ help: if this is intentional, prefix it with an underscore: `_e`
warning: unused variable: `e`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/lib.rs:37:13
|
37 | Err(e) => false,
| ^ help: if this is intentional, prefix it with an underscore: `_e`
warning: variant `InvalidWord` is never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/errors.rs:33:5
|
28 | pub(crate) enum MnemonicError {
| ------------- variant in this enum
...
33 | InvalidWord(String),
| ^^^^^^^^^^^
|
= note: `MnemonicError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
warning: type alias `SnakeFormattedDict` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/mod.rs:58:10
|
58 | pub type SnakeFormattedDict = BTreeMap<CellHash, Vec<u8>>;
| ^^^^^^^^^^^^^^^^^^
warning: field `bit_len` is never read
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/bit_string.rs:11:5
|
9 | pub(crate) struct BitString {
| --------- field in this struct
10 | value: BigUint,
11 | bit_len: usize,
| ^^^^^^^
|
= note: `BitString` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: associated items `new`, `shl_assign_and_add`, `shl_assign_and_fill`, `shl_assign`, `bit_len`, and `get_value_as_bytes` are never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/bit_string.rs:15:12
|
14 | impl BitString {
| -------------- associated items in this implementation
15 | pub fn new() -> Self {
| ^^^
...
22 | pub fn shl_assign_and_add(&mut self, rhs: usize, val: BigUint) {
| ^^^^^^^^^^^^^^^^^^
...
28 | pub fn shl_assign_and_fill(&mut self, rhs: usize) {
| ^^^^^^^^^^^^^^^^^^^
...
33 | pub fn shl_assign(&mut self, rhs: usize) {
| ^^^^^^^^^^
...
38 | pub fn bit_len(&self) -> usize {
| ^^^^^^^
...
42 | pub fn get_value_as_bytes(&self) -> Vec<u8> {
| ^^^^^^^^^^^^^^^^^^
warning: function `create_biguint_with_ones` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/bit_string.rs:54:4
|
54 | fn create_biguint_with_ones(n: usize) -> BigUint {
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: multiple methods are never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/builder.rs:35:12
|
25 | impl CellBuilder {
| ---------------- methods in this implementation
...
35 | pub fn set_cell_is_exotic(&mut self, val: bool) {
| ^^^^^^^^^^^^^^^^^^
...
51 | pub fn store_i8(&mut self, bit_len: usize, val: i8) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^
...
79 | pub fn store_i64(&mut self, bit_len: usize, val: i64) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^
...
86 | pub fn store_uint(&mut self, bit_len: usize, val: &BigUint) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^
...
129 | pub fn store_int(&mut self, bit_len: usize, val: &BigInt) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^
...
172 | pub fn store_string(&mut self, val: &str) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^^
...
176 | pub fn store_coins(&mut self, val: &BigUint) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^
...
187 | pub fn store_raw_address(&mut self, val: &TonAddress) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^^^^^^^
...
197 | pub fn store_address(&mut self, val: &TonAddress) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^^^
...
221 | pub fn store_references(&mut self, refs: &[ArcCell]) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^^^^^^
...
231 | pub fn store_child(&mut self, cell: Cell) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^
...
235 | pub fn store_remaining_bits(
| ^^^^^^^^^^^^^^^^^^^^
...
248 | pub fn store_cell_data(&mut self, cell: &Cell) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^^^^^^
...
254 | pub fn store_cell(&mut self, cell: &Cell) -> Result<&mut Self, TonCellError> {
| ^^^^^^^^^^
warning: function `extend_and_invert_bits` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/builder.rs:297:4
|
297 | fn extend_and_invert_bits(bits_cnt: usize, src: &BigUint) -> Result<BigUint, TonCellError> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: multiple associated items are never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/slice.rs:22:12
|
21 | impl CellSlice {
| -------------- associated items in this implementation
22 | pub fn new(
| ^^^
...
52 | pub fn new_with_offset(cell: &Cell, offset: usize) -> Result<CellSlice, TonCellError> {
| ^^^^^^^^^^^^^^^
...
62 | pub fn full_cell(cell: Cell) -> Result<CellSlice, TonCellError> {
| ^^^^^^^^^
...
74 | pub fn parser(&self) -> Result<CellParser, TonCellError> {
| ^^^^^^
...
90 | pub fn parse<F, T>(&self, parse: F) -> Result<T, TonCellError>
| ^^^^^
...
100 | pub fn parse_fully<F, T>(&self, parse: F) -> Result<T, TonCellError>
| ^^^^^^^^^^^
...
110 | pub fn into_cell(&self) -> Result<Cell, TonCellError> {
| ^^^^^^^^^
...
120 | pub fn reference(&self, idx: usize) -> Result<&ArcCell, TonCellError> {
| ^^^^^^^^^
...
137 | pub fn to_cell(&self) -> Result<Cell, TonCellError> {
| ^^^^^^^
warning: methods `with_split_depth`, `with_tick_tock`, and `with_library` are never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/cell/state_init.rs:27:12
|
16 | impl StateInitBuilder {
| --------------------- methods in this implementation
...
27 | pub fn with_split_depth(&mut self, split_depth: bool) -> &mut Self {
| ^^^^^^^^^^^^^^^^
...
32 | pub fn with_tick_tock(&mut self, tick_tock: bool) -> &mut Self {
| ^^^^^^^^^^^^^^
...
37 | pub fn with_library(&mut self, library: bool) -> &mut Self {
| ^^^^^^^^^^^^
warning: variants `ForwardTonAmountIsNegative` and `NaclCryptographicError` are never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/error.rs:10:5
|
8 | pub enum TonMessageError {
| --------------- variants in this enum
9 | #[error("ForwardTonAmountIsN...
10 | ForwardTonAmountIsNegative,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
13 | NaclCryptographicError(String),
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `TonMessageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: constant `JETTON_TRANSFER_NOTIFICATION` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:21:11
|
21 | pub const JETTON_TRANSFER_NOTIFICATION: u32 = 0x7362d09c;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `JETTON_INTERNAL_TRANSFER` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:22:11
|
22 | pub const JETTON_INTERNAL_TRANSFER: u32 = 0x178d4519;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `JETTON_EXCESSES` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:23:11
|
23 | pub const JETTON_EXCESSES: u32 = 0xd53276db;
| ^^^^^^^^^^^^^^^
warning: constant `JETTON_BURN` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:24:11
|
24 | pub const JETTON_BURN: u32 = 0x595f07bc;
| ^^^^^^^^^^^
warning: constant `JETTON_BURN_NOTIFICATION` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:25:11
|
25 | pub const JETTON_BURN_NOTIFICATION: u32 = 0x7bdd97de;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: struct `JettonTransferMessage` is never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:35:12
|
35 | pub struct JettonTransferMessage {
| ^^^^^^^^^^^^^^^^^^^^^
warning: multiple associated items are never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/jetton.rs:46:12
|
45 | impl JettonTransferMessage {
| -------------------------- associated items in this implementation
46 | pub fn new(destination: &TonAddress, amount: &BigUint) -> JettonTransferMessage {
| ^^^
...
58 | pub fn with_query_id(&mut self, query_id: u64) -> &mut Self {
| ^^^^^^^^^^^^^
...
63 | pub fn with_response_destination(&mut self, response_destination: &TonAddress) -> &mut Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
...
68 | pub fn with_custom_payload(&mut self, custom_payload: Cell) -> &mut Self {
| ^^^^^^^^^^^^^^^^^^^
...
72 | pub fn with_custom_payload_ref(&mut self, custom_payload_ref: &ArcCell) -> &mut Self {
| ^^^^^^^^^^^^^^^^^^^^^^^
...
77 | pub fn with_forward(
| ^^^^^^^^^^^^
...
85 | pub fn with_forward_ref(
| ^^^^^^^^^^^^^^^^
...
95 | pub fn build(&self) -> Result<Cell, TonMessageError> {
| ^^^^^
warning: struct `TransferMessage` is never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/transfer.rs:9:12
|
9 | pub struct TransferMessage {
| ^^^^^^^^^^^^^^^
warning: associated items `new`, `with_state_init`, `with_state_init_ref`, `with_data`, `with_data_ref`, and `build` are never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/message/transfer.rs:17:12
|
16 | impl TransferMessage {
| -------------------- associated items in this implementation
17 | pub fn new(dest: &TonAddress, value: &BigUint) -> Self {
| ^^^
...
26 | pub fn with_state_init(&mut self, state_init: Cell) -> &mut Self {
| ^^^^^^^^^^^^^^^
...
30 | pub fn with_state_init_ref(&mut self, state_init: &ArcCell) -> &mut Self {
| ^^^^^^^^^^^^^^^^^^^
...
35 | pub fn with_data(&mut self, data: Cell) -> &mut Self {
| ^^^^^^^^^
...
39 | pub fn with_data_ref(&mut self, data: &ArcCell) -> &mut Self {
| ^^^^^^^^^^^^^
...
44 | pub fn build(&self) -> Result<Cell, TonMessageError> {
| ^^^^^
warning: multiple variants are never constructed
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/wallet/mod.rs:78:5
|
77 | pub enum WalletVersion {
| ------------- variants in this enum
78 | V1R1,
| ^^^^
79 | V1R2,
| ^^^^
80 | V1R3,
| ^^^^
81 | V2R1,
| ^^^^
82 | V2R2,
| ^^^^
83 | V3R1,
| ^^^^
84 | V3R2,
| ^^^^
85 | V4R1,
| ^^^^
86 | V4R2,
87 | HighloadV1R1,
| ^^^^^^^^^^^^
88 | HighloadV1R2,
| ^^^^^^^^^^^^
89 | HighloadV2,
| ^^^^^^^^^^
90 | HighloadV2R1,
| ^^^^^^^^^^^^
91 | HighloadV2R2,
| ^^^^^^^^^^^^
|
= note: `WalletVersion` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
warning: method `has_op` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/wallet/mod.rs:166:12
|
94 | impl WalletVersion {
| ------------------ method in this implementation
...
166 | pub fn has_op(&self) -> bool {
| ^^^^^^
warning: associated function `derive` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/vendor/wallet/mod.rs:180:12
|
179 | impl TonWallet {
| -------------- associated function in this implementation
180 | pub fn derive(
| ^^^^^^
warning: bounds on generic parameters are not enforced in type aliases
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ton/src/errors.rs:7:20
|
7 | pub type Result<T: Sized> = core::result::Result<T, TonError>;
| ^^^^^
|
= note: `#[warn(type_alias_bounds)]` on by default
help: the bound will not be checked when the type alias is used, and should be removed
|
7 - pub type Result<T: Sized> = core::result::Result<T, TonError>;
7 + pub type Result<T> = core::result::Result<T, TonError>;
|
warning: `app_cardano` (lib) generated 51 warnings (run `cargo fix --lib -p app_cardano` to apply 27 suggestions)
warning: `app_arweave` (lib) generated 7 warnings (run `cargo fix --lib -p app_arweave` to apply 6 suggestions)
warning: `app_wallets` (lib) generated 1 warning (run `cargo fix --lib -p app_wallets` to apply 1 suggestion)
warning: `app_cosmos` (lib) generated 1 warning
warning: `app_ton` (lib) generated 51 warnings (run `cargo fix --lib -p app_ton` to apply 25 suggestions)
warning: unnecessary parentheses around `if` condition
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/message.rs:77:12
|
77 | if (is_versioned) {
| ^ ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
77 - if (is_versioned) {
77 + if is_versioned {
|
warning: unused import: `third_party::bitcoin::hex::FromHex`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/parser/mod.rs:7:5
|
7 | use third_party::bitcoin::hex::FromHex;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `ProgramOverviewUnknown`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/parser/mod.rs:17:30
|
17 | ProgramOverviewTransfer, ProgramOverviewUnknown, ProgramOverviewVote, SolanaOverview,
| ^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `SIGHASH_GLOBAL_NAMESPACE`, `sighash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/solana_lib/squads_v4/instructions.rs:10:42
|
10 | use crate::solana_lib::squads_v4::util::{sighash, SIGHASH_GLOBAL_NAMESPACE};
| ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:42:5
|
42 | accounts: Vec<String>,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:57:5
|
57 | accounts: Vec<String>,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:70:30
|
70 | fn resolve_proposal_activate(accounts: Vec<String>) -> Result<SolanaDetail> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:82:52
|
82 | fn resolve_proposal_cancel(args: ProposalVoteArgs, accounts: Vec<String>) -> Result<SolanaDetail> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:94:52
|
94 | fn resolve_proposal_reject(args: ProposalVoteArgs, accounts: Vec<String>) -> Result<SolanaDetail> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:106:53
|
106 | fn resolve_proposal_approve(args: ProposalVoteArgs, accounts: Vec<String>) -> Result<SolanaDetail> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:120:5
|
120 | accounts: Vec<String>,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `accounts`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/solana/src/resolvers/squads_v4.rs:133:38
|
133 | fn resolve_vault_transaction_execute(accounts: Vec<String>) -> Result<SolanaDetail> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
warning: unused variable: `contract_address`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/ethereum/src/legacy_transaction.rs:300:17
|
300 | let contract_address = erc20_override.contract_address;
| ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused import: `core::str::FromStr`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/address.rs:5:5
|
5 | use core::str::FromStr;
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `core::str::FromStr`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:3:5
|
3 | use core::str::FromStr;
| ^^^^^^^^^^^^^^^^^^
warning: variant `STRKEY_PUBKEY` should have an upper camel case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:10:5
|
10 | STRKEY_PUBKEY = 6 << 3,
| ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StrkeyPubkey`
|
= note: `#[warn(non_camel_case_types)]` on by default
warning: variant `STRKEY_PRIVKEY` should have an upper camel case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:11:5
|
11 | STRKEY_PRIVKEY = 18 << 3,
| ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StrkeyPrivkey`
warning: variant `STRKEY_PRE_AUTH_TX_KEY` should have an upper camel case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:12:5
|
12 | STRKEY_PRE_AUTH_TX_KEY = 19 << 3,
| ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StrkeyPreAuthTxKey`
warning: variant `STRKEY_HASH_X` should have an upper camel case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:13:5
|
13 | STRKEY_HASH_X = 23 << 3,
| ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StrkeyHashX`
warning: variant `STRKEY_MUXED_ACCOUNT` should have an upper camel case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:14:5
|
14 | STRKEY_MUXED_ACCOUNT = 12 << 3,
| ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StrkeyMuxedAccount`
warning: variant `STRKEY_SIGNED_PAYLOAD` should have an upper camel case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/strkeys.rs:15:5
|
15 | STRKEY_SIGNED_PAYLOAD = 15 << 3,
| ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StrkeySignedPayload`
warning: unused import: `third_party::hex`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/lib.rs:16:5
|
16 | use third_party::hex;
| ^^^^^^^^^^^^^^^^
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:38:13
|
37 | public_hash => Network::Public,
| ----------- matches any value
38 | testnet_hash => Network::Testnet,
| ^^^^^^^^^^^^ unreachable pattern
|
= note: `#[warn(unreachable_patterns)]` on by default
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:39:13
|
37 | public_hash => Network::Public,
| ----------- matches any value
38 | testnet_hash => Network::Testnet,
39 | futurenet_hash => Network::Futurenet,
| ^^^^^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:40:13
|
37 | public_hash => Network::Public,
| ----------- matches any value
...
40 | sandbox_hash => Network::Sandbox,
| ^^^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:41:13
|
37 | public_hash => Network::Public,
| ----------- matches any value
...
41 | standalone_hash => Network::Standalone,
| ^^^^^^^^^^^^^^^ unreachable pattern
warning: unreachable pattern
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:42:13
|
37 | public_hash => Network::Public,
| ----------- matches any value
...
42 | _ => Network::Public,
| ^ unreachable pattern
warning: unused variable: `public_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:30:13
|
30 | let public_hash = Network::Public.hash();
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_hash`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `testnet_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:31:13
|
31 | let testnet_hash = Network::Testnet.hash();
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testnet_hash`
warning: unused variable: `futurenet_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:32:13
|
32 | let futurenet_hash = Network::Futurenet.hash();
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_futurenet_hash`
warning: unused variable: `sandbox_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:33:13
|
33 | let sandbox_hash = Network::Sandbox.hash();
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sandbox_hash`
warning: unused variable: `standalone_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:34:13
|
34 | let standalone_hash = Network::Standalone.hash();
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_standalone_hash`
warning: unused variable: `public_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:37:13
|
37 | public_hash => Network::Public,
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_hash`
warning: unused variable: `testnet_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:38:13
|
38 | testnet_hash => Network::Testnet,
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_testnet_hash`
warning: unused variable: `futurenet_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:39:13
|
39 | futurenet_hash => Network::Futurenet,
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_futurenet_hash`
warning: unused variable: `sandbox_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:40:13
|
40 | sandbox_hash => Network::Sandbox,
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sandbox_hash`
warning: unused variable: `standalone_hash`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/stellar/src/structs.rs:41:13
|
41 | standalone_hash => Network::Standalone,
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_standalone_hash`
warning: unused import: `alloc::fmt::format`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/multi_sig/wallet.rs:1:5
|
1 | use alloc::fmt::format;
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unnecessary parentheses around `if` condition
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/multi_sig/wallet.rs:241:16
|
241 | if (wallet.network != this_network) {
| ^ ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
241 - if (wallet.network != this_network) {
241 + if wallet.network != this_network {
|
warning: unused import: `super::legacy::input`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/parsed_tx.rs:10:5
|
10 | use super::legacy::input;
| ^^^^^^^^^^^^^^^^^^^^
warning: unused import: `third_party::bitcoin::opcodes::all::OP_PUSHNUM_1`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:3:5
|
3 | use third_party::bitcoin::opcodes::all::OP_PUSHNUM_1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `self`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:21:5
|
21 | self, ChildNumber, DerivationPath, Fingerprint, KeySource, Xpub,
| ^^^^
warning: unused imports: `Script`, `script`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:26:28
|
26 | use third_party::bitcoin::{script, Network, PrivateKey, Script};
| ^^^^^^ ^^^^^^
warning: unnecessary parentheses around `if` condition
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:416:16
|
416 | if (cur >= req) {
| ^ ^
|
help: remove these parentheses
|
416 - if (cur >= req) {
416 + if cur >= req {
|
warning: variable does not need to be mutable
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/multi_sig/wallet.rs:147:9
|
147 | let mut wallet = _parse_plain_xpub_config(&content)?;
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: unused variable: `e`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/multi_sig/wallet.rs:429:13
|
429 | Err(e) => false,
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `index`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/parsed_tx.rs:139:14
|
139 | for (index, input) in parsed_inputs.iter().enumerate() {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
warning: unused variable: `input`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:230:41
|
230 | pub fn check_my_input_script(&self, input: &Input, index: usize) -> Result<()> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
warning: unused variable: `index`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:230:56
|
230 | pub fn check_my_input_script(&self, input: &Input, index: usize) -> Result<()> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
warning: unused variable: `input`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:234:45
|
234 | pub fn check_my_input_derivation(&self, input: &Input, index: usize) -> Result<()> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
warning: unused variable: `index`
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:234:60
|
234 | pub fn check_my_input_derivation(&self, input: &Input, index: usize) -> Result<()> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
warning: variable does not need to be mutable
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:764:13
|
764 | let mut sub_path = &child[parent.len()..];
| ----^^^^^^^^
| |
| help: remove this `mut`
warning: function `is_valid_multi_path` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/multi_sig/mod.rs:499:4
|
499 | fn is_valid_multi_path(path: &str) -> bool {
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: enum `SignStatus` is never used
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs:36:10
|
36 | pub enum SignStatus {
| ^^^^^^^^^^
warning: variable `bsmsWallet` should have a snake case name
--> /Users/parichay/minswap/keystone3-firmware/rust/apps/bitcoin/src/multi_sig/wallet.rs:118:13
|
118 | let mut bsmsWallet = BsmsWallet::default();
| ^^^^^^^^^^ help: convert the identifier to snake case: `bsms_wallet`
|
= note: `#[warn(non_snake_case)]` on by default
warning: `app_solana` (lib) generated 12 warnings (run `cargo fix --lib -p app_solana` to apply 12 suggestions)
warning: `app_ethereum` (lib) generated 1 warning (run `cargo fix --lib -p app_ethereum` to apply 1 suggestion)
warning: `app_stellar` (lib) generated 24 warnings (run `cargo fix --lib -p app_stellar` to apply 13 suggestions)
warning: `app_bitcoin` (lib) generated 18 warnings (run `cargo fix --lib -p app_bitcoin` to apply 15 suggestions)
warning: unused import: `make_free_method`
--> src/common/src/ffi.rs:6:43
|
6 | use crate::{impl_c_ptr, impl_simple_free, make_free_method};
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `third_party::bech32::primitives::encode`
--> src/common/src/qrcode/mod.rs:3:5
|
3 | use third_party::bech32::primitives::encode;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `structs::Response`
--> src/common/src/qrcode/mod.rs:9:5
|
9 | structs::Response,
| ^^^^^^^^^^^^^^^^^
warning: unreachable pattern
--> src/common/src/ur.rs:334:13
|
334 | _ => Err(URError::NotSupportURTypeError(value.get_type_str())),
| ^
|
= note: `#[warn(unreachable_patterns)]` on by default
warning: variable does not need to be mutable
--> src/common/src/lib.rs:279:9
|
279 | let mut output = keystore::algorithms::crypto::hkdf(&password_bytes, &salt_bytes, iterations);
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: variable does not need to be mutable
--> src/common/src/lib.rs:291:9
|
291 | let mut output = keystore::algorithms::crypto::hkdf64(&password_bytes, &salt_bytes, iterations);
| ----^^^^^^
| |
| help: remove this `mut`
warning: `common_rust_c` (lib) generated 6 warnings (run `cargo fix --lib -p common_rust_c` to apply 5 suggestions)
warning: unused import: `alloc::string::String`
--> src/wallet/src/btc_only_wallet/src/lib.rs:5:5
|
5 | use alloc::string::String;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `app_wallets::DEVICE_TYPE`
--> src/wallet/src/btc_only_wallet/src/lib.rs:10:5
|
10 | use app_wallets::DEVICE_TYPE;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `app_wallets::DEVICE_VERSION`
--> src/wallet/src/btc_only_wallet/src/lib.rs:11:5
|
11 | use app_wallets::DEVICE_VERSION;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `PtrString`
--> src/wallet/src/multi_coins_wallet/src/backpack.rs:5:43
|
5 | use common_rust_c::types::{Ptr, PtrBytes, PtrString};
| ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `recover_c_char`
--> src/wallet/src/multi_coins_wallet/src/backpack.rs:7:45
|
7 | use common_rust_c::utils::{recover_c_array, recover_c_char};
| ^^^^^^^^^^^^^^
warning: unused imports: `extend::crypto_multi_accounts::CryptoMultiAccounts`, `traits::RegistryItem`
--> src/wallet/src/multi_coins_wallet/src/keystone.rs:9:21
|
9 | error::URError, extend::crypto_multi_accounts::CryptoMultiAccounts, traits::RegistryItem,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
warning: unused import: `third_party::bitcoin::hex::DisplayHex`
--> src/wallet/src/multi_coins_wallet/src/lib.rs:33:5
|
33 | use third_party::bitcoin::hex::DisplayHex;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `third_party::core2::io::Read`
--> src/wallet/src/multi_coins_wallet/src/lib.rs:34:5
|
34 | use third_party::core2::io::Read;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unnecessary parentheses around `if` condition
--> src/wallet/src/multi_coins_wallet/src/lib.rs:311:31
|
311 | } else if (v.len() == 32) {
| ^ ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
311 - } else if (v.len() == 32) {
311 + } else if v.len() == 32 {
|
warning: crate-level attribute should be in the root module
--> src/wallet/src/multi_coins_wallet/src/thor_wallet.rs:1:1
|
1 | #![no_std]
| ^^^^^^^^^^
|
= note: `#[warn(unused_attributes)]` on by default
warning: use of deprecated method `third_party::ur_registry::traits::To::to_bytes`: please use `try_into` instead
--> src/wallet/src/multi_coins_wallet/src/arconnect.rs:47:29
|
47 | arweave_account.to_bytes().unwrap(),
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated method `third_party::ur_registry::traits::To::to_bytes`: please use `try_into` instead
--> src/wallet/src/multi_coins_wallet/src/arconnect.rs:73:29
|
73 | arweave_account.to_bytes().unwrap(),
| ^^^^^^^^
warning: unused variable: `k1`
--> src/wallet/src/multi_coins_wallet/src/thor_wallet.rs:47:29
|
47 | return if let (Some(k1), Some(k2), Some(k3), Some(k4), Some(k5)) =
| ^^ help: if this is intentional, prefix it with an underscore: `_k1`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `k2`
--> src/wallet/src/multi_coins_wallet/src/thor_wallet.rs:47:39
|
47 | return if let (Some(k1), Some(k2), Some(k3), Some(k4), Some(k5)) =
| ^^ help: if this is intentional, prefix it with an underscore: `_k2`
warning: unused variable: `k3`
--> src/wallet/src/multi_coins_wallet/src/thor_wallet.rs:47:49
|
47 | return if let (Some(k1), Some(k2), Some(k3), Some(k4), Some(k5)) =
| ^^ help: if this is intentional, prefix it with an underscore: `_k3`
warning: unused variable: `k4`
--> src/wallet/src/multi_coins_wallet/src/thor_wallet.rs:47:59
|
47 | return if let (Some(k1), Some(k2), Some(k3), Some(k4), Some(k5)) =
| ^^ help: if this is intentional, prefix it with an underscore: `_k4`
warning: unused variable: `k5`
--> src/wallet/src/multi_coins_wallet/src/thor_wallet.rs:47:69
|
47 | return if let (Some(k1), Some(k2), Some(k3), Some(k4), Some(k5)) =
| ^^ help: if this is intentional, prefix it with an underscore: `_k5`
warning: unnecessary `unsafe` block
--> src/wallet/src/multi_coins_wallet/src/arconnect.rs:33:5
|
33 | unsafe {
| ^^^^^^ unnecessary `unsafe` block
|
= note: `#[warn(unused_unsafe)]` on by default
warning: unnecessary `unsafe` block
--> src/wallet/src/multi_coins_wallet/src/arconnect.rs:61:5
|
61 | unsafe {
| ^^^^^^ unnecessary `unsafe` block
warning: unnecessary `unsafe` block
--> src/wallet/src/multi_coins_wallet/src/imtoken.rs:34:5
|
34 | unsafe {
| ^^^^^^ unnecessary `unsafe` block
warning: unnecessary `unsafe` block
--> src/xrp/src/structs.rs:89:9
|
89 | unsafe {
| ^^^^^^ unnecessary `unsafe` block
|
= note: `#[warn(unused_unsafe)]` on by default
warning: unused import: `alloc::fmt::format`
--> src/arweave/src/lib.rs:7:5
|
7 | use alloc::fmt::format;
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `format`
--> src/arweave/src/lib.rs:10:13
|
10 | use alloc::{format, slice};
| ^^^^^^
warning: unused import: `ErrorCodes`
--> src/arweave/src/lib.rs:16:29
|
16 | use common_rust_c::errors::{ErrorCodes, RustCError};
| ^^^^^^^^^^
warning: unused import: `json`
--> src/arweave/src/lib.rs:27:31
|
27 | use third_party::serde_json::{json, Value};
| ^^^^
warning: unused import: `To`
--> src/arweave/src/lib.rs:32:54
|
32 | use third_party::ur_registry::traits::{RegistryItem, To};
| ^^
warning: unused import: `alloc::format`
--> src/arweave/src/data_item.rs:1:5
|
1 | use alloc::format;
| ^^^^^^^^^^^^^
warning: unused variable: `e`
--> src/arweave/src/data_item.rs:22:13
|
22 | Err(e) => false,
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
= note: `#[warn(unused_variables)]` on by default
warning: unreachable pattern
--> src/arweave/src/lib.rs:174:9
|
174 | _ => ArweaveRequestType::ArweaveRequestTypeUnknown,
| ^
|
= note: `#[warn(unreachable_patterns)]` on by default
warning: unused import: `third_party::ur_registry::cardano::cardano_delegation::CardanoDelegation`
--> src/cardano/src/lib.rs:22:5
|
22 | use third_party::ur_registry::cardano::cardano_delegation::CardanoDelegation;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `String`
--> src/cardano/src/structs.rs:2:21
|
2 | use alloc::string::{String, ToString};
| ^^^^^^
warning: unused import: `core::str::FromStr`
--> src/ethereum/src/lib.rs:7:5
|
7 | use core::str::FromStr;
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `To`
--> src/ethereum/src/lib.rs:26:54
|
26 | use third_party::ur_registry::traits::{RegistryItem, To};
| ^^
warning: unused import: `third_party::core2::io::Read`
--> src/ethereum/src/lib.rs:17:5
|
17 | use third_party::core2::io::Read;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: variable does not need to be mutable
--> src/ethereum/src/structs.rs:33:29
|
33 | pub fn set_from_address(mut self, from_address: String) -> DisplayETH {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: unused variable: `e`
--> src/ethereum/src/lib.rs:185:31
|
185 | .map_err(|e| RustCError::UnexpectedError(format!("unable to derive pubkey")))
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused import: `address::utxo_get_address`
--> src/bitcoin/src/msg.rs:3:13
|
3 | use crate::{address::utxo_get_address, structs::DisplayBtcMsg};
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `Response`
--> src/bitcoin/src/msg.rs:14:34
|
14 | structs::{ExtendedPublicKey, Response, TransactionCheckResult, TransactionParseResult},
| ^^^^^^^^
warning: unused import: `hex`
--> src/bitcoin/src/msg.rs:23:5
|
23 | hex,
| ^^^
warning: unused import: `alloc::vec`
--> src/bitcoin/src/multi_sig/structs.rs:4:5
|
4 | use alloc::vec;
| ^^^^^^^^^^
warning: unused import: `CSliceFFI`
--> src/bitcoin/src/multi_sig/structs.rs:8:26
|
8 | use common_rust_c::ffi::{CSliceFFI, VecFFI};
| ^^^^^^^^^
warning: unused import: `alloc::boxed::Box`
--> src/bitcoin/src/multi_sig/mod.rs:3:5
|
3 | use alloc::boxed::Box;
| ^^^^^^^^^^^^^^^^^
warning: unused import: `app_bitcoin::errors::BitcoinError`
--> src/bitcoin/src/multi_sig/mod.rs:7:5
|
7 | use app_bitcoin::errors::BitcoinError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `MultiSigWalletConfig`, `generate_config_data`, `parse_bsms_wallet_config`, `self`
--> src/bitcoin/src/multi_sig/mod.rs:10:5
|
10 | self, export_wallet_by_ur, generate_config_data, parse_bsms_wallet_config, parse_wallet_config,
| ^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
11 | strict_verify_wallet_config, MultiSigWalletConfig,
| ^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `MultiSigXPubInfo`, `Network`, `extract_xpub_info_from_bytes`, `extract_xpub_info_from_crypto_account`, `extract_xpub_info_from_ur_bytes`
--> src/bitcoin/src/multi_sig/mod.rs:14:36
|
14 | export_xpub_by_crypto_account, extract_xpub_info_from_bytes,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 | extract_xpub_info_from_crypto_account, extract_xpub_info_from_ur_bytes, MultiSigXPubInfo,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
16 | Network,
| ^^^^^^^
warning: unused import: `third_party::bitcoin::psbt`
--> src/bitcoin/src/multi_sig/mod.rs:20:5
|
20 | use third_party::bitcoin::psbt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `third_party::serde_json::Value::String`
--> src/bitcoin/src/multi_sig/mod.rs:23:5
|
23 | use third_party::serde_json::Value::String;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `self`
--> src/bitcoin/src/multi_sig/mod.rs:24:39
|
24 | use third_party::ur_registry::bytes::{self, Bytes};
| ^^^^
warning: unused import: `VecFFI`
--> src/bitcoin/src/multi_sig/mod.rs:27:37
|
27 | use common_rust_c::ffi::{CSliceFFI, VecFFI};
| ^^^^^^
warning: unused import: `common_rust_c::free::Free`
--> src/bitcoin/src/multi_sig/mod.rs:28:5
|
28 | use common_rust_c::free::Free;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `ViewType`
--> src/bitcoin/src/multi_sig/mod.rs:31:41
|
31 | use common_rust_c::ur::{UREncodeResult, ViewType, FRAGMENT_MAX_LENGTH_DEFAULT};
| ^^^^^^^^
warning: unused imports: `MultiSigFormatType`, `MultiSigXPubInfoItem`
--> src/bitcoin/src/multi_sig/mod.rs:35:5
|
35 | MultiSigFormatType, MultiSigWallet, MultiSigXPubInfoItem, NetworkType,
| ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
warning: unused import: `app_bitcoin::multi_sig::MultiSigFormat`
--> src/bitcoin/src/multi_sig/mod.rs:37:5
|
37 | use app_bitcoin::multi_sig::MultiSigFormat;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `VecFFI`
--> src/bitcoin/src/psbt.rs:14:37
|
14 | use common_rust_c::ffi::{CSliceFFI, VecFFI};
| ^^^^^^
warning: unused import: `Response`
--> src/bitcoin/src/psbt.rs:16:24
|
16 | ExtendedPublicKey, Response, TransactionCheckResult, TransactionParseResult,
| ^^^^^^^^
warning: unused import: `Ptr`
--> src/bitcoin/src/psbt.rs:18:28
|
18 | use common_rust_c::types::{Ptr, PtrBytes, PtrString, PtrT, PtrUR};
| ^^^
warning: unused import: `PsbtSignResult`
--> src/bitcoin/src/psbt.rs:27:33
|
27 | use crate::structs::{DisplayTx, PsbtSignResult};
| ^^^^^^^^^^^^^^
warning: `btc_only_wallet_rust_c` (lib) generated 3 warnings (run `cargo fix --lib -p btc_only_wallet_rust_c` to apply 3 suggestions)
warning: `multi_coins_wallet_rust_c` (lib) generated 17 warnings (run `cargo fix --lib -p multi_coins_wallet_rust_c` to apply 11 suggestions)
warning: `xrp_rust_c` (lib) generated 1 warning
warning: `arweave_rust_c` (lib) generated 8 warnings (run `cargo fix --lib -p arweave_rust_c` to apply 7 suggestions)
warning: `cardano_rust_c` (lib) generated 2 warnings (run `cargo fix --lib -p cardano_rust_c` to apply 2 suggestions)
warning: `ethereum_rust_c` (lib) generated 5 warnings (run `cargo fix --lib -p ethereum_rust_c` to apply 4 suggestions)
warning: `bitcoin_rust_c` (lib) generated 21 warnings (run `cargo fix --lib -p bitcoin_rust_c` to apply 21 suggestions)
warning: unused import: `errors::TonError`
--> src/ton/src/lib.rs:12:5
|
12 | errors::TonError, mnemonic::ton_mnemonic_validate, ton_compare_address_and_public_key,
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `String`
--> src/stellar/src/lib.rs:6:21
|
6 | use alloc::string::{String, ToString};
| ^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `format`
--> src/stellar/src/lib.rs:7:13
|
7 | use alloc::{format, slice};
| ^^^^^^
warning: unused import: `ErrorCodes`
--> src/stellar/src/lib.rs:13:29
|
13 | use common_rust_c::errors::{ErrorCodes, RustCError};
| ^^^^^^^^^^
warning: unused import: `alloc::boxed::Box`
--> src/stellar/src/structs.rs:1:5
|
1 | use alloc::boxed::Box;
| ^^^^^^^^^^^^^^^^^
warning: unused import: `alloc::string::ToString`
--> src/stellar/src/structs.rs:2:5
|
2 | use alloc::string::ToString;
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `alloc::vec::Vec`
--> src/stellar/src/structs.rs:3:5
|
3 | use alloc::vec::Vec;
| ^^^^^^^^^^^^^^^
warning: unused import: `common_rust_c::ffi::VecFFI`
--> src/stellar/src/structs.rs:4:5
|
4 | use common_rust_c::ffi::VecFFI;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `common_rust_c::utils::convert_c_char`
--> src/stellar/src/structs.rs:8:5
|
8 | use common_rust_c::utils::convert_c_char;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `impl_c_ptrs`
--> src/stellar/src/structs.rs:9:67
|
9 | use common_rust_c::{check_and_free_ptr, free_str_ptr, impl_c_ptr, impl_c_ptrs, make_free_method};
| ^^^^^^^^^^^
warning: unused import: `core::ptr::null_mut`
--> src/stellar/src/structs.rs:10:5
|
10 | use core::ptr::null_mut;
| ^^^^^^^^^^^^^^^^^^^
warning: unused import: `third_party::itertools::Itertools`
--> src/stellar/src/structs.rs:11:5
|
11 | use third_party::itertools::Itertools;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated method `third_party::ur_registry::traits::To::to_bytes`: please use `try_into` instead
--> src/stellar/src/lib.rs:87:10
|
87 | .to_bytes()
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: variable does not need to be mutable
--> src/solana/src/structs.rs:386:25
|
386 | let mut squads_proposal = VecFFI::from(
| ----^^^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: `ton_rust_c` (lib) generated 1 warning (run `cargo fix --lib -p ton_rust_c` to apply 1 suggestion)
warning: `stellar_rust_c` (lib) generated 12 warnings (run `cargo fix --lib -p stellar_rust_c` to apply 11 suggestions)
warning: `solana_rust_c` (lib) generated 1 warning (run `cargo fix --lib -p solana_rust_c` to apply 1 suggestion)
warning: unused import: `alloc::vec`
--> src/test_cmd/src/btc_test_cmd/src/lib.rs:6:5
|
6 | use alloc::vec;
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `cty::c_char`
--> src/test_cmd/src/btc_test_cmd/src/lib.rs:9:5
|
9 | use cty::c_char;
| ^^^^^^^^^^^
warning: unused imports: `CryptoKeyPath`, `PathComponent`
--> src/test_cmd/src/btc_test_cmd/src/lib.rs:13:49
|
13 | use third_party::ur_registry::crypto_key_path::{CryptoKeyPath, PathComponent};
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^^
warning: unused import: `recover_c_char`
--> src/test_cmd/src/btc_test_cmd/src/lib.rs:25:44
|
25 | use common_rust_c::utils::{convert_c_char, recover_c_char};
| ^^^^^^^^^^^^^^
warning: unused import: `alloc::boxed::Box`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:4:5
|
4 | use alloc::boxed::Box;
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `String`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:5:21
|
5 | use alloc::string::{String, ToString};
| ^^^^^^
warning: unused import: `alloc::vec::Vec`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:7:5
|
7 | use alloc::vec::Vec;
| ^^^^^^^^^^^^^^^
warning: unused import: `third_party::ur_registry::crypto_psbt::CryptoPSBT`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:18:5
|
18 | use third_party::ur_registry::crypto_psbt::CryptoPSBT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `third_party::ur_registry::traits::RegistryItem`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:23:5
|
23 | use third_party::ur_registry::traits::RegistryItem;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `common_rust_c::errors::ErrorCodes`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:25:5
|
25 | use common_rust_c::errors::ErrorCodes;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `common_rust_c::ffi::CSliceFFI`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:26:5
|
26 | use common_rust_c::ffi::CSliceFFI;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `common_rust_c::structs::ExtendedPublicKey`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:27:5
|
27 | use common_rust_c::structs::ExtendedPublicKey;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `common_rust_c::types::PtrDecoder`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:28:5
|
28 | use common_rust_c::types::PtrDecoder;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `FRAGMENT_MAX_LENGTH_DEFAULT`, `UREncodeResult`, `URParseMultiResult`, `decode_ur`, `receive`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:30:5
|
30 | decode_ur, receive, QRCodeType, UREncodeResult, URParseMultiResult, URParseResult, ViewType,
| ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^
31 | FRAGMENT_MAX_LENGTH_DEFAULT,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `convert_c_char`
--> src/test_cmd/src/general_test_cmd/src/lib.rs:33:28
|
33 | use common_rust_c::utils::{convert_c_char, recover_c_char};
| ^^^^^^^^^^^^^^
warning: `btc_test_cmd` (lib) generated 4 warnings (run `cargo fix --lib -p btc_test_cmd` to apply 4 suggestions)
warning: `general_test_cmd` (lib) generated 11 warnings (run `cargo fix --lib -p general_test_cmd` to apply 11 suggestions)
warning: unused import: `btc_test_cmd`
--> src/test_cmd/src/lib.rs:7:5
|
7 | use btc_test_cmd;
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `general_test_cmd`
--> src/test_cmd/src/lib.rs:10:5
|
10 | use general_test_cmd;
| ^^^^^^^^^^^^^^^^
warning: `test_cmd` (lib) generated 2 warnings (run `cargo fix --lib -p test_cmd` to apply 2 suggestions)
warning: unused import: `bitcoin_rust_c`
--> src/lib.rs:11:5
|
11 | use bitcoin_rust_c;
| ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `common_rust_c`
--> src/lib.rs:12:5
|
12 | use common_rust_c;
| ^^^^^^^^^^^^^
warning: unused import: `test_cmd`
--> src/lib.rs:13:5
|
13 | use test_cmd;
| ^^^^^^^^
warning: unused import: `wallet_rust_c`
--> src/lib.rs:14:5
|
14 | use wallet_rust_c;
| ^^^^^^^^^^^^^
warning: unused import: `aptos_rust_c`
--> src/lib.rs:17:5
|
17 | use aptos_rust_c;
| ^^^^^^^^^^^^
warning: unused import: `arweave_rust_c`
--> src/lib.rs:19:5
|
19 | use arweave_rust_c;
| ^^^^^^^^^^^^^^
warning: unused import: `cardano_rust_c`
--> src/lib.rs:21:5
|
21 | use cardano_rust_c;
| ^^^^^^^^^^^^^^
warning: unused import: `cosmos_rust_c`
--> src/lib.rs:23:5
|
23 | use cosmos_rust_c;
| ^^^^^^^^^^^^^
warning: unused import: `ethereum_rust_c`
--> src/lib.rs:25:5
|
25 | use ethereum_rust_c;
| ^^^^^^^^^^^^^^^
warning: unused import: `near_rust_c`
--> src/lib.rs:27:5
|
27 | use near_rust_c;
| ^^^^^^^^^^^
warning: unused import: `solana_rust_c`
--> src/lib.rs:29:5
|
29 | use solana_rust_c;
| ^^^^^^^^^^^^^
warning: unused import: `stellar_rust_c`
--> src/lib.rs:31:5
|
31 | use stellar_rust_c;
| ^^^^^^^^^^^^^^
warning: unused import: `sui_rust_c`
--> src/lib.rs:33:5
|
33 | use sui_rust_c;
| ^^^^^^^^^^
warning: unused import: `ton_rust_c`
--> src/lib.rs:35:5
|
35 | use ton_rust_c;
| ^^^^^^^^^^
warning: unused import: `tron_rust_c`
--> src/lib.rs:37:5
|
37 | use tron_rust_c;
| ^^^^^^^^^^^
warning: unused import: `xrp_rust_c`
--> src/lib.rs:39:5
|
39 | use xrp_rust_c;
| ^^^^^^^^^^
warning: `rust_c` (lib) generated 16 warnings (run `cargo fix --lib -p rust_c` to apply 16 suggestions)
Finished release [optimized] target(s) in 0.87s
WARN: Skip rust_c::KT_ALLOCATOR - (not `no_mangle`).
WARN: Skip rust_c::_ - (not `pub`).
WARN: Skip common_rust_c::KEYSTONE - (not `no_mangle`).
WARN: Skip common_rust_c::FRAGMENT_UNLIMITED_LENGTH - (not `no_mangle`).
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_resolve_ur.c:1:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:104:50: warning: passing 'int32_t *' (aka 'int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = lv_fs_read(&fd, tmpBuff, JSON_MAX_LEN, &readBytes);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/external/lvgl/src/draw/../misc/lv_fs.h:174:84: note: passing argument to parameter 'br' here
lv_fs_res_t lv_fs_read(lv_fs_file_t * file_p, void * buf, uint32_t btr, uint32_t * br);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:138:41: warning: passing 'int32_t *' (aka 'int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = lv_fs_read(&fd, buffer, size, &readBytes);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/external/lvgl/src/draw/../misc/lv_fs.h:174:84: note: passing argument to parameter 'br' here
lv_fs_res_t lv_fs_read(lv_fs_file_t * file_p, void * buf, uint32_t btr, uint32_t * br);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:165:42: warning: passing 'int32_t *' (aka 'int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = lv_fs_write(&fd, buffer, size, &readBytes);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/external/lvgl/src/draw/../misc/lv_fs.h:184:91: note: passing argument to parameter 'bw' here
lv_fs_res_t lv_fs_write(lv_fs_file_t * file_p, const void * buf, uint32_t btw, uint32_t * bw);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:190:30: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return func ? func(addr, buffer, size) : -1;
^~~~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:196:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:201:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:244:39: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
cJSON *rootJson = cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:273:13: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
strncpy(buffer, jsonBuf, JSON_MAX_LEN);
^~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:290:35: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
cJSON *rootJson = cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:322:39: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
cJSON *rootJson = cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:343:35: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
cJSON *rootJson = cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:385:35: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
cJSON *rootJson = cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:441:35: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
cJSON *rootJson = cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:462:39: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ModifyJsonArrayData(rootJson, data, sizeof(AccountInfo_t), "param");
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:224:48: note: passing argument to parameter 'data' here
void ModifyJsonArrayData(cJSON *root, uint8_t *data, uint8_t len, char *key)
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:484:62: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
func(SIMULATOR_USER1_SECRET_ADDR + account * 0x1000, buff, strlen(buff));
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:495:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:500:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:505:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:510:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:515:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_storage.c:525:24: warning: passing 'uint8_t[102400]' (aka 'unsigned char[102400]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
return cJSON_Parse(buffer);
^~~~~~
/Users/parichay/minswap/keystone3-firmware/external/cjson/cJSON.h:148:47: note: passing argument to parameter 'value' here
CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
^
1 warning generated.
21 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:49:13: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
sprintf(pubKey, "%02x", 0x4);
^~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:52:17: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
sprintf(&pubKey[i], "%02x", i);
^~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:54:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:171:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:175:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:217:12: warning: returning 'char *' from a function with result type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
return version;
^~~~~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:237:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:321:39: warning: passing 'int32_t *' (aka 'int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = lv_fs_write(&fd, data, len, &readBytes);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/external/lvgl/src/draw/../misc/lv_fs.h:184:91: note: passing argument to parameter 'bw' here
lv_fs_res_t lv_fs_write(lv_fs_file_t * file_p, const void * buf, uint32_t btw, uint32_t * bw);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:426:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:430:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:454:47: warning: passing 'int32_t *' (aka 'int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = lv_fs_read(&fd, buffer, 1024 * 100, &readBytes);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/external/lvgl/src/draw/../misc/lv_fs.h:174:84: note: passing argument to parameter 'br' here
lv_fs_res_t lv_fs_read(lv_fs_file_t * file_p, void * buf, uint32_t btr, uint32_t * br);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:511:47: warning: passing 'int32_t *' (aka 'int *') to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = lv_fs_read(&fd, buffer, 100 * 1024, &readBytes);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/external/lvgl/src/draw/../misc/lv_fs.h:174:84: note: passing argument to parameter 'br' here
lv_fs_res_t lv_fs_read(lv_fs_file_t * file_p, void * buf, uint32_t btr, uint32_t * br);
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.c:642:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
14 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_device_public_key_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.c:1:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/wallet/gui_wallet.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/wallet/gui_wallet.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/wallet/gui_wallet.c:204:20: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char[112]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
const uint8_t *data = "xpub6CZZYZBJ857yVCZXzqMBwuFMogBoDkrWzhsFiUd1SF7RUGaGryBRtpqJU6AGuYGpyabpnKf5SSMeSw9E9DSA8ZLov53FDnofx9wZLCpLNft";
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:122:18: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
free(g_accountData[i]->address);
^~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h:56:37: note: passing argument to parameter here
void free(void * __unsafe_indexable);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:414:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:624:31: warning: assigning to 'PtrString' (aka 'char *') from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
authLearnMoredata.content = _("solana_auth_account");
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:643:33: warning: assigning to 'PtrString' (aka 'char *') from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sourceLearnMoredata.content = _("solana_source_ata");
^ ~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:669:31: warning: assigning to 'PtrString' (aka 'char *') from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
destLearnMoredata.content = _("solana_ata_desc");
^ ~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:930:33: warning: assigning to 'PtrString' (aka 'char *') from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
solanaLearnMoredata.content = _("solana_squads_amount_desc");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:975:72: warning: format specifies type 'int' but the argument has type 'uintptr_t' (aka 'unsigned long') [-Wformat]
snprintf(thresholdText, sizeof(thresholdText), "%d/%d", threshold, member_count);
~~ ^~~~~~~~~~~~
%lu
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:1026:72: warning: format specifies type 'int' but the argument has type 'uintptr_t' (aka 'unsigned long') [-Wformat]
snprintf(thresholdText, sizeof(thresholdText), "%d/%d", threshold, member_count);
~~ ^~~~~~~~~~~~
%lu
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sol.c:1219:28: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
strcpy(data->address, address);
^~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy'
__builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^~~~
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_transaction_signature_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
2 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_connection_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
10 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_connect_wallet_widgets.c:1:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_connect_wallet_widgets.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:15:
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 20
^
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_connect_wallet_widgets.c:1350:97: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GuiAnimatingQRCodeInitWithLoadingParams(g_connectWalletTileView.qrCode, func, true, _("InitializingRsaTitle"), _("FindingRsaPrimes"));
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.h:18:109: note: passing argument to parameter 'title' here
void GuiAnimatingQRCodeInitWithLoadingParams(lv_obj_t* parent, GenerateUR dataFunc, bool showPending, char *title, char *subtitle);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_connect_wallet_widgets.c:1350:124: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GuiAnimatingQRCodeInitWithLoadingParams(g_connectWalletTileView.qrCode, func, true, _("InitializingRsaTitle"), _("FindingRsaPrimes"));
^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.h:18:122: note: passing argument to parameter 'subtitle' here
void GuiAnimatingQRCodeInitWithLoadingParams(lv_obj_t* parent, GenerateUR dataFunc, bool showPending, char *title, char *subtitle);
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_setup_widgets.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
3 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_views.c:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_about_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ada.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_about_terms_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ada.c:335:59: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
snprintf_s((char *)indata, maxLen, "%d Withdraw(s)", tx->withdrawals->size);
~~ ^~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:28:45: note: expanded from macro 'snprintf_s'
#define snprintf_s snprintf
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ada.c:341:62: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
snprintf_s((char *)indata, maxLen, "%d Certificate(s)", tx->certificates->size);
~~ ^~~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:28:45: note: expanded from macro 'snprintf_s'
#define snprintf_s snprintf
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ada.c:437:67: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
snprintf_s((char *)indata, maxLen, "%d Voting Procedure(s)", tx->voting_procedures->size);
~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:28:45: note: expanded from macro 'snprintf_s'
#define snprintf_s snprintf
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ada.c:455:41: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s((char *)indata, maxLen, _("ada_proposals_tx_notice"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ada.c:455:41: note: treat the string as an argument to avoid this
snprintf_s((char *)indata, maxLen, _("ada_proposals_tx_notice"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_page.c:1:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_page.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
5 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_system_setting_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_update_success_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_web_auth_result_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware1 warning generated.
/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_namewallet_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_namewallet_widgets.c:113:5: warning: 'snprintf' will always overflow; destination buffer has size 16, but size argument is 32 [-Wbuiltin-memcpy-chk-size]
snprintf_s(tempBuf, BUFFER_SIZE_32, "%d/16", len);
^
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:28:45: note: expanded from macro 'snprintf_s'
#define snprintf_s snprintf
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
2 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_wipe_device_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_dice_rolls_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_page.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_wallet_tutorial_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmwareIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_display_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_import_share_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_utxo_receive_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_utxo_receive_widgets.c:911:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, maxLen, _("derivation_path_select_btc"));
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_utxo_receive_widgets.c:911:34: note: treat the string as an argument to avoid this
snprintf_s(hint, maxLen, _("derivation_path_select_btc"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_tutorial_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
2 warnings generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:892:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = en_singulars,
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:1747:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = de_singulars,
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:2593:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((n == 1)) return LV_I18N_PLURAL_TYPE_ONE;
~~^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:2593:12: note: remove extraneous parentheses around the comparison to silence this warning
if ((n == 1)) return LV_I18N_PLURAL_TYPE_ONE;
~ ^ ~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:2593:12: note: use '=' to turn this equality comparison into an assignment
if ((n == 1)) return LV_I18N_PLURAL_TYPE_ONE;
^~
=
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:2599:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = es_singulars,
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:3449:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = ja_singulars,
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:4299:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = ko_singulars,
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:5157:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = ru_singulars,
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.c:6007:18: warning: initializing 'lv_i18n_phrase_t *' with an expression of type 'const lv_i18n_phrase_t[830]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
.singulars = zh_cn_singulars,
^~~~~~~~~~~~~~~
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_enter_passcode.c:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_enter_passcode.c:198:36: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
} else if ((item->mode == ENTER_PASSCODE_VERIFY_PASSWORD)) {
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_enter_passcode.c:198:36: note: remove extraneous parentheses around the comparison to silence this warning
} else if ((item->mode == ENTER_PASSCODE_VERIFY_PASSWORD)) {
~ ^ ~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_enter_passcode.c:198:36: note: use '=' to turn this equality comparison into an assignment
} else if ((item->mode == ENTER_PASSCODE_VERIFY_PASSWORD)) {
^~
=
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_lock_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_wipe_device_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
2 warnings generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_about_info_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
8 warnings generated.
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_inactive_widgets.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_scan_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_firmware_update_widgets.c:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_firmware_update_widgets.c:122:51: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
lv_label_set_text_fmt(g_calCheckSumLabel, _("firmware_update_sd_checksum_desc"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_firmware_update_widgets.c:122:51: note: treat the string as an argument to avoid this
lv_label_set_text_fmt(g_calCheckSumLabel, _("firmware_update_sd_checksum_desc"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
2 warnings generated.
/Users/parichay/minswap/keystone3-firmware/src/crypto/rsa.c:117:69: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'PtrBytes' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
SimpleResponse_u8 *cryptData = aes256_encrypt_primes(seed, len, data);
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/lib/rust-builds/librust_c.h:1554:92: note: passing argument to parameter 'data' here
struct SimpleResponse_u8 *aes256_encrypt_primes(PtrBytes seed, uint32_t seed_len, PtrBytes data);
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_single_phrase_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_export_pubkey_widgets.c:1:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_passphrase_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:10:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:237:55: warning: passing 'const char *' to parameter of type 'PtrString' (aka 'char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return get_extended_pubkey_by_seed(seed, len, path);
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/lib/rust-builds/librust_c.h:1461:69: note: passing argument to parameter 'path' here
PtrString path);
^
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:239:54: warning: passing 'const char *' to parameter of type 'PtrString' (aka 'char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return get_ed25519_pubkey_by_seed(seed, len, path);
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/lib/rust-builds/librust_c.h:1469:68: note: passing argument to parameter 'path' here
PtrString path);
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_import_phrase_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_system_setting_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:242:70: warning: passing 'const char *' to parameter of type 'PtrString' (aka 'char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return derive_bip32_ed25519_extended_pubkey(icarusMasterKey, path);
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/lib/rust-builds/librust_c.h:1486:78: note: passing argument to parameter 'path' here
PtrString path);
^
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:245:78: warning: passing 'const char *' to parameter of type 'PtrString' (aka 'char *') discards qualifiers [-Wincompatible-pointer-types-discards-qIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_wallet_setting_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
ualifiers]
return derive_bip32_ed25519_extended_pubkey(ledgerBitbox02MasterKey, path);
^~~~
/Users/parichay/minswap/keystone3-firmware/ui_simulator/lib/rust-builds/librust_c.h:1486:78: note: passing argument to parameter 'path' here
PtrString path);
^
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:525:43: warning: passing 'uint8_t[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
CalculateTonChecksum(entropy, checksum);
^~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.c:266:51: note: passing argument to parameter 'output' here
void CalculateTonChecksum(uint8_t *entropy, char* output)
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_self_destruct_widgets.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
6 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_select_address_widgets.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_select_address_widgets.h:7:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:1:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:92:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_TGD, "", &coinTgd}, {HOME_WALLET_CARD_DOT, "", &coinDot},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:92:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_TGD, "", &coinTgd}, {HOME_WALLET_CARD_DOT, "", &coinDot},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:91:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_UMEE, "", &coinUmee}, {HOME_WALLET_CARD_QCK, "", &coinQck},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:91:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_UMEE, "", &coinUmee}, {HOME_WALLET_CARD_QCK, "", &coinQck},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:90:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_NGM, "", &coinNgm}, {HOME_WALLET_CARD_IOV, "", &coinIov},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:90:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_NGM, "", &coinNgm}, {HOME_WALLET_CARD_IOV, "", &coinIov},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:89:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_GRAV, "", &coinGrav}, {HOME_WALLET_CARD_IXO, "", &coinIxo},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:89:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_GRAV, "", &coinGrav}, {HOME_WALLET_CARD_IXO, "", &coinIxo},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:88:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_REGEN, "", &coinRegen}, {HOME_WALLET_CARD_BOOT, "", &coinBoot},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:88:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_REGEN, "", &coinRegen}, {HOME_WALLET_CARD_BOOT, "", &coinBoot},
~^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:87:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_DVPN, "", &coinDvpn}, {HOME_WALLET_CARD_ROWAN, "", &coinRowan},
~^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:87:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_DVPN, "", &coinDvpn}, {HOME_WALLET_CARD_ROWAN, "", &coinRowan},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:86:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_JUNO, "", &coinJuno}, {HOME_WALLET_CARD_IRIS, "", &coinIris},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:86:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_JUNO, "", &coinJuno}, {HOME_WALLET_CARD_IRIS, "", &coinIris},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:85:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_XPRT, "", &coinXprt}, {HOME_WALLET_CARD_SOMM, "", &coinSomm},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:85:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_XPRT, "", &coinXprt}, {HOME_WALLET_CARD_SOMM, "", &coinSomm},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:84:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_EVMOS, "", &coinEvmos}, {HOME_WALLET_CARD_STARS, "", &coinStars},
~^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:84:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_EVMOS, "", &coinEvmos}, {HOME_WALLET_CARD_STARS, "", &coinStars},
~^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:83:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BLD, "", &coinBld}, {HOME_WALLET_CARD_CTK, "", &coinCtk},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:83:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BLD, "", &coinBld}, {HOME_WALLET_CARD_CTK, "", &coinCtk},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:82:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_STRD, "", &coinStrd}, {HOME_WALLET_CARD_SCRT, "", &coinScrt},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:82:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_STRD, "", &coinStrd}, {HOME_WALLET_CARD_SCRT, "", &coinScrt},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:81:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_LUNA, "", &coinLuna}, {HOME_WALLET_CARD_AKT, "", &coinAkt},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:81:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_LUNA, "", &coinLuna}, {HOME_WALLET_CARD_AKT, "", &coinAkt},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:80:94: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_KAVA, "", &coinKava}, {HOME_WALLET_CARD_LUNC, "", &coinLunc}, {HOME_WALLET_CARD_AXL, "", &coinAxl},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:80:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_KAVA, "", &coinKava}, {HOME_WALLET_CARD_LUNC, "", &coinLunc}, {HOME_WALLET_CARD_AXL, "", &coinAxl},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:80:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_KAVA, "", &coinKava}, {HOME_WALLET_CARD_LUNC, "", &coinLunc}, {HOME_WALLET_CARD_AXL, "", &coinAxl},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:79:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_CRO, "", &coinCro}, {HOME_WALLET_CARD_RUNE, "", &coinRune},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:79:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_CRO, "", &coinCro}, {HOME_WALLET_CARD_RUNE, "", &coinRune},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:78:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_INJ, "", &coinInj}, {HOME_WALLET_CARD_ATOM, "", &coinAtom},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:78:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_INJ, "", &coinInj}, {HOME_WALLET_CARD_ATOM, "", &coinAtom},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:77:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_DYM, "", &coinDym}, {HOME_WALLET_CARD_OSMO, "", &coinOsmo},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:77:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_DYM, "", &coinDym}, {HOME_WALLET_CARD_OSMO, "", &coinOsmo},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:76:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_COSMOS, "", &coinCosmos}, {HOME_WALLET_CARD_TIA, "", &coinTia},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:76:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_COSMOS, "", &coinCosmos}, {HOME_WALLET_CARD_TIA, "", &coinTia},
~^~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:75:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_ARWEAVE, "", &coinAr}, {HOME_WALLET_CARD_XLM, "", &coinXlm},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:75:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_ARWEAVE, "", &coinAr}, {HOME_WALLET_CARD_XLM, "", &coinXlm},
~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:74:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_SUI, "", &coinSui}, {HOME_WALLET_CARD_DASH, "", &coinDash},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:74:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_SUI, "", &coinSui}, {HOME_WALLET_CARD_DASH, "", &coinDash},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:73:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BCH, "", &coinBch}, {HOME_WALLET_CARD_APT, "", &coinApt},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:73:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BCH, "", &coinBch}, {HOME_WALLET_CARD_APT, "", &coinApt},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:72:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_TRX, "", &coinTrx}, {HOME_WALLET_CARD_LTC, "", &coinLtc},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:72:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_TRX, "", &coinTrx}, {HOME_WALLET_CARD_LTC, "", &coinLtc},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:71:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_ADA, "", &coinAda}, {HOME_WALLET_CARD_TON, "", &coinTon},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:71:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_ADA, "", &coinAda}, {HOME_WALLET_CARD_TON, "", &coinTon},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:70:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_XRP, "", &coinXrp},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:69:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BNB, "", &coinBnb}, {HOME_WALLET_CARD_HNT, "", &coinHelium},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:69:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BNB, "", &coinBnb}, {HOME_WALLET_CARD_HNT, "", &coinHelium},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:68:50: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_ETH, "", &coinEth}, {HOME_WALLET_CARD_SOL, "", &coinSol},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:68:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_ETH, "", &coinEth}, {HOME_WALLET_CARD_SOL, "", &coinSol},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:66:6: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{HOME_WALLET_CARD_BTC, "", &coinBtc},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:133:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_LEAP, "Leap", &walletLeap},
~^~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:132:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_NIGHTLY, "Nightly", &walletNightly},
~^~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:131:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_LEAP, "Leap", &walletLeap},
~^~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:130:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_BEGIN, "Begin", &walletBegin},
~^~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:129:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_TONKEEPER, "Tonkeeper", &walletTonkeeper},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:128:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_THORWALLET, "THORWallet", &walletThorWallet},
~^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:127:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_XRP_TOOLKIT, "XRP Toolkit", &walletXRPToolkit},
~^~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:126:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_PETRA, "Petra", &walletPetra},
~^~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:125:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_FEWCHA, "Fewcha", &walletFewcha},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:124:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_XBULL, "xBull", &walletXBull},
~^~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:123:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_VESPR, "Vespr", &walletVespr},
~^~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:122:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_ARCONNECT, "ArConnect", &walletArConnect},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:121:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_MINT_SCAN, "Mintscan", &walletMintScan},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:120:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_KEPLR, "Keplr", &walletKeplr},
~^~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:119:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_SUSHISWAP, "SushiSwap", &walletSushi},
~^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:118:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_YEARN_FINANCE, "Yearn Finance", &walletYearn},
~^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:117:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_HELIUM, "Helium Wallet", &walletHelium},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:116:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_ZAPPER, "Zapper", &walletZapper},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:115:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_BLOCK_WALLET, "Block Wallet", &walletBlockWallet},
~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:114:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_IMTOKEN, "imToken", &walletImToken},
~^~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:113:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_UNISAT, "UniSat", &walletUniSat},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:112:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_SPARROW, "Sparrow", &walletSparrow},
~^~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:111:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_SAFE, "Safe", &walletSafe},
~^~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:110:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_BITGET, "Bitget Wallet", &walletBitget},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:109:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_RABBY, "Rabby", &walletRabby},
~^~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:108:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_BACKPACK, "Backpack", &walletBackpack},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:107:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_SOLFARE, "Solflare", &walletSolflare},
~^~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:106:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_SUB, "SubWallet", &walletSubwallet},
~^~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:105:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_BLUE, "BlueWallet", &walletBluewallet},
~^~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:104:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_TYPHON, "Typhon Wallet", &walletTyphon},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:102:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_ETERNL, "Eternl Wallet", &walletEternl},
~^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:101:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_OKX, "OKX Wallet", &walletOkx},
~^~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:100:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_METAMASK, "MetaMask", &walletMetamask},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:99:6: warning: implicit conversion from enumeration type 'WALLET_LIST_INDEX_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
{WALLET_LIST_KEYSTONE, "Keystone", &walletKeystone},
~^~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:348:12: warning: returning 'const char *const' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return g_walletBtn[index].name;
^~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:703:23: warning: initializing 'CoinWalletInfo_t *' with an expression of type 'const CoinWalletInfo_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
CoinWalletInfo_t *coin = &g_coinWalletBtn[0];
^ ~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.c:706:18: warning: assigning to 'CoinWalletInfo_t *' from 'const CoinWalletInfo_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
coin = &g_coinWalletBtn[i];
^ ~~~~~~~~~~~~~~~~~~~
89 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_frame/gui_framework.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_frame/gui_framework.c:163:70: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
printf("open view %s freeHeap %d\n", GuiFrameIdToName(view->id), xPortGetFreeHeapSize());
~~ ^~~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_frame/gui_framework.c:208:80: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
printf("close view %s freeHeap %d\n", GuiFrameIdToName(g_workingView->id), xPortGetFreeHeapSize());
~~ ^~~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_frame/gui_framework.c:212:82: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
printf("refresh view %s freeHeap %d\n", GuiFrameIdToName(g_workingView->id), xPortGetFreeHeapSize());
~~ ^~~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:40:34: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Wnon-literal-null-conversion]
" ", "0", USR_SYMBOL_DELETE, '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:105:29: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Wnon-literal-null-conversion]
"-", "0", LV_SYMBOL_OK, '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:112:29: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
"13", "14", "15", "16", '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:216:49: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *const' [-Wnon-literal-null-conversion]
"#@", USR_SYMBOL_SPACE, USR_SYMBOL_KB_NEXT, '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:224:49: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *const' [-Wnon-literal-null-conversion]
"#@", USR_SYMBOL_SPACE, USR_SYMBOL_KB_NEXT, '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:232:49: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *const' [-Wnon-literal-null-conversion]
"#@", USR_SYMBOL_SPACE, USR_SYMBOL_KB_NEXT, '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:240:49: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *const' [-Wnon-literal-null-conversion]
"#@", USR_SYMBOL_SPACE, USR_SYMBOL_CONFIRM, '\0'
^~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard.c:248:50: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *const' [-Wnon-literal-null-conversion]
"abc", USR_SYMBOL_SPACE, USR_SYMBOL_KB_NEXT, '\0'
^~~~
4 warnings generated.
8 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_xrp.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_web_auth_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ton.c:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_sui.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_mnemonic_input.c:13:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_web_auth_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswaIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.h:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
p/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.c:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard_hintbox.c:10:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard_hintbox.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:476:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_eth"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:476:43: note: treat the string as an argument to avoid this
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_eth"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:480:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_sol"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:480:43: note: treat the string as an argument to avoid this
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_sol"));
^
"%s",
/Users/paIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simIn file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_passphrase_setting_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.hulator_model.h:53::953:: 9: note: note: previous definition is hereprevious definition is here
#define LOW_BATTERY_LIMIT 0
In file included from ^richay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h
:77:17: /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_scan_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:1 warning generated.
9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay#define LOW_BATTERY_LIMIT 0
^
note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:483:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_ada"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(tex1 warning generated.
t) lv_i18n_get_text(text)
^
/minswap/keystone3-firmware/src/ui/gui_views/gui_transaction_signature_view.c/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h::357:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.c:483:43: note: treat the string as an argument to avoid this
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_ada"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/btc/gui_btc.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simul1 warning generated.
ator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:330:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Action"), _("AO Transfer"), lastView);
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:330:63: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Action"), _("AO Transfer"), lastView);
^~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:74: note: passing argument to parameter 'value' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:331:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("From"), txData->from, lastView);
^~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:332:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Desination"), txData->to, lastView);
^~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:333:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Quantity"), txData->quantity, lastView);
^~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:334:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Token ID"), txData->token_id, lastView);
^~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:348:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Action"), _("Sign DataItem"), lastView);
^~~~~~~~~~~/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/btc/gui_btc.c
:73:/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:348:63: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Action"), _("Sign DataItem"), lastView);
^~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:74: note: passing argument to parameter 'value' here
17: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
g_psbtBytes = psbtBytes;
^ ~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:349:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Owner"), txData->owner, lastView);
^~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:351:54: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Target"), txData->target, lastView);
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:354:54: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Anchor"), txData->anchor, lastView);
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.c:356:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Data"), txData->data, lastView);
^~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/btc/gui_btc.c:1298:62: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemViewWithHint(parent, _("Address"), msgData->address, lastView, _("sign_message_check_address"));
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:8:69: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemViewWithHint(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView, char* hint);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/btc/gui_btc.c:1298:104: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemViewWithHint(parent, _("Address"), msgData->address, lastView, _("sign_message_check_address"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:8:115: note: passing argument to parameter 'hint' here
lv_obj_t *CreateTransactionItemViewWithHint(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView, char* hint);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/btc/gui_btc.c:1300:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
lastView = CreateTransactionItemView(parent, _("Message"), msgData->detail, lastView);
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain_components.h:7:61: note: passing argument to parameter 'title' here
lv_obj_t *CreateTransactionItemView(lv_obj_t *parent, char* title, char* value, lv_obj_t *lastView);
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_fingerprint_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
5 warnings generated.
13 warnings generated.
4 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_create_wallet_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_create_wallet_widgets.c:116:50: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
snprintf_s(tempBuf, BUFFER_SIZE_16, "%d/16", strnlen_s(GuiNvsBarGetWalletName(), 16));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%zu
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:43:45: note: expanded from macro 'strnlen_s'
#define strnlen_s(sstr, smax) strnlen(sstr, smax)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_create_wallet_widgets.c:345:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
SecretCacheSetWalletName(GetCurrentKbWalletName());
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/crypto/secret_cache.h:48:37: note: passing argument to parameter 'walletName' here
void SecretCacheSetWalletName(char* walletName);
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:120:9: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
_("scan_qr_code_signing_notice"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:94:66: note: passing argument to parameter 'title' here
static void CreateStellarNoticeCOntainer(lv_obj_t *parent, char *title, char *context, lv_coord_t w, lv_coord_t h)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:121:9: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
_("scan_qr_code_signing_xdr_signing_desc"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:94:79: note: passing argument to parameter 'context' here
static void CreateStellarNoticeCOntainer(lv_obj_t *parent, char *title, char *context, lv_coord_t w, lv_coord_t h)
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_setting_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-fir/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:131:9: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
_("scan_qr_code_signing_notice"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:94:66: note: passing argument to parameter 'title' here
static void CreateStellarNoticeCOntainer(lv_obj_t *parent, char *title, char *context, lv_coord_t w, lv_coord_t h)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:132:9:mware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
_("scan_qr_code_signing_hash_signing_desc"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_stellar.c:94:79: note: passing argument to parameter 'context' here
static void CreateStellarNoticeCOntainer(lv_obj_t *parent, char *title, char *context, lv_coord_t w, lv_coord_t h)
^
5 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_page.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:412:20: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_path_index_title"), _("invaild_path_index_con")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:412:51: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_path_index_title"), _("invaild_path_index_con")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:419:20: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_path_index_title"), _("invaild_path_index_con")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:419:51: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_path_index_title"), _("invaild_path_index_con")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:435:20: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_schemas_size"), _("invaild_schemas_size_big")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:435:47: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_schemas_size"), _("invaild_schemas_size_big")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:444:28: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_ada_path"), _("invaild_ada_path_con")
^~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:444:51: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_ada_path"), _("invaild_ada_path_con")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:463:28: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_derive_type"), _("invaild_derive_type_con")
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:463:54: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_derive_type"), _("invaild_derive_type_con")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:471:28: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_account_path"), _("invaild_account_path_notice")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:471:56: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
false, _("invaild_account_path"), _("invaild_account_path_notice")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:632:52: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
sprintf(title, "%s-%d", _("account_head"), i);
~~ ^
%zu
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:701:52: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
sprintf(title, "%s-%d", _("account_head"), i);
~~ ^
%zu
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_key_derivation_request_widgets.c:916:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/setting/gui_seed_check_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_purpose_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_lock_device_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmwar1 warning generated.
1 warning generated.
e/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_standard_receive_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
3 warnings generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_standard_receive_widgets.c:440:51: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
SetCoinWallet(g_pageWidget->navBarWidget, g_chainCard, title);
~~~~~~~~~~~~~ ^~~~~~~~~~~
1 warning generated.
2 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_web_auth_result_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
16 warnings generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_connect_ada_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_connect_wallet_widgets.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_ar.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:15:
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 20
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_forget_pass_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_setup_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/managers/account_manager.c:7:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/managers/keystore.c:13:10: fatal error: 'ctaes.h' file not found
#include "ctaes.h"
^~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/simulator.dir/src/managers/keystore.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_setting_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_create_share_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_transaction_detail_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_ton_mnemonic_hint_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_accounts_receive_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_accounts_receive_widgets.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.h:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_accounts_receive_widgets.c:203:51: warning: implicit conversion from enumeration type 'HOME_WALLET_CARD_ENUM' to different enumeration type 'GuiChainCoinType' [-Wenum-conversion]
SetCoinWallet(g_pageWidget->navBarWidget, g_chainCard, title);
~~~~~~~~~~~~~ ^~~~~~~~~~~
2 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_init_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_create_wallet_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.c:383:72: warning: data argument not used by format string [-Wformat-extra-args]
snprintf_s((char *)indata, maxLen, "##%d", g_cosmosListIndex + 1, maxLen);
~~~~~~ ^
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:28:45: note: expanded from macro 'snprintf_s'
#define snprintf_s snprintf
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:626:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_eth"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widge ^~~~~~~~~~~
ts.c:626:43: note: treat the string as an argument to avoid this
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_eth"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:630:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_sol"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
arning generated.
32m ^~~~~~~~~~~
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_aptos.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:630:43: note: treat the string as an argument to avoid this
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_sol"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:633:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_ada"));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_path_coin_receive_widgets.c:633:43: note: treat the string as an argument to avoid this
snprintf_s(hint, BUFFER_SIZE_128, _("derivation_path_select_ada"));
^
"%s",
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_about_keystone_widgets.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_about_keystone_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_about_terms_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_connect_wallet_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMnote: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
IT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_eth.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_connection_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
2 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_firmware_update_view.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:411:51: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
CHECK_ERRCODE_BREAK("mnemonic not match", !ret);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/Users/parichay/minswap/keystone3-firmware/src/error_codes/err_code.h:98:54: note: expanded from macro 'CHECK_ERRCODE_BREAK'
#define CHECK_ERRCODE_BREAK(content, ret) {if (ret != SUCCESS_CODE) {printf("%s err,0x%X,line=%d\r\n", content, ret, __LINE__); break; }}
^ ~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:411:51: note: add parentheses after the '!' to evaluate the comparison first
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:411:51: note: add parentheses around left hand side expression to silence this warning
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:566:51: warning: passing 'uint8_t[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
CalculateTonChecksum(entropyResult->data, checksum);
^~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:173:51: note: passing argument to parameter 'output' here
void CalculateTonChecksum(uint8_t *entropy, char* output);
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_import_phrase_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:1282:39: warning: cast to 'uint32_t *' (aka 'unsigned int *') from smaller integer type 'int' [-Wint-to-pointer-cast]
memcpy_s(buffer, SECTOR_SIZE, (uint32_t *)(APP_ADDR + i * SECTOR_SIZE), SECTOR_SIZE);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:42:58: note: expanded from macro 'memcpy_s'
#define memcpy_s(dest, destsz, src, count) memcpy(dest, src, count)
~~~~~~~~~~~~~^~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
^~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:1333:28: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
SecretCacheSetChecksum(hash);
^~~~
/Users/parichay/minswap/keystone3-firmware/src/crypto/secret_cache.h:13:38: note: passing argument to parameter 'checksum' here
void SecretCacheSetChecksum(uint8_t *checksum);
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:1402:28: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
SecretCacheSetChecksum(hash);
^~~~
/Users/parichay/minswap/keystone3-firmware/src/crypto/secret_cache.h:13:38: note: passing argument to parameter 'checksum' here
void SecretCacheSetChecksum(uint8_t *checksum);
^
1 warning generated.
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_eth.c:1017:56: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
snprintf_s((char *)indata, maxLen, "ID: %lu", eth->chain_id);
~~~ ^~~~~~~~~~~~~
%llu
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:1541:51: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
CHECK_ERRCODE_BREAK("mnemonic not match", !ret);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/Users/parichay/minswap/keystone3-firmware/src/error_codes/err_code.h:98:54: note: expanded from macro 'CHECK_ERRCODE_BREAK'
#define CHECK_ERRCODE_BREAK(content, ret) {if (ret != SUCCESS_CODE) {printf("%s err,0x%X,line=%d\r\n", content, ret, __LINE__); break; }}
^ ~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:1541:51: /Users/parichay/minswap/keystone3-firmware/src/ram/user_memory.h:28:45: note: expanded from macro 'snprintf_s'
#define snprintf_s snprintf
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
note: add parentheses after the '!' to evaluate the comparison first
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.c:1541:51: note: add parentheses around left hand side expression to silence this warning
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_about_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
4 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_tutorial_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
2 warnings generated.
7 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_dispaly_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_forget_pass_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_about_device_info_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/general/gui_standard_receive_view.c:7:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/general/gui_usb_transport_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_purpose_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_home_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/general/gui_key_derivation_request_view.c:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_keyboard_hintbox.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_ton_mnemonic_hint_widgets.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_page.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined] n file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_device_public_key_view.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmwam
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
re/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_usb_transport_widgets.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_page.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
1 warning generated.
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_create_share_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_transaction_detail_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_single_phrase_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.c:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/general/gui_multi_account_receive_view.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_multi_accounts_receive_widgets.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_change_path_type_widgets.h:4:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.c:65:76: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GuiAnimatingQRCodeInitWithLoadingParams(parent, dataFunc, showPending, _("Pending"), _("generating_qr_codes"));
^~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.c:40:109: note: passing argument to parameter 'title' here
void GuiAnimatingQRCodeInitWithLoadingParams(lv_obj_t* parent, GenerateUR dataFunc, bool showPending, char *title, char *subtitle)
^
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.c:65:90: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GuiAnimatingQRCodeInitWithLoadingParams(parent, dataFunc, showPending, _("Pending"), _("generating_qr_codes"));
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/lv_i18n/lv_i18n.h:77:17: note: expanded from macro '_'
#define _(text) lv_i18n_get_text(text)
^~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_animating_qrcode.c:40:122: note: passing argument to parameter 'subtitle' here
void GuiAnimatingQRCodeInitWithLoadingParams(lv_obj_t* parent, GenerateUR dataFunc, bool showPending, char *title, char *subtitle)
^
1 warning generated.
3 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_lock_view.c:10:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_views/gui_import_share_view.c:3:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:28:20: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->title = _("rsa_confirm_hintbox_title");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:29:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->context = _("rsa_confirm_hintbox_context");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:30:19: warning: assigning to 'lv_img_dsc_t *' from 'const lv_img_dsc_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->icon = &imgAttentionLock;
^ ~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:32:24: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->okBtnText = _("rsa_confirm_hintbox_ok");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:33:28: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->cancelBtnText = _("rsa_confirm_hintbox_cancel");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:40:19: warning: assigning to 'lv_img_dsc_t *' from 'const lv_img_dsc_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->icon = &imgWarn;
^ ~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:41:20: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->title = _("power_requirements_hintbox_title");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:42:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->context = _("power_requirements_hintbox_context");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:44:28: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->cancelBtnText = _("power_requirements_hintbox_cancel");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:51:19: warning: assigning to 'lv_img_dsc_t *' from 'const lv_img_dsc_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->icon = &imgSuccess;
^ ~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:52:20: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->title = _("initialization_complete_hintbox_title");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:53:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->context = _("initialization_complete_hintbox_context");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:55:24: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->okBtnText = _("initialization_complete_hintbox_ok");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:95:19: warning: assigning to 'lv_img_dsc_t *' from 'const lv_img_dsc_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->icon = &imgUnknown;
^ ~~~~~~~~~~~
/Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_attention_hintbox.c:97:28: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
context->cancelBtnText = _("power_requirements_hintbox_cancel");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 warnings generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_trx.c:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_analyze/gui_analyze.h:8:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/gui_wallet_tutorial_widgets.c:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_components/gui_status_bar.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/gui_chain.h:9:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_chain/others/gui_cosmos.h:2:
In file included from /Users/parichay/minswap/keystone3-firmware/src/crypto/account_public_info.h:6:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_widgets/general/gui_home_widgets.h:5:
In file included from /Users/parichay/minswap/keystone3-firmware/src/ui/gui_model/gui_model.h:19:
/Users/parichay/minswap/keystone3-firmware/src/driver/drv_battery.h:26:9: warning: 'LOW_BATTERY_LIMIT' macro redefined [-Wmacro-redefined]
#define LOW_BATTERY_LIMIT 20
^
/Users/parichay/minswap/keystone3-firmware/ui_simulator/simulator_model.h:53:9: note: previous definition is here
#define LOW_BATTERY_LIMIT 0
^
1 warning generated.
make[1]: *** [CMakeFiles/simulator.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment