[INFO] cloning repository https://github.com/Alkamal01/cogni-icp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alkamal01/cogni-icp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlkamal01%2Fcogni-icp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlkamal01%2Fcogni-icp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8a912612a85eeed2c51d2af7770585b37023c82a
[INFO] checking Alkamal01/cogni-icp against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlkamal01%2Fcogni-icp" "/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/Alkamal01/cogni-icp
[INFO] finished tweaking git repo https://github.com/Alkamal01/cogni-icp
[INFO] tweaked toml for git repo https://github.com/Alkamal01/cogni-icp written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Alkamal01/cogni-icp on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Alkamal01/cogni-icp 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ff95f0fb9bf0208a56c223db6c679c1f0ff3af5000ca132057e9eb2c5a7d400b
[INFO] running `Command { std: "docker" "start" "-a" "ff95f0fb9bf0208a56c223db6c679c1f0ff3af5000ca132057e9eb2c5a7d400b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff95f0fb9bf0208a56c223db6c679c1f0ff3af5000ca132057e9eb2c5a7d400b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff95f0fb9bf0208a56c223db6c679c1f0ff3af5000ca132057e9eb2c5a7d400b", kill_on_drop: false }`
[INFO] [stdout] ff95f0fb9bf0208a56c223db6c679c1f0ff3af5000ca132057e9eb2c5a7d400b
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a81dbe5643d5d7766cebe7b35e3eec081e1a184c6a79d95ab28e0dae16e1e5cb
[INFO] running `Command { std: "docker" "start" "-a" "a81dbe5643d5d7766cebe7b35e3eec081e1a184c6a79d95ab28e0dae16e1e5cb", kill_on_drop: false }`
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling stacker v0.1.21
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling ic-cdk-executor v0.1.0
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]     Checking ic0 v0.23.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking ic_principal v0.1.1
[INFO] [stderr]     Checking serde_bytes v0.11.17
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking ic-stable-structures v0.6.9
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]     Checking candid v0.10.14
[INFO] [stderr]    Compiling ic-cdk-macros v0.17.2
[INFO] [stderr]     Checking ic-cdk v0.17.2
[INFO] [stderr]     Checking ic-cdk-timers v0.11.0
[INFO] [stderr]     Checking cogni-icp-backend v0.1.0 (/opt/rustwide/workdir/src/cogni-icp-backend)
[INFO] [stdout] warning: unused imports: `GroupActivity`, `GroupMessage`, `GroupPoll`, `PollVote`, `SessionParticipant`, `StudyResource`, and `StudySession`
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:8:20
[INFO] [stdout]    |
[INFO] [stdout] 8  |         activity::{GroupActivity, StudyResource, GroupMessage},
[INFO] [stdout]    |                    ^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 9  |         polls::{GroupPoll, PollVote},
[INFO] [stdout]    |                 ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 10 |         sessions::{StudySession, SessionParticipant},
[INFO] [stdout]    |                    ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GroupActivity`, `GroupMessage`, `GroupPoll`, `PollVote`, `SessionParticipant`, `StudyResource`, and `StudySession`
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:8:20
[INFO] [stdout]    |
[INFO] [stdout] 8  |         activity::{GroupActivity, StudyResource, GroupMessage},
[INFO] [stdout]    |                    ^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 9  |         polls::{GroupPoll, PollVote},
[INFO] [stdout]    |                 ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 10 |         sessions::{StudySession, SessionParticipant},
[INFO] [stdout]    |                    ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wallet_address`
[INFO] [stdout]    --> src/cogni-icp-backend/src/lib.rs:429:27
[INFO] [stdout]     |
[INFO] [stdout] 429 | fn get_sui_wallet_balance(wallet_address: String) -> Result<u64, String> {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wallet_address`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TUTOR_SESSION_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const TUTOR_SESSION_MEMORY_ID: MemoryId = MemoryId::new(2);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LEARNING_PATH_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const LEARNING_PATH_MEMORY_ID: MemoryId = MemoryId::new(3);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUBSCRIPTION_PLAN_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const SUBSCRIPTION_PLAN_MEMORY_ID: MemoryId = MemoryId::new(8);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USER_SUBSCRIPTION_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const USER_SUBSCRIPTION_MEMORY_ID: MemoryId = MemoryId::new(9);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAYMENT_TRANSACTION_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const PAYMENT_TRANSACTION_MEMORY_ID: MemoryId = MemoryId::new(10);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ACHIEVEMENT_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const ACHIEVEMENT_MEMORY_ID: MemoryId = MemoryId::new(11);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USER_ACHIEVEMENT_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const USER_ACHIEVEMENT_MEMORY_ID: MemoryId = MemoryId::new(12);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/user.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |     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] 75 |     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/cogni-icp-backend/src/models/tutor.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |     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] 27 |     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/cogni-icp-backend/src/models/tutor.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |     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] 52 |     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/cogni-icp-backend/src/models/connections.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |     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] 17 |     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/cogni-icp-backend/src/models/connections.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |     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] 42 |     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/cogni-icp-backend/src/models/study_group/mod.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |     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] 28 |     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/cogni-icp-backend/src/models/study_group/mod.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |     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] 52 |     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/cogni-icp-backend/src/models/gamification.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 24 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/gamification.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 44 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/gamification.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 70 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/gamification.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 89 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/billing.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 21 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/billing.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 47 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/billing.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 71 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/learning_path.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     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] 21 |     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/cogni-icp-backend/src/state.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |     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] 63 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wallet_address`
[INFO] [stdout]    --> src/cogni-icp-backend/src/lib.rs:429:27
[INFO] [stdout]     |
[INFO] [stdout] 429 | fn get_sui_wallet_balance(wallet_address: String) -> Result<u64, String> {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wallet_address`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TUTOR_SESSION_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const TUTOR_SESSION_MEMORY_ID: MemoryId = MemoryId::new(2);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LEARNING_PATH_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const LEARNING_PATH_MEMORY_ID: MemoryId = MemoryId::new(3);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUBSCRIPTION_PLAN_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const SUBSCRIPTION_PLAN_MEMORY_ID: MemoryId = MemoryId::new(8);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USER_SUBSCRIPTION_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const USER_SUBSCRIPTION_MEMORY_ID: MemoryId = MemoryId::new(9);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAYMENT_TRANSACTION_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const PAYMENT_TRANSACTION_MEMORY_ID: MemoryId = MemoryId::new(10);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ACHIEVEMENT_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const ACHIEVEMENT_MEMORY_ID: MemoryId = MemoryId::new(11);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USER_ACHIEVEMENT_MEMORY_ID` is never used
[INFO] [stdout]   --> src/cogni-icp-backend/src/state.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const USER_ACHIEVEMENT_MEMORY_ID: MemoryId = MemoryId::new(12);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/user.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |     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] 75 |     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/cogni-icp-backend/src/models/tutor.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |     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] 27 |     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/cogni-icp-backend/src/models/tutor.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |     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] 52 |     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/cogni-icp-backend/src/models/connections.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |     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] 17 |     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/cogni-icp-backend/src/models/connections.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |     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] 42 |     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/cogni-icp-backend/src/models/study_group/mod.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |     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] 28 |     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/cogni-icp-backend/src/models/study_group/mod.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |     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] 52 |     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/cogni-icp-backend/src/models/gamification.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 24 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/gamification.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 44 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/gamification.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 70 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/gamification.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 89 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/billing.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 21 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/billing.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 47 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/billing.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn to_bytes(&self) -> Cow<[u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[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] 71 |     fn to_bytes(&self) -> Cow<'_, [u8]> { Cow::Owned(serde_cbor::to_vec(&self).unwrap()) }
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/cogni-icp-backend/src/models/learning_path.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     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] 21 |     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/cogni-icp-backend/src/state.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |     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] 63 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.21s
[INFO] running `Command { std: "docker" "inspect" "a81dbe5643d5d7766cebe7b35e3eec081e1a184c6a79d95ab28e0dae16e1e5cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a81dbe5643d5d7766cebe7b35e3eec081e1a184c6a79d95ab28e0dae16e1e5cb", kill_on_drop: false }`
[INFO] [stdout] a81dbe5643d5d7766cebe7b35e3eec081e1a184c6a79d95ab28e0dae16e1e5cb
