[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#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgov-mind%2Fic_govmind" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gov-mind/ic_govmind on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3c10de664df2293ec42ff98c3660395b1eb79613ae58fb775b6b6289c5067c3 [INFO] running `Command { std: "docker" "start" "-a" "f3c10de664df2293ec42ff98c3660395b1eb79613ae58fb775b6b6289c5067c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3c10de664df2293ec42ff98c3660395b1eb79613ae58fb775b6b6289c5067c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c10de664df2293ec42ff98c3660395b1eb79613ae58fb775b6b6289c5067c3", kill_on_drop: false }` [INFO] [stdout] f3c10de664df2293ec42ff98c3660395b1eb79613ae58fb775b6b6289c5067c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a137174f2d5f5223bea9938ba9896c98600e76ec21ded1ae220a47e43869fb2 [INFO] running `Command { std: "docker" "start" "-a" "7a137174f2d5f5223bea9938ba9896c98600e76ec21ded1ae220a47e43869fb2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ic0 v1.0.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling ic-cdk-executor v1.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling parking_lot v0.12.4 [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 regex-automata v0.4.9 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling base58 v0.2.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling tempfile v3.21.0 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [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 zeroize v1.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling canlog_derive v0.1.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling candid v0.10.17 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling ic-canister-log v0.2.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling impl-serde v0.3.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 jsonrpc-core v18.0.0 [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 impl-rlp v0.3.0 [INFO] [stderr] Compiling ethbloom v0.12.1 [INFO] [stderr] Compiling primitive-types v0.11.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling ic-secp256k1 v0.1.0 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethereum-types v0.13.1 [INFO] [stderr] Compiling ic-cdk-macros v0.18.7 [INFO] [stderr] Compiling ethabi v17.2.0 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling ic-management-canister-types v0.3.3 [INFO] [stderr] Compiling icrc-cbor v0.1.0 [INFO] [stderr] Compiling canlog v0.2.0 [INFO] [stderr] Compiling ic-http-types v0.1.0 [INFO] [stderr] Compiling icrc-ledger-types v0.1.10 [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-ledger-types v0.15.0 [INFO] [stderr] Compiling ic-cdk-timers v0.12.2 [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_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] [stderr] Compiling ic_govmind_backend v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_backend) [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: 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: 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 47s [INFO] running `Command { std: "docker" "inspect" "7a137174f2d5f5223bea9938ba9896c98600e76ec21ded1ae220a47e43869fb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a137174f2d5f5223bea9938ba9896c98600e76ec21ded1ae220a47e43869fb2", kill_on_drop: false }` [INFO] [stdout] 7a137174f2d5f5223bea9938ba9896c98600e76ec21ded1ae220a47e43869fb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20411ba8bb76e5206fd85863fc4456006cb34775b182597cc0b8fa065d3a6c66 [INFO] running `Command { std: "docker" "start" "-a" "20411ba8bb76e5206fd85863fc4456006cb34775b182597cc0b8fa065d3a6c66", kill_on_drop: false }` [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [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 regex-automata v0.1.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling url v2.5.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [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 serde_repr v0.1.20 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling ethers-core v2.0.14 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling ic-transport-types v0.40.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling derive_builder_macro 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 derive_builder v0.12.0 [INFO] [stderr] Compiling ic-cdk v0.18.7 [INFO] [stderr] Compiling canlog v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling evm_rpc_types v2.0.0 (/opt/rustwide/workdir/src/evm_rpc_types) [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling tracing-appender v0.2.3 [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 ic_govmind_hub v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_hub) [INFO] [stderr] Compiling ic_govmind_proposal_analyzer v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_proposal_analyzer) [INFO] [stderr] Compiling ic_govmind_factory v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_factory) [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: 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] [stderr] Compiling ic_govmind_backend v0.1.0 (/opt/rustwide/workdir/src/ic_govmind_backend) [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] [stderr] Compiling hyper-rustls v0.27.7 [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 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] [stderr] Compiling reqwest v0.12.23 [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 18s [INFO] running `Command { std: "docker" "inspect" "20411ba8bb76e5206fd85863fc4456006cb34775b182597cc0b8fa065d3a6c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20411ba8bb76e5206fd85863fc4456006cb34775b182597cc0b8fa065d3a6c66", kill_on_drop: false }` [INFO] [stdout] 20411ba8bb76e5206fd85863fc4456006cb34775b182597cc0b8fa065d3a6c66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e8b155fcd18629f1a220b75aae1d017cb8b43faf4c2dd9ce44b45bafa0adc7a7 [INFO] running `Command { std: "docker" "start" "-a" "e8b155fcd18629f1a220b75aae1d017cb8b43faf4c2dd9ce44b45bafa0adc7a7", 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 0.56s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/evm_rpc_types-066c28deb9256f9e) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test rpc_client::tests::should_contain_host_without_sensitive_information ... ok [INFO] [stdout] test tests::hex_string::should_decode_single_hex_char_into_hex_byte ... ok [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::nat256::should_convert_to_bytes_and_back ... ok [INFO] [stdout] test tests::nat256::should_have_transparent_debug_and_display_representation ... 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 1.66s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_govmind_types-57579b9e60fc581e) [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-f4ee9340d3f0f8f7) [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: 0x61f26302fb12 - std[b14e17aa63033746]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61f26302fb12 - std[b14e17aa63033746]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61f26302fb12 - std[b14e17aa63033746]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x61f26302fb12 - <::print::DisplayBacktrace as core[7ebf52c056bd56a4]::fmt::Display>::fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x61f2630445da - ::fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x61f2630445da - core[7ebf52c056bd56a4]::fmt::write [INFO] [stdout] 6: 0x61f2630349f6 - std[b14e17aa63033746]::io::default_write_fmt::> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61f2630349f6 - as std[b14e17aa63033746]::io::Write>::write_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x61f26300dcbf - ::print [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x61f26300dcbf - std[b14e17aa63033746]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x61f263027c59 - std[b14e17aa63033746]::panicking::default_hook [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x61f262f4203e - core[7ebf52c056bd56a4]::ops::function::Fn<(&'a std[b14e17aa63033746]::panic::PanicHookInfo<'b>,), Output = ()> + core[7ebf52c056bd56a4]::marker::Send + core[7ebf52c056bd56a4]::marker::Sync> as core[7ebf52c056bd56a4]::ops::function::Fn<(&std[b14e17aa63033746]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x61f262f4203e - test[3318909d72adbd73]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61f263027e12 - core[7ebf52c056bd56a4]::ops::function::Fn<(&'a std[b14e17aa63033746]::panic::PanicHookInfo<'b>,), Output = ()> + core[7ebf52c056bd56a4]::marker::Send + core[7ebf52c056bd56a4]::marker::Sync> as core[7ebf52c056bd56a4]::ops::function::Fn<(&std[b14e17aa63033746]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x61f263027e12 - std[b14e17aa63033746]::panicking::panic_with_hook [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x61f26300dd78 - std[b14e17aa63033746]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x61f2630057a9 - std[b14e17aa63033746]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x61f26300ebcd - __rustc[f8abce35e9738d16]::rust_begin_unwind [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x61f263044cdc - core[7ebf52c056bd56a4]::panicking::panic_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x61f263044a52 - core[7ebf52c056bd56a4]::result::unwrap_failed [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x61f262f985cc - >::expect [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x61f262f28186 - ic_govmind_backend[e6e7b164c1b797a1]::candid_file_generator::tests::save_candid [INFO] [stdout] at /opt/rustwide/workdir/src/ic_govmind_backend/src/candid_file_generator.rs:38:68 [INFO] [stdout] 22: 0x61f262f27fa7 - ic_govmind_backend[e6e7b164c1b797a1]::candid_file_generator::tests::save_candid::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/ic_govmind_backend/src/candid_file_generator.rs:32:21 [INFO] [stdout] 23: 0x61f262f1fb46 - >::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61f262f363eb - core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61f262f363eb - test[3318909d72adbd73]::__rust_begin_short_backtrace::, fn() -> core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x61f262f42c4a - test[3318909d72adbd73]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x61f262f42c4a - as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x61f262f42c4a - std[b14e17aa63033746]::panicking::catch_unwind::do_call::, core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x61f262f42c4a - std[b14e17aa63033746]::panicking::catch_unwind::, core[7ebf52c056bd56a4]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x61f262f42c4a - std[b14e17aa63033746]::panic::catch_unwind::, core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61f262f42c4a - test[3318909d72adbd73]::run_test_in_process [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x61f262f42c4a - test[3318909d72adbd73]::run_test::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x61f262f3e1f4 - test[3318909d72adbd73]::run_test::{closure#1} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x61f262f3e1f4 - std[b14e17aa63033746]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x61f262f45742 - std[b14e17aa63033746]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x61f262f45742 - ::{closure#1}::{closure#0}> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x61f262f45742 - std[b14e17aa63033746]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x61f262f45742 - std[b14e17aa63033746]::panicking::catch_unwind::<(), core[7ebf52c056bd56a4]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x61f262f45742 - std[b14e17aa63033746]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61f262f45742 - std[b14e17aa63033746]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x61f262f45742 - ::{closure#1} as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61f26302f21f - + core[7ebf52c056bd56a4]::marker::Send> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 43: 0x61f26302f21f - ::new::thread_start [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/thread/unix.rs:127:17 [INFO] [stdout] 44: 0x7e8da7ff6aa4 - [INFO] [stdout] 45: 0x7e8da8083a64 - 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.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p ic_govmind_backend --lib` [INFO] running `Command { std: "docker" "inspect" "e8b155fcd18629f1a220b75aae1d017cb8b43faf4c2dd9ce44b45bafa0adc7a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8b155fcd18629f1a220b75aae1d017cb8b43faf4c2dd9ce44b45bafa0adc7a7", kill_on_drop: false }` [INFO] [stdout] e8b155fcd18629f1a220b75aae1d017cb8b43faf4c2dd9ce44b45bafa0adc7a7