[INFO] cloning repository https://github.com/Bluhabit/uwang-rest-stream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bluhabit/uwang-rest-stream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBluhabit%2Fuwang-rest-stream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBluhabit%2Fuwang-rest-stream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a0ab3665a40920ef09c4461063782a6fd6157c2 [INFO] testing Bluhabit/uwang-rest-stream against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBluhabit%2Fuwang-rest-stream" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bluhabit/uwang-rest-stream on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bluhabit/uwang-rest-stream [INFO] finished tweaking git repo https://github.com/Bluhabit/uwang-rest-stream [INFO] tweaked toml for git repo https://github.com/Bluhabit/uwang-rest-stream written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Bluhabit/uwang-rest-stream 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-web-lab-derive v0.20.0 [INFO] [stderr] Downloaded sea-query-binder v0.5.0 [INFO] [stderr] Downloaded sea-bae v0.2.0 [INFO] [stderr] Downloaded uuid-macro-internal v1.5.0 [INFO] [stderr] Downloaded impl-more v0.1.6 [INFO] [stderr] Downloaded serde_html_form v0.2.3 [INFO] [stderr] Downloaded actix-cors v0.6.4 [INFO] [stderr] Downloaded mediatype v0.19.16 [INFO] [stderr] Downloaded sea-orm v0.12.4 [INFO] [stderr] Downloaded actix-web-lab v0.20.1 [INFO] [stderr] Downloaded jsonwebtoken v9.1.0 [INFO] [stderr] Downloaded redis v0.24.0 [INFO] [stderr] Downloaded sea-orm-macros v0.12.5 [INFO] [stderr] Downloaded sea-query v0.30.2 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.2 [INFO] [stderr] Downloaded rsa v0.9.3 [INFO] [stderr] Downloaded sqlx-mysql v0.7.2 [INFO] [stderr] Downloaded sqlx-postgres v0.7.2 [INFO] [stderr] Downloaded pure-rust-locales v0.7.0 [INFO] [stderr] Downloaded sqlx-core v0.7.2 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.2 [INFO] [stderr] Downloaded sqlx v0.7.2 [INFO] [stderr] Downloaded bcrypt v0.15.0 [INFO] [stderr] Downloaded pem v3.0.2 [INFO] [stderr] Downloaded ouroboros_macro v0.17.2 [INFO] [stderr] Downloaded ouroboros v0.17.2 [INFO] [stderr] Downloaded inherent v1.0.10 [INFO] [stderr] Downloaded validator v0.16.1 [INFO] [stderr] Downloaded sqlx-macros v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c96a015ee1e3f1de544ad9ccde498fcd81870819c057ed9e8c9ec69e7e354f2d [INFO] running `Command { std: "docker" "start" "-a" "c96a015ee1e3f1de544ad9ccde498fcd81870819c057ed9e8c9ec69e7e354f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c96a015ee1e3f1de544ad9ccde498fcd81870819c057ed9e8c9ec69e7e354f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c96a015ee1e3f1de544ad9ccde498fcd81870819c057ed9e8c9ec69e7e354f2d", kill_on_drop: false }` [INFO] [stdout] c96a015ee1e3f1de544ad9ccde498fcd81870819c057ed9e8c9ec69e7e354f2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6248e1464c1519268feed670afd8af270a0d97ec27a608586ff68707113284d [INFO] running `Command { std: "docker" "start" "-a" "d6248e1464c1519268feed670afd8af270a0d97ec27a608586ff68707113284d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling zerocopy v0.7.25 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling http v0.2.10 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Compiling pure-rust-locales v0.7.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling pem v3.0.2 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling mediatype v0.19.16 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling bcrypt v0.15.0 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling inherent v1.0.10 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling sea-bae v0.2.0 [INFO] [stderr] Compiling uuid-macro-internal v1.5.0 [INFO] [stderr] Compiling actix-web-lab-derive v0.20.0 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling uuid v1.5.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling sea-orm-macros v0.12.5 [INFO] [stderr] Compiling ouroboros v0.17.2 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling webpki-roots v0.24.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling actix-codec v0.5.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling serde_html_form v0.2.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling redis v0.24.0 [INFO] [stderr] Compiling jsonwebtoken v9.1.0 [INFO] [stderr] Compiling sqlformat v0.2.2 [INFO] [stderr] Compiling sea-query v0.30.2 [INFO] [stderr] Compiling sqlx-core v0.7.2 [INFO] [stderr] Compiling actix-http v3.4.0 [INFO] [stderr] Compiling sqlx-postgres v0.7.2 [INFO] [stderr] Compiling actix-web v4.4.0 [INFO] [stderr] Compiling sqlx v0.7.2 [INFO] [stderr] Compiling sea-query-binder v0.5.0 [INFO] [stderr] Compiling sea-orm v0.12.4 [INFO] [stderr] Compiling actix-web-lab v0.20.1 [INFO] [stderr] Compiling actix-cors v0.6.4 [INFO] [stderr] Compiling uwang-rest-stream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::admin::Entity as Admin` [INFO] [stdout] --> src/entity/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::admin::Entity as Admin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::admin_access::Entity as AdminAccess` [INFO] [stdout] --> src/entity/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::admin_access::Entity as AdminAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::attachment::Entity as Attachment` [INFO] [stdout] --> src/entity/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::attachment::Entity as Attachment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::group::Entity as Group` [INFO] [stdout] --> src/entity/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::group::Entity as Group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::group_member::Entity as GroupMember` [INFO] [stdout] --> src/entity/prelude.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::group_member::Entity as GroupMember; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::hashtag::Entity as Hashtag` [INFO] [stdout] --> src/entity/prelude.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::hashtag::Entity as Hashtag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::notification::Entity as Notification` [INFO] [stdout] --> src/entity/prelude.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use super::notification::Entity as Notification; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::post::Entity as Post` [INFO] [stdout] --> src/entity/prelude.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use super::post::Entity as Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::post_comment::Entity as PostComment` [INFO] [stdout] --> src/entity/prelude.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use super::post_comment::Entity as PostComment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::post_hashtag::Entity as PostHashtag` [INFO] [stdout] --> src/entity/prelude.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use super::post_hashtag::Entity as PostHashtag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::post_mention::Entity as PostMention` [INFO] [stdout] --> src/entity/prelude.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use super::post_mention::Entity as PostMention; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::report::Entity as Report` [INFO] [stdout] --> src/entity/prelude.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use super::report::Entity as Report; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::system_access::Entity as SystemAccess` [INFO] [stdout] --> src/entity/prelude.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use super::system_access::Entity as SystemAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::threads::Entity as Threads` [INFO] [stdout] --> src/entity/prelude.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use super::threads::Entity as Threads; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::threads_comment::Entity as ThreadsComment` [INFO] [stdout] --> src/entity/prelude.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use super::threads_comment::Entity as ThreadsComment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::user_credential::Entity as UserCredential` [INFO] [stdout] --> src/entity/prelude.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use super::user_credential::Entity as UserCredential; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::user_notification::Entity as UserNotification` [INFO] [stdout] --> src/entity/prelude.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use super::user_notification::Entity as UserNotification; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::user_profile::Entity as UserProfile` [INFO] [stdout] --> src/entity/prelude.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use super::user_profile::Entity as UserProfile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::user_push_token::Entity as UserPushToken` [INFO] [stdout] --> src/entity/prelude.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use super::user_push_token::Entity as UserPushToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db` and `cache` are never read [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | db: DatabaseConnection, [INFO] [stdout] | ^^ [INFO] [stdout] 29 | cache: Client, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` 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: constant `ISS` is never used [INFO] [stdout] --> src/common/jwt.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const ISS: &str = "bluhabit.id"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/common/jwt.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_google_token` is never used [INFO] [stdout] --> src/common/jwt.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn decode_google_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `created` is never used [INFO] [stdout] --> src/common/response.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl BaseResponse { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn created(code: u16, data: T, message: String) -> BaseResponse { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_account_user_status_active` is never used [INFO] [stdout] --> src/common/utils.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn check_account_user_status_active( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_session_redis_from_user` is never used [INFO] [stdout] --> src/common/utils.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn create_session_redis_from_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RedisUtil` is never constructed [INFO] [stdout] --> src/common/redis_ext.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RedisUtil { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/common/redis_ext.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl RedisUtil { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(value: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn create_sign_in_attempt(&self)->String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn create_key_otp_sign_in( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn create_key_otp_sign_up( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn create_key_otp_forgot_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn create_key_session_sign_in( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn create_key_session_forgot_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_OTP` is never used [INFO] [stdout] --> src/common/constant.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const REDIS_KEY_OTP: &str = "otp"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_OTP_ATTEMPT` is never used [INFO] [stdout] --> src/common/constant.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const REDIS_KEY_OTP_ATTEMPT: &str = "otp_attempt"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_USER_ID` is never used [INFO] [stdout] --> src/common/constant.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const REDIS_KEY_USER_ID: &str = "user_id"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_TOKEN` is never used [INFO] [stdout] --> src/common/constant.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const REDIS_KEY_TOKEN: &str = "token"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_EMAIL` is never used [INFO] [stdout] --> src/common/constant.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const REDIS_KEY_EMAIL: &str = "email"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_FULL_NAME` is never used [INFO] [stdout] --> src/common/constant.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const REDIS_KEY_FULL_NAME: &str = "full_name"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_VALID_FROM` is never used [INFO] [stdout] --> src/common/constant.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const REDIS_KEY_VALID_FROM:&str="valid_from"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TTL_OTP_SIGN_IN` is never used [INFO] [stdout] --> src/common/constant.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const TTL_OTP_SIGN_IN: i64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TTL_OTP_SIGN_UP` is never used [INFO] [stdout] --> src/common/constant.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const TTL_OTP_SIGN_UP: i64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TTL_OTP_FORGOT_PASSWORD` is never used [INFO] [stdout] --> src/common/constant.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const TTL_OTP_FORGOT_PASSWORD: i64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TTL_SESSION_FORGOT_PASSWORD` is never used [INFO] [stdout] --> src/common/constant.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const TTL_SESSION_FORGOT_PASSWORD: i64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.44s [INFO] running `Command { std: "docker" "inspect" "d6248e1464c1519268feed670afd8af270a0d97ec27a608586ff68707113284d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6248e1464c1519268feed670afd8af270a0d97ec27a608586ff68707113284d", kill_on_drop: false }` [INFO] [stdout] d6248e1464c1519268feed670afd8af270a0d97ec27a608586ff68707113284d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 425dc1ac376279f4aa1e0783a02d961eabfc4c984f2662e009952524eeee81e2 [INFO] running `Command { std: "docker" "start" "-a" "425dc1ac376279f4aa1e0783a02d961eabfc4c984f2662e009952524eeee81e2", kill_on_drop: false }` [INFO] [stderr] Compiling uwang-rest-stream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::admin::Entity as Admin` [INFO] [stdout] --> src/entity/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::admin::Entity as Admin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::admin_access::Entity as AdminAccess` [INFO] [stdout] --> src/entity/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::admin_access::Entity as AdminAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::attachment::Entity as Attachment` [INFO] [stdout] --> src/entity/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::attachment::Entity as Attachment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::group::Entity as Group` [INFO] [stdout] --> src/entity/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::group::Entity as Group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::group_member::Entity as GroupMember` [INFO] [stdout] --> src/entity/prelude.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::group_member::Entity as GroupMember; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::hashtag::Entity as Hashtag` [INFO] [stdout] --> src/entity/prelude.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::hashtag::Entity as Hashtag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::notification::Entity as Notification` [INFO] [stdout] --> src/entity/prelude.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use super::notification::Entity as Notification; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::post::Entity as Post` [INFO] [stdout] --> src/entity/prelude.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use super::post::Entity as Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::post_comment::Entity as PostComment` [INFO] [stdout] --> src/entity/prelude.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use super::post_comment::Entity as PostComment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::post_hashtag::Entity as PostHashtag` [INFO] [stdout] --> src/entity/prelude.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use super::post_hashtag::Entity as PostHashtag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::post_mention::Entity as PostMention` [INFO] [stdout] --> src/entity/prelude.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use super::post_mention::Entity as PostMention; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::report::Entity as Report` [INFO] [stdout] --> src/entity/prelude.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use super::report::Entity as Report; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::system_access::Entity as SystemAccess` [INFO] [stdout] --> src/entity/prelude.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use super::system_access::Entity as SystemAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::threads::Entity as Threads` [INFO] [stdout] --> src/entity/prelude.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use super::threads::Entity as Threads; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::threads_comment::Entity as ThreadsComment` [INFO] [stdout] --> src/entity/prelude.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use super::threads_comment::Entity as ThreadsComment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::user_credential::Entity as UserCredential` [INFO] [stdout] --> src/entity/prelude.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use super::user_credential::Entity as UserCredential; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::user_notification::Entity as UserNotification` [INFO] [stdout] --> src/entity/prelude.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use super::user_notification::Entity as UserNotification; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::user_profile::Entity as UserProfile` [INFO] [stdout] --> src/entity/prelude.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use super::user_profile::Entity as UserProfile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::user_push_token::Entity as UserPushToken` [INFO] [stdout] --> src/entity/prelude.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use super::user_push_token::Entity as UserPushToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db` and `cache` are never read [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | db: DatabaseConnection, [INFO] [stdout] | ^^ [INFO] [stdout] 29 | cache: Client, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` 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: constant `ISS` is never used [INFO] [stdout] --> src/common/jwt.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const ISS: &str = "bluhabit.id"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/common/jwt.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_google_token` is never used [INFO] [stdout] --> src/common/jwt.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn decode_google_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `created` is never used [INFO] [stdout] --> src/common/response.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl BaseResponse { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn created(code: u16, data: T, message: String) -> BaseResponse { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_account_user_status_active` is never used [INFO] [stdout] --> src/common/utils.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn check_account_user_status_active( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_session_redis_from_user` is never used [INFO] [stdout] --> src/common/utils.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn create_session_redis_from_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RedisUtil` is never constructed [INFO] [stdout] --> src/common/redis_ext.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RedisUtil { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/common/redis_ext.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl RedisUtil { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(value: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn create_sign_in_attempt(&self)->String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn create_key_otp_sign_in( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn create_key_otp_sign_up( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn create_key_otp_forgot_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn create_key_session_sign_in( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn create_key_session_forgot_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_OTP` is never used [INFO] [stdout] --> src/common/constant.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const REDIS_KEY_OTP: &str = "otp"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_OTP_ATTEMPT` is never used [INFO] [stdout] --> src/common/constant.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const REDIS_KEY_OTP_ATTEMPT: &str = "otp_attempt"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_USER_ID` is never used [INFO] [stdout] --> src/common/constant.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const REDIS_KEY_USER_ID: &str = "user_id"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_TOKEN` is never used [INFO] [stdout] --> src/common/constant.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const REDIS_KEY_TOKEN: &str = "token"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_EMAIL` is never used [INFO] [stdout] --> src/common/constant.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const REDIS_KEY_EMAIL: &str = "email"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_FULL_NAME` is never used [INFO] [stdout] --> src/common/constant.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const REDIS_KEY_FULL_NAME: &str = "full_name"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_VALID_FROM` is never used [INFO] [stdout] --> src/common/constant.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const REDIS_KEY_VALID_FROM:&str="valid_from"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TTL_OTP_SIGN_IN` is never used [INFO] [stdout] --> src/common/constant.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const TTL_OTP_SIGN_IN: i64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TTL_OTP_SIGN_UP` is never used [INFO] [stdout] --> src/common/constant.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const TTL_OTP_SIGN_UP: i64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TTL_OTP_FORGOT_PASSWORD` is never used [INFO] [stdout] --> src/common/constant.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const TTL_OTP_FORGOT_PASSWORD: i64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TTL_SESSION_FORGOT_PASSWORD` is never used [INFO] [stdout] --> src/common/constant.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const TTL_SESSION_FORGOT_PASSWORD: i64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.07s [INFO] running `Command { std: "docker" "inspect" "425dc1ac376279f4aa1e0783a02d961eabfc4c984f2662e009952524eeee81e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "425dc1ac376279f4aa1e0783a02d961eabfc4c984f2662e009952524eeee81e2", kill_on_drop: false }` [INFO] [stdout] 425dc1ac376279f4aa1e0783a02d961eabfc4c984f2662e009952524eeee81e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 17710b25729ce02f75b39bc4fff6fadfa4ce80bd1d2eb78f72ed4b922a2effdd [INFO] running `Command { std: "docker" "start" "-a" "17710b25729ce02f75b39bc4fff6fadfa4ce80bd1d2eb78f72ed4b922a2effdd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::admin::Entity as Admin` [INFO] [stderr] --> src/entity/prelude.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use super::admin::Entity as Admin; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::admin_access::Entity as AdminAccess` [INFO] [stderr] --> src/entity/prelude.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use super::admin_access::Entity as AdminAccess; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::attachment::Entity as Attachment` [INFO] [stderr] --> src/entity/prelude.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use super::attachment::Entity as Attachment; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::group::Entity as Group` [INFO] [stderr] --> src/entity/prelude.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use super::group::Entity as Group; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::group_member::Entity as GroupMember` [INFO] [stderr] --> src/entity/prelude.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use super::group_member::Entity as GroupMember; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::hashtag::Entity as Hashtag` [INFO] [stderr] --> src/entity/prelude.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub use super::hashtag::Entity as Hashtag; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::notification::Entity as Notification` [INFO] [stderr] --> src/entity/prelude.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub use super::notification::Entity as Notification; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::post::Entity as Post` [INFO] [stderr] --> src/entity/prelude.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub use super::post::Entity as Post; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::post_comment::Entity as PostComment` [INFO] [stderr] --> src/entity/prelude.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub use super::post_comment::Entity as PostComment; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::post_hashtag::Entity as PostHashtag` [INFO] [stderr] --> src/entity/prelude.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub use super::post_hashtag::Entity as PostHashtag; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::post_mention::Entity as PostMention` [INFO] [stderr] --> src/entity/prelude.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub use super::post_mention::Entity as PostMention; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::report::Entity as Report` [INFO] [stderr] --> src/entity/prelude.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub use super::report::Entity as Report; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::system_access::Entity as SystemAccess` [INFO] [stderr] --> src/entity/prelude.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub use super::system_access::Entity as SystemAccess; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::threads::Entity as Threads` [INFO] [stderr] --> src/entity/prelude.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub use super::threads::Entity as Threads; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::threads_comment::Entity as ThreadsComment` [INFO] [stderr] --> src/entity/prelude.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub use super::threads_comment::Entity as ThreadsComment; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::user_credential::Entity as UserCredential` [INFO] [stderr] --> src/entity/prelude.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub use super::user_credential::Entity as UserCredential; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::user_notification::Entity as UserNotification` [INFO] [stderr] --> src/entity/prelude.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub use super::user_notification::Entity as UserNotification; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::user_profile::Entity as UserProfile` [INFO] [stderr] --> src/entity/prelude.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub use super::user_profile::Entity as UserProfile; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::user_push_token::Entity as UserPushToken` [INFO] [stderr] --> src/entity/prelude.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub use super::user_push_token::Entity as UserPushToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `db` and `cache` are never read [INFO] [stderr] --> src/main.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct AppState { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 28 | db: DatabaseConnection, [INFO] [stderr] | ^^ [INFO] [stderr] 29 | cache: Client, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `ISS` is never used [INFO] [stderr] --> src/common/jwt.rs:36:7 [INFO] [stderr] | [INFO] [stderr] 36 | const ISS: &str = "bluhabit.id"; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode` is never used [INFO] [stderr] --> src/common/jwt.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn encode( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decode_google_token` is never used [INFO] [stderr] --> src/common/jwt.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn decode_google_token( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `created` is never used [INFO] [stderr] --> src/common/response.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl BaseResponse { [INFO] [stderr] | ----------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 25 | pub fn created(code: u16, data: T, message: String) -> BaseResponse { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_account_user_status_active` is never used [INFO] [stderr] --> src/common/utils.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn check_account_user_status_active( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_session_redis_from_user` is never used [INFO] [stderr] --> src/common/utils.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn create_session_redis_from_user( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RedisUtil` is never constructed [INFO] [stderr] --> src/common/redis_ext.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct RedisUtil { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/common/redis_ext.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 6 | impl RedisUtil { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 7 | pub fn new(value: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | pub fn create_sign_in_attempt(&self)->String{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn create_key_otp_sign_in( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn create_key_otp_sign_up( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn create_key_otp_forgot_password( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn create_key_session_sign_in( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 62 | pub fn create_key_session_forgot_password( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `REDIS_KEY_OTP` is never used [INFO] [stderr] --> src/common/constant.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub const REDIS_KEY_OTP: &str = "otp"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `REDIS_KEY_OTP_ATTEMPT` is never used [INFO] [stderr] --> src/common/constant.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | pub const REDIS_KEY_OTP_ATTEMPT: &str = "otp_attempt"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `REDIS_KEY_USER_ID` is never used [INFO] [stderr] --> src/common/constant.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | pub const REDIS_KEY_USER_ID: &str = "user_id"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `REDIS_KEY_TOKEN` is never used [INFO] [stderr] --> src/common/constant.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const REDIS_KEY_TOKEN: &str = "token"; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `REDIS_KEY_EMAIL` is never used [INFO] [stderr] --> src/common/constant.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const REDIS_KEY_EMAIL: &str = "email"; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `REDIS_KEY_FULL_NAME` is never used [INFO] [stderr] --> src/common/constant.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const REDIS_KEY_FULL_NAME: &str = "full_name"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `REDIS_KEY_VALID_FROM` is never used [INFO] [stderr] --> src/common/constant.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const REDIS_KEY_VALID_FROM:&str="valid_from"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TTL_OTP_SIGN_IN` is never used [INFO] [stderr] --> src/common/constant.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub const TTL_OTP_SIGN_IN: i64 = 3600; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TTL_OTP_SIGN_UP` is never used [INFO] [stderr] --> src/common/constant.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const TTL_OTP_SIGN_UP: i64 = 3600; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TTL_OTP_FORGOT_PASSWORD` is never used [INFO] [stderr] --> src/common/constant.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub const TTL_OTP_FORGOT_PASSWORD: i64 = 3600; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TTL_SESSION_FORGOT_PASSWORD` is never used [INFO] [stderr] --> src/common/constant.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const TTL_SESSION_FORGOT_PASSWORD: i64 = 3600; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `uwang-rest-stream` (bin "uwang-rest-stream" test) generated 39 warnings (run `cargo fix --bin "uwang-rest-stream" --tests` to apply 19 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/uwang_rest_stream-9805e38e3255acc9) [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" "17710b25729ce02f75b39bc4fff6fadfa4ce80bd1d2eb78f72ed4b922a2effdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17710b25729ce02f75b39bc4fff6fadfa4ce80bd1d2eb78f72ed4b922a2effdd", kill_on_drop: false }` [INFO] [stdout] 17710b25729ce02f75b39bc4fff6fadfa4ce80bd1d2eb78f72ed4b922a2effdd [INFO] testing Bluhabit/uwang-rest-stream against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBluhabit%2Fuwang-rest-stream" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bluhabit/uwang-rest-stream on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bluhabit/uwang-rest-stream [INFO] finished tweaking git repo https://github.com/Bluhabit/uwang-rest-stream [INFO] tweaked toml for git repo https://github.com/Bluhabit/uwang-rest-stream written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Bluhabit/uwang-rest-stream 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" "+beta-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e296c96beed218237a565828eb81b9c57ca149b7470d97efe2e46373ced8b78b [INFO] running `Command { std: "docker" "start" "-a" "e296c96beed218237a565828eb81b9c57ca149b7470d97efe2e46373ced8b78b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e296c96beed218237a565828eb81b9c57ca149b7470d97efe2e46373ced8b78b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e296c96beed218237a565828eb81b9c57ca149b7470d97efe2e46373ced8b78b", kill_on_drop: false }` [INFO] [stdout] e296c96beed218237a565828eb81b9c57ca149b7470d97efe2e46373ced8b78b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9462906cf26abe891aed2034b4eec01f833e4724b6ffced53fd21a3ad58d95a [INFO] running `Command { std: "docker" "start" "-a" "a9462906cf26abe891aed2034b4eec01f833e4724b6ffced53fd21a3ad58d95a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling zerocopy v0.7.25 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling http v0.2.10 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Compiling pure-rust-locales v0.7.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling pem v3.0.2 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling mediatype v0.19.16 [INFO] [stderr] Compiling bcrypt v0.15.0 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling inherent v1.0.10 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling sea-bae v0.2.0 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling uuid-macro-internal v1.5.0 [INFO] [stderr] Compiling actix-web-lab-derive v0.20.0 [INFO] [stderr] error: could not compile `brotli` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2024-03-24-x86_64-unknown-linux-gnu/bin/rustc --crate-name brotli --edition=2015 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/brotli-3.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc-stdlib"' --cfg 'feature="default"' --cfg 'feature="ffi-api"' --cfg 'feature="std"' -C metadata=b4df3584c9dde6b5 -C extra-filename=-b4df3584c9dde6b5 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern alloc_no_stdlib=/opt/rustwide/target/debug/deps/liballoc_no_stdlib-429cf3419c926494.rmeta --extern alloc_stdlib=/opt/rustwide/target/debug/deps/liballoc_stdlib-3809969a7931de1f.rmeta --extern brotli_decompressor=/opt/rustwide/target/debug/deps/libbrotli_decompressor-c1593ad12e34c4e0.rmeta --cap-lints allow --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a9462906cf26abe891aed2034b4eec01f833e4724b6ffced53fd21a3ad58d95a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9462906cf26abe891aed2034b4eec01f833e4724b6ffced53fd21a3ad58d95a", kill_on_drop: false }` [INFO] [stdout] a9462906cf26abe891aed2034b4eec01f833e4724b6ffced53fd21a3ad58d95a