[INFO] cloning repository https://github.com/Zedonboy/dmailfi_protocol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zedonboy/dmailfi_protocol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Fdmailfi_protocol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Fdmailfi_protocol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 516003a5a642c55830d0a9ce4b4905c97bf4fd77 [INFO] checking Zedonboy/dmailfi_protocol/516003a5a642c55830d0a9ce4b4905c97bf4fd77 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Fdmailfi_protocol" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zedonboy/dmailfi_protocol on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Zedonboy/dmailfi_protocol [INFO] finished tweaking git repo https://github.com/Zedonboy/dmailfi_protocol [INFO] tweaked toml for git repo https://github.com/Zedonboy/dmailfi_protocol written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Zedonboy/dmailfi_protocol 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded candid v0.10.3 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded candid_derive v0.6.5 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.4 [INFO] [stderr] Downloaded ic-cdk-timers v0.6.0 [INFO] [stderr] Downloaded ic-cdk v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c807822f5c92b2f094c1e8372e2be004ff0d6eda2470ff843ac5d63d3f89b5a [INFO] running `Command { std: "docker" "start" "-a" "0c807822f5c92b2f094c1e8372e2be004ff0d6eda2470ff843ac5d63d3f89b5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c807822f5c92b2f094c1e8372e2be004ff0d6eda2470ff843ac5d63d3f89b5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c807822f5c92b2f094c1e8372e2be004ff0d6eda2470ff843ac5d63d3f89b5a", kill_on_drop: false }` [INFO] [stdout] 0c807822f5c92b2f094c1e8372e2be004ff0d6eda2470ff843ac5d63d3f89b5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfbc80fb0b8efd1666b958071cfa19345fa592e0dd9014d72f71ae71f9b06185 [INFO] running `Command { std: "docker" "start" "-a" "dfbc80fb0b8efd1666b958071cfa19345fa592e0dd9014d72f71ae71f9b06185", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling dmailfi_core v0.1.0 (/opt/rustwide/workdir/src/dmailfi_core) [INFO] [stderr] Compiling dmailfi_icp_backend v0.1.1 (/opt/rustwide/workdir/src/dmailfi_icp_backend) [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling candid_derive v0.6.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking email_address v0.2.4 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking candid v0.10.3 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Checking ic-cdk v0.12.1 [INFO] [stderr] Checking ic-cdk-timers v0.6.0 [INFO] [stderr] Checking dmailfi_types v0.3.2 (/opt/rustwide/workdir/src/dmailfi_types) [INFO] [stdout] warning: unused imports: `cell::RefCell` and `default` [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Borrow, cell::RefCell, cmp, collections::{HashMap, HashSet}, default, fmt::{Debug, Display}, ops::Deref, str::FromStr, sync::Arc [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EMAIL_ADDRESS` should have an upper camel case name [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type EMAIL_ADDRESS = String; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmailAddress` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MAIL_ID` should have an upper camel case name [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type MAIL_ID = String; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MailId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NEWSLETTER_ID` should have an upper camel case name [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type NEWSLETTER_ID = String; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NewsletterId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CORELATION_ID` should have an upper camel case name [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type CORELATION_ID = String; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CorelationId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `default` [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Borrow, cell::RefCell, cmp, collections::{HashMap, HashSet}, default, fmt::{Debug, Display}, ops::Deref, str::FromStr, sync::Arc [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EMAIL_ADDRESS` should have an upper camel case name [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type EMAIL_ADDRESS = String; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmailAddress` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MAIL_ID` should have an upper camel case name [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type MAIL_ID = String; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MailId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NEWSLETTER_ID` should have an upper camel case name [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type NEWSLETTER_ID = String; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NewsletterId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CORELATION_ID` should have an upper camel case name [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type CORELATION_ID = String; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CorelationId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mail_id` is never read [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct MailStatus { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 238 | read : bool, [INFO] [stdout] 239 | mail_id: MAIL_ID [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `portfolio`, and `photo` are never read [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct Profile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 284 | name : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 285 | portfolio: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 286 | photo: Rcbytes [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Profile` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mail_id` is never read [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct MailStatus { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 238 | read : bool, [INFO] [stdout] 239 | mail_id: MAIL_ID [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `portfolio`, and `photo` are never read [INFO] [stdout] --> src/dmailfi_types/src/lib.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct Profile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 284 | name : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 285 | portfolio: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 286 | photo: Rcbytes [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Profile` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/dmailfi_icp_backend/src/dmailfi_core.wasm`: No such file or directory (os error 2) [INFO] [stdout] --> src/dmailfi_icp_backend/src/lib.rs:21:117 [INFO] [stdout] | [INFO] [stdout] 21 | ...Rcbytes::new(Arc::new(serde_bytes::ByteBuf::from(include_bytes!("dmailfi_core.wasm"))))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/dmailfi_icp_backend/src/dmailfi_core.wasm`: No such file or directory (os error 2) [INFO] [stdout] --> src/dmailfi_icp_backend/src/lib.rs:21:117 [INFO] [stdout] | [INFO] [stdout] 21 | ...Rcbytes::new(Arc::new(serde_bytes::ByteBuf::from(include_bytes!("dmailfi_core.wasm"))))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MailError` [INFO] [stdout] --> src/dmailfi_icp_backend/src/lib.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use dmailfi_types::{LedgerConfiguration, MailError, Rcbytes, RegistryError, LOOKUP_DOMAIN_CALL_PAYMENT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_upgrade` [INFO] [stdout] --> src/dmailfi_icp_backend/src/lib.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | }}, caller, post_upgrade, query, update [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `Deserialize` [INFO] [stdout] --> src/dmailfi_icp_backend/src/types.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::{CandidType, Deserialize, Principal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DOMAIN_NAME` should have an upper camel case name [INFO] [stdout] --> src/dmailfi_icp_backend/src/types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type DOMAIN_NAME = String; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DomainName` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CANISTER_ID` should have an upper camel case name [INFO] [stdout] --> src/dmailfi_icp_backend/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type CANISTER_ID = Principal; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CanisterId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MailError` [INFO] [stdout] --> src/dmailfi_icp_backend/src/lib.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use dmailfi_types::{LedgerConfiguration, MailError, Rcbytes, RegistryError, LOOKUP_DOMAIN_CALL_PAYMENT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_upgrade` [INFO] [stdout] --> src/dmailfi_icp_backend/src/lib.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | }}, caller, post_upgrade, query, update [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `Deserialize` [INFO] [stdout] --> src/dmailfi_icp_backend/src/types.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::{CandidType, Deserialize, Principal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DOMAIN_NAME` should have an upper camel case name [INFO] [stdout] --> src/dmailfi_icp_backend/src/types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type DOMAIN_NAME = String; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DomainName` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CANISTER_ID` should have an upper camel case name [INFO] [stdout] --> src/dmailfi_icp_backend/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type CANISTER_ID = Principal; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CanisterId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_controller`, `self`, and `sign_with_ecdsa` [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | call::{self, arg_data, RejectionCode}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | is_controller, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | ecdsa::{sign_with_ecdsa, SignWithEcdsaArgument}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:471:15 [INFO] [stdout] | [INFO] [stdout] 471 | #[cfg(network = "ic")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("ic"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"ic\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:473:15 [INFO] [stdout] | [INFO] [stdout] 473 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_controller`, `self`, and `sign_with_ecdsa` [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | call::{self, arg_data, RejectionCode}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | is_controller, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | ecdsa::{sign_with_ecdsa, SignWithEcdsaArgument}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:471:15 [INFO] [stdout] | [INFO] [stdout] 471 | #[cfg(network = "ic")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("ic"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"ic\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `network` [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:473:15 [INFO] [stdout] | [INFO] [stdout] 473 | #[cfg(network = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(network, values("local"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(network, values(\"local\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dmailfi_icp_backend` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dmailfi_icp_backend` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | Ok((resp,)) => Ok(()), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:456:14 [INFO] [stdout] | [INFO] [stdout] 456 | Err((code, mssg)) => Err(MailError::HttpSendMail(mssg)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | Ok((resp,)) => Ok(()), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:456:14 [INFO] [stdout] | [INFO] [stdout] 456 | Err((code, mssg)) => Err(MailError::HttpSendMail(mssg)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | ledger.store_mail(mail.clone(), correlation_id.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 311 | let _ = ledger.store_mail(mail.clone(), correlation_id.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:493:9 [INFO] [stdout] | [INFO] [stdout] 493 | send_mail(mx).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 493 | let _ = send_mail(mx).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | ledger.store_mail(mail.clone(), correlation_id.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 311 | let _ = ledger.store_mail(mail.clone(), correlation_id.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dmailfi_core/src/lib.rs:493:9 [INFO] [stdout] | [INFO] [stdout] 493 | send_mail(mx).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 493 | let _ = send_mail(mx).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dfbc80fb0b8efd1666b958071cfa19345fa592e0dd9014d72f71ae71f9b06185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfbc80fb0b8efd1666b958071cfa19345fa592e0dd9014d72f71ae71f9b06185", kill_on_drop: false }` [INFO] [stdout] dfbc80fb0b8efd1666b958071cfa19345fa592e0dd9014d72f71ae71f9b06185