[INFO] cloning repository https://github.com/Zedonboy/satoshi_rust_backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zedonboy/satoshi_rust_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Fsatoshi_rust_backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Fsatoshi_rust_backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 504df774bdc333b4983552634b901faf4af08bd0 [INFO] checking Zedonboy/satoshi_rust_backend against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Fsatoshi_rust_backend" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zedonboy/satoshi_rust_backend on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Zedonboy/satoshi_rust_backend [INFO] finished tweaking git repo https://github.com/Zedonboy/satoshi_rust_backend [INFO] tweaked toml for git repo https://github.com/Zedonboy/satoshi_rust_backend written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Zedonboy/satoshi_rust_backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-xrc-types v1.2.0 [INFO] [stderr] Downloaded candid v0.10.7 [INFO] [stderr] Downloaded ic-ledger-types v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10cfc01736289ab0a747de25a8e2acae0a7d0ee238c4f8094e653adaf5999f2a [INFO] running `Command { std: "docker" "start" "-a" "10cfc01736289ab0a747de25a8e2acae0a7d0ee238c4f8094e653adaf5999f2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10cfc01736289ab0a747de25a8e2acae0a7d0ee238c4f8094e653adaf5999f2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10cfc01736289ab0a747de25a8e2acae0a7d0ee238c4f8094e653adaf5999f2a", kill_on_drop: false }` [INFO] [stdout] 10cfc01736289ab0a747de25a8e2acae0a7d0ee238c4f8094e653adaf5999f2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da61f6aabadf0964ad060398817cafa7f4885c39a1c1f35f1b391a5a8838d673 [INFO] running `Command { std: "docker" "start" "-a" "da61f6aabadf0964ad060398817cafa7f4885c39a1c1f35f1b391a5a8838d673", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling satoshi_register v0.1.0 (/opt/rustwide/workdir/src/satoshi_register) [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking candid v0.10.7 [INFO] [stderr] Checking ic-xrc-types v1.2.0 [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Checking ic-cdk v0.13.2 [INFO] [stderr] Checking ic-cdk-timers v0.7.0 [INFO] [stderr] Checking ic-ledger-types v0.10.0 [INFO] [stderr] Checking satoshi_types v0.1.0 (/opt/rustwide/workdir/src/satoshi_types) [INFO] [stderr] Checking satoshi_rust_backend v0.1.0 (/opt/rustwide/workdir/src/satoshi_rust_backend) [INFO] [stdout] warning: unused import: `cell::RefCell` [INFO] [stdout] --> src/satoshi_types/src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, cmp, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::RefCell` [INFO] [stdout] --> src/satoshi_types/src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, cmp, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanisterIdRecord`, `CanisterInfoRequest`, `CanisterStatusResponse`, `call`, `canister_status`, `id`, and `is_controller` [INFO] [stdout] --> src/satoshi_rust_backend/src/lib.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{call, canister_balance, is_controller, management_canister::main::{canister_status, CanisterIdRecord, CanisterInfoRequest, CanisterStatusResponse}}, caller, id, p... [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanisterIdRecord`, `CanisterInfoRequest`, `CanisterStatusResponse`, `call`, `canister_status`, `id`, and `is_controller` [INFO] [stdout] --> src/satoshi_rust_backend/src/lib.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{call, canister_balance, is_controller, management_canister::main::{canister_status, CanisterIdRecord, CanisterInfoRequest, CanisterStatusResponse}}, caller, id, p... [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha512` [INFO] [stdout] --> src/satoshi_rust_backend/src/lib.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use sha2::{Sha256, Sha512, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha512` [INFO] [stdout] --> src/satoshi_rust_backend/src/lib.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use sha2::{Sha256, Sha512, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/satoshi_rust_backend/src/lib.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | let mut id = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/satoshi_rust_backend/src/lib.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | let mut id = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_stat` is never used [INFO] [stdout] --> src/satoshi_types/src/lib.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 136 | impl ICPFile { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 137 | pub(crate) fn get_stat(&self) -> ICPFileStat { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_stat` is never used [INFO] [stdout] --> src/satoshi_types/src/lib.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 136 | impl ICPFile { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 137 | pub(crate) fn get_stat(&self) -> ICPFileStat { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(network = "ic")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("ic"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"ic\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(network = "ic")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("ic"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"ic\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(network = "ic")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("ic"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"ic\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(network = "ic")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("ic"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"ic\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:290:7 [INFO] [stdout] | [INFO] [stdout] 290 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:290:7 [INFO] [stdout] | [INFO] [stdout] 290 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:296:7 [INFO] [stdout] | [INFO] [stdout] 296 | #[cfg(network = "ic")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("ic"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"ic\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:296:7 [INFO] [stdout] | [INFO] [stdout] 296 | #[cfg(network = "ic")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("ic"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"ic\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, collections::HashMap, io::Read, rc::Rc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, collections::HashMap, io::Read, rc::Rc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Nat` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::{candid_method, Nat, Principal}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Nat` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::{candid_method, Nat, Principal}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanisterHttpRequestArgument`, `CanisterIdRecord`, `CanisterStatusResponse`, `HttpMethod`, `HttpResponse`, `TransformArgs`, `TransformContext`, `TransformFunc`, `call::call_with_payment`, `canister_status`, `http_request`, and `self` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ... call::call_with_payment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | ... self, http_request, CanisterHttpRequestArgument, HttpMethod, HttpResponse, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 10 | ... TransformArgs, TransformContext, TransformFunc, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | ... canister_status, create_canister, install_code, CanisterIdRecord, CanisterSettings, CanisterStatusResponse, CreateCanisterA... [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanisterHttpRequestArgument`, `CanisterIdRecord`, `CanisterStatusResponse`, `HttpMethod`, `HttpResponse`, `TransformArgs`, `TransformContext`, `TransformFunc`, `call::call_with_payment`, `canister_status`, `http_request`, and `self` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ... call::call_with_payment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | ... self, http_request, CanisterHttpRequestArgument, HttpMethod, HttpResponse, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 10 | ... TransformArgs, TransformContext, TransformFunc, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | ... canister_status, create_canister, install_code, CanisterIdRecord, CanisterSettings, CanisterStatusResponse, CreateCanisterA... [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAINNET_CYCLES_MINTING_CANISTER_ID` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | TransferArgs, MAINNET_CYCLES_MINTING_CANISTER_ID, MAINNET_LEDGER_CANISTER_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAINNET_CYCLES_MINTING_CANISTER_ID` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | TransferArgs, MAINNET_CYCLES_MINTING_CANISTER_ID, MAINNET_LEDGER_CANISTER_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssetClass`, `Asset`, `GetExchangeRateRequest`, and `GetExchangeRateResult` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | use ic_xrc_types::{Asset, AssetClass, GetExchangeRateRequest, GetExchangeRateResult}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssetClass`, `Asset`, `GetExchangeRateRequest`, and `GetExchangeRateResult` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | use ic_xrc_types::{Asset, AssetClass, GetExchangeRateRequest, GetExchangeRateResult}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 235 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 235 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:243:11 [INFO] [stdout] | [INFO] [stdout] 243 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:243:11 [INFO] [stdout] | [INFO] [stdout] 243 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/satoshi_register/src/lib.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOTIFY_MINT_METHOD` is never used [INFO] [stdout] --> src/satoshi_register/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const NOTIFY_MINT_METHOD : &str = "notify_mint_cycles"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCHANGE_RATE_MAINNET_CANISTER` is never used [INFO] [stdout] --> src/satoshi_register/src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const EXCHANGE_RATE_MAINNET_CANISTER: &str = "uf6dk-hyaaa-aaaaq-qaaaq-cai"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_up` is never used [INFO] [stdout] --> src/satoshi_register/src/lib.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn round_up(num: f64, decimal_places: u32) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply_u64_with_power_of_10` is never used [INFO] [stdout] --> src/satoshi_register/src/lib.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn multiply_u64_with_power_of_10(value: u64, power: i32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEDGER_CANISTER_ID` should have a snake case name [INFO] [stdout] --> src/satoshi_register/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let LEDGER_CANISTER_ID = Principal::from_text("ryjl3-tyaaa-aaaaa-aaaba-cai").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ledger_canister_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CMC_CANISTER_ID` should have a snake case name [INFO] [stdout] --> src/satoshi_register/src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let CMC_CANISTER_ID = Principal::from_text("rkp4c-7iaaa-aaaaa-aaaca-cai").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cmc_canister_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOTIFY_MINT_METHOD` is never used [INFO] [stdout] --> src/satoshi_register/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const NOTIFY_MINT_METHOD : &str = "notify_mint_cycles"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCHANGE_RATE_MAINNET_CANISTER` is never used [INFO] [stdout] --> src/satoshi_register/src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const EXCHANGE_RATE_MAINNET_CANISTER: &str = "uf6dk-hyaaa-aaaaq-qaaaq-cai"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_up` is never used [INFO] [stdout] --> src/satoshi_register/src/lib.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn round_up(num: f64, decimal_places: u32) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply_u64_with_power_of_10` is never used [INFO] [stdout] --> src/satoshi_register/src/lib.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn multiply_u64_with_power_of_10(value: u64, power: i32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEDGER_CANISTER_ID` should have a snake case name [INFO] [stdout] --> src/satoshi_register/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let LEDGER_CANISTER_ID = Principal::from_text("ryjl3-tyaaa-aaaaa-aaaba-cai").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ledger_canister_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CMC_CANISTER_ID` should have a snake case name [INFO] [stdout] --> src/satoshi_register/src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let CMC_CANISTER_ID = Principal::from_text("rkp4c-7iaaa-aaaaa-aaaca-cai").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cmc_canister_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEDGER_CANISTER_ID` should have a snake case name [INFO] [stdout] --> src/satoshi_register/src/lib.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | let LEDGER_CANISTER_ID = Principal::from_text("ryjl3-tyaaa-aaaaa-aaaba-cai").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ledger_canister_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CMC_CANISTER_ID` should have a snake case name [INFO] [stdout] --> src/satoshi_register/src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let CMC_CANISTER_ID = Principal::from_text("rkp4c-7iaaa-aaaaa-aaaca-cai").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cmc_canister_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEDGER_CANISTER_ID` should have a snake case name [INFO] [stdout] --> src/satoshi_register/src/lib.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | let LEDGER_CANISTER_ID = Principal::from_text("ryjl3-tyaaa-aaaaa-aaaba-cai").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ledger_canister_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEDGER_CANISTER_ID` should have a snake case name [INFO] [stdout] --> src/satoshi_register/src/lib.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | let LEDGER_CANISTER_ID = Principal::from_text("ryjl3-tyaaa-aaaaa-aaaba-cai").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ledger_canister_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CMC_CANISTER_ID` should have a snake case name [INFO] [stdout] --> src/satoshi_register/src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let CMC_CANISTER_ID = Principal::from_text("rkp4c-7iaaa-aaaaa-aaaca-cai").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cmc_canister_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEDGER_CANISTER_ID` should have a snake case name [INFO] [stdout] --> src/satoshi_register/src/lib.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | let LEDGER_CANISTER_ID = Principal::from_text("ryjl3-tyaaa-aaaaa-aaaba-cai").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ledger_canister_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.51s [INFO] running `Command { std: "docker" "inspect" "da61f6aabadf0964ad060398817cafa7f4885c39a1c1f35f1b391a5a8838d673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da61f6aabadf0964ad060398817cafa7f4885c39a1c1f35f1b391a5a8838d673", kill_on_drop: false }` [INFO] [stdout] da61f6aabadf0964ad060398817cafa7f4885c39a1c1f35f1b391a5a8838d673