[INFO] cloning repository https://github.com/ICP-hub/liftcash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ICP-hub/liftcash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FICP-hub%2Fliftcash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FICP-hub%2Fliftcash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b68a747f87ee32ddc202cdd08653a1c3614672c4 [INFO] checking ICP-hub/liftcash against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FICP-hub%2Fliftcash" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ICP-hub/liftcash on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ICP-hub/liftcash [INFO] finished tweaking git repo https://github.com/ICP-hub/liftcash [INFO] tweaked toml for git repo https://github.com/ICP-hub/liftcash written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ICP-hub/liftcash 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/wantedbear007/kaires` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minicbor v0.19.1 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded icrc-cbor v0.1.0 [INFO] [stderr] Downloaded ic-cdk v0.13.5 [INFO] [stderr] Downloaded minicbor-derive v0.13.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.13.2 [INFO] [stderr] Downloaded stacker v0.1.18 [INFO] [stderr] Downloaded uuid v1.14.0 [INFO] [stderr] Downloaded icrc-ledger-types v0.1.8 [INFO] [stderr] Downloaded ic-stable-structures v0.6.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eebf08316fa41be9e9d616fe5d59ed333b435f3b1da45304e4c1a11db86bba6 [INFO] running `Command { std: "docker" "start" "-a" "5eebf08316fa41be9e9d616fe5d59ed333b435f3b1da45304e4c1a11db86bba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eebf08316fa41be9e9d616fe5d59ed333b435f3b1da45304e4c1a11db86bba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eebf08316fa41be9e9d616fe5d59ed333b435f3b1da45304e4c1a11db86bba6", kill_on_drop: false }` [INFO] [stdout] 5eebf08316fa41be9e9d616fe5d59ed333b435f3b1da45304e4c1a11db86bba6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c17fd7c6a75506c6eaee73bb88e3cae2989c659e32de2f1b149eb4c358be010 [INFO] running `Command { std: "docker" "start" "-a" "8c17fd7c6a75506c6eaee73bb88e3cae2989c659e32de2f1b149eb4c358be010", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.18 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking ic-stable-structures v0.6.7 [INFO] [stderr] Compiling candid v0.10.13 [INFO] [stderr] Checking icrc-cbor v0.1.0 [INFO] [stderr] Checking icrc-ledger-types v0.1.8 [INFO] [stderr] Compiling ic-cdk-macros v0.16.0 [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Checking ic-cdk v0.13.5 [INFO] [stderr] Checking ic-cdk v0.16.0 [INFO] [stderr] Checking kaires v0.1.0 (https://github.com/wantedbear007/kaires?rev=f9e6ce3c67be26d1fed8f5a84a71eaec0ecf97e1#f9e6ce3c) [INFO] [stderr] Checking ic-cdk-timers v0.10.0 [INFO] [stderr] Checking Community_Backend v0.1.0 (/opt/rustwide/workdir/src/Community_Backend) [INFO] [stderr] Checking Economy_Backend v0.1.0 (/opt/rustwide/workdir/src/Economy_Backend) [INFO] [stdout] warning: unused import: `ic_cdk::api::call::call` [INFO] [stdout] --> src/Economy_Backend/src/tokentransfer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk_macros::update` [INFO] [stdout] --> src/Economy_Backend/src/tokentransfer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk_macros::update; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api::call::call` [INFO] [stdout] --> src/Economy_Backend/src/tokentransfer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::call::call; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk_macros::update` [INFO] [stdout] --> src/Economy_Backend/src/tokentransfer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk_macros::update; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api::call::CallResult` [INFO] [stdout] --> src/Community_Backend/src/controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `call` [INFO] [stdout] --> src/Community_Backend/src/controller.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use ic_cdk::{api, call, caller, init, query, update}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api::call::CallResult` [INFO] [stdout] --> src/Community_Backend/src/controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ic_cdk::api::call::CallResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `call` [INFO] [stdout] --> src/Community_Backend/src/controller.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use ic_cdk::{api, call, caller, init, query, update}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Community_Backend/src/state.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut instance: VotingSystem = VotingSystem { [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: `current_week` [INFO] [stdout] --> src/Community_Backend/src/state.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn calculate_survey_results(&mut self, current_week: u64) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_week` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Community_Backend/src/state.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut instance: VotingSystem = VotingSystem { [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: `current_week` [INFO] [stdout] --> src/Community_Backend/src/state.rs:289:43 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn calculate_average_votes(&self, current_week: u64) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_week` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Economy_Backend/src/promo_pool.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Economy_Backend/src/user_records.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 109 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_week` [INFO] [stdout] --> src/Community_Backend/src/state.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn calculate_survey_results(&mut self, current_week: u64) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_week` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Economy_Backend` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `economy_backend` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Economy_Backend/src/promo_pool.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Economy_Backend/src/user_records.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 109 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_week` [INFO] [stdout] --> src/Community_Backend/src/state.rs:289:43 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn calculate_average_votes(&self, current_week: u64) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_week` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANONYMOUS_USER` is never used [INFO] [stdout] --> src/Community_Backend/src/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const ANONYMOUS_USER:&str = "Anonymous users are not allowed for this call"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_anonymous` is never used [INFO] [stdout] --> src/Community_Backend/src/guards.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn check_anonymous() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Community_Backend` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `community_backend` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Community_Backend/src/state.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 53 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANONYMOUS_USER` is never used [INFO] [stdout] --> src/Community_Backend/src/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const ANONYMOUS_USER:&str = "Anonymous users are not allowed for this call"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_anonymous` is never used [INFO] [stdout] --> src/Community_Backend/src/guards.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn check_anonymous() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Community_Backend/src/state.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 53 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "8c17fd7c6a75506c6eaee73bb88e3cae2989c659e32de2f1b149eb4c358be010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c17fd7c6a75506c6eaee73bb88e3cae2989c659e32de2f1b149eb4c358be010", kill_on_drop: false }` [INFO] [stdout] 8c17fd7c6a75506c6eaee73bb88e3cae2989c659e32de2f1b149eb4c358be010