[INFO] fetching crate ISP-SDK 0.2.3... [INFO] checking ISP-SDK-0.2.3 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate ISP-SDK 0.2.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate ISP-SDK 0.2.3 [INFO] finished tweaking crates.io crate ISP-SDK 0.2.3 [INFO] tweaked toml for crates.io crate ISP-SDK 0.2.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ISP-SDK 0.2.3 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 312 packages to latest compatible versions [INFO] [stderr] Adding candid v0.8.4 (available: v0.10.17) [INFO] [stderr] Adding ic-agent v0.23.2 (available: v0.44.0) [INFO] [stderr] Adding ic-cdk v0.7.4 (available: v0.18.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b4029e8940ca06d1aeeee0fa4aa5328b666c94766682e42aca51f4c865c679c [INFO] running `Command { std: "docker" "start" "-a" "1b4029e8940ca06d1aeeee0fa4aa5328b666c94766682e42aca51f4c865c679c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b4029e8940ca06d1aeeee0fa4aa5328b666c94766682e42aca51f4c865c679c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b4029e8940ca06d1aeeee0fa4aa5328b666c94766682e42aca51f4c865c679c", kill_on_drop: false }` [INFO] [stdout] 1b4029e8940ca06d1aeeee0fa4aa5328b666c94766682e42aca51f4c865c679c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a45d8279b1518b67cd5cf8135618a58b80d097e6d1886bf77f4d77ec06822f61 [INFO] running `Command { std: "docker" "start" "-a" "a45d8279b1518b67cd5cf8135618a58b80d097e6d1886bf77f4d77ec06822f61", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Checking pairing v0.22.0 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bls12_381 v0.7.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking ic-verify-bls-signature v0.1.0 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking hyper-rustls v0.23.2 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking k256 v0.11.6 [INFO] [stderr] Checking ic-certification v0.23.2 [INFO] [stderr] Compiling uuid-macro-internal v1.18.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Checking garcon v0.2.3 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Checking ic-agent v0.23.2 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Checking ic-cdk v0.7.4 [INFO] [stderr] Checking ISP-SDK v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `icsp` should have an upper camel case name [INFO] [stdout] --> src/icsp/icsp_did.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | type icsp = candid::Service; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Icsp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Create_Canister_Failed` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Create_Canister_Failed(Nat), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateCanisterFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ledger_Transfer_Failed` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Ledger_Transfer_Failed(Nat), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LedgerTransferFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ok` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ok(Principal), [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `err` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | err(Error), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ok` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | ok, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `err` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | err(Error), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Nat` [INFO] [stdout] --> src/isp/mod.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Encode, Nat}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `icsp` should have an upper camel case name [INFO] [stdout] --> src/icsp/icsp_did.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | type icsp = candid::Service; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Icsp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Create_Canister_Failed` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Create_Canister_Failed(Nat), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateCanisterFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ledger_Transfer_Failed` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Ledger_Transfer_Failed(Nat), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LedgerTransferFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ok` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ok(Principal), [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `err` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | err(Error), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ok` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | ok, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `err` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | err(Error), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Nat` [INFO] [stdout] --> src/isp/mod.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Encode, Nat}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `Nat` [INFO] [stdout] --> src/isp_certified_log/mod.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use candid::{CandidType, Decode, Encode, Nat}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `Nat` [INFO] [stdout] --> src/isp_certified_log/mod.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use candid::{CandidType, Decode, Encode, Nat}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/icsp/mod.rs:803:4 [INFO] [stdout] | [INFO] [stdout] 803 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OtherFile` is never constructed [INFO] [stdout] --> src/icsp/icsp_did.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct OtherFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileLocation` is never used [INFO] [stdout] --> src/icsp/icsp_did.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | enum FileLocation { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `icsp` is never used [INFO] [stdout] --> src/icsp/icsp_did.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | type icsp = candid::Service; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/icsp/icsp_did.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/icsp/icsp_did.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 57 | pub async fn get_cycle_balance(&self) -> CallResult<(Nat,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn get_file_info(&self, file_key: String) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn get_all_ic_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn get_all_ipfs_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn get_all_arweave_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn record_file(&self, other_file: OtherFile) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn delete(&self, arg0: String) -> CallResult<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn init(&self) -> CallResult<(BucketStatusExt,)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn get_other_file( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn delete_admin(&self, old_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_bucket_of_file(&self, key: String) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn get_buckets(&self) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub async fn store(&self, args: StoreArgs) -> CallResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/isp/mod.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransformArgs` is never constructed [INFO] [stdout] --> src/isp/isp_did.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct TransformArgs { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ISP` is never used [INFO] [stdout] --> src/isp/isp_did.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | pub type ISP = candid::Service; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AccountIdentifier` is never used [INFO] [stdout] --> src/isp/isp_did.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub type AccountIdentifier = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp/isp_did.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SERVICE(pub candid::Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/isp/isp_did.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 63 | pub async fn get_sub_account(&self) -> CallResult<(AccountIdentifier,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn create_icsp(&self, name: String, amount: u64) -> CallResult<(CreateICSPResult,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub async fn get_icp_balance(&self) -> CallResult<(u64,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn transfer_out_icp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_user_icsps(&self) -> CallResult<(Vec<(String, Principal)>,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn top_up_icsp(&self, args: TopUpArgs) -> CallResult<(TopUpResult,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn transform_icp(&self, args: TransformArgs) -> CallResult<(TopUpResult,)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/isp_certified_log/mod.rs:293:4 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Log` is never constructed [INFO] [stdout] --> src/isp_certified_log/bucket_certified_log_did.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp_certified_log/bucket_certified_log_did.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_admin`, `change_admin`, `get_logs`, and `put` are never used [INFO] [stdout] --> src/isp_certified_log/bucket_certified_log_did.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 21 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<(bool,)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn change_admin(&self, new_admin: Vec) -> CallResult<(bool,)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn get_logs(&self, start: u64, end: u64) -> CallResult<(Option>,)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn put(&self, log: Log) -> CallResult<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp_certified_log/icsp_certified_log_backend_did.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/isp_certified_log/icsp_certified_log_backend_did.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 24 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn delete_admin(&self, old_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn get_buckets(&self) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn get_log_num(&self) -> CallResult<(Nat,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn get_logs( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn init(&self) -> CallResult<(LiveBucket,)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn store(&self, args: StoreLog) -> CallResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn top_up_bucket(&self, amount: Nat) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn update_bucket_canister_controller( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `icsp_canisterId` should have a snake case name [INFO] [stdout] --> src/isp/isp_did.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub icsp_canisterId: Principal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icsp_canister_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/icsp/mod.rs:803:4 [INFO] [stdout] | [INFO] [stdout] 803 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OtherFile` is never constructed [INFO] [stdout] --> src/icsp/icsp_did.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct OtherFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileLocation` is never used [INFO] [stdout] --> src/icsp/icsp_did.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | enum FileLocation { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `icsp` is never used [INFO] [stdout] --> src/icsp/icsp_did.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | type icsp = candid::Service; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/icsp/icsp_did.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/icsp/icsp_did.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 57 | pub async fn get_cycle_balance(&self) -> CallResult<(Nat,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn get_file_info(&self, file_key: String) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn get_all_ic_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn get_all_ipfs_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn get_all_arweave_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn record_file(&self, other_file: OtherFile) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn delete(&self, arg0: String) -> CallResult<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn init(&self) -> CallResult<(BucketStatusExt,)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn get_other_file( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn delete_admin(&self, old_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_bucket_of_file(&self, key: String) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn get_buckets(&self) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub async fn store(&self, args: StoreArgs) -> CallResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/isp/mod.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransformArgs` is never constructed [INFO] [stdout] --> src/isp/isp_did.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct TransformArgs { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ISP` is never used [INFO] [stdout] --> src/isp/isp_did.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | pub type ISP = candid::Service; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AccountIdentifier` is never used [INFO] [stdout] --> src/isp/isp_did.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub type AccountIdentifier = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp/isp_did.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SERVICE(pub candid::Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/isp/isp_did.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 63 | pub async fn get_sub_account(&self) -> CallResult<(AccountIdentifier,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn create_icsp(&self, name: String, amount: u64) -> CallResult<(CreateICSPResult,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub async fn get_icp_balance(&self) -> CallResult<(u64,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn transfer_out_icp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_user_icsps(&self) -> CallResult<(Vec<(String, Principal)>,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn top_up_icsp(&self, args: TopUpArgs) -> CallResult<(TopUpResult,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn transform_icp(&self, args: TransformArgs) -> CallResult<(TopUpResult,)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/isp_certified_log/mod.rs:293:4 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Log` is never constructed [INFO] [stdout] --> src/isp_certified_log/bucket_certified_log_did.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp_certified_log/bucket_certified_log_did.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_admin`, `change_admin`, `get_logs`, and `put` are never used [INFO] [stdout] --> src/isp_certified_log/bucket_certified_log_did.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 21 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<(bool,)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn change_admin(&self, new_admin: Vec) -> CallResult<(bool,)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn get_logs(&self, start: u64, end: u64) -> CallResult<(Option>,)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn put(&self, log: Log) -> CallResult<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp_certified_log/icsp_certified_log_backend_did.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/isp_certified_log/icsp_certified_log_backend_did.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 24 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn delete_admin(&self, old_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn get_buckets(&self) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn get_log_num(&self) -> CallResult<(Nat,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn get_logs( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn init(&self) -> CallResult<(LiveBucket,)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn store(&self, args: StoreLog) -> CallResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn top_up_bucket(&self, amount: Nat) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn update_bucket_canister_controller( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `icsp_canisterId` should have a snake case name [INFO] [stdout] --> src/isp/isp_did.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub icsp_canisterId: Principal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icsp_canister_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 58s [INFO] running `Command { std: "docker" "inspect" "a45d8279b1518b67cd5cf8135618a58b80d097e6d1886bf77f4d77ec06822f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45d8279b1518b67cd5cf8135618a58b80d097e6d1886bf77f4d77ec06822f61", kill_on_drop: false }` [INFO] [stdout] a45d8279b1518b67cd5cf8135618a58b80d097e6d1886bf77f4d77ec06822f61