[INFO] cloning repository https://github.com/anurag2361/url-shortener [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anurag2361/url-shortener" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanurag2361%2Furl-shortener", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanurag2361%2Furl-shortener'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c488471cc5c52522c6b4d1e7f3a42a3bce2632f7 [INFO] testing anurag2361/url-shortener against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanurag2361%2Furl-shortener" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anurag2361/url-shortener [INFO] finished tweaking git repo https://github.com/anurag2361/url-shortener [INFO] tweaked toml for git repo https://github.com/anurag2361/url-shortener written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anurag2361/url-shortener on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anurag2361/url-shortener 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b9be81ba593945c9ed7aa33cb8fd85ea9468891fe77a5d9789bfb46f10839f5 [INFO] running `Command { std: "docker" "start" "-a" "8b9be81ba593945c9ed7aa33cb8fd85ea9468891fe77a5d9789bfb46f10839f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b9be81ba593945c9ed7aa33cb8fd85ea9468891fe77a5d9789bfb46f10839f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b9be81ba593945c9ed7aa33cb8fd85ea9468891fe77a5d9789bfb46f10839f5", kill_on_drop: false }` [INFO] [stdout] 8b9be81ba593945c9ed7aa33cb8fd85ea9468891fe77a5d9789bfb46f10839f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcb13f7502e32f75a8b677657188cb8c2fbcf3eca503b5948cd94dfb5a8061a7 [INFO] running `Command { std: "docker" "start" "-a" "dcb13f7502e32f75a8b677657188cb8c2fbcf3eca503b5948cd94dfb5a8061a7", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling deranged v0.4.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling resolv-conf v0.7.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.3 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling jiff v0.2.5 [INFO] [stderr] Compiling bcrypt v0.17.0 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling bson v2.14.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling qrcode v0.14.1 [INFO] [stderr] Compiling mongodb v3.2.3 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling makemeshort v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Claims` [INFO] [stdout] --> src/middlewares/authmw.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::utils::jwt::{Claims, validate_token}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_last_login` is never used [INFO] [stdout] --> src/models/user.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn update_last_login(&mut self) { [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 `UserResponse` is never constructed [INFO] [stdout] --> src/models/user.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct UserResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 54s [INFO] running `Command { std: "docker" "inspect" "dcb13f7502e32f75a8b677657188cb8c2fbcf3eca503b5948cd94dfb5a8061a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcb13f7502e32f75a8b677657188cb8c2fbcf3eca503b5948cd94dfb5a8061a7", kill_on_drop: false }` [INFO] [stdout] dcb13f7502e32f75a8b677657188cb8c2fbcf3eca503b5948cd94dfb5a8061a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc50d49872a1bc0ea9f0f86247c2fcea5d46c151d7ea7bc47be0d8c674e31398 [INFO] running `Command { std: "docker" "start" "-a" "fc50d49872a1bc0ea9f0f86247c2fcea5d46c151d7ea7bc47be0d8c674e31398", kill_on_drop: false }` [INFO] [stderr] Compiling makemeshort v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Claims` [INFO] [stdout] --> src/middlewares/authmw.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::utils::jwt::{Claims, validate_token}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_last_login` is never used [INFO] [stdout] --> src/models/user.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn update_last_login(&mut self) { [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 `UserResponse` is never constructed [INFO] [stdout] --> src/models/user.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct UserResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.72s [INFO] running `Command { std: "docker" "inspect" "fc50d49872a1bc0ea9f0f86247c2fcea5d46c151d7ea7bc47be0d8c674e31398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc50d49872a1bc0ea9f0f86247c2fcea5d46c151d7ea7bc47be0d8c674e31398", kill_on_drop: false }` [INFO] [stdout] fc50d49872a1bc0ea9f0f86247c2fcea5d46c151d7ea7bc47be0d8c674e31398 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eece1b6d752986b783cc2b8564582a2d409e9f7067b1278ce82103f142b7889d [INFO] running `Command { std: "docker" "start" "-a" "eece1b6d752986b783cc2b8564582a2d409e9f7067b1278ce82103f142b7889d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Claims` [INFO] [stderr] --> src/middlewares/authmw.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::utils::jwt::{Claims, validate_token}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `update_last_login` is never used [INFO] [stderr] --> src/models/user.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl User { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn update_last_login(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `UserResponse` is never constructed [INFO] [stderr] --> src/models/user.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct UserResponse { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `makemeshort` (bin "makemeshort" test) generated 3 warnings (run `cargo fix --bin "makemeshort" -p makemeshort --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/makemeshort-1f5d9f2f8e6699e1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eece1b6d752986b783cc2b8564582a2d409e9f7067b1278ce82103f142b7889d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eece1b6d752986b783cc2b8564582a2d409e9f7067b1278ce82103f142b7889d", kill_on_drop: false }` [INFO] [stdout] eece1b6d752986b783cc2b8564582a2d409e9f7067b1278ce82103f142b7889d