[INFO] cloning repository https://github.com/zulfikra96/actix-scaffolding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zulfikra96/actix-scaffolding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzulfikra96%2Factix-scaffolding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzulfikra96%2Factix-scaffolding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5285daaa5bd6445cdb663a23e272956ee4bc3e20 [INFO] checking zulfikra96/actix-scaffolding against master#c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzulfikra96%2Factix-scaffolding" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zulfikra96/actix-scaffolding on toolchain c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zulfikra96/actix-scaffolding [INFO] finished tweaking git repo https://github.com/zulfikra96/actix-scaffolding [INFO] tweaked toml for git repo https://github.com/zulfikra96/actix-scaffolding written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zulfikra96/actix-scaffolding 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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded block-padding v0.2.1 [INFO] [stderr] Downloaded sha2 v0.9.9 [INFO] [stderr] Downloaded debug-helper v0.3.13 [INFO] [stderr] Downloaded magic-crypt v3.1.13 [INFO] [stderr] Downloaded des v0.7.0 [INFO] [stderr] Downloaded tiger v0.1.0 [INFO] [stderr] Downloaded md-5 v0.9.1 [INFO] [stderr] Downloaded crc-any v2.4.4 [INFO] [stderr] Downloaded actix-codec v0.5.1 [INFO] [stderr] Downloaded block-modes v0.8.1 [INFO] [stderr] Downloaded actix-cors v0.7.0 [INFO] [stderr] Downloaded bigdecimal v0.4.2 [INFO] [stderr] Downloaded actix-http v3.5.1 [INFO] [stderr] Downloaded aes v0.8.3 [INFO] [stderr] Downloaded actix-web v4.4.1 [INFO] [stderr] Downloaded aes v0.7.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 719d19e43b83b1a33919569ac65bca7890575f61e1faa6f2baf9c80ae4a197c3 [INFO] running `Command { std: "docker" "start" "-a" "719d19e43b83b1a33919569ac65bca7890575f61e1faa6f2baf9c80ae4a197c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "719d19e43b83b1a33919569ac65bca7890575f61e1faa6f2baf9c80ae4a197c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "719d19e43b83b1a33919569ac65bca7890575f61e1faa6f2baf9c80ae4a197c3", kill_on_drop: false }` [INFO] [stdout] 719d19e43b83b1a33919569ac65bca7890575f61e1faa6f2baf9c80ae4a197c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a76aa0b25b6b0762b82b22a176e7d5664301933dd7067791ef12791dfdc57b34 [INFO] running `Command { std: "docker" "start" "-a" "a76aa0b25b6b0762b82b22a176e7d5664301933dd7067791ef12791dfdc57b34", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking indexmap v2.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling winnow v0.5.35 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling sailfish-compiler v0.8.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking ghash v0.5.0 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling bigdecimal v0.4.2 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling sailfish v0.8.3 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking debug-helper v0.3.13 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking crc-any v2.4.4 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking des v0.7.0 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking tiger v0.1.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking itoap v1.0.1 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking magic-crypt v3.1.13 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling actix_derive v0.6.1 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Checking actix-codec v0.5.1 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking actix v0.13.1 [INFO] [stderr] Checking thiserror v1.0.57 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking actix-http v3.5.1 [INFO] [stderr] Checking diesel v2.1.4 [INFO] [stderr] Checking actix-router v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Checking jsonwebtoken v9.2.0 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Checking actix-web v4.4.1 [INFO] [stderr] Compiling sailfish-macros v0.8.3 [INFO] [stderr] Checking actix-session v0.9.0 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking actix-files v0.6.5 [INFO] [stderr] Checking actix-web-actors v4.3.0 [INFO] [stderr] Checking actix-scaffolding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ContextFutureSpawner` is imported redundantly [INFO] [stdout] --> src/config/session.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `ContextFutureSpawner` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | clock::Instant, dev::ContextFutureSpawner, fut, Actor, ActorContext, ActorFutureExt, Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fut` is imported redundantly [INFO] [stdout] --> src/config/session.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `fut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | clock::Instant, dev::ContextFutureSpawner, fut, Actor, ActorContext, ActorFutureExt, Addr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Actor` is imported redundantly [INFO] [stdout] --> src/config/session.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `Actor` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | clock::Instant, dev::ContextFutureSpawner, fut, Actor, ActorContext, ActorFutureExt, Addr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActorContext` is imported redundantly [INFO] [stdout] --> src/config/session.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `ActorContext` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | clock::Instant, dev::ContextFutureSpawner, fut, Actor, ActorContext, ActorFutureExt, Addr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActorFutureExt` is imported redundantly [INFO] [stdout] --> src/config/session.rs:5:74 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `ActorFutureExt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | clock::Instant, dev::ContextFutureSpawner, fut, Actor, ActorContext, ActorFutureExt, Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Addr` is imported redundantly [INFO] [stdout] --> src/config/session.rs:5:90 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `Addr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | clock::Instant, dev::ContextFutureSpawner, fut, Actor, ActorContext, ActorFutureExt, Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsyncContext` is imported redundantly [INFO] [stdout] --> src/config/session.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `AsyncContext` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | AsyncContext, WrapFuture, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WrapFuture` is imported redundantly [INFO] [stdout] --> src/config/session.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `WrapFuture` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | AsyncContext, WrapFuture, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ContextFutureSpawner` is imported redundantly [INFO] [stdout] --> src/config/session.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `ContextFutureSpawner` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | clock::Instant, dev::ContextFutureSpawner, fut, Actor, ActorContext, ActorFutureExt, Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fut` is imported redundantly [INFO] [stdout] --> src/config/session.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `fut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | clock::Instant, dev::ContextFutureSpawner, fut, Actor, ActorContext, ActorFutureExt, Addr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Actor` is imported redundantly [INFO] [stdout] --> src/config/session.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `Actor` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | clock::Instant, dev::ContextFutureSpawner, fut, Actor, ActorContext, ActorFutureExt, Addr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActorContext` is imported redundantly [INFO] [stdout] --> src/config/session.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `ActorContext` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | clock::Instant, dev::ContextFutureSpawner, fut, Actor, ActorContext, ActorFutureExt, Addr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActorFutureExt` is imported redundantly [INFO] [stdout] --> src/config/session.rs:5:74 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `ActorFutureExt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | clock::Instant, dev::ContextFutureSpawner, fut, Actor, ActorContext, ActorFutureExt, Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Addr` is imported redundantly [INFO] [stdout] --> src/config/session.rs:5:90 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `Addr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | clock::Instant, dev::ContextFutureSpawner, fut, Actor, ActorContext, ActorFutureExt, Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsyncContext` is imported redundantly [INFO] [stdout] --> src/config/session.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `AsyncContext` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | AsyncContext, WrapFuture, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WrapFuture` is imported redundantly [INFO] [stdout] --> src/config/session.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ----------------- the item `WrapFuture` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | AsyncContext, WrapFuture, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/config/auth.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn encrypt(plain: String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/config/auth.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn decrypt(chipper: &String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_token` is never used [INFO] [stdout] --> src/config/auth.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn generate_token Deserialize<'a>>(claims: T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseType` is never used [INFO] [stdout] --> src/config/auth.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum ResponseType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NotFound` is never constructed [INFO] [stdout] --> src/config/auth.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct NotFound {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_filter` is never used [INFO] [stdout] --> src/config/auth.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn error_filter( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth` is never used [INFO] [stdout] --> src/config/auth.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn auth( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Join` is never constructed [INFO] [stdout] --> src/config/messages.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Join { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/config/session.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct WsChatSession { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WsChatSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/session.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl WsChatSession { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 26 | pub fn new(room: String, id: uuid::Uuid, addr: Addr) -> WsChatSession { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SUCCESS` and `FAIL` are never constructed [INFO] [stdout] --> src/config/helpers.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 8 | SUCCESS, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | FAIL, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/config/auth.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn encrypt(plain: String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/config/auth.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn decrypt(chipper: &String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_token` is never used [INFO] [stdout] --> src/config/auth.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn generate_token Deserialize<'a>>(claims: T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseType` is never used [INFO] [stdout] --> src/config/auth.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum ResponseType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NotFound` is never constructed [INFO] [stdout] --> src/config/auth.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct NotFound {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_filter` is never used [INFO] [stdout] --> src/config/auth.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn error_filter( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth` is never used [INFO] [stdout] --> src/config/auth.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn auth( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Join` is never constructed [INFO] [stdout] --> src/config/messages.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Join { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/config/session.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct WsChatSession { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WsChatSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/session.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl WsChatSession { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 26 | pub fn new(room: String, id: uuid::Uuid, addr: Addr) -> WsChatSession { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SUCCESS` and `FAIL` are never constructed [INFO] [stdout] --> src/config/helpers.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 8 | SUCCESS, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | FAIL, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "a76aa0b25b6b0762b82b22a176e7d5664301933dd7067791ef12791dfdc57b34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a76aa0b25b6b0762b82b22a176e7d5664301933dd7067791ef12791dfdc57b34", kill_on_drop: false }` [INFO] [stdout] a76aa0b25b6b0762b82b22a176e7d5664301933dd7067791ef12791dfdc57b34 [INFO] checking zulfikra96/actix-scaffolding against try#5946bac294aa8e579f74aa4a4d1f443d3b5d89f8 for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzulfikra96%2Factix-scaffolding" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zulfikra96/actix-scaffolding on toolchain 5946bac294aa8e579f74aa4a4d1f443d3b5d89f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zulfikra96/actix-scaffolding [INFO] finished tweaking git repo https://github.com/zulfikra96/actix-scaffolding [INFO] tweaked toml for git repo https://github.com/zulfikra96/actix-scaffolding written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zulfikra96/actix-scaffolding 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" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24b7ce6609b58cdd84bb6941818c8fc2266ccc07ee9392765e5e2872cc330837 [INFO] running `Command { std: "docker" "start" "-a" "24b7ce6609b58cdd84bb6941818c8fc2266ccc07ee9392765e5e2872cc330837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24b7ce6609b58cdd84bb6941818c8fc2266ccc07ee9392765e5e2872cc330837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24b7ce6609b58cdd84bb6941818c8fc2266ccc07ee9392765e5e2872cc330837", kill_on_drop: false }` [INFO] [stdout] 24b7ce6609b58cdd84bb6941818c8fc2266ccc07ee9392765e5e2872cc330837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73c1ef0c10987943cff773d31ed9e9b607e90268681a3aec45dc8232e56cd84d [INFO] running `Command { std: "docker" "start" "-a" "73c1ef0c10987943cff773d31ed9e9b607e90268681a3aec45dc8232e56cd84d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking indexmap v2.2.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling winnow v0.5.35 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking polyval v0.6.1 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling sailfish-compiler v0.8.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking ghash v0.5.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Compiling bigdecimal v0.4.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Compiling sailfish v0.8.3 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking debug-helper v0.3.13 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking crc-any v2.4.4 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking des v0.7.0 [INFO] [stderr] Checking tiger v0.1.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking itoap v1.0.1 [INFO] [stderr] Checking magic-crypt v3.1.13 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling actix_derive v0.6.1 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking actix-codec v0.5.1 [INFO] [stderr] Checking actix v0.13.1 [INFO] [stderr] Checking thiserror v1.0.57 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking actix-http v3.5.1 [INFO] [stderr] Checking diesel v2.1.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.2 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Checking jsonwebtoken v9.2.0 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stdout] error[E0491]: in type `&'b where_clause::BoxedWhereClause<'a, DB>`, reference has a longer lifetime than the data it references [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.1.4/src/query_builder/select_statement/boxed.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> QueryResult<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the pointer is valid for the lifetime `'b` as defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.1.4/src/query_builder/select_statement/boxed.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | fn build_query<'b, 'c>( [INFO] [stdout] | ^^ [INFO] [stdout] note: but the referenced data is only valid for the lifetime `'a` as defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.1.4/src/query_builder/select_statement/boxed.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | pub trait BoxedQueryHelper<'a, QS, DB> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking actix-web v4.4.1 [INFO] [stderr] Compiling sailfish-macros v0.8.3 [INFO] [stderr] Checking actix-web-actors v4.3.0 [INFO] [stderr] Checking actix-files v0.6.5 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking actix-session v0.9.0 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0491`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "73c1ef0c10987943cff773d31ed9e9b607e90268681a3aec45dc8232e56cd84d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73c1ef0c10987943cff773d31ed9e9b607e90268681a3aec45dc8232e56cd84d", kill_on_drop: false }` [INFO] [stdout] 73c1ef0c10987943cff773d31ed9e9b607e90268681a3aec45dc8232e56cd84d