[INFO] fetching crate ISP-SDK 0.2.3... [INFO] building ISP-SDK-0.2.3 against try#334963c956d25708feab489a3816ae63f639355d for pr-135216 [INFO] extracting crate ISP-SDK 0.2.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ISP-SDK 0.2.3 on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 293 packages to latest compatible versions [INFO] [stderr] Adding candid v0.8.4 (available: v0.10.11) [INFO] [stderr] Adding ic-agent v0.23.2 (available: v0.39.2) [INFO] [stderr] Adding ic-cdk v0.7.4 (available: v0.17.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 839ece3cf6b5e2a69ca9e5fa361c3181c8ee52795992f06e7cf09215053f1a7a [INFO] running `Command { std: "docker" "start" "-a" "839ece3cf6b5e2a69ca9e5fa361c3181c8ee52795992f06e7cf09215053f1a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "839ece3cf6b5e2a69ca9e5fa361c3181c8ee52795992f06e7cf09215053f1a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839ece3cf6b5e2a69ca9e5fa361c3181c8ee52795992f06e7cf09215053f1a7a", kill_on_drop: false }` [INFO] [stdout] 839ece3cf6b5e2a69ca9e5fa361c3181c8ee52795992f06e7cf09215053f1a7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57a73139506777074681de4254b7e606a48d8211ba6bd55a128f29769393e370 [INFO] running `Command { std: "docker" "start" "-a" "57a73139506777074681de4254b7e606a48d8211ba6bd55a128f29769393e370", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling deranged v0.3.11 [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 opaque-debug v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling bls12_381 v0.7.1 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling garcon v0.2.3 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling ic-verify-bls-signature v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling uuid-macro-internal v1.11.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-certification v0.23.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling reqwest v0.11.27 [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)]` 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: 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: 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: 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 `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 43.60s [INFO] running `Command { std: "docker" "inspect" "57a73139506777074681de4254b7e606a48d8211ba6bd55a128f29769393e370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a73139506777074681de4254b7e606a48d8211ba6bd55a128f29769393e370", kill_on_drop: false }` [INFO] [stdout] 57a73139506777074681de4254b7e606a48d8211ba6bd55a128f29769393e370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aba9dc6769d141290969a2003153b1825ada5a34d3f0044c187a4ea3c1f642d9 [INFO] running `Command { std: "docker" "start" "-a" "aba9dc6769d141290969a2003153b1825ada5a34d3f0044c187a4ea3c1f642d9", 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)]` 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] [stderr] Compiling ISP-SDK v0.2.3 (/opt/rustwide/workdir) [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: 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: 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: 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 `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: 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: 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: 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: 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 `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 `test` profile [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "aba9dc6769d141290969a2003153b1825ada5a34d3f0044c187a4ea3c1f642d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aba9dc6769d141290969a2003153b1825ada5a34d3f0044c187a4ea3c1f642d9", kill_on_drop: false }` [INFO] [stdout] aba9dc6769d141290969a2003153b1825ada5a34d3f0044c187a4ea3c1f642d9