[INFO] cloning repository https://github.com/Veercodeprog/upload-images-to-icp-asset [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Veercodeprog/upload-images-to-icp-asset" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeercodeprog%2Fupload-images-to-icp-asset", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeercodeprog%2Fupload-images-to-icp-asset'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 038ccad6fc169e043d02017a31e4b2568a87c52f [INFO] checking Veercodeprog/upload-images-to-icp-asset against master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeercodeprog%2Fupload-images-to-icp-asset" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Veercodeprog/upload-images-to-icp-asset on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Veercodeprog/upload-images-to-icp-asset [INFO] finished tweaking git repo https://github.com/Veercodeprog/upload-images-to-icp-asset [INFO] tweaked toml for git repo https://github.com/Veercodeprog/upload-images-to-icp-asset written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Veercodeprog/upload-images-to-icp-asset already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded default-struct-builder v0.5.1 [INFO] [stderr] Downloaded config v0.14.1 [INFO] [stderr] Downloaded ic-verify-bls-signature v0.5.0 [INFO] [stderr] Downloaded leptos_meta v0.6.15 [INFO] [stderr] Downloaded candid_parser v0.1.4 [INFO] [stderr] Downloaded ic-transport-types v0.38.2 [INFO] [stderr] Downloaded ic-agent v0.38.2 [INFO] [stderr] Downloaded leptos_router v0.6.15 [INFO] [stderr] Downloaded leptos-use v0.12.0 [INFO] [stderr] Downloaded codee v0.1.2 [INFO] [stderr] Downloaded ic_bls12_381 v0.10.0 [INFO] [stderr] Downloaded ic-auth-client v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0c0465f0382d7b1602b6e3bba99c57acbef12fa455b8c4d5c44258fe1fbc8fd [INFO] running `Command { std: "docker" "start" "-a" "c0c0465f0382d7b1602b6e3bba99c57acbef12fa455b8c4d5c44258fe1fbc8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0c0465f0382d7b1602b6e3bba99c57acbef12fa455b8c4d5c44258fe1fbc8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0c0465f0382d7b1602b6e3bba99c57acbef12fa455b8c4d5c44258fe1fbc8fd", kill_on_drop: false }` [INFO] [stdout] c0c0465f0382d7b1602b6e3bba99c57acbef12fa455b8c4d5c44258fe1fbc8fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3b1e729f2391f8b4ebf3c8791a2e41c988dc5d769057a3ec38f6edd426eabe7 [INFO] running `Command { std: "docker" "start" "-a" "e3b1e729f2391f8b4ebf3c8791a2e41c988dc5d769057a3ec38f6edd426eabe7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling libc v0.2.166 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking allocator-api2 v0.2.20 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling xxhash-rust v0.8.7 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Compiling manyhow-macros v0.10.4 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling server_fn_macro v0.6.15 [INFO] [stderr] Compiling manyhow v0.10.4 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Checking self_cell v1.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking inventory v0.3.13 [INFO] [stderr] Checking drain_filter_polyfill v0.1.3 [INFO] [stderr] Checking pad-adapter v0.1.1 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling server_fn_macro_default v0.6.15 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling attribute-derive-macro v0.9.2 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Compiling typed-builder-macro v0.18.0 [INFO] [stderr] Compiling rstml v0.11.2 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking webpki-roots v0.26.7 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking pairing v0.23.0 [INFO] [stderr] Checking typed-builder v0.18.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking subtle-ng v2.5.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking ic_bls12_381 v0.10.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking curve25519-dalek-ng v4.1.1 [INFO] [stderr] Compiling logos v0.13.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling attribute-derive v0.9.2 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking cached v0.52.0 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking ic-verify-bls-signature v0.5.0 [INFO] [stderr] Checking unic-langid-impl v0.9.5 [INFO] [stderr] Compiling dotenv_codegen v0.15.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Compiling leptos-use v0.12.0 [INFO] [stderr] Checking unic-langid v0.9.5 [INFO] [stderr] Compiling default-struct-builder v0.5.1 [INFO] [stderr] Checking codee v0.1.2 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking wasm-bindgen-test v0.3.43 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking hyper v1.5.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking oco_ref v0.1.1 [INFO] [stderr] Checking serde_qs v0.12.0 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking ed25519-consensus v2.1.0 [INFO] [stderr] Checking ic-certification v2.6.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_qs v0.13.0 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Compiling candid_parser v0.1.4 [INFO] [stderr] Compiling leptos_hot_reload v0.6.15 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Checking reqwest v0.12.9 [INFO] [stderr] Checking candid v0.10.10 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling leptos_macro v0.6.15 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking leptos_config v0.6.15 [INFO] [stderr] Checking ic-transport-types v0.38.2 [INFO] [stderr] Checking ic-agent v0.38.2 [INFO] [stderr] Compiling ic-cdk-macros v0.16.0 [INFO] [stderr] Checking ic-cdk v0.16.0 [INFO] [stderr] Compiling upload-images-to-icp-asset v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking wasm-streams v0.4.1 [INFO] [stderr] Checking leptos_reactive v0.6.15 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking console_log v1.0.0 [INFO] [stderr] Checking gloo-net v0.6.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-worker v0.5.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-net v0.5.0 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking ic-auth-client v0.2.1 [INFO] [stderr] Checking gloo v0.11.0 [INFO] [stderr] Checking server_fn v0.6.15 [INFO] [stderr] Checking leptos_server v0.6.15 [INFO] [stderr] Checking leptos_dom v0.6.15 [INFO] [stderr] Checking leptos v0.6.15 [INFO] [stderr] Checking leptos_router v0.6.15 [INFO] [stderr] Checking leptos_meta v0.6.15 [INFO] [stdout] warning: unused import: `crate::canister::asset_proxy::AssetProxy` [INFO] [stdout] --> src/outbound/upload_files.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::canister::asset_proxy::AssetProxy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::canister::generated::asset_proxy` [INFO] [stdout] --> src/outbound/upload_files.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::canister::generated::asset_proxy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::canister::provision` [INFO] [stdout] --> src/outbound/upload_files.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::canister::provision; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::auth::AuthService` [INFO] [stdout] --> src/outbound/upload_files.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::auth::AuthService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/outbound/upload_files.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic::*` [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub use ic::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console_error` and `console_log` [INFO] [stdout] --> src/components/header.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use leptos_dom::logging::{console_error, console_log}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::file::futures::read_as_bytes` [INFO] [stdout] --> src/pages/home.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use gloo::file::futures::read_as_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo_file::Blob` [INFO] [stdout] --> src/pages/home.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use gloo_file::Blob; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::*` [INFO] [stdout] --> src/pages/home.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use leptos::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*` [INFO] [stdout] --> src/pages/home.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::canisters::Canisters` [INFO] [stdout] --> src/state/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::canisters::Canisters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/state/auth.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv_codegen::dotenv` [INFO] [stdout] --> src/state/canisters.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dotenv_codegen::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::canister::asset_proxy::AssetProxy` [INFO] [stdout] --> src/outbound/upload_files.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::canister::asset_proxy::AssetProxy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::canister::generated::asset_proxy` [INFO] [stdout] --> src/outbound/upload_files.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::canister::generated::asset_proxy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::canister::provision` [INFO] [stdout] --> src/outbound/upload_files.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::canister::provision; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::auth::AuthService` [INFO] [stdout] --> src/outbound/upload_files.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::auth::AuthService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/outbound/upload_files.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic::*` [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub use ic::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console_error` and `console_log` [INFO] [stdout] --> src/components/header.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use leptos_dom::logging::{console_error, console_log}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo::file::futures::read_as_bytes` [INFO] [stdout] --> src/pages/home.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use gloo::file::futures::read_as_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo_file::Blob` [INFO] [stdout] --> src/pages/home.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use gloo_file::Blob; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::*` [INFO] [stdout] --> src/pages/home.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use leptos::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*` [INFO] [stdout] --> src/pages/home.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::canisters::Canisters` [INFO] [stdout] --> src/state/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::canisters::Canisters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/state/auth.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv_codegen::dotenv` [INFO] [stdout] --> src/state/canisters.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dotenv_codegen::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_authenticated` [INFO] [stdout] --> src/pages/home.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let is_authenticated = create_memo({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_authenticated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canisters` [INFO] [stdout] --> src/pages/home.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | Some(canisters) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canisters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_clone` [INFO] [stdout] --> src/pages/home.rs:319:37 [INFO] [stdout] | [INFO] [stdout] 319 | ... let path_clone = path.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_authenticated` [INFO] [stdout] --> src/pages/home.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let is_authenticated = create_memo({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_authenticated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canisters` [INFO] [stdout] --> src/pages/home.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | Some(canisters) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canisters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_clone` [INFO] [stdout] --> src/pages/home.rs:319:37 [INFO] [stdout] | [INFO] [stdout] 319 | ... let path_clone = path.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos` [INFO] [stdout] --> src/state/canisters.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use leptos::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos` [INFO] [stdout] --> src/state/canisters.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use leptos::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AssetKey` is never used [INFO] [stdout] --> src/outbound/upload_files.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | type AssetKey = String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_PROXY_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ASSET_PROXY_ID: candid::Principal = candid::Principal::from_slice(&[128, 0, 0, 0, 0, 16, 0, 2, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROVISION_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const PROVISION_ID: candid::Principal = candid::Principal::from_slice(&[128, 0, 0, 0, 0, 16, 0, 2, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_PROXY_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ASSET_PROXY_ID: candid::Principal = candid::Principal::from_slice(&[0, 0, 0, 0, 1, 128, 19, 103, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROVISION_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PROVISION_ID: candid::Principal = candid::Principal::from_slice(&[0, 0, 0, 0, 1, 128, 19, 103, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_PRINCIPAL_ID_STORE` is never used [INFO] [stdout] --> src/consts/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const USER_PRINCIPAL_ID_STORE: &str = "user-principal-id"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_PRINCIPAL_JWK` is never used [INFO] [stdout] --> src/consts/mod.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const USER_PRINCIPAL_JWK: &str = "jwk_key"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REFERRER_STORE` is never used [INFO] [stdout] --> src/consts/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const REFERRER_STORE: &str = "referrer"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACCOUNT_CONNECTED_STORE` is never used [INFO] [stdout] --> src/consts/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ACCOUNT_CONNECTED_STORE: &str = "account-connected-1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AGENT_URL` is never used [INFO] [stdout] --> src/consts/local.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const AGENT_URL: &str = "http://localhost:4943"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AGENT_URL` is never used [INFO] [stdout] --> src/consts/remote.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const AGENT_URL: &str = "https://ic0.app"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DELEGATION_MAX_AGE` is never used [INFO] [stdout] --> src/consts/mod.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub const DELEGATION_MAX_AGE: Duration = Duration::from_secs(60 * 60 * 24 * 7); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REFRESH_MAX_AGE` is never used [INFO] [stdout] --> src/consts/mod.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub const REFRESH_MAX_AGE: Duration = Duration::from_secs(60 * 60 * 24 * 30); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REFRESH_TOKEN_COOKIE` is never used [INFO] [stdout] --> src/consts/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub const REFRESH_TOKEN_COOKIE: &str = "user-identity"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `owner` is never read [INFO] [stdout] --> src/pages/home.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CarCollection { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub owner: Principal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CarCollection` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth_service` is never read [INFO] [stdout] --> src/state/canisters.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Canisters { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | pub auth_service: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Canisters` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `provision_canister`, `asset_proxy_canister`, and `store` are never used [INFO] [stdout] --> src/state/canisters.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl Canisters { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn provision_canister(&self) -> Provision<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn asset_proxy_canister(&self, canister_id: Principal) -> AssetProxy<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn store(&self, canister_id: Principal, store_arg: StoreArg) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BACKEND_ID` should have a snake case name [INFO] [stdout] --> src/state/auth.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let BACKEND_ID: Principal = Principal::from_text("6zfvq-kiaaa-aaaab-qacra-cai").expect("."); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `backend_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PROVISION_ID` should have a snake case name [INFO] [stdout] --> src/state/canisters.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let PROVISION_ID: Principal = [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `provision_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AssetKey` is never used [INFO] [stdout] --> src/outbound/upload_files.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | type AssetKey = String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_PROXY_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ASSET_PROXY_ID: candid::Principal = candid::Principal::from_slice(&[128, 0, 0, 0, 0, 16, 0, 2, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROVISION_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const PROVISION_ID: candid::Principal = candid::Principal::from_slice(&[128, 0, 0, 0, 0, 16, 0, 2, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_PROXY_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ASSET_PROXY_ID: candid::Principal = candid::Principal::from_slice(&[0, 0, 0, 0, 1, 128, 19, 103, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROVISION_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PROVISION_ID: candid::Principal = candid::Principal::from_slice(&[0, 0, 0, 0, 1, 128, 19, 103, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_PRINCIPAL_ID_STORE` is never used [INFO] [stdout] --> src/consts/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const USER_PRINCIPAL_ID_STORE: &str = "user-principal-id"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_PRINCIPAL_JWK` is never used [INFO] [stdout] --> src/consts/mod.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const USER_PRINCIPAL_JWK: &str = "jwk_key"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REFERRER_STORE` is never used [INFO] [stdout] --> src/consts/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const REFERRER_STORE: &str = "referrer"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACCOUNT_CONNECTED_STORE` is never used [INFO] [stdout] --> src/consts/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ACCOUNT_CONNECTED_STORE: &str = "account-connected-1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AGENT_URL` is never used [INFO] [stdout] --> src/consts/local.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const AGENT_URL: &str = "http://localhost:4943"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AGENT_URL` is never used [INFO] [stdout] --> src/consts/remote.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const AGENT_URL: &str = "https://ic0.app"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DELEGATION_MAX_AGE` is never used [INFO] [stdout] --> src/consts/mod.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub const DELEGATION_MAX_AGE: Duration = Duration::from_secs(60 * 60 * 24 * 7); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REFRESH_MAX_AGE` is never used [INFO] [stdout] --> src/consts/mod.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub const REFRESH_MAX_AGE: Duration = Duration::from_secs(60 * 60 * 24 * 30); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REFRESH_TOKEN_COOKIE` is never used [INFO] [stdout] --> src/consts/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub const REFRESH_TOKEN_COOKIE: &str = "user-identity"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `owner` is never read [INFO] [stdout] --> src/pages/home.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CarCollection { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub owner: Principal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CarCollection` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth_service` is never read [INFO] [stdout] --> src/state/canisters.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Canisters { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | pub auth_service: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Canisters` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `provision_canister`, `asset_proxy_canister`, and `store` are never used [INFO] [stdout] --> src/state/canisters.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl Canisters { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn provision_canister(&self) -> Provision<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn asset_proxy_canister(&self, canister_id: Principal) -> AssetProxy<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn store(&self, canister_id: Principal, store_arg: StoreArg) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BACKEND_ID` should have a snake case name [INFO] [stdout] --> src/state/auth.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let BACKEND_ID: Principal = Principal::from_text("6zfvq-kiaaa-aaaab-qacra-cai").expect("."); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `backend_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PROVISION_ID` should have a snake case name [INFO] [stdout] --> src/state/canisters.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let PROVISION_ID: Principal = [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `provision_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::auth::AuthService` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::auth::AuthService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::canisters::Canisters` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::state::canisters::Canisters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_meta::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use leptos_meta::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::canisters::Canisters` [INFO] [stdout] --> src/state/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::canisters::Canisters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/state/auth.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv_codegen::dotenv` [INFO] [stdout] --> src/state/canisters.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dotenv_codegen::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::logging::log` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use leptos::logging::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use leptos::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::auth::AuthService` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::auth::AuthService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::canisters::Canisters` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::state::canisters::Canisters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_meta::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use leptos_meta::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::canisters::Canisters` [INFO] [stdout] --> src/state/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::canisters::Canisters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/state/auth.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv_codegen::dotenv` [INFO] [stdout] --> src/state/canisters.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dotenv_codegen::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic::*` [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub use ic::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::logging::log` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use leptos::logging::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use leptos::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic::*` [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub use ic::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos` [INFO] [stdout] --> src/state/canisters.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use leptos::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos` [INFO] [stdout] --> src/state/canisters.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use leptos::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIMEOUT` is never used [INFO] [stdout] --> src/state/auth.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const TIMEOUT: Duration = Duration::from_secs(60 * 5); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth_client` and `agent` are never read [INFO] [stdout] --> src/state/auth.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AuthService { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 19 | auth_client: AuthClient, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | agent: Option>, // Store agent in Rc for shared ownership [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `login`, `get_agent`, `get_principal`, `is_authenticated`, and `logout` are never used [INFO] [stdout] --> src/state/auth.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl AuthService { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn login(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn get_agent(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_principal(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn logout(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_agent` is never used [INFO] [stdout] --> src/state/auth.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | async fn create_agent(auth_client: &AuthClient) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_login_action` is never used [INFO] [stdout] --> src/state/auth_actions.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_login_action(auth_service: Rc>) -> Action<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_logout_action` is never used [INFO] [stdout] --> src/state/auth_actions.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_logout_action(auth_service: Rc>) -> Action<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth_service` is never read [INFO] [stdout] --> src/state/canisters.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Canisters { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | pub auth_service: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Canisters` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `provision_canister`, `asset_proxy_canister`, `store`, and `store_asset` are never used [INFO] [stdout] --> src/state/canisters.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl Canisters { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 27 | pub async fn new(auth_service: Rc>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn provision_canister(&self) -> Provision<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn asset_proxy_canister(&self, canister_id: Principal) -> AssetProxy<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn store(&self, canister_id: Principal, store_arg: StoreArg) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn store_asset( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_PROXY_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ASSET_PROXY_ID: candid::Principal = candid::Principal::from_slice(&[128, 0, 0, 0, 0, 16, 0, 2, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROVISION_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const PROVISION_ID: candid::Principal = candid::Principal::from_slice(&[128, 0, 0, 0, 0, 16, 0, 2, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_PROXY_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ASSET_PROXY_ID: candid::Principal = candid::Principal::from_slice(&[0, 0, 0, 0, 1, 128, 19, 103, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROVISION_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PROVISION_ID: candid::Principal = candid::Principal::from_slice(&[0, 0, 0, 0, 1, 128, 19, 103, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BACKEND_ID` should have a snake case name [INFO] [stdout] --> src/state/auth.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let BACKEND_ID: Principal = Principal::from_text("6zfvq-kiaaa-aaaab-qacra-cai").expect("."); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `backend_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PROVISION_ID` should have a snake case name [INFO] [stdout] --> src/state/canisters.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let PROVISION_ID: Principal = [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `provision_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIMEOUT` is never used [INFO] [stdout] --> src/state/auth.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const TIMEOUT: Duration = Duration::from_secs(60 * 5); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth_client` and `agent` are never read [INFO] [stdout] --> src/state/auth.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AuthService { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 19 | auth_client: AuthClient, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | agent: Option>, // Store agent in Rc for shared ownership [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `login`, `get_agent`, `get_principal`, `is_authenticated`, and `logout` are never used [INFO] [stdout] --> src/state/auth.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl AuthService { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn login(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn get_agent(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_principal(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn logout(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_agent` is never used [INFO] [stdout] --> src/state/auth.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | async fn create_agent(auth_client: &AuthClient) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_login_action` is never used [INFO] [stdout] --> src/state/auth_actions.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_login_action(auth_service: Rc>) -> Action<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_logout_action` is never used [INFO] [stdout] --> src/state/auth_actions.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_logout_action(auth_service: Rc>) -> Action<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth_service` is never read [INFO] [stdout] --> src/state/canisters.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Canisters { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | pub auth_service: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Canisters` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `provision_canister`, `asset_proxy_canister`, `store`, and `store_asset` are never used [INFO] [stdout] --> src/state/canisters.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl Canisters { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 27 | pub async fn new(auth_service: Rc>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn provision_canister(&self) -> Provision<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn asset_proxy_canister(&self, canister_id: Principal) -> AssetProxy<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn store(&self, canister_id: Principal, store_arg: StoreArg) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn store_asset( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_PROXY_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ASSET_PROXY_ID: candid::Principal = candid::Principal::from_slice(&[128, 0, 0, 0, 0, 16, 0, 2, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROVISION_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const PROVISION_ID: candid::Principal = candid::Principal::from_slice(&[128, 0, 0, 0, 0, 16, 0, 2, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_PROXY_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ASSET_PROXY_ID: candid::Principal = candid::Principal::from_slice(&[0, 0, 0, 0, 1, 128, 19, 103, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROVISION_ID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/upload-images-to-icp-asset-2bc49c14459c6812/out/canister_ids.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PROVISION_ID: candid::Principal = candid::Principal::from_slice(&[0, 0, 0, 0, 1, 128, 19, 103, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BACKEND_ID` should have a snake case name [INFO] [stdout] --> src/state/auth.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let BACKEND_ID: Principal = Principal::from_text("6zfvq-kiaaa-aaaab-qacra-cai").expect("."); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `backend_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PROVISION_ID` should have a snake case name [INFO] [stdout] --> src/state/canisters.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let PROVISION_ID: Principal = [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `provision_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `Command { std: "docker" "inspect" "e3b1e729f2391f8b4ebf3c8791a2e41c988dc5d769057a3ec38f6edd426eabe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b1e729f2391f8b4ebf3c8791a2e41c988dc5d769057a3ec38f6edd426eabe7", kill_on_drop: false }` [INFO] [stdout] e3b1e729f2391f8b4ebf3c8791a2e41c988dc5d769057a3ec38f6edd426eabe7