[INFO] cloning repository https://github.com/letranhuudanh0030/axum-rest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/letranhuudanh0030/axum-rest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletranhuudanh0030%2Faxum-rest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletranhuudanh0030%2Faxum-rest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ad096dbd67c20a3b160bc5d247097e3eb84769a [INFO] testing letranhuudanh0030/axum-rest against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletranhuudanh0030%2Faxum-rest" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/letranhuudanh0030/axum-rest 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/letranhuudanh0030/axum-rest [INFO] finished tweaking git repo https://github.com/letranhuudanh0030/axum-rest [INFO] tweaked toml for git repo https://github.com/letranhuudanh0030/axum-rest written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/letranhuudanh0030/axum-rest 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] Downloading crates ... [INFO] [stderr] Downloaded rsa v0.9.5 [INFO] [stderr] Downloaded atomic-write-file v0.1.1 [INFO] [stderr] Downloaded sea-orm-macros v0.12.6 [INFO] [stderr] Downloaded sea-orm-cli v0.12.6 [INFO] [stderr] Downloaded sea-orm-migration v0.12.6 [INFO] [stderr] Downloaded sea-query v0.30.3 [INFO] [stderr] Downloaded sea-orm v0.12.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ffec770e8a1992197d5e214b61052584900aabe1078f7e85e9d8061cffe968cf [INFO] running `Command { std: "docker" "start" "-a" "ffec770e8a1992197d5e214b61052584900aabe1078f7e85e9d8061cffe968cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffec770e8a1992197d5e214b61052584900aabe1078f7e85e9d8061cffe968cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffec770e8a1992197d5e214b61052584900aabe1078f7e85e9d8061cffe968cf", kill_on_drop: false }` [INFO] [stdout] ffec770e8a1992197d5e214b61052584900aabe1078f7e85e9d8061cffe968cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 73cd55af947db8ef0572f06a92047b2d54158228893c2173d78681bfe2461376 [INFO] running `Command { std: "docker" "start" "-a" "73cd55af947db8ef0572f06a92047b2d54158228893c2173d78681bfe2461376", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling value-bag v1.4.2 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling zerocopy v0.7.26 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling mio v0.8.9 [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 equivalent v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rust_decimal v1.33.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling concurrent-queue v2.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustls v0.21.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling event-listener v4.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling ring v0.17.6 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling futures-lite v2.0.1 [INFO] [stderr] Compiling async-lock v3.1.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling axum-core v0.4.0 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling clap_builder v4.4.9 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling cookie v0.18.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling axum v0.7.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling http-range-header v0.4.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling inherent v1.0.10 [INFO] [stderr] Compiling sea-bae v0.2.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling sea-orm-macros v0.12.6 [INFO] [stderr] Compiling sea-schema-derive v0.2.0 [INFO] [stderr] Compiling sea-query-derive v0.4.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling polling v3.3.1 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling async-io v2.2.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Compiling ouroboros v0.17.2 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling clap v4.4.10 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling async-global-executor v2.4.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling h2 v0.4.0 [INFO] [stderr] Compiling tower-http v0.5.0 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling serde_with v3.4.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling sqlformat v0.2.2 [INFO] [stderr] Compiling sea-query v0.30.3 [INFO] [stderr] Compiling sqlx-core v0.7.3 [INFO] [stderr] Compiling hyper v1.0.1 [INFO] [stderr] Compiling tower-cookies v0.10.0 [INFO] [stderr] Compiling hyper-util v0.1.1 [INFO] [stderr] Compiling sea-schema v0.14.1 [INFO] [stderr] Compiling sqlx-postgres v0.7.3 [INFO] [stderr] Compiling sea-orm-cli v0.12.6 [INFO] [stderr] Compiling sqlx v0.7.3 [INFO] [stderr] Compiling sea-query-binder v0.5.0 [INFO] [stderr] Compiling sea-orm v0.12.7 [INFO] [stderr] Compiling sea-orm-migration v0.12.6 [INFO] [stderr] Compiling entity v0.1.0 (/opt/rustwide/workdir/entity) [INFO] [stderr] Compiling migration v0.1.0 (/opt/rustwide/workdir/migration) [INFO] [stderr] Compiling rust-rest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/controller/login_controller.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | utils::error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModelManager` [INFO] [stdout] --> src/repository/filling_repository.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ModelManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `routing::post` [INFO] [stdout] --> src/route/login_route.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{routing::post, Router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `controller::login_controller` [INFO] [stdout] --> src/route/login_route.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{controller::login_controller, ModelManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mm` [INFO] [stdout] --> src/controller/login_controller.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | State(mm): State, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookies` [INFO] [stdout] --> src/controller/login_controller.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | cookies: Cookies, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/controller/login_controller.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/config/ctx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ctx { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 5 | user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ctx` has derived impls for the traits `Debug` and `Clone`, 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: associated functions `root_ctx` and `new` are never used [INFO] [stdout] --> src/config/ctx.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Ctx { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 10 | pub fn root_ctx() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn new(user_id: i64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `user_id` is never used [INFO] [stdout] --> src/config/ctx.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Ctx { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 25 | pub fn user_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login` is never used [INFO] [stdout] --> src/controller/login_controller.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn login( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `logout` is never used [INFO] [stdout] --> src/controller/login_controller.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn logout() -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `routes` is never used [INFO] [stdout] --> src/route/login_route.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn routes() -> Router { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/utils/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CtxCannotNewRootCtx` is never constructed [INFO] [stdout] --> src/utils/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 7 | CtxCannotNewRootCtx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.87s [INFO] running `Command { std: "docker" "inspect" "73cd55af947db8ef0572f06a92047b2d54158228893c2173d78681bfe2461376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73cd55af947db8ef0572f06a92047b2d54158228893c2173d78681bfe2461376", kill_on_drop: false }` [INFO] [stdout] 73cd55af947db8ef0572f06a92047b2d54158228893c2173d78681bfe2461376 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 21d707eb73b76e209e442f35226970e7ff4093eabfb794915226f057e8b9a169 [INFO] running `Command { std: "docker" "start" "-a" "21d707eb73b76e209e442f35226970e7ff4093eabfb794915226f057e8b9a169", kill_on_drop: false }` [INFO] [stderr] Compiling rust-rest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/controller/login_controller.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | utils::error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModelManager` [INFO] [stdout] --> src/repository/filling_repository.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ModelManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `routing::post` [INFO] [stdout] --> src/route/login_route.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{routing::post, Router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `controller::login_controller` [INFO] [stdout] --> src/route/login_route.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{controller::login_controller, ModelManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mm` [INFO] [stdout] --> src/controller/login_controller.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | State(mm): State, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookies` [INFO] [stdout] --> src/controller/login_controller.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | cookies: Cookies, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/controller/login_controller.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/config/ctx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ctx { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 5 | user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ctx` has derived impls for the traits `Debug` and `Clone`, 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: associated functions `root_ctx` and `new` are never used [INFO] [stdout] --> src/config/ctx.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Ctx { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 10 | pub fn root_ctx() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn new(user_id: i64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `user_id` is never used [INFO] [stdout] --> src/config/ctx.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Ctx { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 25 | pub fn user_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login` is never used [INFO] [stdout] --> src/controller/login_controller.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn login( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `logout` is never used [INFO] [stdout] --> src/controller/login_controller.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn logout() -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `routes` is never used [INFO] [stdout] --> src/route/login_route.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn routes() -> Router { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/utils/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CtxCannotNewRootCtx` is never constructed [INFO] [stdout] --> src/utils/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 7 | CtxCannotNewRootCtx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "21d707eb73b76e209e442f35226970e7ff4093eabfb794915226f057e8b9a169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21d707eb73b76e209e442f35226970e7ff4093eabfb794915226f057e8b9a169", kill_on_drop: false }` [INFO] [stdout] 21d707eb73b76e209e442f35226970e7ff4093eabfb794915226f057e8b9a169 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 018abaf1ac88315f251337c2ba65378ae4e15fd7bfc34845282ad6815e7f1a7c [INFO] running `Command { std: "docker" "start" "-a" "018abaf1ac88315f251337c2ba65378ae4e15fd7bfc34845282ad6815e7f1a7c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/controller/login_controller.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | utils::error::{Error, Result}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ModelManager` [INFO] [stderr] --> src/repository/filling_repository.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | ModelManager, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `routing::post` [INFO] [stderr] --> src/route/login_route.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use axum::{routing::post, Router}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `controller::login_controller` [INFO] [stderr] --> src/route/login_route.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{controller::login_controller, ModelManager}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mm` [INFO] [stderr] --> src/controller/login_controller.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | State(mm): State, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_mm` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cookies` [INFO] [stderr] --> src/controller/login_controller.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | cookies: Cookies, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookies` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> src/controller/login_controller.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | Json(payload): Json, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] [INFO] [stderr] warning: field `user_id` is never read [INFO] [stderr] --> src/config/ctx.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Ctx { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 5 | user_id: i64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Ctx` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated functions `root_ctx` and `new` are never used [INFO] [stderr] --> src/config/ctx.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Ctx { [INFO] [stderr] | -------- associated functions in this implementation [INFO] [stderr] 10 | pub fn root_ctx() -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | pub fn new(user_id: i64) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `user_id` is never used [INFO] [stderr] --> src/config/ctx.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Ctx { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] 25 | pub fn user_id(&self) -> i64 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `login` is never used [INFO] [stderr] --> src/controller/login_controller.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | pub async fn login( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `logout` is never used [INFO] [stderr] --> src/controller/login_controller.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | pub async fn logout() -> Result> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `routes` is never used [INFO] [stderr] --> src/route/login_route.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn routes() -> Router { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Result` is never used [INFO] [stderr] --> src/utils/error.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | pub type Result = core::result::Result; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `CtxCannotNewRootCtx` is never constructed [INFO] [stderr] --> src/utils/error.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum Error { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] 7 | CtxCannotNewRootCtx, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `rust-rest` (bin "rust-rest" test) generated 15 warnings (run `cargo fix --bin "rust-rest" --tests` to apply 7 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_rest-d6e15b95cade0c3f) [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" "018abaf1ac88315f251337c2ba65378ae4e15fd7bfc34845282ad6815e7f1a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "018abaf1ac88315f251337c2ba65378ae4e15fd7bfc34845282ad6815e7f1a7c", kill_on_drop: false }` [INFO] [stdout] 018abaf1ac88315f251337c2ba65378ae4e15fd7bfc34845282ad6815e7f1a7c