[INFO] fetching crate ISP-SDK 0.2.3... [INFO] building ISP-SDK-0.2.3 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate ISP-SDK 0.2.3 into /workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ISP-SDK 0.2.3 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 305 packages to latest compatible versions [INFO] [stderr] Adding candid v0.8.4 (available: v0.10.19) [INFO] [stderr] Adding ic-agent v0.23.2 (available: v0.44.1) [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.19 [INFO] [stderr] Downloaded uuid-macro-internal v1.18.1 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded ic-verify-bls-signature v0.1.0 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded ic-cdk v0.7.4 [INFO] [stderr] Downloaded pem-rfc7468 v0.6.0 [INFO] [stderr] Downloaded garcon v0.2.3 [INFO] [stderr] Downloaded hyper-rustls v0.23.2 [INFO] [stderr] Downloaded ic-certification v0.23.2 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded pairing v0.22.0 [INFO] [stderr] Downloaded ic-agent v0.23.2 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded bls12_381 v0.7.1 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded k256 v0.11.6 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1960f24d1856d37fa8e045274fc4d5669e5f16b94e5060509a201068ea2ad60 [INFO] running `Command { std: "docker" "start" "-a" "c1960f24d1856d37fa8e045274fc4d5669e5f16b94e5060509a201068ea2ad60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1960f24d1856d37fa8e045274fc4d5669e5f16b94e5060509a201068ea2ad60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1960f24d1856d37fa8e045274fc4d5669e5f16b94e5060509a201068ea2ad60", kill_on_drop: false }` [INFO] [stdout] c1960f24d1856d37fa8e045274fc4d5669e5f16b94e5060509a201068ea2ad60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e43a0dea1f1015d0a23bfefb44a28dee55089e490e2d81bb8b7df3bd11efc62 [INFO] running `Command { std: "docker" "start" "-a" "5e43a0dea1f1015d0a23bfefb44a28dee55089e490e2d81bb8b7df3bd11efc62", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling pairing v0.22.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling bls12_381 v0.7.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling ic-verify-bls-signature v0.1.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling ic-certification v0.23.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling uuid-macro-internal v1.18.1 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling garcon v0.2.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-agent v0.23.2 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Compiling ic-cdk v0.7.4 [INFO] [stderr] Compiling 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 08s [INFO] running `Command { std: "docker" "inspect" "5e43a0dea1f1015d0a23bfefb44a28dee55089e490e2d81bb8b7df3bd11efc62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e43a0dea1f1015d0a23bfefb44a28dee55089e490e2d81bb8b7df3bd11efc62", kill_on_drop: false }` [INFO] [stdout] 5e43a0dea1f1015d0a23bfefb44a28dee55089e490e2d81bb8b7df3bd11efc62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fd2352355913da5512ebec9c6b74eb3217d5af2951898b8bce6ee97da15d1ba [INFO] running `Command { std: "docker" "start" "-a" "6fd2352355913da5512ebec9c6b74eb3217d5af2951898b8bce6ee97da15d1ba", kill_on_drop: false }` [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)]` (part of `#[warn(nonstandard_style)]`) 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] [stderr] Compiling ISP-SDK v0.2.3 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.85s [INFO] running `Command { std: "docker" "inspect" "6fd2352355913da5512ebec9c6b74eb3217d5af2951898b8bce6ee97da15d1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd2352355913da5512ebec9c6b74eb3217d5af2951898b8bce6ee97da15d1ba", kill_on_drop: false }` [INFO] [stdout] 6fd2352355913da5512ebec9c6b74eb3217d5af2951898b8bce6ee97da15d1ba