[INFO] cloning repository https://github.com/webstriiix/encrypted_notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/webstriiix/encrypted_notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebstriiix%2Fencrypted_notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebstriiix%2Fencrypted_notes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30fdc5e3502d0a11998ced7ca66d31c973211c9b [INFO] checking webstriiix/encrypted_notes against try#f70ee28831acc074c109afab32d287057c3eca46 for pr-149389 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebstriiix%2Fencrypted_notes" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/webstriiix/encrypted_notes [INFO] finished tweaking git repo https://github.com/webstriiix/encrypted_notes [INFO] tweaked toml for git repo https://github.com/webstriiix/encrypted_notes written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/webstriiix/encrypted_notes on toolchain f70ee28831acc074c109afab32d287057c3eca46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/webstriiix/encrypted_notes 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" "+f70ee28831acc074c109afab32d287057c3eca46" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded minicbor v0.19.1 [INFO] [stderr] Downloaded serde_bytes v0.11.19 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded ic-cdk-executor v1.0.2 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.7 [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] [stderr] Downloaded icrc-ledger-types v0.1.10 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.3 [INFO] [stderr] Downloaded ic0 v1.0.1 [INFO] [stderr] Downloaded ic-error-types v0.2.0 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded ic-cdk-timers v0.12.2 [INFO] [stderr] Downloaded ic-cdk v0.18.7 [INFO] [stderr] Downloaded ic-stable-structures v0.6.9 [INFO] [stderr] Downloaded candid_derive v0.10.19 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded candid v0.10.19 [INFO] [stderr] Downloaded icrc-cbor v0.1.0 [INFO] [stderr] Downloaded pretty v0.12.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbc28366c83acff318bae93681ffe1b28a2a3ad3e6fb01ac8c1dfd8ab2949263 [INFO] running `Command { std: "docker" "start" "-a" "bbc28366c83acff318bae93681ffe1b28a2a3ad3e6fb01ac8c1dfd8ab2949263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbc28366c83acff318bae93681ffe1b28a2a3ad3e6fb01ac8c1dfd8ab2949263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbc28366c83acff318bae93681ffe1b28a2a3ad3e6fb01ac8c1dfd8ab2949263", kill_on_drop: false }` [INFO] [stdout] bbc28366c83acff318bae93681ffe1b28a2a3ad3e6fb01ac8c1dfd8ab2949263 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d1e4f48b9315823ddbd411f7e441d979dde36a837b9d157b8fa6f617b639abf [INFO] running `Command { std: "docker" "start" "-a" "7d1e4f48b9315823ddbd411f7e441d979dde36a837b9d157b8fa6f617b639abf", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pretty v0.12.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling ic-cdk-executor v1.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking ic0 v1.0.1 [INFO] [stderr] Checking time-core v0.1.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.10.19 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [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 v2.0.16 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Checking ic-error-types v0.2.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ic-stable-structures v0.6.9 [INFO] [stderr] Checking candid v0.10.19 [INFO] [stderr] Checking ic-management-canister-types v0.3.3 [INFO] [stderr] Checking icrc-cbor v0.1.0 [INFO] [stderr] Checking icrc-ledger-types v0.1.10 [INFO] [stderr] Compiling ic-cdk-macros v0.18.7 [INFO] [stderr] Checking ic-cdk v0.18.7 [INFO] [stderr] Checking ic-cdk-timers v0.12.2 [INFO] [stderr] Checking encrypted-notes-backend v0.1.0 (/opt/rustwide/workdir/src/encrypted-notes-backend) [INFO] [stdout] warning: unused imports: `PerformanceMetrics` and `SummaryMetrics` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/benchmark.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use super::metrics::{SummaryMetrics, PerformanceMetrics}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SummaryResponse` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/benchmark.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | use super::types::{SummaryRequest, SummaryResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/cache.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | /// Global cache instance (thread-local for IC canisters) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PerformanceMetrics` and `SummaryMetrics` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/mod.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub use metrics::{SummaryMetrics, PerformanceMetrics}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BenchmarkResult` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/mod.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | pub use benchmark::{SummarizerBenchmark, BenchmarkResult, quick_performance_test}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cache_summary` and `get_cached_summary` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/mod.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub use cache::{get_cached_summary, cache_summary, get_cache_stats, clear_cache, clear_expired_cache}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VetKDCurve` and `VetKDKeyId` [INFO] [stdout] --> src/encrypted-notes-backend/src/note.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | VetKDCurve, VetKDDeriveKeyArgs, VetKDDeriveKeyResult, VetKDKeyId, VetKDPublicKeyArgs, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api` [INFO] [stdout] --> src/encrypted-notes-backend/src/storage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::RefCell` [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{borrow::Cow, cell::RefCell}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PerformanceMetrics` and `SummaryMetrics` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/benchmark.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use super::metrics::{SummaryMetrics, PerformanceMetrics}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SummaryResponse` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/benchmark.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | use super::types::{SummaryRequest, SummaryResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/cache.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | /// Global cache instance (thread-local for IC canisters) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PerformanceMetrics` and `SummaryMetrics` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/mod.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub use metrics::{SummaryMetrics, PerformanceMetrics}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BenchmarkResult` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/mod.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | pub use benchmark::{SummarizerBenchmark, BenchmarkResult, quick_performance_test}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cache_summary` and `get_cached_summary` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/mod.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub use cache::{get_cached_summary, cache_summary, get_cache_stats, clear_cache, clear_expired_cache}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VetKDCurve` and `VetKDKeyId` [INFO] [stdout] --> src/encrypted-notes-backend/src/note.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | VetKDCurve, VetKDDeriveKeyArgs, VetKDDeriveKeyResult, VetKDKeyId, VetKDPublicKeyArgs, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api` [INFO] [stdout] --> src/encrypted-notes-backend/src/storage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::RefCell` [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{borrow::Cow, cell::RefCell}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/encrypted-notes-backend/src/helpers.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::call; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/encrypted-notes-backend/src/helpers.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | let res: Result<(u128,), _> = call(ledger_id, "icrc1_balance_of", (account.clone(),)).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/encrypted-notes-backend/src/nft.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::{call, query, update}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/encrypted-notes-backend/src/nft.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | call(ledger_id, "icrc2_transfer_from", (seller_args,)).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/encrypted-notes-backend/src/nft.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | call(ledger_id, "icrc2_transfer_from", (admin_args,)).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> src/encrypted-notes-backend/src/storage.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | ic_cdk::api::is_controller(&ic_cdk::caller()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | ic_cdk::print(format!("Failed to encode SearchIndex: {}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | ic_cdk::print(format!("Failed to decode SearchIndex: {}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/encrypted-notes-backend/src/helpers.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::call; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/encrypted-notes-backend/src/helpers.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | let res: Result<(u128,), _> = call(ledger_id, "icrc1_balance_of", (account.clone(),)).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/encrypted-notes-backend/src/nft.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::{call, query, update}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/encrypted-notes-backend/src/nft.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | call(ledger_id, "icrc2_transfer_from", (seller_args,)).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::call`: Please use `ic_cdk::call::Call::unbounded_wait()` instead. [INFO] [stdout] --> src/encrypted-notes-backend/src/nft.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | call(ledger_id, "icrc2_transfer_from", (admin_args,)).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> src/encrypted-notes-backend/src/storage.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | ic_cdk::api::is_controller(&ic_cdk::caller()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | ic_cdk::print(format!("Failed to encode SearchIndex: {}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::print`: Use `debug_print` instead [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | ic_cdk::print(format!("Failed to decode SearchIndex: {}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sentences` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/core.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | sentences: &[String], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sentences` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/core.rs:794:45 [INFO] [stdout] | [INFO] [stdout] 794 | fn calculate_coherence_score(summary: &str, analyzer: &TextAnalyzer) -> f64 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sentences` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/core.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | sentences: &[String], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sentences` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/core.rs:794:45 [INFO] [stdout] | [INFO] [stdout] 794 | fn calculate_coherence_score(summary: &str, analyzer: &TextAnalyzer) -> f64 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentPreferences` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/types.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct ContentPreferences { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LearningProfile` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/types.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct LearningProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchPattern` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/types.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct SearchPattern { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentEngagement` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/types.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub struct ContentEngagement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `score_sentence` is never used [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/analyzer.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TextAnalyzer { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn score_sentence(&self, sentence: &str, content_type: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_report` is never used [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/metrics.rs:435:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl SummaryMetrics { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn generate_report(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerformanceMetrics` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/metrics.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | pub struct PerformanceMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `calculate` and `generate_report` are never used [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/metrics.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 474 | impl PerformanceMetrics { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 475 | pub fn calculate(text_length: usize, word_count: usize, processing_time_seconds: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub fn generate_report(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_local_development` is never used [INFO] [stdout] --> src/encrypted-notes-backend/src/storage.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn is_local_development() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BalanceOfArgs` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct BalanceOfArgs { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransferArg` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct TransferArg { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransferError` is never used [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum TransferError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 129 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentPreferences` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/types.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct ContentPreferences { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LearningProfile` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/types.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct LearningProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchPattern` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/types.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct SearchPattern { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentEngagement` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/types.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub struct ContentEngagement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `score_sentence` is never used [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/analyzer.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TextAnalyzer { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn score_sentence(&self, sentence: &str, content_type: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_report` is never used [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/metrics.rs:435:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl SummaryMetrics { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn generate_report(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerformanceMetrics` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/metrics.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | pub struct PerformanceMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `calculate` and `generate_report` are never used [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/metrics.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 474 | impl PerformanceMetrics { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 475 | pub fn calculate(text_length: usize, word_count: usize, processing_time_seconds: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub fn generate_report(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export_csv` is never used [INFO] [stdout] --> src/encrypted-notes-backend/src/ai/benchmark.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl SummarizerBenchmark { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn export_csv(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_local_development` is never used [INFO] [stdout] --> src/encrypted-notes-backend/src/storage.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn is_local_development() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BalanceOfArgs` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct BalanceOfArgs { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransferArg` is never constructed [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct TransferArg { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransferError` is never used [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum TransferError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 129 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/encrypted-notes-backend/src/types.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.96s [INFO] running `Command { std: "docker" "inspect" "7d1e4f48b9315823ddbd411f7e441d979dde36a837b9d157b8fa6f617b639abf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d1e4f48b9315823ddbd411f7e441d979dde36a837b9d157b8fa6f617b639abf", kill_on_drop: false }` [INFO] [stdout] 7d1e4f48b9315823ddbd411f7e441d979dde36a837b9d157b8fa6f617b639abf