[INFO] cloning repository https://github.com/pgx2001/esport-hub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pgx2001/esport-hub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgx2001%2Fesport-hub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgx2001%2Fesport-hub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] daa1bb7537493bb51dbe7a95f362985a1ef1c599 [INFO] checking pgx2001/esport-hub against master#2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgx2001%2Fesport-hub" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pgx2001/esport-hub [INFO] finished tweaking git repo https://github.com/pgx2001/esport-hub [INFO] tweaked toml for git repo https://github.com/pgx2001/esport-hub written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pgx2001/esport-hub on toolchain 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pgx2001/esport-hub 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" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-stable-structures v0.6.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e79bcd1c5117282ce482dd6c2664f33e62dd60ea0d587638f0a56a7c7da2839d [INFO] running `Command { std: "docker" "start" "-a" "e79bcd1c5117282ce482dd6c2664f33e62dd60ea0d587638f0a56a7c7da2839d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e79bcd1c5117282ce482dd6c2664f33e62dd60ea0d587638f0a56a7c7da2839d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e79bcd1c5117282ce482dd6c2664f33e62dd60ea0d587638f0a56a7c7da2839d", kill_on_drop: false }` [INFO] [stdout] e79bcd1c5117282ce482dd6c2664f33e62dd60ea0d587638f0a56a7c7da2839d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f4f18809f2ec59c2b5a06696acc4be8c8326f1616c0d677151f30fd46d11e9c [INFO] running `Command { std: "docker" "start" "-a" "0f4f18809f2ec59c2b5a06696acc4be8c8326f1616c0d677151f30fd46d11e9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking pretty v0.12.4 [INFO] [stderr] Compiling ic-cdk-executor v1.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ic0 v1.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking ic-error-types v0.2.0 [INFO] [stderr] Checking ic-stable-structures v0.6.9 [INFO] [stderr] Checking candid v0.10.14 [INFO] [stderr] Checking ic-management-canister-types v0.3.1 [INFO] [stderr] Compiling ic-cdk-macros v0.18.5 [INFO] [stderr] Checking ic-cdk v0.18.5 [INFO] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir/contracts/backend) [INFO] [stdout] warning: unused variable: `new_email` [INFO] [stdout] --> contracts/backend/src/state/account.rs:205:51 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn change_email(&mut self, user_id: u128, new_email: String) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_email` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/backend/src/state/account.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut account = self [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_email` [INFO] [stdout] --> contracts/backend/src/state/account.rs:205:51 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn change_email(&mut self, user_id: u128, new_email: String) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_email` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/backend/src/state/account.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut account = self [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> contracts/backend/src/lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let caller = ic_cdk::api::msg_caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> contracts/backend/src/lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let caller = ic_cdk::api::msg_caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `primary_email` [INFO] [stdout] --> contracts/backend/src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | primary_email, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `primary_email: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secondary_email` [INFO] [stdout] --> contracts/backend/src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | secondary_email, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `secondary_email: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> contracts/backend/src/lib.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn follow(user_id: u128) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> contracts/backend/src/lib.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn remove(user_id: u128) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> contracts/backend/src/lib.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let caller = ic_cdk::api::msg_caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caption` [INFO] [stdout] --> contracts/backend/src/lib.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | caption, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `caption: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_type` [INFO] [stdout] --> contracts/backend/src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | content_type, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `content_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> contracts/backend/src/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | content, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `content: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post_id` [INFO] [stdout] --> contracts/backend/src/lib.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn delete(post_id: u128) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_post_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `primary_email` [INFO] [stdout] --> contracts/backend/src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | primary_email, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `primary_email: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secondary_email` [INFO] [stdout] --> contracts/backend/src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | secondary_email, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `secondary_email: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> contracts/backend/src/lib.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn follow(user_id: u128) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> contracts/backend/src/lib.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn remove(user_id: u128) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> contracts/backend/src/lib.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let caller = ic_cdk::api::msg_caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caption` [INFO] [stdout] --> contracts/backend/src/lib.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | caption, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `caption: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_type` [INFO] [stdout] --> contracts/backend/src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | content_type, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `content_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> contracts/backend/src/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | content, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `content: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post_id` [INFO] [stdout] --> contracts/backend/src/lib.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn delete(post_id: u128) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_post_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post_id` [INFO] [stdout] --> contracts/backend/src/lib.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn post_interaction(post_id: (), interaction: PostInteractionType) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_post_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interaction` [INFO] [stdout] --> contracts/backend/src/lib.rs:164:38 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn post_interaction(post_id: (), interaction: PostInteractionType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_config` is never used [INFO] [stdout] --> contracts/backend/src/state.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn read_config(f: F) -> R [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_config` is never used [INFO] [stdout] --> contracts/backend/src/state.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn write_config(f: F) -> R [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post_id` [INFO] [stdout] --> contracts/backend/src/lib.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn post_interaction(post_id: (), interaction: PostInteractionType) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_post_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `change_email` is never used [INFO] [stdout] --> contracts/backend/src/state/account.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl AccountState { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn change_email(&mut self, user_id: u128, new_email: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interaction` [INFO] [stdout] --> contracts/backend/src/lib.rs:164:38 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn post_interaction(post_id: (), interaction: PostInteractionType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StableConfig` is never used [INFO] [stdout] --> contracts/backend/src/state/config.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type StableConfig = StableCell; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_config` is never used [INFO] [stdout] --> contracts/backend/src/state/config.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init_config() -> StableConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> contracts/backend/src/state/config.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Content` is never constructed [INFO] [stdout] --> contracts/backend/src/state/content.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Content { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_uuid_for_post` is never used [INFO] [stdout] --> contracts/backend/src/utils.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn generate_uuid_for_post() -> Uuid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_config` is never used [INFO] [stdout] --> contracts/backend/src/state.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn read_config(f: F) -> R [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_config` is never used [INFO] [stdout] --> contracts/backend/src/state.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn write_config(f: F) -> R [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> contracts/backend/src/state/account.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `change_email` is never used [INFO] [stdout] --> contracts/backend/src/state/account.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl AccountState { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn change_email(&mut self, user_id: u128, new_email: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StableConfig` is never used [INFO] [stdout] --> contracts/backend/src/state/config.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type StableConfig = StableCell; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_config` is never used [INFO] [stdout] --> contracts/backend/src/state/config.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init_config() -> StableConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> contracts/backend/src/state/config.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Content` is never constructed [INFO] [stdout] --> contracts/backend/src/state/content.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Content { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_uuid_for_post` is never used [INFO] [stdout] --> contracts/backend/src/utils.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn generate_uuid_for_post() -> Uuid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> contracts/backend/src/state/account.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | 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] 109 | 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] --> contracts/backend/src/state/config.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 35 | 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] --> contracts/backend/src/state/account.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | 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] --> contracts/backend/src/state/account.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | 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] 109 | 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] --> contracts/backend/src/state/config.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 35 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.77s [INFO] running `Command { std: "docker" "inspect" "0f4f18809f2ec59c2b5a06696acc4be8c8326f1616c0d677151f30fd46d11e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f4f18809f2ec59c2b5a06696acc4be8c8326f1616c0d677151f30fd46d11e9c", kill_on_drop: false }` [INFO] [stdout] 0f4f18809f2ec59c2b5a06696acc4be8c8326f1616c0d677151f30fd46d11e9c