[INFO] cloning repository https://github.com/koriebruh/axum-restful [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/koriebruh/axum-restful" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoriebruh%2Faxum-restful", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoriebruh%2Faxum-restful'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d71a3b2a0cc75474794171ad15c28ffbfb188fb3 [INFO] building koriebruh/axum-restful against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoriebruh%2Faxum-restful" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koriebruh/axum-restful on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/koriebruh/axum-restful [INFO] finished tweaking git repo https://github.com/koriebruh/axum-restful [INFO] tweaked toml for git repo https://github.com/koriebruh/axum-restful written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/koriebruh/axum-restful 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fd0d40f2f3b3ffe51af3913dac6b331e902da9364b4fb02469409be6b6b9692 [INFO] running `Command { std: "docker" "start" "-a" "1fd0d40f2f3b3ffe51af3913dac6b331e902da9364b4fb02469409be6b6b9692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fd0d40f2f3b3ffe51af3913dac6b331e902da9364b4fb02469409be6b6b9692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fd0d40f2f3b3ffe51af3913dac6b331e902da9364b4fb02469409be6b6b9692", kill_on_drop: false }` [INFO] [stdout] 1fd0d40f2f3b3ffe51af3913dac6b331e902da9364b4fb02469409be6b6b9692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9353257713dd1772dc13e1c753becb9533db624b955f61dfc1c97d994a45aac [INFO] running `Command { std: "docker" "start" "-a" "d9353257713dd1772dc13e1c753becb9533db624b955f61dfc1c97d994a45aac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling zerocopy v0.8.14 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cc v1.2.11 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling winnow v0.7.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling rand_core v0.9.0 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling auto-future v1.0.0 [INFO] [stderr] Compiling bytesize v1.3.0 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling rust-argon2 v2.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling reserve-port v2.1.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling yaml-rust2 v0.9.0 [INFO] [stderr] Compiling rust-multipart-rfc7578_2 v0.7.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rsa v0.9.7 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling config v0.15.7 [INFO] [stderr] Compiling sqlx-mysql v0.8.3 [INFO] [stderr] Compiling redis v0.28.2 [INFO] [stderr] Compiling axum-test v17.2.0 [INFO] [stderr] Compiling axum-extra v0.10.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling axum-restful v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::pool` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::pool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::redis_db::redis_client` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conf::redis_db::redis_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Utc` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use chrono::{Utc, Duration}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeDelta` [INFO] [stdout] --> src/conf/jwt.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Duration, TimeDelta, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationError` [INFO] [stdout] --> src/dto/register_request.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use validator::{Validate, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/dto/web_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, and `info` [INFO] [stdout] --> src/repositories/auth_repository_impl.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, error, debug}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::error` [INFO] [stdout] --> src/services/auth_service_impl.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use log::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/controllers/auth_controller.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dto::web_response::WebResponse` [INFO] [stdout] --> src/controllers/auth_controller.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::dto::web_response::WebResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::mysql::MySqlPool` [INFO] [stdout] --> src/utils/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::mysql::MySqlPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::services::auth_service::AuthService` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::services::auth_service::AuthService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redis_client` is never used [INFO] [stdout] --> src/conf/redis_db.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) async fn redis_client() -> RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `updated_at` are never read [INFO] [stdout] --> src/models/user.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 2 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 7 | pub updated_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `logout` is never used [INFO] [stdout] --> src/controllers/auth_controller.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait AuthController { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | async fn logout(&self) -> Response; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `Command { std: "docker" "inspect" "d9353257713dd1772dc13e1c753becb9533db624b955f61dfc1c97d994a45aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9353257713dd1772dc13e1c753becb9533db624b955f61dfc1c97d994a45aac", kill_on_drop: false }` [INFO] [stdout] d9353257713dd1772dc13e1c753becb9533db624b955f61dfc1c97d994a45aac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f080883319f12d9430c36083f5ebacb597401bc8642f81c3a9d44dea2681c18 [INFO] running `Command { std: "docker" "start" "-a" "8f080883319f12d9430c36083f5ebacb597401bc8642f81c3a9d44dea2681c18", kill_on_drop: false }` [INFO] [stderr] Compiling axum-restful v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::pool` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::pool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conf::redis_db::redis_client` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conf::redis_db::redis_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Utc` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use chrono::{Utc, Duration}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeDelta` [INFO] [stdout] --> src/conf/jwt.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Duration, TimeDelta, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationError` [INFO] [stdout] --> src/dto/register_request.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use validator::{Validate, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/dto/web_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, and `info` [INFO] [stdout] --> src/repositories/auth_repository_impl.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, error, debug}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::error` [INFO] [stdout] --> src/services/auth_service_impl.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use log::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/controllers/auth_controller.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dto::web_response::WebResponse` [INFO] [stdout] --> src/controllers/auth_controller.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::dto::web_response::WebResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::mysql::MySqlPool` [INFO] [stdout] --> src/utils/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::mysql::MySqlPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::services::auth_service::AuthService` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::services::auth_service::AuthService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | Err(e) => println!("OH shit got err"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `updated_at` are never read [INFO] [stdout] --> src/models/user.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 2 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 7 | pub updated_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `logout` is never used [INFO] [stdout] --> src/controllers/auth_controller.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait AuthController { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | async fn logout(&self) -> Response; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.47s [INFO] running `Command { std: "docker" "inspect" "8f080883319f12d9430c36083f5ebacb597401bc8642f81c3a9d44dea2681c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f080883319f12d9430c36083f5ebacb597401bc8642f81c3a9d44dea2681c18", kill_on_drop: false }` [INFO] [stdout] 8f080883319f12d9430c36083f5ebacb597401bc8642f81c3a9d44dea2681c18