[INFO] cloning repository https://github.com/tahmid56/blog-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tahmid56/blog-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahmid56%2Fblog-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahmid56%2Fblog-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2418a7c7eb7b6fefe761abfd8b0f9e1684d23cb [INFO] checking tahmid56/blog-app/f2418a7c7eb7b6fefe761abfd8b0f9e1684d23cb against master#fce0e74720d199eb7839fdb51af35ac5226da178 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahmid56%2Fblog-app" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tahmid56/blog-app [INFO] finished tweaking git repo https://github.com/tahmid56/blog-app [INFO] tweaked toml for git repo https://github.com/tahmid56/blog-app written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tahmid56/blog-app on toolchain fce0e74720d199eb7839fdb51af35ac5226da178 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tahmid56/blog-app 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" "+fce0e74720d199eb7839fdb51af35ac5226da178" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded candid v0.10.11 [INFO] [stderr] Downloaded cc v1.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2be523bc6e6144b4246bea332061623b25e6b1d69844d1901336aba4f77eda8c [INFO] running `Command { std: "docker" "start" "-a" "2be523bc6e6144b4246bea332061623b25e6b1d69844d1901336aba4f77eda8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2be523bc6e6144b4246bea332061623b25e6b1d69844d1901336aba4f77eda8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2be523bc6e6144b4246bea332061623b25e6b1d69844d1901336aba4f77eda8c", kill_on_drop: false }` [INFO] [stdout] 2be523bc6e6144b4246bea332061623b25e6b1d69844d1901336aba4f77eda8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78b796a65bf3e3890a9e0e8f9ed8a30f984be847284776c31b13c9ec99b1075a [INFO] running `Command { std: "docker" "start" "-a" "78b796a65bf3e3890a9e0e8f9ed8a30f984be847284776c31b13c9ec99b1075a", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling candid v0.10.11 [INFO] [stderr] Compiling ic-cdk-macros v0.16.0 [INFO] [stderr] Checking ic-cdk v0.16.0 [INFO] [stderr] Checking ic-cdk-timers v0.10.0 [INFO] [stderr] Checking blog-app-backend v0.1.0 (/opt/rustwide/workdir/src/blog-app-backend) [INFO] [stdout] warning: unused import: `Principal` [INFO] [stdout] --> src/blog-app-backend/src/models/user.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Int, Principal}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `comment::Comment` [INFO] [stdout] --> src/blog-app-backend/src/models/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use comment::Comment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Principal` [INFO] [stdout] --> src/blog-app-backend/src/lib.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use candid::{Int, Principal}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> src/blog-app-backend/src/lib.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use ic_cdk::{println, query, update}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Principal` [INFO] [stdout] --> src/blog-app-backend/src/models/user.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Int, Principal}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `comment::Comment` [INFO] [stdout] --> src/blog-app-backend/src/models/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use comment::Comment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Principal` [INFO] [stdout] --> src/blog-app-backend/src/lib.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use candid::{Int, Principal}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> src/blog-app-backend/src/lib.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use ic_cdk::{println, query, update}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expires_at` is never read [INFO] [stdout] --> src/blog-app-backend/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 12 | user_id: Int, [INFO] [stdout] 13 | expires_at: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Comment` is never constructed [INFO] [stdout] --> src/blog-app-backend/src/models/comment.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Comment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expires_at` is never read [INFO] [stdout] --> src/blog-app-backend/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 12 | user_id: Int, [INFO] [stdout] 13 | expires_at: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Comment` is never constructed [INFO] [stdout] --> src/blog-app-backend/src/models/comment.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Comment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.24s [INFO] running `Command { std: "docker" "inspect" "78b796a65bf3e3890a9e0e8f9ed8a30f984be847284776c31b13c9ec99b1075a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78b796a65bf3e3890a9e0e8f9ed8a30f984be847284776c31b13c9ec99b1075a", kill_on_drop: false }` [INFO] [stdout] 78b796a65bf3e3890a9e0e8f9ed8a30f984be847284776c31b13c9ec99b1075a