[INFO] cloning repository https://github.com/gov-mind/ic_govmind [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gov-mind/ic_govmind" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgov-mind%2Fic_govmind", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgov-mind%2Fic_govmind'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c22a20e2b2df57d5e31b60601a5a2015e7cf9be [INFO] testing gov-mind/ic_govmind against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgov-mind%2Fic_govmind" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gov-mind/ic_govmind [INFO] finished tweaking git repo https://github.com/gov-mind/ic_govmind [INFO] tweaked toml for git repo https://github.com/gov-mind/ic_govmind written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gov-mind/ic_govmind on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gov-mind/ic_govmind 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c938cb5ac7117e0d878a19d18777cf0eea1f42ac4a67bddbef50325a2afb6058 [INFO] running `Command { std: "docker" "start" "-a" "c938cb5ac7117e0d878a19d18777cf0eea1f42ac4a67bddbef50325a2afb6058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c938cb5ac7117e0d878a19d18777cf0eea1f42ac4a67bddbef50325a2afb6058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c938cb5ac7117e0d878a19d18777cf0eea1f42ac4a67bddbef50325a2afb6058", kill_on_drop: false }` [INFO] [stdout] c938cb5ac7117e0d878a19d18777cf0eea1f42ac4a67bddbef50325a2afb6058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54d395be9ad95502b1ebdc70633b8a7a48ecf3e5fb5edf28bc48c8e2d1c0d25d [INFO] running `Command { std: "docker" "start" "-a" "54d395be9ad95502b1ebdc70633b8a7a48ecf3e5fb5edf28bc48c8e2d1c0d25d", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling ic0 v1.0.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling ic-cdk-executor v1.0.2 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling base58 v0.2.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.10.17 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling canlog_derive v0.1.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling url v2.5.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling ic-canister-log v0.2.0 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling ic-stable-structures v0.6.9 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling const-hex v1.15.0 [INFO] [stderr] Compiling candid v0.10.17 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling primitive-types v0.11.1 [INFO] [stderr] Compiling ethbloom v0.12.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling ic-secp256k1 v0.1.0 [INFO] [stderr] Compiling ethereum-types v0.13.1 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling ethabi v17.2.0 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [INFO] [stderr] Compiling ic-management-canister-types v0.3.3 [INFO] [stderr] Compiling canlog v0.2.0 [INFO] [stderr] Compiling icrc-cbor v0.1.0 [INFO] [stderr] Compiling ic-http-types v0.1.0 [INFO] [stderr] Compiling icrc-ledger-types v0.1.10 [INFO] [stderr] Compiling ic-cdk-macros v0.18.7 [INFO] [stderr] Compiling ethers-core v2.0.14 [INFO] [stderr] Compiling ic-cdk v0.18.7 [INFO] [stderr] Compiling evm_rpc_types v2.0.0 (/opt/rustwide/workdir/src/evm_rpc_types) [INFO] [stderr] Compiling ic-cdk-timers v0.12.2 [INFO] [stderr] Compiling ic-ledger-types v0.15.0 [INFO] [stderr] Compiling ic-web3-rs v0.1.11 (https://github.com/gov-mind/ic-web3-rs#1d6821e1) [INFO] [stderr] Compiling ic-govmind-types v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_types) [INFO] [stderr] Compiling ic_govmind_sns v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_sns) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_sns/src/lib.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 217 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_sns/src/lib.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 234 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_sns/src/lib.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic_govmind_factory v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_factory) [INFO] [stderr] Compiling ic_govmind_proposal_analyzer v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_proposal_analyzer) [INFO] [stderr] Compiling ic_govmind_hub v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_hub) [INFO] [stderr] Compiling ic_govmind_backend v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_backend) [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::{CallResult, call}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::{CallResult, call}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | call(ledger_canister_id, "icrc1_balance_of", (account,)).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | call(ckbtc_ledger_canister_id, "icrc1_balance_of", (account,)).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | call(canister_id, "icrc1_transfer", (args,)).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let result: CallResult<(Result,)> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | let canister_pid = ic_cdk::id(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:537:28 [INFO] [stdout] | [INFO] [stdout] 537 | owner: ic_cdk::id(), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_proposal_analyzer/src/lib.rs:366:67 [INFO] [stdout] | [INFO] [stdout] 366 | let committees_result: Result<(Vec,), _> = ic_cdk::call(dao_canister_id, "get_active_committees", ()).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EthMainnetService` [INFO] [stdout] --> src/ic_govmind_backend/src/types.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use evm_rpc_types::{EthMainnetService, EthSepoliaService, RpcApi, RpcService}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state` [INFO] [stdout] --> src/ic_govmind_backend/src/update_api.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | store::{self, state}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::Chain` [INFO] [stdout] --> src/ic_govmind_backend/src/wallet.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | ethabi::ethereum_types::Address, futures::io::Chain, ic::KeyInfo, transports::ICHttp, types::{TransactionParameters, U256}, Web3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> src/ic_govmind_backend/src/ic_log.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | let canister_id = ic_cdk::api::id(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | match ic_cdk::api::call::call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | ic_cdk::api::call::call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | match ic_cdk::api::call::call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | ) -> CallResult<(MultiRpcResult,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | ic_cdk::api::call::call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | ) -> CallResult<(MultiRpcResult,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | ic_cdk::call(self.principal, "eth_call", (args,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | ic_cdk::call(self.principal, "requestCost", (args,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:251:34 [INFO] [stdout] | [INFO] [stdout] 251 | match ic_cdk::api::call::call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:314:34 [INFO] [stdout] | [INFO] [stdout] 314 | match ic_cdk::api::call::call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_invite_code` is never used [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn check_invite_code(invite_code: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_invite_code` is never used [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn delete_invite_code(invite_code: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user_metadata` is never used [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn update_user_metadata(pid: Principal, update: UpdateUserInfo) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_dao_roles` is never used [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn get_user_dao_roles(pid: Principal) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_payment_order` is never used [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn check_payment_order(payer: Principal, order_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_proposal_analyzer/src/lib.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ic_govmind_backend/src/wallet.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | token: &TokenConfig, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETH_ERC20_APPROVE_GAS` is never used [INFO] [stdout] --> src/ic_govmind_backend/src/lib.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const ETH_ERC20_APPROVE_GAS: u64 = 65000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "54d395be9ad95502b1ebdc70633b8a7a48ecf3e5fb5edf28bc48c8e2d1c0d25d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54d395be9ad95502b1ebdc70633b8a7a48ecf3e5fb5edf28bc48c8e2d1c0d25d", kill_on_drop: false }` [INFO] [stdout] 54d395be9ad95502b1ebdc70633b8a7a48ecf3e5fb5edf28bc48c8e2d1c0d25d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5474f11ad893bd6cae19bc3cf8b773d1dcdebe0641358b837cbbccd472c4e10e [INFO] running `Command { std: "docker" "start" "-a" "5474f11ad893bd6cae19bc3cf8b773d1dcdebe0641358b837cbbccd472c4e10e", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling url v2.5.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ic-certification v3.0.3 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling ethers-core v2.0.14 [INFO] [stderr] Compiling ic-transport-types v0.40.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling ic-cdk-macros v0.18.7 [INFO] [stderr] Compiling canlog_derive v0.1.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling canlog v0.2.0 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling ic-cdk v0.18.7 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling evm_rpc_types v2.0.0 (/opt/rustwide/workdir/src/evm_rpc_types) [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling ic-cdk-timers v0.12.2 [INFO] [stderr] Compiling ic-ledger-types v0.15.0 [INFO] [stderr] Compiling ic-web3-rs v0.1.11 (https://github.com/gov-mind/ic-web3-rs#1d6821e1) [INFO] [stderr] Compiling ic-govmind-types v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_types) [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling ic_govmind_backend v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_backend) [INFO] [stderr] Compiling ic_govmind_hub v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_hub) [INFO] [stderr] Compiling ic_govmind_factory v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_factory) [INFO] [stderr] Compiling ic_govmind_proposal_analyzer v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_proposal_analyzer) [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::{CallResult, call}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::{CallResult, call}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | call(ledger_canister_id, "icrc1_balance_of", (account,)).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | call(ckbtc_ledger_canister_id, "icrc1_balance_of", (account,)).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | call(canister_id, "icrc1_transfer", (args,)).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let result: CallResult<(Result,)> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> src/ic_govmind_hub/src/pay.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | let canister_pid = ic_cdk::id(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:537:28 [INFO] [stdout] | [INFO] [stdout] 537 | owner: ic_cdk::id(), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_proposal_analyzer/src/lib.rs:366:67 [INFO] [stdout] | [INFO] [stdout] 366 | let committees_result: Result<(Vec,), _> = ic_cdk::call(dao_canister_id, "get_active_committees", ()).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EthMainnetService` [INFO] [stdout] --> src/ic_govmind_backend/src/types.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use evm_rpc_types::{EthMainnetService, EthSepoliaService, RpcApi, RpcService}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state` [INFO] [stdout] --> src/ic_govmind_backend/src/update_api.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | store::{self, state}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::Chain` [INFO] [stdout] --> src/ic_govmind_backend/src/wallet.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | ethabi::ethereum_types::Address, futures::io::Chain, ic::KeyInfo, transports::ICHttp, types::{TransactionParameters, U256}, Web3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stdout] --> src/ic_govmind_backend/src/ic_log.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | let canister_id = ic_cdk::api::id(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | match ic_cdk::api::call::call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | ic_cdk::api::call::call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | match ic_cdk::api::call::call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | ) -> CallResult<(MultiRpcResult,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | ic_cdk::api::call::call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | ) -> CallResult<(MultiRpcResult,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | ic_cdk::call(self.principal, "eth_call", (args,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | ic_cdk::call(self.principal, "requestCost", (args,)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:251:34 [INFO] [stdout] | [INFO] [stdout] 251 | match ic_cdk::api::call::call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | ) -> CallResult<(Result,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/ic_govmind_backend/src/services/evm_service.rs:314:34 [INFO] [stdout] | [INFO] [stdout] 314 | match ic_cdk::api::call::call_with_payment128( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_invite_code` is never used [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn check_invite_code(invite_code: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_invite_code` is never used [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn delete_invite_code(invite_code: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user_metadata` is never used [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn update_user_metadata(pid: Principal, update: UpdateUserInfo) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_dao_roles` is never used [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn get_user_dao_roles(pid: Principal) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_payment_order` is never used [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn check_payment_order(payer: Principal, order_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_hub/src/store.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_proposal_analyzer/src/lib.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ic_govmind_backend/src/wallet.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | token: &TokenConfig, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETH_ERC20_APPROVE_GAS` is never used [INFO] [stdout] --> src/ic_govmind_backend/src/lib.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const ETH_ERC20_APPROVE_GAS: u64 = 65000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pocket-ic v9.0.2 [INFO] [stderr] Compiling ic_govmind_sns v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_sns) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_sns/src/lib.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 217 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_sns/src/lib.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 234 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_govmind_sns/src/lib.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "5474f11ad893bd6cae19bc3cf8b773d1dcdebe0641358b837cbbccd472c4e10e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5474f11ad893bd6cae19bc3cf8b773d1dcdebe0641358b837cbbccd472c4e10e", kill_on_drop: false }` [INFO] [stdout] 5474f11ad893bd6cae19bc3cf8b773d1dcdebe0641358b837cbbccd472c4e10e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 35755d47c1573061db4f38a7edbca03562a67e745993c7c85d87f7f821d30c34 [INFO] running `Command { std: "docker" "start" "-a" "35755d47c1573061db4f38a7edbca03562a67e745993c7c85d87f7f821d30c34", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ic_govmind_sns/src/lib.rs:217:17 [INFO] [stderr] | [INFO] [stderr] 217 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 217 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ic_govmind_sns/src/lib.rs:234:17 [INFO] [stderr] | [INFO] [stderr] 234 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 234 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ic_govmind_sns/src/lib.rs:264:17 [INFO] [stderr] | [INFO] [stderr] 264 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 264 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/ic_govmind_hub/src/pay.rs:2:25 [INFO] [stderr] | [INFO] [stderr] 2 | use ic_cdk::api::call::{CallResult, call}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_hub/src/pay.rs:2:37 [INFO] [stderr] | [INFO] [stderr] 2 | use ic_cdk::api::call::{CallResult, call}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_hub/src/pay.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | call(ledger_canister_id, "icrc1_balance_of", (account,)).await; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_hub/src/pay.rs:41:17 [INFO] [stderr] | [INFO] [stderr] 41 | call(ckbtc_ledger_canister_id, "icrc1_balance_of", (account,)).await; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_hub/src/pay.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | call(canister_id, "icrc1_transfer", (args,)).await; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/ic_govmind_hub/src/pay.rs:80:17 [INFO] [stderr] | [INFO] [stderr] 80 | let result: CallResult<(Result,)> = [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stderr] --> src/ic_govmind_hub/src/pay.rs:155:32 [INFO] [stderr] | [INFO] [stderr] 155 | let canister_pid = ic_cdk::id(); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stderr] --> src/ic_govmind_hub/src/store.rs:537:28 [INFO] [stderr] | [INFO] [stderr] 537 | owner: ic_cdk::id(), [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_invite_code` is never used [INFO] [stderr] --> src/ic_govmind_hub/src/store.rs:200:12 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn check_invite_code(invite_code: &String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `delete_invite_code` is never used [INFO] [stderr] --> src/ic_govmind_hub/src/store.rs:210:12 [INFO] [stderr] | [INFO] [stderr] 210 | pub fn delete_invite_code(invite_code: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_user_metadata` is never used [INFO] [stderr] --> src/ic_govmind_hub/src/store.rs:277:12 [INFO] [stderr] | [INFO] [stderr] 277 | pub fn update_user_metadata(pid: Principal, update: UpdateUserInfo) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_user_dao_roles` is never used [INFO] [stderr] --> src/ic_govmind_hub/src/store.rs:312:12 [INFO] [stderr] | [INFO] [stderr] 312 | pub fn get_user_dao_roles(pid: Principal) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_payment_order` is never used [INFO] [stderr] --> src/ic_govmind_hub/src/store.rs:351:12 [INFO] [stderr] | [INFO] [stderr] 351 | pub fn check_payment_order(payer: Principal, order_id: u64) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ic_govmind_hub/src/store.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 49 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ic_govmind_hub/src/store.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ic_govmind_hub/src/store.rs:91:17 [INFO] [stderr] | [INFO] [stderr] 91 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 91 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_proposal_analyzer/src/lib.rs:366:67 [INFO] [stderr] | [INFO] [stderr] 366 | let committees_result: Result<(Vec,), _> = ic_cdk::call(dao_canister_id, "get_active_committees", ()).await; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ic_govmind_proposal_analyzer/src/lib.rs:224:17 [INFO] [stderr] | [INFO] [stderr] 224 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 224 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `ic_govmind_sns` (lib test) generated 3 warnings (run `cargo fix --lib -p ic_govmind_sns --tests` to apply 3 suggestions) [INFO] [stderr] warning: `ic_govmind_hub` (lib test) generated 16 warnings (run `cargo fix --lib -p ic_govmind_hub --tests` to apply 3 suggestions) [INFO] [stderr] warning: `ic_govmind_proposal_analyzer` (lib test) generated 2 warnings (run `cargo fix --lib -p ic_govmind_proposal_analyzer --tests` to apply 1 suggestion) [INFO] [stderr] warning: unused import: `EthMainnetService` [INFO] [stderr] --> src/ic_govmind_backend/src/types.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use evm_rpc_types::{EthMainnetService, EthSepoliaService, RpcApi, RpcService}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `state` [INFO] [stderr] --> src/ic_govmind_backend/src/update_api.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | store::{self, state}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::io::Chain` [INFO] [stderr] --> src/ic_govmind_backend/src/wallet.rs:31:38 [INFO] [stderr] | [INFO] [stderr] 31 | ethabi::ethereum_types::Address, futures::io::Chain, ic::KeyInfo, transports::ICHttp, types::{TransactionParameters, U256}, Web3 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::id`: Use `canister_self` instead [INFO] [stderr] --> src/ic_govmind_backend/src/ic_log.rs:106:36 [INFO] [stderr] | [INFO] [stderr] 106 | let canister_id = ic_cdk::api::id(); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | use ic_cdk::api::call::CallResult; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | ) -> CallResult<(Result,)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:49:34 [INFO] [stderr] | [INFO] [stderr] 49 | match ic_cdk::api::call::call_with_payment128( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | ) -> CallResult<(Result,)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | ic_cdk::api::call::call_with_payment128( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:95:10 [INFO] [stderr] | [INFO] [stderr] 95 | ) -> CallResult<(Result,)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:126:34 [INFO] [stderr] | [INFO] [stderr] 126 | match ic_cdk::api::call::call_with_payment128( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:154:10 [INFO] [stderr] | [INFO] [stderr] 154 | ) -> CallResult<(MultiRpcResult,)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:163:28 [INFO] [stderr] | [INFO] [stderr] 163 | ic_cdk::api::call::call_with_payment128( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:177:10 [INFO] [stderr] | [INFO] [stderr] 177 | ) -> CallResult<(MultiRpcResult,)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:179:17 [INFO] [stderr] | [INFO] [stderr] 179 | ic_cdk::call(self.principal, "eth_call", (args,)) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:192:10 [INFO] [stderr] | [INFO] [stderr] 192 | ) -> CallResult<(Result,)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:194:17 [INFO] [stderr] | [INFO] [stderr] 194 | ic_cdk::call(self.principal, "requestCost", (args,)) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:211:10 [INFO] [stderr] | [INFO] [stderr] 211 | ) -> CallResult<(Result,)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:251:34 [INFO] [stderr] | [INFO] [stderr] 251 | match ic_cdk::api::call::call_with_payment128( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:280:10 [INFO] [stderr] | [INFO] [stderr] 280 | ) -> CallResult<(Result,)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `ic_cdk::api::call::CallResult`: Please use `ic_cdk::call::CallResult` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:302:10 [INFO] [stderr] | [INFO] [stderr] 302 | ) -> CallResult<(Result,)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_cdk::api::call::call_with_payment128`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stderr] --> src/ic_govmind_backend/src/services/evm_service.rs:314:34 [INFO] [stderr] | [INFO] [stderr] 314 | match ic_cdk::api::call::call_with_payment128( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/ic_govmind_backend/src/wallet.rs:581:9 [INFO] [stderr] | [INFO] [stderr] 581 | token: &TokenConfig, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `ETH_ERC20_APPROVE_GAS` is never used [INFO] [stderr] --> src/ic_govmind_backend/src/lib.rs:25:7 [INFO] [stderr] | [INFO] [stderr] 25 | const ETH_ERC20_APPROVE_GAS: u64 = 65000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ic_govmind_backend` (lib test) generated 24 warnings (run `cargo fix --lib -p ic_govmind_backend --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.57s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/evm_rpc_types-0660f4deccdc944a) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test result::tests::test_multi_rpc_result_map ... ok [INFO] [stdout] test tests::hex_string::should_have_ethereum_style_debug_format ... ok [INFO] [stdout] test tests::hex_string::should_decode_single_hex_char_into_hex_byte ... ok [INFO] [stdout] test rpc_client::tests::should_contain_host_without_sensitive_information ... ok [INFO] [stdout] test tests::nat256::should_have_transparent_debug_and_display_representation ... ok [INFO] [stdout] test tests::nat256::should_convert_to_bytes_and_back ... ok [INFO] [stdout] test tests::nat256::should_encode_decode ... ok [INFO] [stdout] test tests::nat256::should_fail_to_decode_nat_overflowing_a_u256 ... ok [INFO] [stdout] test tests::hex_string::should_encode_decode ... ok [INFO] [stdout] test tests::hex_string::should_fail_to_decode_strings_with_wrong_length ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_govmind_types-7401d8b1892521f7) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test bytes::tests::byte_n_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_govmind_backend-5f5f1842b56a5559) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test candid_file_generator::tests::save_candid ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- candid_file_generator::tests::save_candid stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'candid_file_generator::tests::save_candid' (38) panicked at src/ic_govmind_backend/src/candid_file_generator.rs:38:68: [INFO] [stdout] Write failed.: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5565febbe662 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5565febbe662 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5565febbe662 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5565febbe662 - ::fmt::h8be9aa933f14675f [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5565febce60f - core::fmt::rt::Argument::fmt::h30ed739d33467c3a [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5565febce60f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5565feb8bea3 - std::io::default_write_fmt::hd6d24501f2d7f8d3 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5565feb8bea3 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5565feb97c42 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5565feb9c8ff - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5565feb9c791 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5565feadb63e - as core::ops::function::Fn>::call::ha834d5846f91b30b [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5565feadb63e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5565feb9cf0f - as core::ops::function::Fn>::call::hbf9b0f7a281291fd [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5565feb9cf0f - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5565feb9cd6a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5565feb97d79 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5565feb804dd - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5565febd6140 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5565febd57a6 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x5565feb1a67c - core::result::Result::expect::h9a57cf03f988d211 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x5565feaa36a6 - ic_govmind_backend::candid_file_generator::tests::save_candid::h450b167df8cbc09f [INFO] [stdout] at /opt/rustwide/workdir/src/ic_govmind_backend/src/candid_file_generator.rs:38:68 [INFO] [stdout] 22: 0x5565feaa3707 - ic_govmind_backend::candid_file_generator::tests::save_candid::{{closure}}::h79760383c1afef76 [INFO] [stdout] at /opt/rustwide/workdir/src/ic_govmind_backend/src/candid_file_generator.rs:32:21 [INFO] [stdout] 23: 0x5565feaa5c66 - core::ops::function::FnOnce::call_once::h59132ff18bf96984 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5565feadb43b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5565feadb43b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5565feaef49d - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5565feaef49d - as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5565feaef49d - std::panicking::catch_unwind::do_call::hc37c563b8a006285 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5565feaef49d - std::panicking::catch_unwind::h616b6e2e7a27f612 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5565feaef49d - std::panic::catch_unwind::h1e788dd57758e6d8 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5565feaef49d - test::run_test_in_process::hf073c2764f29f8ad [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5565feaef49d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5565feac89e4 - test::run_test::{{closure}}::h6a4da3c57ef4505f [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5565feac89e4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5565feacc23a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x5565feacc23a - as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5565feacc23a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5565feacc23a - std::panicking::catch_unwind::h8f9f675f3756eab1 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5565feacc23a - std::panic::catch_unwind::he8f74a93abeceb9b [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5565feacc23a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x5565feacc23a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5565feb9317f - as core::ops::function::FnOnce>::call_once::h6ff05134d80ef20e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x5565feb9317f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x7f6c26ab9aa4 - [INFO] [stdout] 45: 0x7f6c26b46a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] candid_file_generator::tests::save_candid [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p ic_govmind_backend --lib` [INFO] running `Command { std: "docker" "inspect" "35755d47c1573061db4f38a7edbca03562a67e745993c7c85d87f7f821d30c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35755d47c1573061db4f38a7edbca03562a67e745993c7c85d87f7f821d30c34", kill_on_drop: false }` [INFO] [stdout] 35755d47c1573061db4f38a7edbca03562a67e745993c7c85d87f7f821d30c34