[INFO] cloning repository https://github.com/yangsenessa/mugc-agc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yangsenessa/mugc-agc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangsenessa%2Fmugc-agc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangsenessa%2Fmugc-agc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9a7fd780c84e10d7cdce3b7744ec1d2673765683
[INFO] checking yangsenessa/mugc-agc against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangsenessa%2Fmugc-agc" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/yangsenessa/mugc-agc
[INFO] finished tweaking git repo https://github.com/yangsenessa/mugc-agc
[INFO] tweaked toml for git repo https://github.com/yangsenessa/mugc-agc written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yangsenessa/mugc-agc on toolchain 32cd9114712a24010b0583624dc52ac302194128
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/yangsenessa/mugc-agc 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" "+32cd9114712a24010b0583624dc52ac302194128" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded icrc-ledger-types v0.1.6
[INFO] [stderr]   Downloaded ic-cdk v0.17.0
[INFO] [stderr]   Downloaded ic-cdk-macros v0.14.0
[INFO] [stderr]   Downloaded ic-cdk v0.14.1
[INFO] [stderr]   Downloaded ic-stable-structures v0.6.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c435b232a2bdec9626d151c8b83b9d5ffdadb4db648f8bdc625c09455b6bb921
[INFO] running `Command { std: "docker" "start" "-a" "c435b232a2bdec9626d151c8b83b9d5ffdadb4db648f8bdc625c09455b6bb921", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c435b232a2bdec9626d151c8b83b9d5ffdadb4db648f8bdc625c09455b6bb921", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c435b232a2bdec9626d151c8b83b9d5ffdadb4db648f8bdc625c09455b6bb921", kill_on_drop: false }`
[INFO] [stdout] c435b232a2bdec9626d151c8b83b9d5ffdadb4db648f8bdc625c09455b6bb921
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 39a09d6ebba4deed5707d9c05bf04e6133fe7fbd7440560a1b46d6544707e965
[INFO] running `Command { std: "docker" "start" "-a" "39a09d6ebba4deed5707d9c05bf04e6133fe7fbd7440560a1b46d6544707e965", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling serde v1.0.213
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling anyhow v1.0.91
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling psm v0.1.23
[INFO] [stderr]    Compiling stacker v0.1.17
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling pretty v0.12.3
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking ic0 v0.23.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]     Checking base32 v0.4.0
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking fastrand v2.1.1
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]     Checking tempfile v3.13.0
[INFO] [stderr]    Compiling serde_derive v1.0.213
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling candid_derive v0.6.6
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling ic_principal v0.1.1
[INFO] [stderr]    Compiling serde_bytes v0.11.15
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking ic-stable-structures v0.6.7
[INFO] [stderr]    Compiling candid v0.10.10
[INFO] [stderr]     Checking icrc-ledger-types v0.1.6
[INFO] [stderr]    Compiling ic-cdk-macros v0.17.0
[INFO] [stderr]    Compiling ic-cdk-macros v0.14.0
[INFO] [stderr]     Checking ic-cdk v0.17.0
[INFO] [stderr]     Checking ic-cdk v0.14.1
[INFO] [stderr]     Checking ic-cdk-timers v0.11.0
[INFO] [stderr]     Checking mugc-agc-backend v0.1.0 (/opt/rustwide/workdir/src/mugc-agc-backend)
[INFO] [stdout] warning: unused import: `std::default`
[INFO] [stdout]  --> src/mugc-agc-backend/src/mixcomfy_types.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::default;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Account`, `DEFAULT_SUBACCOUNT`, and `Subaccount`
[INFO] [stdout]  --> src/mugc-agc-backend/src/mixcomfy_types.rs:6:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | use icrc_ledger_types::icrc1::account::{Account, Subaccount, DEFAULT_SUBACCOUNT};
[INFO] [stdout]   |                                         ^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/mugc-agc-backend/src/mixcomfy_types.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `WAIT_IDENTITY` should have an upper camel case name
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:172:5
[INFO] [stdout]     |
[INFO] [stdout] 172 |     WAIT_IDENTITY,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WaitIdentity`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `IDENTITY_SUCCESS` should have an upper camel case name
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     IDENTITY_SUCCESS,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IdentitySuccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `IDENTITY_FAIL` should have an upper camel case name
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 174 |     IDENTITY_FAIL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IdentityFail`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `WAIT_CLAIM` should have an upper camel case name
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:175:5
[INFO] [stdout]     |
[INFO] [stdout] 175 |     WAIT_CLAIM,
[INFO] [stdout]     |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `WaitClaim`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Principal`
[INFO] [stdout]  --> src/mugc-agc-backend/src/load_workflow.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use candid::{Nat, Principal};
[INFO] [stdout]   |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::default`
[INFO] [stdout]  --> src/mugc-agc-backend/src/mixcomfy_types.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::default;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Account`, `DEFAULT_SUBACCOUNT`, and `Subaccount`
[INFO] [stdout]  --> src/mugc-agc-backend/src/mixcomfy_types.rs:6:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | use icrc_ledger_types::icrc1::account::{Account, Subaccount, DEFAULT_SUBACCOUNT};
[INFO] [stdout]   |                                         ^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/mugc-agc-backend/src/mixcomfy_types.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `init`, `query`, and `update`
[INFO] [stdout]  --> src/mugc-agc-backend/src/load_workflow.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ic_cdk_macros::{init, query, update};
[INFO] [stdout]   |                     ^^^^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Memory`
[INFO] [stdout]  --> src/mugc-agc-backend/src/load_workflow.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 |     DefaultMemoryImpl, Memory, StableVec,
[INFO] [stdout]   |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Number`
[INFO] [stdout]  --> src/mugc-agc-backend/src/load_workflow.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::Number;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WorkflowLedger`
[INFO] [stdout]   --> src/mugc-agc-backend/src/load_workflow.rs:13:111
[INFO] [stdout]    |
[INFO] [stdout] 13 |     AIWorkPow, ClientPromptStore, ComfyUIPayload, UploaderPow, UploaderPowContract, UploaderPowContractInput, WorkflowLedger,
[INFO] [stdout]    |                                                                                                               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/mugc-agc-backend/src/voice_oss_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ListVoiceOssParams` and `VoiceOssData`
[INFO] [stdout]   --> src/mugc-agc-backend/src/voice_oss_service.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     VoiceOssData, VoiceOssInfo, ListVoiceOssParams, Result,
[INFO] [stdout]    |     ^^^^^^^^^^^^                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `result`
[INFO] [stdout]  --> src/mugc-agc-backend/src/lib.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{cell::RefCell, result};
[INFO] [stdout]   |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/mugc-agc-backend/src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]   --> src/mugc-agc-backend/src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::fmt::format;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BlockIndex`
[INFO] [stdout]   --> src/mugc-agc-backend/src/lib.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 | use icrc_ledger_types::icrc1::transfer::{BlockIndex};
[INFO] [stdout]    |                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Encode`, `Nat`, `candid_method`, and `export_service`
[INFO] [stdout]   --> src/mugc-agc-backend/src/lib.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use candid::{candid_method, export_service, Nat, Principal, CandidType, Deserialize, Encode};
[INFO] [stdout]    |              ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^                                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `call`, `caller`, `self`, and `storage`
[INFO] [stdout]   --> src/mugc-agc-backend/src/lib.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 |     api::{self, call},
[INFO] [stdout]    |           ^^^^  ^^^^
[INFO] [stdout] 20 |     storage,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 21 |     caller,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `WAIT_IDENTITY` should have an upper camel case name
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:172:5
[INFO] [stdout]     |
[INFO] [stdout] 172 |     WAIT_IDENTITY,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WaitIdentity`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `IDENTITY_SUCCESS` should have an upper camel case name
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     IDENTITY_SUCCESS,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IdentitySuccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `IDENTITY_FAIL` should have an upper camel case name
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 174 |     IDENTITY_FAIL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IdentityFail`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `WAIT_CLAIM` should have an upper camel case name
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:175:5
[INFO] [stdout]     |
[INFO] [stdout] 175 |     WAIT_CLAIM,
[INFO] [stdout]     |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `WaitClaim`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Principal`
[INFO] [stdout]  --> src/mugc-agc-backend/src/load_workflow.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use candid::{Nat, Principal};
[INFO] [stdout]   |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `init`, `query`, and `update`
[INFO] [stdout]  --> src/mugc-agc-backend/src/load_workflow.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ic_cdk_macros::{init, query, update};
[INFO] [stdout]   |                     ^^^^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Memory`
[INFO] [stdout]  --> src/mugc-agc-backend/src/load_workflow.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 |     DefaultMemoryImpl, Memory, StableVec,
[INFO] [stdout]   |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Number`
[INFO] [stdout]  --> src/mugc-agc-backend/src/load_workflow.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::Number;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WorkflowLedger`
[INFO] [stdout]   --> src/mugc-agc-backend/src/load_workflow.rs:13:111
[INFO] [stdout]    |
[INFO] [stdout] 13 |     AIWorkPow, ClientPromptStore, ComfyUIPayload, UploaderPow, UploaderPowContract, UploaderPowContractInput, WorkflowLedger,
[INFO] [stdout]    |                                                                                                               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/mugc-agc-backend/src/voice_oss_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ListVoiceOssParams` and `VoiceOssData`
[INFO] [stdout]   --> src/mugc-agc-backend/src/voice_oss_service.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     VoiceOssData, VoiceOssInfo, ListVoiceOssParams, Result,
[INFO] [stdout]    |     ^^^^^^^^^^^^                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `result`
[INFO] [stdout]  --> src/mugc-agc-backend/src/lib.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{cell::RefCell, result};
[INFO] [stdout]   |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/mugc-agc-backend/src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]   --> src/mugc-agc-backend/src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::fmt::format;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BlockIndex`
[INFO] [stdout]   --> src/mugc-agc-backend/src/lib.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 | use icrc_ledger_types::icrc1::transfer::{BlockIndex};
[INFO] [stdout]    |                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Encode`, `Nat`, `candid_method`, and `export_service`
[INFO] [stdout]   --> src/mugc-agc-backend/src/lib.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use candid::{candid_method, export_service, Nat, Principal, CandidType, Deserialize, Encode};
[INFO] [stdout]    |              ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^                                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `call`, `caller`, `self`, and `storage`
[INFO] [stdout]   --> src/mugc-agc-backend/src/lib.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 |     api::{self, call},
[INFO] [stdout]    |           ^^^^  ^^^^
[INFO] [stdout] 20 |     storage,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 21 |     caller,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:263:23
[INFO] [stdout]     |
[INFO] [stdout] 263 |         match base64::decode(base64_str) {
[INFO] [stdout]     |                       ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:282:23
[INFO] [stdout]     |
[INFO] [stdout] 282 |         match base64::decode(image_data) {
[INFO] [stdout]     |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:303:23
[INFO] [stdout]     |
[INFO] [stdout] 303 |         match base64::decode(audio_data) {
[INFO] [stdout]     |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:323:23
[INFO] [stdout]     |
[INFO] [stdout] 323 |         match base64::decode(video_data) {
[INFO] [stdout]     |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:327:45
[INFO] [stdout]     |
[INFO] [stdout] 327 |                     let frame_b64 = base64::encode(frame);
[INFO] [stdout]     |                                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:263:23
[INFO] [stdout]     |
[INFO] [stdout] 263 |         match base64::decode(base64_str) {
[INFO] [stdout]     |                       ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:282:23
[INFO] [stdout]     |
[INFO] [stdout] 282 |         match base64::decode(image_data) {
[INFO] [stdout]     |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:303:23
[INFO] [stdout]     |
[INFO] [stdout] 303 |         match base64::decode(audio_data) {
[INFO] [stdout]     |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:323:23
[INFO] [stdout]     |
[INFO] [stdout] 323 |         match base64::decode(video_data) {
[INFO] [stdout]     |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:327:45
[INFO] [stdout]     |
[INFO] [stdout] 327 |                     let frame_b64 = base64::encode(frame);
[INFO] [stdout]     |                                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_wav`
[INFO] [stdout]    --> src/mugc-agc-backend/src/voice_oss_service.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let is_wav = file.name.to_lowercase().ends_with(".wav") || 
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_wav`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_wav`
[INFO] [stdout]    --> src/mugc-agc-backend/src/voice_oss_service.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let is_wav = file.name.to_lowercase().ends_with(".wav") || 
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_wav`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/mugc-agc-backend/src/load_workflow.rs:175:17
[INFO] [stdout]     |
[INFO] [stdout] 175 |             let mut ledger = ledger.borrow_mut();
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/mugc-agc-backend/src/load_workflow.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let mut data = data.borrow_mut();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/mugc-agc-backend/src/load_workflow.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |         let mut params = params.borrow_mut();
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/mugc-agc-backend/src/load_workflow.rs:175:17
[INFO] [stdout]     |
[INFO] [stdout] 175 |             let mut ledger = ledger.borrow_mut();
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/mugc-agc-backend/src/load_workflow.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let mut data = data.borrow_mut();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/mugc-agc-backend/src/load_workflow.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |         let mut params = params.borrow_mut();
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/mugc-agc-backend/src/lib.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |         Err(e) => {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ledger`
[INFO] [stdout]    --> src/mugc-agc-backend/src/lib.rs:209:24
[INFO] [stdout]     |
[INFO] [stdout] 209 |             Result::Ok(ledger) => {
[INFO] [stdout]     |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/mugc-agc-backend/src/lib.rs:212:25
[INFO] [stdout]     |
[INFO] [stdout] 212 |             Result::Err(e) => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FileInfo` is more private than the item `update_voice_data_sequence`
[INFO] [stdout]    --> src/mugc-agc-backend/src/voice_oss_service.rs:263:1
[INFO] [stdout]     |
[INFO] [stdout] 263 | pub fn update_voice_data_sequence(caller: &Principal, files: &[FileInfo]) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `update_voice_data_sequence` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `FileInfo` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/mugc-agc-backend/src/voice_oss_service.rs:43:1
[INFO] [stdout]     |
[INFO] [stdout] 43  | struct FileInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TIMER_INTERVAL_SEC` is never used
[INFO] [stdout]   --> src/mugc-agc-backend/src/lib.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const TIMER_INTERVAL_SEC: u64 = 60*10;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_timer` is never used
[INFO] [stdout]    --> src/mugc-agc-backend/src/lib.rs:193:4
[INFO] [stdout]     |
[INFO] [stdout] 193 | fn setup_timer() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NoneNodeVaild` and `RuntimeErr` are never constructed
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub enum MixComfyErr {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] 109 |     NoneNodeVaild(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 110 |     RuntimeErr(String),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `OrderId` is never used
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:113:10
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub type OrderId = u32;
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WorkloadPlacementReceipt` is never used
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:114:10
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub type WorkloadPlacementReceipt = Result<BlockIndex, MixComfyErr>;
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrderPlacementErr` is never used
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:116:10
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub enum OrderPlacementErr {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `parse_base64_string_to_vec`, `parse_image_bytes_to_vec`, `parse_audio_bytes_to_vec`, and `parse_video_frames_to_vec` are never used
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:262:12
[INFO] [stdout]     |
[INFO] [stdout] 258 | impl UploaderPowContract {
[INFO] [stdout]     | ------------------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 262 |     pub fn parse_base64_string_to_vec(base64_str: &str) -> Vec<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub fn parse_image_bytes_to_vec(image_data: &str) -> Vec<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 301 |     pub fn parse_audio_bytes_to_vec(audio_data: &str) -> Vec<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 322 |     pub fn parse_video_frames_to_vec(video_data: &str, frame_size: usize) -> Vec<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/mugc-agc-backend/src/lib.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |         Err(e) => {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_comfy_node_by_id` is never used
[INFO] [stdout]   --> src/mugc-agc-backend/src/mixcomfy_service.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 6  | impl MixComfy {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn get_comfy_node_by_id(&self, node_id:u32) ->Result<ComfyUINode,MixComfyErr> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/mugc-agc-backend/src/mixcomfy_types.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:193:17
[INFO] [stdout]     |
[INFO] [stdout] 193 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 193 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:208:17
[INFO] [stdout]     |
[INFO] [stdout] 208 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 208 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:245:17
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:374:17
[INFO] [stdout]     |
[INFO] [stdout] 374 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 374 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:390:17
[INFO] [stdout]     |
[INFO] [stdout] 390 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 390 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ledger`
[INFO] [stdout]    --> src/mugc-agc-backend/src/lib.rs:209:24
[INFO] [stdout]     |
[INFO] [stdout] 209 |             Result::Ok(ledger) => {
[INFO] [stdout]     |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/mugc-agc-backend/src/lib.rs:212:25
[INFO] [stdout]     |
[INFO] [stdout] 212 |             Result::Err(e) => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FileInfo` is more private than the item `update_voice_data_sequence`
[INFO] [stdout]    --> src/mugc-agc-backend/src/voice_oss_service.rs:263:1
[INFO] [stdout]     |
[INFO] [stdout] 263 | pub fn update_voice_data_sequence(caller: &Principal, files: &[FileInfo]) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `update_voice_data_sequence` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `FileInfo` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/mugc-agc-backend/src/voice_oss_service.rs:43:1
[INFO] [stdout]     |
[INFO] [stdout] 43  | struct FileInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TIMER_INTERVAL_SEC` is never used
[INFO] [stdout]   --> src/mugc-agc-backend/src/lib.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const TIMER_INTERVAL_SEC: u64 = 60*10;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_timer` is never used
[INFO] [stdout]    --> src/mugc-agc-backend/src/lib.rs:193:4
[INFO] [stdout]     |
[INFO] [stdout] 193 | fn setup_timer() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NoneNodeVaild` and `RuntimeErr` are never constructed
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub enum MixComfyErr {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] 109 |     NoneNodeVaild(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 110 |     RuntimeErr(String),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `OrderId` is never used
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:113:10
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub type OrderId = u32;
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WorkloadPlacementReceipt` is never used
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:114:10
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub type WorkloadPlacementReceipt = Result<BlockIndex, MixComfyErr>;
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrderPlacementErr` is never used
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:116:10
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub enum OrderPlacementErr {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `parse_base64_string_to_vec`, `parse_image_bytes_to_vec`, `parse_audio_bytes_to_vec`, and `parse_video_frames_to_vec` are never used
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:262:12
[INFO] [stdout]     |
[INFO] [stdout] 258 | impl UploaderPowContract {
[INFO] [stdout]     | ------------------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 262 |     pub fn parse_base64_string_to_vec(base64_str: &str) -> Vec<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub fn parse_image_bytes_to_vec(image_data: &str) -> Vec<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 301 |     pub fn parse_audio_bytes_to_vec(audio_data: &str) -> Vec<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 322 |     pub fn parse_video_frames_to_vec(video_data: &str, frame_size: usize) -> Vec<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_comfy_node_by_id` is never used
[INFO] [stdout]   --> src/mugc-agc-backend/src/mixcomfy_service.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 6  | impl MixComfy {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn get_comfy_node_by_id(&self, node_id:u32) ->Result<ComfyUINode,MixComfyErr> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/mugc-agc-backend/src/mixcomfy_types.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:193:17
[INFO] [stdout]     |
[INFO] [stdout] 193 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 193 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:208:17
[INFO] [stdout]     |
[INFO] [stdout] 208 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 208 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:245:17
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:374:17
[INFO] [stdout]     |
[INFO] [stdout] 374 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 374 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/mugc-agc-backend/src/mixcomfy_types.rs:390:17
[INFO] [stdout]     |
[INFO] [stdout] 390 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 390 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] running `Command { std: "docker" "inspect" "39a09d6ebba4deed5707d9c05bf04e6133fe7fbd7440560a1b46d6544707e965", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39a09d6ebba4deed5707d9c05bf04e6133fe7fbd7440560a1b46d6544707e965", kill_on_drop: false }`
[INFO] [stdout] 39a09d6ebba4deed5707d9c05bf04e6133fe7fbd7440560a1b46d6544707e965
