[INFO] cloning repository https://github.com/mnabielap/starter-kit-restapi-rocket [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mnabielap/starter-kit-restapi-rocket" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnabielap%2Fstarter-kit-restapi-rocket", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnabielap%2Fstarter-kit-restapi-rocket'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 682db8948a25e1ed27daec26494c9c6adcc625cb [INFO] testing mnabielap/starter-kit-restapi-rocket against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnabielap%2Fstarter-kit-restapi-rocket" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mnabielap/starter-kit-restapi-rocket [INFO] finished tweaking git repo https://github.com/mnabielap/starter-kit-restapi-rocket [INFO] tweaked toml for git repo https://github.com/mnabielap/starter-kit-restapi-rocket written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mnabielap/starter-kit-restapi-rocket on toolchain f9988fefd3add01f414f52b414308e7872622fee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mnabielap/starter-kit-restapi-rocket 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" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket_cors v0.6.0 [INFO] [stderr] Downloaded email-encoding v0.4.1 [INFO] [stderr] Downloaded quoted_printable v0.5.1 [INFO] [stderr] Downloaded lettre v0.11.19 [INFO] [stderr] Downloaded stacker v0.1.23 [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] [stderr] Downloaded jsonwebtoken v9.3.1 [INFO] [stderr] Downloaded hostname v0.4.2 [INFO] [stderr] Downloaded validator v0.19.0 [INFO] [stderr] Downloaded ar_archive_writer v0.5.1 [INFO] [stderr] Downloaded validator_derive v0.19.0 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded unicase_serde v0.1.0 [INFO] [stderr] Downloaded psm v0.1.30 [INFO] [stderr] Downloaded bcrypt v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05a67eac94a6d1c0b05679fb627286b87c689a65152c00591c1c77f01b91e154 [INFO] running `Command { std: "docker" "start" "-a" "05a67eac94a6d1c0b05679fb627286b87c689a65152c00591c1c77f01b91e154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05a67eac94a6d1c0b05679fb627286b87c689a65152c00591c1c77f01b91e154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05a67eac94a6d1c0b05679fb627286b87c689a65152c00591c1c77f01b91e154", kill_on_drop: false }` [INFO] [stdout] 05a67eac94a6d1c0b05679fb627286b87c689a65152c00591c1c77f01b91e154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 220a16d2ed96ebe72d5d61391a1cd28c0a7be121c45a9fa6cfaa2da5b6774004 [INFO] running `Command { std: "docker" "start" "-a" "220a16d2ed96ebe72d5d61391a1cd28c0a7be121c45a9fa6cfaa2da5b6774004", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stacker v0.1.23 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling hostname v0.4.2 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling email-encoding v0.4.1 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling bcrypt v0.16.0 [INFO] [stderr] Compiling ar_archive_writer v0.5.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling psm v0.1.30 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling simple_asn1 v0.6.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.19.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling unicase_serde v0.1.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling validator v0.19.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling lettre v0.11.19 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling rocket_cors v0.6.0 [INFO] [stderr] Compiling starter-kit-restapi-rocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/utils/jwt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/middleware/roles.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AdminUser(pub AuthenticatedUser); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/services/auth_service.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RegisterRequest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "220a16d2ed96ebe72d5d61391a1cd28c0a7be121c45a9fa6cfaa2da5b6774004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220a16d2ed96ebe72d5d61391a1cd28c0a7be121c45a9fa6cfaa2da5b6774004", kill_on_drop: false }` [INFO] [stdout] 220a16d2ed96ebe72d5d61391a1cd28c0a7be121c45a9fa6cfaa2da5b6774004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4afc88670f2de2437fba2f984cab0d43459853683742136e25d61bbf0019497 [INFO] running `Command { std: "docker" "start" "-a" "e4afc88670f2de2437fba2f984cab0d43459853683742136e25d61bbf0019497", kill_on_drop: false }` [INFO] [stderr] Compiling starter-kit-restapi-rocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/utils/jwt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/middleware/roles.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AdminUser(pub AuthenticatedUser); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/services/auth_service.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RegisterRequest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.59s [INFO] running `Command { std: "docker" "inspect" "e4afc88670f2de2437fba2f984cab0d43459853683742136e25d61bbf0019497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4afc88670f2de2437fba2f984cab0d43459853683742136e25d61bbf0019497", kill_on_drop: false }` [INFO] [stdout] e4afc88670f2de2437fba2f984cab0d43459853683742136e25d61bbf0019497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 37feabc18f71289d68b54bed0a31f6c8dc1c5033b426a82dac30d5f7de17b0db [INFO] running `Command { std: "docker" "start" "-a" "37feabc18f71289d68b54bed0a31f6c8dc1c5033b426a82dac30d5f7de17b0db", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/utils/jwt.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `port` is never read [INFO] [stderr] --> src/config.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct AppConfig { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 6 | pub port: u16, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/middleware/roles.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct AdminUser(pub AuthenticatedUser); [INFO] [stderr] | --------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: field `role` is never read [INFO] [stderr] --> src/services/auth_service.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct RegisterRequest { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | pub role: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `starter-kit-restapi-rocket` (bin "starter-kit-restapi-rocket" test) generated 4 warnings (run `cargo fix --bin "starter-kit-restapi-rocket" -p starter-kit-restapi-rocket --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/starter_kit_restapi_rocket-d95db2293f644021) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "37feabc18f71289d68b54bed0a31f6c8dc1c5033b426a82dac30d5f7de17b0db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37feabc18f71289d68b54bed0a31f6c8dc1c5033b426a82dac30d5f7de17b0db", kill_on_drop: false }` [INFO] [stdout] 37feabc18f71289d68b54bed0a31f6c8dc1c5033b426a82dac30d5f7de17b0db